https://github.com/cran/spatstat
Tip revision: 794125ee3b513adcd44d756c0db4f8513d2c1049 authored by Adrian Baddeley on 10 December 2019, 10:50:03 UTC
version 1.62-2
version 1.62-2
Tip revision: 794125e
selfcrossing.psp.Rd
\name{selfcrossing.psp}
\alias{selfcrossing.psp}
\title{Crossing Points in a Line Segment Pattern}
\description{
Finds any crossing points between the line segments in a
line segment pattern.
}
\usage{
selfcrossing.psp(A)
}
\arguments{
\item{A}{
Line segment pattern (object of class \code{"psp"}).
}
}
\value{
Point pattern (object of class \code{"ppp"}).
}
\details{
This function finds any crossing points between
different line segments in the line segment pattern \code{A}.
A crossing point occurs whenever one of the line segments in \code{A}
intersects another line segment in \code{A}, at a nonzero
angle of intersection.
}
\seealso{
\code{\link{crossing.psp}},
\code{\link{psp.object}},
\code{\link{ppp.object}}.
}
\examples{
a <- psp(runif(10), runif(10), runif(10), runif(10), window=owin())
plot(a, col="green", main="selfcrossing.psp")
P <- selfcrossing.psp(a)
plot(P, add=TRUE, col="red")
}
\author{
\adrian
and \rolf
}
\keyword{spatial}
\keyword{manip}