| 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
)
Public Function FindNearest (
pt As Point2f,
<OutAttribute> ByRef nearestPt As Point2f
) As Integer
public:
int FindNearest(
Point2f pt,
[OutAttribute] Point2f% nearestPt
)
member FindNearest :
pt : Point2f *
nearestPt : Point2f byref -> int
Parameters
- pt
- Type: OpenCvSharpPoint2f
Input point. - nearestPt
- Type: OpenCvSharpPoint2f
Output subdivision vertex point.
Return Value
Type:
Int32vertex ID.
See Also