// This file is generated by WOK (CPPExt).
// Please do not edit this file; modify original file instead.
// The copyright and license terms as defined for the original file apply to 
// this header file considered to be the "object code" form of the original source.

#ifndef _Plate_LinearScalarConstraint_HeaderFile
#define _Plate_LinearScalarConstraint_HeaderFile

#include <Standard.hxx>
#include <Standard_DefineAlloc.hxx>
#include <Standard_Macro.hxx>

#include <Handle_Plate_HArray1OfPinpointConstraint.hxx>
#include <Handle_TColgp_HArray2OfXYZ.hxx>
#include <Standard_Integer.hxx>
class Plate_HArray1OfPinpointConstraint;
class TColgp_HArray2OfXYZ;
class Standard_DimensionMismatch;
class Standard_OutOfRange;
class Plate_PinpointConstraint;
class gp_XYZ;
class Plate_Array1OfPinpointConstraint;
class TColgp_Array1OfXYZ;
class TColgp_Array2OfXYZ;


//! define on or several constraints  as linear combination of
//! the X,Y and Z components of a set of PinPointConstraint
class Plate_LinearScalarConstraint 
{
public:

  DEFINE_STANDARD_ALLOC

  
  Standard_EXPORT Plate_LinearScalarConstraint();
  
  Standard_EXPORT Plate_LinearScalarConstraint(const Plate_PinpointConstraint& PPC1, const gp_XYZ& coeff);
  
  Standard_EXPORT Plate_LinearScalarConstraint(const Plate_Array1OfPinpointConstraint& ppc, const TColgp_Array1OfXYZ& coeff);
  
  Standard_EXPORT Plate_LinearScalarConstraint(const Plate_Array1OfPinpointConstraint& ppc, const TColgp_Array2OfXYZ& coeff);
  
  Standard_EXPORT Plate_LinearScalarConstraint(const Standard_Integer ColLen, const Standard_Integer RowLen);
  
     const  Plate_Array1OfPinpointConstraint& GetPPC()  const;
  
     const  TColgp_Array2OfXYZ& Coeff()  const;
  
  //! Sets   the PinPointConstraint of   index Index to
  //! Value raise if Index is greater than the length of
  //! ppc or the Row length of coeff or lower  than 1
  Standard_EXPORT   void SetPPC (const Standard_Integer Index, const Plate_PinpointConstraint& Value) ;
  
  //! Sets the coeff  of index (Row,Col)  to Value
  //! raise if  Row (respectively Col)  is greater than the
  //! Row (respectively Column) length of coeff
  Standard_EXPORT   void SetCoeff (const Standard_Integer Row, const Standard_Integer Col, const gp_XYZ& Value) ;




protected:





private:



  Handle(Plate_HArray1OfPinpointConstraint) myPPC;
  Handle(TColgp_HArray2OfXYZ) myCoef;


};


#include <Plate_LinearScalarConstraint.lxx>





#endif // _Plate_LinearScalarConstraint_HeaderFile
