summaryrefslogtreecommitdiff
path: root/inc/PBRep_TFace.hxx
blob: c4eb3cc376b22858bea7425d32e071be36dce804 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
// 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 _PBRep_TFace_HeaderFile
#define _PBRep_TFace_HeaderFile

#ifndef _Standard_Macro_HeaderFile
#include <Standard_Macro.hxx>
#endif
#ifndef _Standard_DefineHandle_HeaderFile
#include <Standard_DefineHandle.hxx>
#endif
#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Handle_PBRep_TFace_HeaderFile
#include <Handle_PBRep_TFace.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:

  //! 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) ;

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; }



  DEFINE_STANDARD_RTTI(PBRep_TFace)

protected:




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