pointPolygonTest function
PointPolygonTest performs a point-in-contour test.
For further details, please see: https:///docs.opencv.org/master/d3/dc0/group__imgproc__shape.html#ga1a539e8db2135af2566103705d7a5722
Implementation
double pointPolygonTest(VecPoint points, Point2f pt, bool measureDist) {
return cvRunArena<double>((arena) {
final r = arena<ffi.Double>();
cvRun(() => cffi.PointPolygonTest(points.ref, pt.ref, measureDist, r));
return r.value;
});
}