| crossing.psp {spatstat} | R Documentation | 
Finds any crossing points between two line segment patterns.
crossing.psp(A,B)
A,B | 
Line segment patterns (objects of class "psp").
 | 
This function finds any crossing points between
the line segment patterns A and B.
A crossing point occurs whenever one of the line segments in A
intersects one of the line segments in B, at a nonzero
angle of intersection.
Point pattern (object of class "ppp").
Adrian Baddeley adrian@maths.uwa.edu.au http://www.maths.uwa.edu.au/~adrian/ and Rolf Turner rolf@math.unb.ca http://www.math.unb.ca/~rolf
selfcrossing.psp,
psp.object,
ppp.object.
a <- psp(runif(10), runif(10), runif(10), runif(10), window=owin()) b <- psp(runif(10), runif(10), runif(10), runif(10), window=owin()) plot(a, col="green", main="crossing.psp") plot(b, add=TRUE, col="blue") P <- crossing.psp(a,b) plot(P, add=TRUE, col="red")