| MatPointPolygonTest Method  | 
        
         
            Checks if the point is inside the contour. 
            Optionally computes the signed distance from the point to the contour boundary.
            
 
    Namespace: 
   OpenCvSharp
    Assembly:
   OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
 Syntax
Syntaxpublic double PointPolygonTest(
	Point2f pt,
	bool measureDist
)
Public Function PointPolygonTest ( 
	pt As Point2f,
	measureDist As Boolean
) As Double
public:
double PointPolygonTest(
	Point2f pt, 
	bool measureDist
)
member PointPolygonTest : 
        pt : Point2f * 
        measureDist : bool -> float 
function PointPolygonTest(pt, measureDist);
Parameters
- pt
- Type: OpenCvSharpPoint2f
 Point tested against the contour.
- measureDist
- Type: SystemBoolean
 If true, the function estimates the signed distance 
            from the point to the nearest contour edge. Otherwise, the function only checks 
            if the point is inside a contour or not.
Return Value
Type: 
DoublePositive (inside), negative (outside), or zero (on an edge) value.
 See Also
See Also