findNearest (cv.Subdiv2D) - MATLAB File Help
cv.Subdiv2D/findNearest

Finds the subdivision vertex closest to the given point

[vertex, nearestPt] = obj.findNearest(pt)

Input

Output

The function is another function that locates the input point within the subdivision. It finds the subdivision vertex that is the closest to the input point. It is not necessarily one of vertices of the facet containing the input point, though the facet (located using cv.Subdiv2D.locate) is used as a starting point.

See also
Method Details
Access public
Sealed false
Static false