mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
0027087: [Regression to OCCT 6.7.1] BRepExtrema_DistShapeShape gives wrong result
Extrema_ExtCs.cxx: number of subdivision is incresed for curve; Modifications to fix regressions of some tests IntTools_BeanFaceIntersector.cxx: restriction of curve, which is used in Extrema_ExtCS ProjLib_CompProjectedCurve.cxx: tolerance is reduced for Extrema_ExtCS BRepOffset_Tool.cxx: checking common vertex if it is Null tests/bugs/modalg_7/bug27087 : test case added. tests/bugs/modalg_5/bug25232_8 : test is modified according to new behavior of algorithms
This commit is contained in:
@@ -636,8 +636,8 @@ void ProjLib_CompProjectedCurve::Init()
|
||||
Standard_Boolean FromLastU = Standard_False,
|
||||
isSplitsComputed = Standard_False;
|
||||
|
||||
const Standard_Real aTol3D = Precision::Confusion();
|
||||
Extrema_ExtCS CExt(myCurve->Curve(), mySurface->Surface(), aTol3D, aTol3D);
|
||||
const Standard_Real aTolExt = Precision::PConfusion();
|
||||
Extrema_ExtCS CExt(myCurve->Curve(), mySurface->Surface(), aTolExt, aTolExt);
|
||||
if (CExt.IsDone() && CExt.NbExt())
|
||||
{
|
||||
// Search for the minimum solution.
|
||||
|
Reference in New Issue
Block a user