mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-13 14:27:08 +03:00
0024005: Intersecting a slightly off angle plane with a cylinder takes 7+ seconds
Checking of possibility of bad result. Adding test case for issue CR24005 Correction of test case for issue CR24005
This commit is contained in:
@@ -534,13 +534,7 @@ gp_Ax2 DirToAx2(const gp_Pnt& P,const gp_Dir& D)
|
||||
param1bis = radius;
|
||||
}
|
||||
}
|
||||
if(typeres == IntAna_Ellipse) {
|
||||
if( param1>100000.0*param1bis
|
||||
|| param1bis>100000.0*param1) {
|
||||
done = Standard_False;
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
done = Standard_True;
|
||||
}
|
||||
//=======================================================================
|
||||
|
Reference in New Issue
Block a user