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 PointF point )
Public Function FindNearestPoint2D ( _ ByRef point As PointF _ ) As MCvSubdiv2DPoint
public: MCvSubdiv2DPoint FindNearestPoint2D( PointF% point )

- point ( PointF %)
- Input point

returns the found subdivision vertex