b311480e |
1 | -- Created on: 1997-04-17 |
2 | -- Created by: Christophe MARION |
3 | -- Copyright (c) 1997-1999 Matra Datavision |
973c2be1 |
4 | -- Copyright (c) 1999-2014 OPEN CASCADE SAS |
b311480e |
5 | -- |
973c2be1 |
6 | -- This file is part of Open CASCADE Technology software library. |
b311480e |
7 | -- |
d5f74e42 |
8 | -- This library is free software; you can redistribute it and/or modify it under |
9 | -- the terms of the GNU Lesser General Public License version 2.1 as published |
973c2be1 |
10 | -- by the Free Software Foundation, with special exception defined in the file |
11 | -- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT |
12 | -- distribution for complete text of the license and disclaimer of any warranty. |
b311480e |
13 | -- |
973c2be1 |
14 | -- Alternatively, this file may be used under the terms of Open CASCADE |
15 | -- commercial license or contractual agreement. |
7fd59977 |
16 | |
17 | class FaceData from HLRBRep |
18 | |
19 | uses |
20 | Boolean from Standard, |
21 | ShortReal from Standard, |
22 | Orientation from TopAbs, |
23 | WiresBlock from HLRAlgo, |
24 | Surface from HLRBRep, |
25 | Face from TopoDS |
26 | |
27 | is |
28 | Create returns FaceData from HLRBRep; |
29 | |
30 | Set(me : in out; FG : Face from TopoDS; |
31 | Or : Orientation from TopAbs; |
32 | Cl : Boolean from Standard; |
33 | NW : Integer from Standard) |
34 | ---Purpose: <Or> is the orientation of the face. <Cl> is true |
35 | -- if the face belongs to a closed volume. <NW> is |
36 | -- the number of wires ( or block of edges ) of the |
37 | -- face. |
38 | is static; |
39 | |
40 | SetWire(me : in out; WI : Integer from Standard; |
41 | NE : Integer from Standard) |
42 | ---Purpose: Set <NE> the number of edges of the wire number |
43 | -- <WI>. |
44 | is static; |
45 | |
46 | SetWEdge(me : in out; WI,EWI,EI : Integer from Standard; |
47 | Or : Orientation from TopAbs; |
48 | OutL,Inte,Dble,IsoL : Boolean from Standard) |
49 | ---Purpose: Set the edge number <EWI> of the wire <WI>. |
50 | is static; |
51 | |
52 | Selected(me) returns Boolean from Standard |
53 | ---C++: inline |
54 | is static; |
55 | |
56 | Selected(me : in out; B : Boolean from Standard) |
57 | ---C++: inline |
58 | is static; |
59 | |
60 | Back(me) returns Boolean from Standard |
61 | ---C++: inline |
62 | is static; |
63 | |
64 | Back(me : in out; B : Boolean from Standard) |
65 | ---C++: inline |
66 | is static; |
67 | |
68 | Side(me) returns Boolean from Standard |
69 | ---C++: inline |
70 | is static; |
71 | |
72 | Side(me : in out; B : Boolean from Standard) |
73 | ---C++: inline |
74 | is static; |
75 | |
76 | Closed(me) returns Boolean from Standard |
77 | ---C++: inline |
78 | is static; |
79 | |
80 | Closed(me : in out; B : Boolean from Standard) |
81 | ---C++: inline |
82 | is static; |
83 | |
84 | Hiding(me) returns Boolean from Standard |
85 | ---C++: inline |
86 | is static; |
87 | |
88 | Hiding(me : in out; B : Boolean from Standard) |
89 | ---C++: inline |
90 | is static; |
91 | |
92 | Simple(me) returns Boolean from Standard |
93 | ---C++: inline |
94 | is static; |
95 | |
96 | Simple(me : in out; B : Boolean from Standard) |
97 | ---C++: inline |
98 | is static; |
99 | |
100 | Cut(me) returns Boolean from Standard |
101 | ---C++: inline |
102 | is static; |
103 | |
104 | Cut(me : in out; B : Boolean from Standard) |
105 | ---C++: inline |
106 | is static; |
107 | |
108 | WithOutL(me) returns Boolean from Standard |
109 | ---C++: inline |
110 | is static; |
111 | |
112 | WithOutL(me : in out; B : Boolean from Standard) |
113 | ---C++: inline |
114 | is static; |
115 | |
116 | Plane(me) returns Boolean from Standard |
117 | ---C++: inline |
118 | is static; |
119 | |
120 | Plane(me : in out; B : Boolean from Standard) |
121 | ---C++: inline |
122 | is static; |
123 | |
124 | Cylinder(me) returns Boolean from Standard |
125 | ---C++: inline |
126 | is static; |
127 | |
128 | Cylinder(me : in out; B : Boolean from Standard) |
129 | ---C++: inline |
130 | is static; |
131 | |
132 | Cone(me) returns Boolean from Standard |
133 | ---C++: inline |
134 | is static; |
135 | |
136 | Cone(me : in out; B : Boolean from Standard) |
137 | ---C++: inline |
138 | is static; |
139 | |
140 | Sphere(me) returns Boolean from Standard |
141 | ---C++: inline |
142 | is static; |
143 | |
144 | Sphere(me : in out; B : Boolean from Standard) |
145 | ---C++: inline |
146 | is static; |
147 | |
148 | Torus(me) returns Boolean from Standard |
149 | ---C++: inline |
150 | is static; |
151 | |
152 | Torus(me : in out; B : Boolean from Standard) |
153 | ---C++: inline |
154 | is static; |
155 | |
156 | Size(me) returns Real from Standard |
157 | ---C++: inline |
158 | is static; |
159 | |
160 | Size(me : in out; S : Real from Standard) |
161 | ---C++: inline |
162 | is static; |
163 | |
164 | Orientation(me) returns Orientation from TopAbs |
165 | ---C++: inline |
166 | is static; |
167 | |
168 | Orientation(me : in out; O : Orientation from TopAbs) |
169 | ---C++: inline |
170 | is static; |
171 | |
172 | Wires(me : in out) returns WiresBlock from HLRAlgo |
173 | ---C++: inline |
174 | ---C++: return & |
175 | is static; |
176 | |
177 | Geometry(me : in out) returns Surface from HLRBRep |
178 | ---C++: inline |
179 | ---C++: return & |
180 | is static; |
181 | |
182 | Tolerance(me) returns ShortReal from Standard |
183 | ---C++: inline |
184 | is static; |
185 | |
186 | fields |
187 | myFlags : Boolean from Standard; |
188 | myWires : WiresBlock from HLRAlgo; |
189 | myGeometry : Surface from HLRBRep; |
190 | mySize : Real from Standard; |
191 | myTolerance : ShortReal from Standard; |
192 | |
193 | end FaceData; |