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

0031499: Boolean Operations - Custom fuzzy value corrupts the result of CUT

IntPatch_ImpImpIntersection::CyCyNoGeometric - Use the provided 3D tolerance to compare the points.
This commit is contained in:
emv
2020-04-15 15:53:36 +03:00
committed by bugmaster
parent 62fbfa9856
commit 590b3f0416
4 changed files with 118 additions and 2 deletions

View File

@@ -3507,8 +3507,8 @@ static IntPatch_ImpImpIntersection::IntStatus
const IntSurf_PntOn2S& aPntLWL1 = aWLine1->Point(aWLine1->NbPnts());
const IntSurf_PntOn2S aPntCur = theSPnt.Value(aNbPnt).PntOn2S();
if (aPntCur.IsSame(aPntFWL1, Precision::Confusion()) ||
aPntCur.IsSame(aPntLWL1, Precision::Confusion()))
if (aPntCur.IsSame(aPntFWL1, aTol3D) ||
aPntCur.IsSame(aPntLWL1, aTol3D))
{
theSPnt.Remove(aNbPnt);
aNbPnt--;