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
Syntaxpublic static double PointPolygonTest(
InputArray contour,
Point2f pt,
bool measureDist
)
Public Shared Function PointPolygonTest (
contour As InputArray,
pt As Point2f,
measureDist As Boolean
) As Double
public:
static double PointPolygonTest(
InputArray^ contour,
Point2f pt,
bool measureDist
)
static member PointPolygonTest :
contour : InputArray *
pt : Point2f *
measureDist : bool -> float
OpenCvSharp.Cv2.PointPolygonTest = function(contour, pt, measureDist);
Parameters
- contour
- Type: OpenCvSharp.InputArray
- pt
- Type: OpenCvSharp.Point2f
- measureDist
- Type: System.Boolean
Return Value
Type:
Double
See Also