dist_points_to_poly: Compute distance between multiple points and a polygon

Description Usage Arguments Value

Description

Taken from http://www.mathworks.com/matlabcentral/fileexchange/19398-distance-from-a-point-to-polygon/content/p_poly_dist.m

Usage

1

Arguments

points

mx2 matrix representing m points.

polygon

nx2 matrix representing a polygon; it is assumed that the final point is equal to the first one, i.e. the first row of the matrix equals the last one.

ABC

precomputed quantities obtained by calling compute_ABC.

Value

The vector of distances between the points and the polygon.


pierrejacob/RShapeTarget documentation built on May 25, 2019, 6:07 a.m.