mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-04-15 21:21:22 +05:00
Mantis issue 0021181. A fix by PKV.
This commit is contained in:
parent
a3cc005370
commit
0e58619502
@ -752,9 +752,13 @@ static
|
|||||||
dA=A1-A2;
|
dA=A1-A2;
|
||||||
if (dA <= 0.) {
|
if (dA <= 0.) {
|
||||||
dA=aTwoPi+dA;
|
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
|
//xx
|
||||||
//else if (dA <= 1.e-15) {
|
|
||||||
else if (dA <= 1.e-14) {
|
else if (dA <= 1.e-14) {
|
||||||
dA=aTwoPi;
|
dA=aTwoPi;
|
||||||
}
|
}
|
||||||
@ -803,10 +807,7 @@ static
|
|||||||
BOPTools_Tools2D::CurveOnSurface (anEdge, myFace, aC2D,
|
BOPTools_Tools2D::CurveOnSurface (anEdge, myFace, aC2D,
|
||||||
aFirst, aLast, aToler, Standard_True);
|
aFirst, aLast, aToler, Standard_True);
|
||||||
//dt=1.e-7;
|
//dt=1.e-7;
|
||||||
//modified by NIZNHY-PKV Wed Sep 10 14:06:04 2008f
|
|
||||||
//dt=Tolerance2D(aV, aGAS);
|
|
||||||
dt=2.*Tolerance2D(aV, aGAS);
|
dt=2.*Tolerance2D(aV, aGAS);
|
||||||
//modified by NIZNHY-PKV Wed Sep 10 14:06:07 2008t
|
|
||||||
//
|
//
|
||||||
aTX=0.25*(aLast - aFirst);
|
aTX=0.25*(aLast - aFirst);
|
||||||
if(dt > aTX) {
|
if(dt > aTX) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user