1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00

0024375: Exception in IntAna on touching circles

Test case for issue CR24375
This commit is contained in:
pdn
2013-11-21 14:13:29 +04:00
committed by bugmaster
parent aa094b3e6e
commit 3cb19cf162
2 changed files with 33 additions and 1 deletions

View File

@@ -66,7 +66,7 @@ void IntAna2d_AnaIntersection::Perform (const gp_Circ2d& C1,
if (ang1<0) {ang1=2*M_PI+ang1;} // On revient entre 0 et 2PI
lpnt[0].SetValue(XS,YS,ang1,ang2);
}
else if (((sum-d)>Epsilon(sum)) && ((d-dif)>Epsilon(sum))) {
else if (((sum-d)>Epsilon(sum)) && ((d-dif)>Epsilon(d+dif))) {
empt=Standard_False;
para=Standard_False;
iden=Standard_False;