findNearest (cv.Subdiv2D) - MATLAB File Help |
Finds the subdivision vertex closest to the given point
[vertex, nearestPt] = obj.findNearest(pt)
[x,y]
[x,y]
.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.
Access | public |
Sealed | false |
Static | false |