87951e4582c8b80e0a1a403aae41dfbca2da3a3e
[occt.git] / src / HLRBRep / HLRBRep_FaceData.cdl
1 -- File:        HLRBRep_FaceData.cdl
2 -- Created:     Thu Apr 17 11:55:00 1997
3 -- Author:      Christophe MARION
4 --              <cma@partox.paris1.matra-dtv.fr>
5 ---Copyright:    Matra Datavision 1997
6
7 class FaceData from HLRBRep
8
9 uses
10     Boolean     from Standard,
11     ShortReal   from Standard,
12     Orientation from TopAbs,
13     WiresBlock  from HLRAlgo,
14     Surface     from HLRBRep,
15     Face        from TopoDS
16
17 is
18     Create returns FaceData from HLRBRep;
19
20     Set(me : in out; FG  : Face        from TopoDS;
21                      Or  : Orientation from TopAbs;
22                      Cl  : Boolean     from Standard;
23                      NW  : Integer     from Standard)
24         ---Purpose: <Or> is the orientation of the face.  <Cl> is true
25         --          if the face  belongs to a  closed  volume. <NW> is
26         --          the number of wires ( or block  of  edges ) of the
27         --          face.
28     is static;
29     
30     SetWire(me : in out; WI : Integer from Standard;
31                          NE : Integer from Standard)
32         ---Purpose: Set <NE> the number  of  edges of the wire  number
33         --          <WI>.
34     is static;
35     
36     SetWEdge(me : in out; WI,EWI,EI           : Integer     from Standard;
37                           Or                  : Orientation from TopAbs;
38                           OutL,Inte,Dble,IsoL : Boolean     from Standard)
39         ---Purpose: Set the edge number <EWI> of the  wire <WI>.
40     is static;
41     
42     Selected(me) returns Boolean from Standard
43         ---C++: inline
44     is static;
45     
46     Selected(me : in out; B : Boolean from Standard)
47         ---C++: inline
48     is static;
49     
50     Back(me) returns Boolean from Standard
51         ---C++: inline
52     is static;
53
54     Back(me : in out; B : Boolean from Standard)
55         ---C++: inline
56     is static;
57
58     Side(me) returns Boolean from Standard
59         ---C++: inline
60     is static;
61
62     Side(me : in out; B : Boolean from Standard)
63         ---C++: inline
64     is static;
65
66     Closed(me) returns Boolean from Standard
67         ---C++: inline
68     is static;
69
70     Closed(me : in out; B : Boolean from Standard)
71         ---C++: inline
72     is static;
73
74     Hiding(me) returns Boolean from Standard
75         ---C++: inline
76     is static;
77
78     Hiding(me : in out; B : Boolean from Standard)
79         ---C++: inline
80     is static;
81
82     Simple(me) returns Boolean from Standard
83         ---C++: inline
84     is static;
85
86     Simple(me : in out; B : Boolean from Standard)
87         ---C++: inline
88     is static;
89
90     Cut(me) returns Boolean from Standard
91         ---C++: inline
92     is static;
93
94     Cut(me : in out; B : Boolean from Standard)
95         ---C++: inline
96     is static;
97
98     WithOutL(me) returns Boolean from Standard
99         ---C++: inline
100     is static;
101
102     WithOutL(me : in out; B : Boolean from Standard)
103         ---C++: inline
104     is static;
105
106     Plane(me) returns Boolean from Standard
107         ---C++: inline
108     is static;
109
110     Plane(me : in out; B : Boolean from Standard)
111         ---C++: inline
112     is static;
113
114     Cylinder(me) returns Boolean from Standard
115         ---C++: inline
116     is static;
117
118     Cylinder(me : in out; B : Boolean from Standard)
119         ---C++: inline
120     is static;
121
122     Cone(me) returns Boolean from Standard
123         ---C++: inline
124     is static;
125
126     Cone(me : in out; B : Boolean from Standard)
127         ---C++: inline
128     is static;
129
130     Sphere(me) returns Boolean from Standard
131         ---C++: inline
132     is static;
133
134     Sphere(me : in out; B : Boolean from Standard)
135         ---C++: inline
136     is static;
137
138     Torus(me) returns Boolean from Standard
139         ---C++: inline
140     is static;
141
142     Torus(me : in out; B : Boolean from Standard)
143         ---C++: inline
144     is static;
145
146     Size(me) returns Real from Standard
147         ---C++: inline
148     is static;
149
150     Size(me : in out; S : Real from Standard)
151         ---C++: inline
152     is static;
153
154     Orientation(me) returns Orientation from TopAbs
155         ---C++: inline
156     is static;
157
158     Orientation(me : in out; O : Orientation from TopAbs)
159         ---C++: inline
160     is static;
161
162     Wires(me : in out) returns WiresBlock from HLRAlgo
163         ---C++: inline
164         ---C++: return &
165     is static;
166
167     Geometry(me : in out) returns Surface from HLRBRep
168         ---C++: inline
169         ---C++: return &
170     is static;
171
172     Tolerance(me) returns ShortReal from Standard
173         ---C++: inline
174     is static;
175
176 fields
177     myFlags       : Boolean    from Standard;
178     myWires       : WiresBlock from HLRAlgo;
179     myGeometry    : Surface    from HLRBRep;
180     mySize        : Real       from Standard;
181     myTolerance   : ShortReal  from Standard;
182
183 end FaceData;