0026788: Compiler warnings when OCCT_DEBUG is enabled
[occt.git] / src / Plate / Plate_LinearScalarConstraint.cxx
index bc5224e..17354e8 100644 (file)
@@ -34,27 +34,27 @@ Plate_LinearScalarConstraint::Plate_LinearScalarConstraint
   myCoef->ChangeValue(1,1) = coeff;
 }
 
-Plate_LinearScalarConstraint::Plate_LinearScalarConstraint(const Plate_Array1OfPinpointConstraint& PPC,const TColgp_Array1OfXYZ& coeff)
+Plate_LinearScalarConstraint::Plate_LinearScalarConstraint(const Plate_Array1OfPinpointConstraint& thePPC,const TColgp_Array1OfXYZ& theCoeff)
 {
-  if(coeff.Length()!= PPC.Length()) Standard_DimensionMismatch::Raise();
-  myPPC = new Plate_HArray1OfPinpointConstraint(1,PPC.Length());
-  myCoef = new TColgp_HArray2OfXYZ(1,1,1,coeff.Length());
+  if(theCoeff.Length()!= thePPC.Length()) Standard_DimensionMismatch::Raise();
+  myPPC = new Plate_HArray1OfPinpointConstraint(1, thePPC.Length());
+  myCoef = new TColgp_HArray2OfXYZ(1,1,1, theCoeff.Length());
 
-  myPPC->ChangeArray1() = PPC;
-  for(Standard_Integer i = 1; i<= coeff.Length(); i++) {
-    myCoef->ChangeValue(1,i) = coeff(i+coeff.Lower()-1);
+  myPPC->ChangeArray1() = thePPC;
+  for(Standard_Integer i = 1; i<= theCoeff.Length(); i++) {
+    myCoef->ChangeValue(1,i) = theCoeff(i+ theCoeff.Lower()-1);
   }
 }
 
 Plate_LinearScalarConstraint::Plate_LinearScalarConstraint
-   (const Plate_Array1OfPinpointConstraint& PPC,const TColgp_Array2OfXYZ& coeff)
+   (const Plate_Array1OfPinpointConstraint& thePPC,const TColgp_Array2OfXYZ& theCoeff)
 {
-  if(coeff.RowLength()!= PPC.Length()) Standard_DimensionMismatch::Raise();
-  myPPC = new Plate_HArray1OfPinpointConstraint(1,PPC.Length());
-  myCoef = new TColgp_HArray2OfXYZ(1,coeff.ColLength(),1,coeff.RowLength());
+  if(theCoeff.RowLength()!= thePPC.Length()) Standard_DimensionMismatch::Raise();
+  myPPC = new Plate_HArray1OfPinpointConstraint(1, thePPC.Length());
+  myCoef = new TColgp_HArray2OfXYZ(1, theCoeff.ColLength(),1, theCoeff.RowLength());
   
-  myPPC->ChangeArray1() = PPC;
-  myCoef->ChangeArray2() = coeff;
+  myPPC->ChangeArray1() = thePPC;
+  myCoef->ChangeArray2() = theCoeff;
 }