diff options
author | tpaviot <tpaviot@gmail.com> | 2011-05-23 16:45:02 +0200 |
---|---|---|
committer | Denis Barbier <bouzim@gmail.com> | 2011-06-13 08:52:48 +0200 |
commit | 6b973055c800da672a0b59f54d64087cfd6a4407 (patch) | |
tree | beeba6fbeb319aa838cc07ad700e20d41fb02b4c /src/IntPatch | |
parent | a3c988cfabf959728c5e098429e9204ed8deb666 (diff) | |
download | oce-6b973055c800da672a0b59f54d64087cfd6a4407.tar.gz oce-6b973055c800da672a0b59f54d64087cfd6a4407.zip |
[warning-fix][defined-but-not-used]
Removed unused functions raising defined but not used warning
Diffstat (limited to 'src/IntPatch')
-rw-r--r-- | src/IntPatch/IntPatch_ImpPrmIntersection.cxx | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/IntPatch/IntPatch_ImpPrmIntersection.cxx b/src/IntPatch/IntPatch_ImpPrmIntersection.cxx index fb8968e7..efc96c6e 100644 --- a/src/IntPatch/IntPatch_ImpPrmIntersection.cxx +++ b/src/IntPatch/IntPatch_ImpPrmIntersection.cxx @@ -1381,24 +1381,6 @@ static Standard_Real AdjustUFirst(Standard_Real U1,Standard_Real U2) return u; } -// adjust U parameters on Quadric -static Standard_Real AdjustUNext(Standard_Real Un,Standard_Real Up) -{ - Standard_Real u = Un; - if( Un < 0. ) - while(u < 0.) - u += (2.*PI); - else if( Un > (2.*PI) ) - while( u > (2.*PI) ) - u -= (2.*PI); - else if(Un == 0. || fabs(Un) <= 1.e-9) - u = (fabs(Up) < fabs(2.*PI-Up)) ? 0. : (2.*PI); - else if(Un == (2.*PI) || fabs(Un-(2.*PI)) <= 1.e-9) - u = (fabs(Up) < fabs(2.*PI-Up)) ? 0. : (2.*PI); - else //( Un > 0. && Un < (2.*PI) ) - return u; - return u; -} // collect vertices, reject equals static Handle(IntSurf_LineOn2S) GetVertices(const Handle(IntPatch_WLine)& WLine, |