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

0031602: [Regression vs 7.0.0] Modeling Algorithms - Invalid result of boolean operation

IntPatch/IntPatch_ImpImpIntersection_4.gxx : adding tolerance in comparison surface range and surface period
bug31602: test case added
This commit is contained in:
ifv
2020-06-10 19:33:27 +03:00
committed by bugmaster
parent 5d904c3454
commit dccf867561
2 changed files with 34 additions and 1 deletions

View File

@@ -1870,7 +1870,7 @@ static Standard_Boolean AddPointIntoWL( const IntSurf_Quadric& theQuad1,
return Standard_False;
if ((theLine->NbPoints() > 0) &&
((theUlSurf1 - theUfSurf1) >= thePeriodOfSurf1) &&
((theUlSurf1 - theUfSurf1) >= (thePeriodOfSurf1 - theTol2D)) &&
(((aU1par + thePeriodOfSurf1 - theUlSurf1) <= theTol2D) ||
((aU1par - thePeriodOfSurf1 - theUfSurf1) >= theTol2D)))
{