File: HLRBRep_FaceData.hxx

package info (click to toggle)
oce 0.18.3-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 301,548 kB
  • sloc: cpp: 1,190,609; ansic: 67,225; sh: 11,630; tcl: 7,954; cs: 5,221; python: 2,867; java: 1,522; makefile: 342; xml: 292; perl: 37
file content (143 lines) | stat: -rw-r--r-- 3,436 bytes parent folder | download | duplicates (5)
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
// 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

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

#include <Standard_Boolean.hxx>
#include <Handle_HLRAlgo_WiresBlock.hxx>
#include <HLRBRep_Surface.hxx>
#include <Standard_Real.hxx>
#include <Standard_ShortReal.hxx>
#include <TopAbs_Orientation.hxx>
#include <Standard_Integer.hxx>
class HLRAlgo_WiresBlock;
class TopoDS_Face;
class HLRBRep_Surface;



class HLRBRep_FaceData 
{
public:

  DEFINE_STANDARD_ALLOC

  
  Standard_EXPORT HLRBRep_FaceData();
  
  //! <Or> is the orientation of the face.  <Cl> is true
  //! if the face  belongs to a  closed  volume. <NW> is
  //! the number of wires ( or block  of  edges ) of the
  //! face.
  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
  //! <WI>.
  Standard_EXPORT   void SetWire (const Standard_Integer WI, const Standard_Integer NE) ;
  
  //! Set the edge number <EWI> of the  wire <WI>.
  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_Integer myFlags;
  Handle(HLRAlgo_WiresBlock) myWires;
  HLRBRep_Surface myGeometry;
  Standard_Real mySize;
  Standard_ShortReal myTolerance;


};


#include <HLRBRep_FaceData.lxx>





#endif // _HLRBRep_FaceData_HeaderFile