From 7b10bbe78fbedb06dc73f01984e6d26a5e5dcb08 Mon Sep 17 00:00:00 2001 From: jfa Date: Wed, 4 Feb 2009 12:50:24 +0000 Subject: [PATCH] Bug 20110: EDF GEOM 882: Unwanted crosses after partition. A fix by PKV. --- src/GEOMAlgo/GEOMAlgo_WireSplitter.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/GEOMAlgo/GEOMAlgo_WireSplitter.cxx b/src/GEOMAlgo/GEOMAlgo_WireSplitter.cxx index 7bc6779cd..ddfe74f80 100755 --- a/src/GEOMAlgo/GEOMAlgo_WireSplitter.cxx +++ b/src/GEOMAlgo/GEOMAlgo_WireSplitter.cxx @@ -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);