Subdiv2DFindNearest Method |
http://www.emgu.com
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.CVAssembly: Emgu.CV (in Emgu.CV.dll) Version: 3.0.0.2161 (3.0.0.2161)
Syntaxpublic Subdiv2DPointLocationType FindNearest(
PointF point,
out PointF nearestPoint
)
Public Function FindNearest (
point As PointF,
<OutAttribute> ByRef nearestPoint As PointF
) As Subdiv2DPointLocationType
public:
Subdiv2DPointLocationType FindNearest(
PointF point,
[OutAttribute] PointF% nearestPoint
)
member FindNearest :
point : PointF *
nearestPoint : PointF byref -> Subdiv2DPointLocationType
Parameters
- point
- Type: System.DrawingPointF
Input point - nearestPoint
- Type: System.DrawingPointF
The nearest subdivision vertex
Return Value
Type:
Subdiv2DPointLocationTypeThe location type of the point
See Also