mirror of
https://github.com/opencv/opencv.git
synced 2025-07-25 06:38:42 +08:00
Merge pull request #10053 from terfendail:intersectconvex_fix
This commit is contained in:
commit
e89ae986fa
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user