Finds 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 cvSubdiv2DLocate) is used as a starting point.

C# | Visual Basic | Visual C++ |
public MCvSubdiv2DPoint FindNearestPoint2D( ref MCvPoint2D32f point )
Public Function FindNearestPoint2D ( _ ByRef point As MCvPoint2D32f _ ) As MCvSubdiv2DPoint
public: MCvSubdiv2DPoint FindNearestPoint2D( MCvPoint2D32f% point )

- point ( MCvPoint2D32f %)
- Input point

returns the found subdivision vertex