// File generated by CPPExt (Persistent CSFDB)
//
//
//                     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 _PBRep_TFace_HeaderFile
#define _PBRep_TFace_HeaderFile

#ifndef _Handle_PBRep_TFace_HeaderFile
#include <Handle_PBRep_TFace.hxx>
#endif
#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif

#ifndef _Handle_PGeom_Surface_HeaderFile
#include <Handle_PGeom_Surface.hxx>
#endif
#ifndef _Handle_PPoly_Triangulation_HeaderFile
#include <Handle_PPoly_Triangulation.hxx>
#endif
#ifndef _PTopLoc_Location_HeaderFile
#include <PTopLoc_Location.hxx>
#endif
#ifndef _Standard_Real_HeaderFile
#include <Standard_Real.hxx>
#endif
#ifndef _Standard_Boolean_HeaderFile
#include <Standard_Boolean.hxx>
#endif
#ifndef _PTopoDS_TFace_HeaderFile
#include <PTopoDS_TFace.hxx>
#endif
class PGeom_Surface;
class PPoly_Triangulation;
class PTopLoc_Location;


class PBRep_TFace : public PTopoDS_TFace {

public:

 // Methods PUBLIC
 // 

//! Creates an empty TFace. <br>
Standard_EXPORT PBRep_TFace();


Standard_EXPORT   Handle_PGeom_Surface Surface() const;


Standard_EXPORT   Handle_PPoly_Triangulation Triangulation() const;


Standard_EXPORT   PTopLoc_Location Location() const;


Standard_EXPORT   Standard_Real Tolerance() const;


Standard_EXPORT   void Surface(const Handle(PGeom_Surface)& S) ;


Standard_EXPORT   void Triangulation(const Handle(PPoly_Triangulation)& T) ;


Standard_EXPORT   void Location(const PTopLoc_Location& L) ;


Standard_EXPORT   void Tolerance(const Standard_Real T) ;


Standard_EXPORT   Standard_Boolean NaturalRestriction() const;


Standard_EXPORT   void NaturalRestriction(const Standard_Boolean N) ;
//Standard_EXPORT ~PBRep_TFace();
PBRep_TFace(const Storage_stCONSTclCOM& a) : PTopoDS_TFace(a)
{
  
}

    Handle(PGeom_Surface) _CSFDB_GetPBRep_TFacemySurface() const { return mySurface; }
    void _CSFDB_SetPBRep_TFacemySurface(const Handle(PGeom_Surface)& p) { mySurface = p; }
    Handle(PPoly_Triangulation) _CSFDB_GetPBRep_TFacemyTriangulation() const { return myTriangulation; }
    void _CSFDB_SetPBRep_TFacemyTriangulation(const Handle(PPoly_Triangulation)& p) { myTriangulation = p; }
    const PTopLoc_Location& _CSFDB_GetPBRep_TFacemyLocation() const { return myLocation; }
    Standard_Real _CSFDB_GetPBRep_TFacemyTolerance() const { return myTolerance; }
    void _CSFDB_SetPBRep_TFacemyTolerance(const Standard_Real p) { myTolerance = p; }
    Standard_Boolean _CSFDB_GetPBRep_TFacemyNaturalRestriction() const { return myNaturalRestriction; }
    void _CSFDB_SetPBRep_TFacemyNaturalRestriction(const Standard_Boolean p) { myNaturalRestriction = p; }



 // Type management
 //
 Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
// Standard_EXPORT Standard_Boolean	       IsKind(const Handle(Standard_Type)&) const;

protected:

 // Methods PROTECTED
 // 

 // Fields PROTECTED
 //


private: 

 // Methods PRIVATE
 // 

 // Fields PRIVATE
 //
Handle_PGeom_Surface mySurface;
Handle_PPoly_Triangulation myTriangulation;
PTopLoc_Location myLocation;
Standard_Real myTolerance;
Standard_Boolean myNaturalRestriction;


};





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


#endif
