Bug 20110: EDF GEOM 882: Unwanted crosses after partition. A fix by PKV.

This commit is contained in:
jfa 2009-02-04 12:50:24 +00:00
parent c04d9dda5c
commit 7b10bbe78f

View File

@ -485,10 +485,10 @@ static
gp_Pnt2d aPb=Coord2d(aVb, aEOuta, myFace); gp_Pnt2d aPb=Coord2d(aVb, aEOuta, myFace);
const BOP_ListOfEdgeInfo& aLEInfoVb=mySmartMap.FindFromKey(aVb); //const BOP_ListOfEdgeInfo& aLEInfoVb=mySmartMap.FindFromKey(aVb);
// //
aTol=2.*Tolerance2D(aVb, aGAS); aTol=2.*Tolerance2D(aVb, aGAS);
aTol2=aTol*aTol; aTol2=10.*aTol*aTol;
// //
aNb=aLS.Length(); aNb=aLS.Length();
if (aNb>0) { if (aNb>0) {
@ -550,7 +550,7 @@ static
} }
// //
aTol2D=2.*Tolerance2D(aVb, aGAS); aTol2D=2.*Tolerance2D(aVb, aGAS);
aTol2D2=aTol2D*aTol2D; aTol2D2=100.*aTol2D*aTol2D;
// //
// anAngleIn in Vb from edge aEOuta // anAngleIn in Vb from edge aEOuta
const BOP_ListOfEdgeInfo& aLEInfo=mySmartMap.FindFromKey(aVb); const BOP_ListOfEdgeInfo& aLEInfo=mySmartMap.FindFromKey(aVb);