diff options
author | Denis Barbier <bouzim@gmail.com> | 2011-12-18 00:31:58 +0100 |
---|---|---|
committer | Denis Barbier <bouzim@gmail.com> | 2011-12-21 23:54:55 +0100 |
commit | e716bed354e9b136c2e858206ff83b96cdd5fce4 (patch) | |
tree | e0cddb2c50dd24b7d7c6df6cb69295f993416764 /src/IntPatch | |
parent | ddf810d818a49ce8fcf4816da835d77662a92692 (diff) | |
download | oce-e716bed354e9b136c2e858206ff83b96cdd5fce4.tar.gz oce-e716bed354e9b136c2e858206ff83b96cdd5fce4.zip |
[warning-fix][unused-local-var]
Diffstat (limited to 'src/IntPatch')
-rw-r--r-- | src/IntPatch/IntPatch_ALineToWLine.cxx | 7 | ||||
-rw-r--r-- | src/IntPatch/IntPatch_RLine.cxx | 3 | ||||
-rw-r--r-- | src/IntPatch/IntPatch_RstInt.cxx | 7 | ||||
-rw-r--r-- | src/IntPatch/IntPatch_WLine.cxx | 3 |
4 files changed, 4 insertions, 16 deletions
diff --git a/src/IntPatch/IntPatch_ALineToWLine.cxx b/src/IntPatch/IntPatch_ALineToWLine.cxx index e8cd7d96..41543bd5 100644 --- a/src/IntPatch/IntPatch_ALineToWLine.cxx +++ b/src/IntPatch/IntPatch_ALineToWLine.cxx @@ -621,7 +621,7 @@ static do { Standard_Boolean RemoveVtxo, RemoveVtx; Standard_Integer vo, voo; - Standard_Real ponl, ponlo, ponloo, aDist13, aDist23; + Standard_Real ponl, ponlo, aDist13, aDist23; // APointHasBeenRemoved = Standard_False; RemoveVtxo = Standard_False; @@ -647,7 +647,6 @@ static if(voo!=v && voo!=vo) { if(newparamvertex(voo)>=0.) { const IntPatch_Point& Vtxoo = aline->Vertex(voo); - ponloo = Vtxoo.ParameterOnLine(); const gp_Pnt& aPoo=Vtxoo.Value(); // aDist13=aP.Distance(aPoo); @@ -920,10 +919,6 @@ void RecadreMemePeriode(const IntSurf_Quadric aQuad1, const Standard_Real anu1, const Standard_Real anu2) { - GeomAbs_SurfaceType aType1, aType2; - // - aType1=aQuad1.TypeQuadric(); - aType2=aQuad2.TypeQuadric(); // while(anu1-u1 > 5.0) { u1+=PI+PI; diff --git a/src/IntPatch/IntPatch_RLine.cxx b/src/IntPatch/IntPatch_RLine.cxx index 5014ff74..a720c2e9 100644 --- a/src/IntPatch/IntPatch_RLine.cxx +++ b/src/IntPatch/IntPatch_RLine.cxx @@ -93,9 +93,6 @@ void IntPatch_RLine::ComputeVertexParameters(const Standard_Real ) { Standard_Integer i,j,nbvtx;//k; - Standard_Real ParamMinOnLine,ParamMaxOnLine; - if(fipt) { ParamMinOnLine = Vertex(indf).ParameterOnLine(); } else { ParamMinOnLine = -100000.0; } - if(lapt) { ParamMaxOnLine = Vertex(indl).ParameterOnLine(); } else { ParamMaxOnLine = 100000.0; } Standard_Boolean APointDeleted = Standard_False; //---------------------------------------------------------- //-- F i l t r e s u r r e s t r i c t i o n s -- diff --git a/src/IntPatch/IntPatch_RstInt.cxx b/src/IntPatch/IntPatch_RstInt.cxx index 067ebf1f..aae2e188 100644 --- a/src/IntPatch/IntPatch_RstInt.cxx +++ b/src/IntPatch/IntPatch_RstInt.cxx @@ -684,11 +684,10 @@ void IntPatch_RstInt::PutVertexOnLine (Handle(IntPatch_Line)& L, (!Domain->Has3d() && Standard_Integer(nptCh)+1 < Nbptlin); if (!isNptLow && !IsSegment2dSmall(Brise,UMinAr,UMaxAr,tolU,tolV)) { // treat both ends - Standard_Real UMinChP,UMaxChP,UMinArP,UMaxArP; + Standard_Real UMinChP,UMinArP,UMaxArP; UMinChP = IntegerPart(UMinCh); UMinArP = IntegerPart(UMinAr); - UMaxChP = IntegerPart(UMaxCh); UMaxArP = IntegerPart(UMaxAr); - Standard_Integer irangCh1,irangCh2,irangAr1,irangAr2; - irangCh1 = Standard_Integer(UMinChP)+1; irangCh2 = Standard_Integer(UMaxChP)+1; + UMaxArP = IntegerPart(UMaxAr); + Standard_Integer irangAr1,irangAr2; irangAr1 = Standard_Integer(UMinArP)+1; irangAr2 = Standard_Integer(UMaxArP)+1; UMinChP = UMinCh - UMinChP; UMinArP = UMinAr - UMinArP; //UMaxChP = UMaxCh - UMaxChP; UMaxArP = UMaxAr - UMaxArP; diff --git a/src/IntPatch/IntPatch_WLine.cxx b/src/IntPatch/IntPatch_WLine.cxx index 3adc5911..36c684cb 100644 --- a/src/IntPatch/IntPatch_WLine.cxx +++ b/src/IntPatch/IntPatch_WLine.cxx @@ -236,9 +236,6 @@ void IntPatch_WLine::ComputeVertexParameters(const Standard_Real RTol) { Standard_Integer indicevertexonline; Standard_Real indicevertex; - Standard_Real ParamMinOnLine,ParamMaxOnLine; - if(fipt) { ParamMinOnLine = Vertex(indf).ParameterOnLine(); } else { ParamMinOnLine = -100000.0; } - if(lapt) { ParamMaxOnLine = Vertex(indl).ParameterOnLine(); } else { ParamMaxOnLine = 100000.0; } Standard_Boolean APointDeleted = Standard_False; //---------------------------------------------------------- //-- F i l t r e s u r r e s t r i c t i o n s -- |