summaryrefslogtreecommitdiff
path: root/inc/HLRBRep_FaceData.hxx
blob: 4fc3df7bb889ea27534c2ce0515d1b9db44ac433 (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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
// 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 _HLRBRep_FaceData_HeaderFile
#define _HLRBRep_FaceData_HeaderFile

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

#ifndef _Standard_Boolean_HeaderFile
#include <Standard_Boolean.hxx>
#endif
#ifndef _Handle_HLRAlgo_WiresBlock_HeaderFile
#include <Handle_HLRAlgo_WiresBlock.hxx>
#endif
#ifndef _HLRBRep_Surface_HeaderFile
#include <HLRBRep_Surface.hxx>
#endif
#ifndef _Standard_Real_HeaderFile
#include <Standard_Real.hxx>
#endif
#ifndef _Standard_ShortReal_HeaderFile
#include <Standard_ShortReal.hxx>
#endif
#ifndef _TopAbs_Orientation_HeaderFile
#include <TopAbs_Orientation.hxx>
#endif
#ifndef _Standard_Integer_HeaderFile
#include <Standard_Integer.hxx>
#endif
class HLRAlgo_WiresBlock;
class TopoDS_Face;
class HLRBRep_Surface;



class HLRBRep_FaceData  {
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); 
  }

  
  Standard_EXPORT   HLRBRep_FaceData();
  //! <Or> is the orientation of the face.  <Cl> is true <br>
//!          if the face  belongs to a  closed  volume. <NW> is <br>
//!          the number of wires ( or block  of  edges ) of the <br>
//!          face. <br>
  Standard_EXPORT     void Set(const TopoDS_Face& FG,const TopAbs_Orientation Or,const Standard_Boolean Cl,const Standard_Integer NW) ;
  //! Set <NE> the number  of  edges of the wire  number <br>
//!          <WI>. <br>
  Standard_EXPORT     void SetWire(const Standard_Integer WI,const Standard_Integer NE) ;
  //! Set the edge number <EWI> of the  wire <WI>. <br>
  Standard_EXPORT     void SetWEdge(const Standard_Integer WI,const Standard_Integer EWI,const Standard_Integer EI,const TopAbs_Orientation Or,const Standard_Boolean OutL,const Standard_Boolean Inte,const Standard_Boolean Dble,const Standard_Boolean IsoL) ;
  
        Standard_Boolean Selected() const;
  
        void Selected(const Standard_Boolean B) ;
  
        Standard_Boolean Back() const;
  
        void Back(const Standard_Boolean B) ;
  
        Standard_Boolean Side() const;
  
        void Side(const Standard_Boolean B) ;
  
        Standard_Boolean Closed() const;
  
        void Closed(const Standard_Boolean B) ;
  
        Standard_Boolean Hiding() const;
  
        void Hiding(const Standard_Boolean B) ;
  
        Standard_Boolean Simple() const;
  
        void Simple(const Standard_Boolean B) ;
  
        Standard_Boolean Cut() const;
  
        void Cut(const Standard_Boolean B) ;
  
        Standard_Boolean WithOutL() const;
  
        void WithOutL(const Standard_Boolean B) ;
  
        Standard_Boolean Plane() const;
  
        void Plane(const Standard_Boolean B) ;
  
        Standard_Boolean Cylinder() const;
  
        void Cylinder(const Standard_Boolean B) ;
  
        Standard_Boolean Cone() const;
  
        void Cone(const Standard_Boolean B) ;
  
        Standard_Boolean Sphere() const;
  
        void Sphere(const Standard_Boolean B) ;
  
        Standard_Boolean Torus() const;
  
        void Torus(const Standard_Boolean B) ;
  
        Standard_Real Size() const;
  
        void Size(const Standard_Real S) ;
  
        TopAbs_Orientation Orientation() const;
  
        void Orientation(const TopAbs_Orientation O) ;
  
        Handle_HLRAlgo_WiresBlock& Wires() ;
  
        HLRBRep_Surface& Geometry() ;
  
        Standard_ShortReal Tolerance() const;





protected:





private:



Standard_Boolean myFlags;
Handle_HLRAlgo_WiresBlock myWires;
HLRBRep_Surface myGeometry;
Standard_Real mySize;
Standard_ShortReal myTolerance;


};


#include <HLRBRep_FaceData.lxx>



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


#endif