ShortestDistance: Shortes distance from a point o a 2d segment

Description Usage Arguments Value See Also

Description

Shortes distance from a point o a 2d segment

Usage

1

Arguments

p

coordinates of a point

line

a 2x2 matrix with the coordinates of two points defining a line

Value

A numeric value, the Euclidean distance of point p to the line.

See Also

data2hist function and DouglasPeucker function


Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.