// File generated by CPPExt (Value)
//
//                     Copyright (C) 1991 - 2000 by  
//                      Matra Datavision SA.  All rights reserved.
//  
//                     Copyright (C) 2001 - 2004 by
//                     Open CASCADE SA.  All rights reserved.
// 
// This file is part of the Open CASCADE Technology software.
//
// This software may be distributed and/or modified under the terms and
// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
// and appearing in the file LICENSE included in the packaging of this file.
//  
// This software is distributed on an "AS IS" basis, without warranty of any
// kind, and Open CASCADE SA hereby disclaims all such warranties,
// including without limitation, any warranties of merchantability, fitness
// for a particular purpose or non-infringement. Please see the License for
// the specific terms and conditions governing rights and limitations under the
// License.

#ifndef _GeomPlate_PlateG0Criterion_HeaderFile
#define _GeomPlate_PlateG0Criterion_HeaderFile

#ifndef _TColgp_SequenceOfXY_HeaderFile
#include <TColgp_SequenceOfXY.hxx>
#endif
#ifndef _TColgp_SequenceOfXYZ_HeaderFile
#include <TColgp_SequenceOfXYZ.hxx>
#endif
#ifndef _AdvApp2Var_Criterion_HeaderFile
#include <AdvApp2Var_Criterion.hxx>
#endif
#ifndef _Standard_Real_HeaderFile
#include <Standard_Real.hxx>
#endif
#ifndef _AdvApp2Var_CriterionType_HeaderFile
#include <AdvApp2Var_CriterionType.hxx>
#endif
#ifndef _AdvApp2Var_CriterionRepartition_HeaderFile
#include <AdvApp2Var_CriterionRepartition.hxx>
#endif
#ifndef _Standard_Boolean_HeaderFile
#include <Standard_Boolean.hxx>
#endif
class TColgp_SequenceOfXY;
class TColgp_SequenceOfXYZ;
class AdvApp2Var_Patch;
class AdvApp2Var_Context;


#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Standard_Macro_HeaderFile
#include <Standard_Macro.hxx>
#endif


class GeomPlate_PlateG0Criterion  : public AdvApp2Var_Criterion {

public:

    void* operator new(size_t,void* anAddress) 
      {
        return anAddress;
      }
    void* operator new(size_t size) 
      { 
        return Standard::Allocate(size); 
      }
    void  operator delete(void *anAddress) 
      { 
        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
      }
 // Methods PUBLIC
 // 


Standard_EXPORT GeomPlate_PlateG0Criterion(const TColgp_SequenceOfXY& Data,const TColgp_SequenceOfXYZ& G0Data,const Standard_Real Maximum,const AdvApp2Var_CriterionType Type = AdvApp2Var_Absolute,const AdvApp2Var_CriterionRepartition Repart = AdvApp2Var_Regular);


Standard_EXPORT virtual  void Value(AdvApp2Var_Patch& P,const AdvApp2Var_Context& C) const;


Standard_EXPORT virtual  Standard_Boolean IsSatisfied(const AdvApp2Var_Patch& P) const;





protected:

 // Methods PROTECTED
 // 


 // Fields PROTECTED
 //


private: 

 // Methods PRIVATE
 // 


 // Fields PRIVATE
 //
TColgp_SequenceOfXY myData;
TColgp_SequenceOfXYZ myXYZ;


};





// other Inline functions and methods (like "C++: function call" methods)
//


#endif
