crossing.linnet {spatstat.linnet} | R Documentation |
Find all the crossing-points between a linear network and another pattern of lines or line segments.
crossing.linnet(X, Y)
X |
Linear network (object of class |
Y |
A linear network, or a spatial pattern of line segments (class |
All crossing-points between X
and Y
are determined. The result is a point pattern on the network X
.
Point pattern on a linear network (object of class "lpp"
).
Adrian Baddeley Adrian.Baddeley@curtin.edu.au.
plot(simplenet, main="")
L <- infline(p=runif(3), theta=runif(3, max=pi/2))
plot(L, col="red")
Y <- crossing.linnet(simplenet, L)
plot(Y, add=TRUE, cols="blue")