pointLineD | R Documentation |
pointLineD
returns a list with a number of components from a points to line segment analysis
pointLineD(xy, xyp)
xy |
2 x 2 [x,y] matrix defining the start and end of the segment |
xyp |
p x 2 [x,y] matrix with a point set |
pointLineD
conduct a detailed points to segment distance analysis, returned as a list
A list with the input components xy
and xyp
, and the aditional components: d
, point-line distance (distance between the points in xyp
and their perpendicular projections of the line); dc
, diferential chainage over [x0,y0] (> 0 if the projection goes in the segment direction); cross
, boolean vector indicating whether the perpendicular projection of the points crosses the segment, or not
Spatial-class
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.