From: jfa Date: Fri, 18 Feb 2011 10:36:39 +0000 (+0000) Subject: Mantis issue 0021181. A fix by PKV. X-Git-Tag: Start_BR_19998_21191~62 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=0e586195020da0eb0a889ca8883223530a37278c;p=modules%2Fgeom.git Mantis issue 0021181. A fix by PKV. --- diff --git a/src/GEOMAlgo/GEOMAlgo_WireSplitter.cxx b/src/GEOMAlgo/GEOMAlgo_WireSplitter.cxx index c90750cbb..c33c07a82 100755 --- a/src/GEOMAlgo/GEOMAlgo_WireSplitter.cxx +++ b/src/GEOMAlgo/GEOMAlgo_WireSplitter.cxx @@ -752,9 +752,13 @@ static dA=A1-A2; if (dA <= 0.) { dA=aTwoPi+dA; + //modified by NIZNHY-PKV Thu Feb 17 08:26:39 2011f + if (dA <= 1.e-14) { + dA=aTwoPi; + } + //modified by NIZNHY-PKV Thu Feb 17 08:26:42 2011t } //xx - //else if (dA <= 1.e-15) { else if (dA <= 1.e-14) { dA=aTwoPi; } @@ -803,10 +807,7 @@ static BOPTools_Tools2D::CurveOnSurface (anEdge, myFace, aC2D, aFirst, aLast, aToler, Standard_True); //dt=1.e-7; - //modified by NIZNHY-PKV Wed Sep 10 14:06:04 2008f - //dt=Tolerance2D(aV, aGAS); dt=2.*Tolerance2D(aV, aGAS); - //modified by NIZNHY-PKV Wed Sep 10 14:06:07 2008t // aTX=0.25*(aLast - aFirst); if(dt > aTX) {