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

Description Usage Arguments Value See Also

View source: R/Utility.R

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


HistDAWass documentation built on Oct. 6, 2017, 5:04 p.m.