Click or drag to resize

Subdiv2DFindNearest Method

Finds the subdivision vertex closest to the given point.

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public int FindNearest(
	Point2f pt,
	out Point2f nearestPt
)

Parameters

pt
Type: OpenCvSharpPoint2f
Input point.
nearestPt
Type: OpenCvSharpPoint2f
Output subdivision vertex point.

Return Value

Type: Int32
vertex ID.
See Also