MCPcopy Create free account
hub / github.com/creatale/node-dv / pointPolygonTest

Method pointPolygonTest

deps/opencv/modules/imgproc/src/contours.cpp:2052–2060  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2050
2051
2052double cv::pointPolygonTest( InputArray _contour,
2053 Point2f pt, bool measureDist )
2054{
2055 Mat contour = _contour.getMat();
2056 CV_Assert(contour.checkVector(2) >= 0 &&
2057 (contour.depth() == CV_32F || contour.depth() == CV_32S));
2058 CvMat c = Mat(contour);
2059 return cvPointPolygonTest( &c, pt, measureDist );
2060}
2061
2062/* End of file. */

Callers

nothing calls this directly

Calls 5

MatClass · 0.85
cvPointPolygonTestFunction · 0.85
checkVectorMethod · 0.80
getMatMethod · 0.45
depthMethod · 0.45

Tested by

no test coverage detected