dist_to_line {LOMAR} | R Documentation |
dist_to_line
Description
Compute distance between a set of points and a line defined by two points
Usage
dist_to_line(pts, a = NULL, b = NULL)
Arguments
pts |
a data frame or matrix with 3 columns of coordinates |
a |
vector of coordinates of a point on the line |
b |
a second point on the line |
Value
vector of distances
[Package LOMAR version 0.4.0 Index]