0026788: Compiler warnings when OCCT_DEBUG is enabled
[occt.git] / src / Plate / Plate_LinearXYZConstraint.cxx
index 0ec6cc6..b3cda68 100644 (file)
 
 Plate_LinearXYZConstraint::Plate_LinearXYZConstraint() {}
 
-Plate_LinearXYZConstraint::Plate_LinearXYZConstraint(const Plate_Array1OfPinpointConstraint& PPC,const TColStd_Array1OfReal& coeff)
+Plate_LinearXYZConstraint::Plate_LinearXYZConstraint(const Plate_Array1OfPinpointConstraint& thePPC,const TColStd_Array1OfReal& theCoeff)
 {
-  if(coeff.Length()!= PPC.Length()) Standard_DimensionMismatch::Raise();
-  myPPC = new Plate_HArray1OfPinpointConstraint(1,PPC.Length());
-  myCoef = new TColStd_HArray2OfReal(1,1,1,coeff.Length());
+  if(theCoeff.Length()!= thePPC.Length()) Standard_DimensionMismatch::Raise();
+  myPPC = new Plate_HArray1OfPinpointConstraint(1, thePPC.Length());
+  myCoef = new TColStd_HArray2OfReal(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_LinearXYZConstraint::Plate_LinearXYZConstraint(const Plate_Array1OfPinpointConstraint& PPC,const TColStd_Array2OfReal& coeff)
+Plate_LinearXYZConstraint::Plate_LinearXYZConstraint(const Plate_Array1OfPinpointConstraint& thePPC,const TColStd_Array2OfReal& theCoeff)
 {
-  if(coeff.RowLength()!= PPC.Length()) Standard_DimensionMismatch::Raise();
-  myPPC = new Plate_HArray1OfPinpointConstraint(1,PPC.Length());
-  myCoef = new TColStd_HArray2OfReal(1,coeff.ColLength(),1,coeff.RowLength());
+  if(theCoeff.RowLength()!= thePPC.Length()) Standard_DimensionMismatch::Raise();
+  myPPC = new Plate_HArray1OfPinpointConstraint(1, thePPC.Length());
+  myCoef = new TColStd_HArray2OfReal(1, theCoeff.ColLength(),1, theCoeff.RowLength());
   
-  myPPC->ChangeArray1() = PPC;
-  myCoef->ChangeArray2() = coeff;
+  myPPC->ChangeArray1() = thePPC;
+  myCoef->ChangeArray2() = theCoeff;
 }