]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
Bug 20110: EDF GEOM 882: Unwanted crosses after partition. A fix by PKV.
authorjfa <jfa@opencascade.com>
Wed, 4 Feb 2009 12:50:24 +0000 (12:50 +0000)
committerjfa <jfa@opencascade.com>
Wed, 4 Feb 2009 12:50:24 +0000 (12:50 +0000)
src/GEOMAlgo/GEOMAlgo_WireSplitter.cxx

index 7bc6779cd8d5ca3df6b9c84e71a13cfd35e9d303..ddfe74f806d32d58eff267bac99e89dc5dd570b8 100755 (executable)
@@ -485,10 +485,10 @@ static
 
   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);
-  aTol2=aTol*aTol;
+  aTol2=10.*aTol*aTol;
   //
   aNb=aLS.Length();
   if (aNb>0) {
@@ -550,7 +550,7 @@ static
   }
   //
   aTol2D=2.*Tolerance2D(aVb, aGAS);
-  aTol2D2=aTol2D*aTol2D;
+  aTol2D2=100.*aTol2D*aTol2D;
   //
   // anAngleIn in Vb from edge aEOuta
   const BOP_ListOfEdgeInfo& aLEInfo=mySmartMap.FindFromKey(aVb);