Function opencv::imgproc::point_polygon_test [] [src]

pub fn point_polygon_test(contour: &Mat, pt: Point2f, measureDist: bool) -> Result<f64, String>

checks if the point is inside the contour. Optionally computes the signed distance from the point to the contour boundary