From 0e586195020da0eb0a889ca8883223530a37278c Mon Sep 17 00:00:00 2001 From: jfa Date: Fri, 18 Feb 2011 10:36:39 +0000 Subject: [PATCH] Mantis issue 0021181. A fix by PKV. --- src/GEOMAlgo/GEOMAlgo_WireSplitter.cxx | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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) { -- 2.39.2