Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

crossing.linnet

Crossing Points between Linear Network and Other Lines


Description

Find all the crossing-points between a linear network and another pattern of lines or line segments.

Usage

crossing.linnet(X, Y)

Arguments

X

Linear network (object of class "linnet").

Y

A linear network, or a spatial pattern of line segments (class "psp") or infinite lines (class "infline").

Details

All crossing-points between X and Y are determined. The result is a point pattern on the network X.

Value

Point pattern on a linear network (object of class "lpp").

Author(s)

See Also

Examples

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")

spatstat.linnet

Linear Networks Functionality of the 'spatstat' Family

v2.1-1
GPL (>= 2)
Authors
Adrian Baddeley [aut, cre], Rolf Turner [aut], Ege Rubak [aut], Ottmar Cronie [ctb], Tilman Davies [ctb], Greg McSwiggan [ctb], Suman Rakshit [ctb]
Initial release
2021-03-28

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.