project.onto.segments {directlabels}R Documentation

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, h, 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.

h

Data frame describing the line segments of the convex or alpha hull.

debug
...

ignored

Author(s)

Toby Dylan Hocking


[Package directlabels version 2017.03.31 Index]