Commit 0205238d authored by Vitaly Tuzov's avatar Vitaly Tuzov

Fix for intersectConvexConvex nested contours check

parent 18a4ced0
...@@ -568,7 +568,7 @@ float cv::intersectConvexConvex( InputArray _p1, InputArray _p2, OutputArray _p1 ...@@ -568,7 +568,7 @@ float cv::intersectConvexConvex( InputArray _p1, InputArray _p2, OutputArray _p1
result = fp2; result = fp2;
nr = m; nr = m;
} }
else if( pointPolygonTest(_InputArray(fp2, n), fp1[0], false) >= 0 ) else if( pointPolygonTest(_InputArray(fp2, m), fp1[0], false) >= 0 )
{ {
result = fp1; result = fp1;
nr = n; nr = n;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment