Splits a segment at a specified vertex, creating two new segments.
splitsegmentat(seg, vert, rivers)
seg | The segment to split |
---|---|
vert | The vertex to split it at |
rivers | The river network object to use |
A new, updated river network object
data(Gulk) plot(x=Gulk)Gulk2 <- splitsegmentat(seg=1, vert=400, rivers=Gulk)#>plot(x=Gulk2)