Rdocumentation
powered by
Learn R Programming
directlabels (version 2.0)
project.onto.segments: project onto segments
Description
Given a point and a set of line segments representing a convex or alpha hull, calculate the closest point on the segments.
Usage
project.onto.segments(m, hull.segments, debug = FALSE, ...)
Arguments
m
m is 1 row, a center of a point cloud, we need to find the distance to the closest point on each segment of the convex hull.
hull.segments
Data frame describing the line segments of the convex or alpha hull.
debug
...
ignored