Click or drag to resize

Cv2.PointPolygonTest Method (InputArray, Point2f, Boolean)

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
public static double PointPolygonTest(
	InputArray contour,
	Point2f pt,
	bool measureDist
)

Parameters

contour
Type: OpenCvSharp.InputArray
pt
Type: OpenCvSharp.Point2f
measureDist
Type: System.Boolean

Return Value

Type: Double
See Also