dist_to_line: 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