powered by
Make a tessellation of a linear network by dividing it into pieces demarcated by the points of a point pattern.
divide.linnet(X)
Point pattern on a linear network (object of class "lpp").
"lpp"
A tessellation on a linear network (object of class "lintess").
"lintess"
The points X are interpreted as dividing the linear network L=as.linnet(X) into separate pieces.
X
L=as.linnet(X)
Two locations on L belong to the same piece if and only if they can be joined by a path in L that does not cross any of the points of X.
L
The result is a tessellation of the network (object of class "lintess") representing the division of L into pieces.
linnet, lintess.
linnet
lintess
# NOT RUN { X <- runiflpp(5, simplenet) plot(divide.linnet(X)) plot(X, add=TRUE, pch=16, show.network=FALSE) # }
Run the code above in your browser using DataLab