http://www.emgu.com
Determines the distance from the point to the contour

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

Syntax

C#
public double Distance(
	PointF point
)
Visual Basic
Public Function Distance ( _
	point As PointF _
) As Double
Visual C++
public:
double Distance(
	PointF point
)

Parameters

point
Type: System.Drawing..::..PointF
The point to measured distance

Return Value

positive distance if inside; negative distance if outside; 0 if on the contour

See Also