FINDPOINT Find index of a point in an set from its coordinates.
IND = findPoint(POINT, ARRAY)
Returns the index of point whose coordinates match the 1-by-2 row array
POINT in the N-by-2 array ARRAY. If the point is not found, returns 0.
If several points are found, keep only the first one.
If POINT is a M-by-2 array, the result is a M-by-1 array, containing
the index in the array of each point given by COORD, or 0 if the point
is not found.
IND = findPoint(POINT, ARRAY, TOL)
use specified tolerance, to find point within a distance of TOL.
Default tolerance is zero.
See also
points2d, minDistancePoints, distancePoints, findClosestPoint
Package: matgeom