http://www.emgu.com
Locates input point within subdivision. It 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.

Namespace: Emgu.CV
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.4.0.1717 (2.4.0.1717)

Syntax

C#
public static IntPtr cvFindNearestPoint2D(
	IntPtr subdiv,
	PointF pt
)
Visual Basic
Public Shared Function cvFindNearestPoint2D ( _
	subdiv As IntPtr, _
	pt As PointF _
) As IntPtr
Visual C++
public:
static IntPtr cvFindNearestPoint2D(
	IntPtr subdiv, 
	PointF pt
)

Parameters

subdiv
Type: System..::..IntPtr
Delaunay or another subdivision
pt
Type: System.Drawing..::..PointF
Input point

Return Value

pointer to the found subdivision vertex (CvSubdiv2DPoint)

See Also