0022627: Change OCCT memory management defaults
[occt.git] / src / GeomToIGES / GeomToIGES_GeomSurface.cdl
CommitLineData
7fd59977 1-- File: GeomToIGES_GeomSurface.cdl
2-- Created: Thu Nov 17 15:30:03 1994
3-- Author: Marie Jose MARTZ
4-- <mjm@minox>
5---Copyright: Matra Datavision 1994
6
7class GeomSurface from GeomToIGES inherits GeomEntity from GeomToIGES
8
9
10 ---Purpose: This class implements the transfer of the Surface Entity from Geom
11 -- To IGES. These can be :
12 -- . BoundedSurface
13 -- * BSplineSurface
14 -- * BezierSurface
15 -- * RectangularTrimmedSurface
16 -- . ElementarySurface
17 -- * Plane
18 -- * CylindricalSurface
19 -- * ConicalSurface
20 -- * SphericalSurface
21 -- * ToroidalSurface
22 -- . SweptSurface
23 -- * SurfaceOfLinearExtrusion
24 -- * SurfaceOfRevolution
25 -- . OffsetSurface
26
27
28uses
29
30 Real from Standard,
31 Surface from Geom,
32 BoundedSurface from Geom,
33 BSplineSurface from Geom,
34 BezierSurface from Geom,
35 RectangularTrimmedSurface from Geom,
36 ElementarySurface from Geom,
37 Plane from Geom,
38 CylindricalSurface from Geom,
39 ConicalSurface from Geom,
40 SphericalSurface from Geom,
41 ToroidalSurface from Geom,
42 SweptSurface from Geom,
43 SurfaceOfLinearExtrusion from Geom,
44 SurfaceOfRevolution from Geom,
45 OffsetSurface from Geom,
46 IGESEntity from IGESData,
47 GeomEntity from GeomToIGES
48
49
50is
51
52 Create returns GeomSurface from GeomToIGES;
53
54
55 Create(GE : GeomEntity from GeomToIGES)
56 returns GeomSurface from GeomToIGES;
57 ---Purpose: Creates a tool GeomSurface ready to run and sets its
58 -- fields as GE's.
59
60 TransferSurface (me : in out;
61 start : Surface from Geom;
62 Udeb : Real from Standard;
63 Ufin : Real from Standard;
64 Vdeb : Real from Standard;
65 Vfin : Real from Standard)
66 returns mutable IGESEntity from IGESData;
67 ---Purpose: Transfert a GeometryEntity which answer True to the
68 -- member : BRepToIGES::IsGeomSurface(Geometry). If this
69 -- Entity could not be converted, this member returns a NullEntity.
70
71
72 TransferSurface (me : in out;
73 start : BoundedSurface from Geom;
74 Udeb : Real from Standard;
75 Ufin : Real from Standard;
76 Vdeb : Real from Standard;
77 Vfin : Real from Standard)
78 returns mutable IGESEntity from IGESData;
79
80
81 TransferSurface (me : in out;
82 start : BSplineSurface from Geom;
83 Udeb : Real from Standard;
84 Ufin : Real from Standard;
85 Vdeb : Real from Standard;
86 Vfin : Real from Standard)
87 returns mutable IGESEntity from IGESData;
88
89 TransferSurface (me : in out;
90 start : BezierSurface from Geom;
91 Udeb : Real from Standard;
92 Ufin : Real from Standard;
93 Vdeb : Real from Standard;
94 Vfin : Real from Standard)
95 returns mutable IGESEntity from IGESData;
96
97 TransferSurface (me : in out;
98 start : RectangularTrimmedSurface from Geom;
99 Udeb : Real from Standard;
100 Ufin : Real from Standard;
101 Vdeb : Real from Standard;
102 Vfin : Real from Standard)
103 returns mutable IGESEntity from IGESData;
104
105
106 TransferSurface (me : in out;
107 start : ElementarySurface from Geom;
108 Udeb : Real from Standard;
109 Ufin : Real from Standard;
110 Vdeb : Real from Standard;
111 Vfin : Real from Standard)
112 returns mutable IGESEntity from IGESData;
113
114
115 TransferSurface (me : in out;
116 start : Plane from Geom;
117 Udeb : Real from Standard;
118 Ufin : Real from Standard;
119 Vdeb : Real from Standard;
120 Vfin : Real from Standard)
121 returns mutable IGESEntity from IGESData;
122
123
124 TransferSurface (me : in out;
125 start : CylindricalSurface from Geom;
126 Udeb : Real from Standard;
127 Ufin : Real from Standard;
128 Vdeb : Real from Standard;
129 Vfin : Real from Standard)
130 returns mutable IGESEntity from IGESData;
131
132
133 TransferSurface (me : in out;
134 start : ConicalSurface from Geom;
135 Udeb : Real from Standard;
136 Ufin : Real from Standard;
137 Vdeb : Real from Standard;
138 Vfin : Real from Standard)
139 returns mutable IGESEntity from IGESData;
140
141
142 TransferSurface (me : in out;
143 start : SphericalSurface from Geom;
144 Udeb : Real from Standard;
145 Ufin : Real from Standard;
146 Vdeb : Real from Standard;
147 Vfin : Real from Standard)
148 returns mutable IGESEntity from IGESData;
149
150
151 TransferSurface (me : in out;
152 start : ToroidalSurface from Geom;
153 Udeb : Real from Standard;
154 Ufin : Real from Standard;
155 Vdeb : Real from Standard;
156 Vfin : Real from Standard)
157 returns mutable IGESEntity from IGESData;
158
159
160 TransferSurface (me : in out;
161 start : SweptSurface from Geom;
162 Udeb : Real from Standard;
163 Ufin : Real from Standard;
164 Vdeb : Real from Standard;
165 Vfin : Real from Standard)
166 returns mutable IGESEntity from IGESData;
167
168
169 TransferSurface (me : in out;
170 start : SurfaceOfLinearExtrusion from Geom;
171 Udeb : Real from Standard;
172 Ufin : Real from Standard;
173 Vdeb : Real from Standard;
174 Vfin : Real from Standard)
175 returns mutable IGESEntity from IGESData;
176
177
178 TransferSurface (me : in out;
179 start : SurfaceOfRevolution from Geom;
180 Udeb : Real from Standard;
181 Ufin : Real from Standard;
182 Vdeb : Real from Standard;
183 Vfin : Real from Standard)
184 returns mutable IGESEntity from IGESData;
185
186
187 TransferSurface (me : in out;
188 start : OffsetSurface from Geom;
189 Udeb : Real from Standard;
190 Ufin : Real from Standard;
191 Vdeb : Real from Standard;
192 Vfin : Real from Standard)
193 returns mutable IGESEntity from IGESData;
194
195
196 -- Methods for translating sufraces in BRep IGES
197
198
199 TransferPlaneSurface (me : in out;
200 start : Plane from Geom;
201 Udeb : Real from Standard;
202 Ufin : Real from Standard;
203 Vdeb : Real from Standard;
204 Vfin : Real from Standard)
205 returns mutable IGESEntity from IGESData;
206
207
208 TransferCylindricalSurface(me : in out;
209 start: CylindricalSurface from Geom;
210 Udeb : Real from Standard;
211 Ufin : Real from Standard;
212 Vdeb : Real from Standard;
213 Vfin : Real from Standard)
214 returns mutable IGESEntity from IGESData;
215
216
217 TransferConicalSurface(me : in out;
218 start: ConicalSurface from Geom;
219 Udeb : Real from Standard;
220 Ufin : Real from Standard;
221 Vdeb : Real from Standard;
222 Vfin : Real from Standard)
223 returns mutable IGESEntity from IGESData;
224
225
226 TransferSphericalSurface(me : in out;
227 start: SphericalSurface from Geom;
228 Udeb : Real from Standard;
229 Ufin : Real from Standard;
230 Vdeb : Real from Standard;
231 Vfin : Real from Standard)
232 returns mutable IGESEntity from IGESData;
233
234
235 TransferToroidalSurface(me : in out;
236 start: ToroidalSurface from Geom;
237 Udeb : Real from Standard;
238 Ufin : Real from Standard;
239 Vdeb : Real from Standard;
240 Vfin : Real from Standard)
241 returns mutable IGESEntity from IGESData;
242
243 -- Methods for setting and obtaining fields.
244
245 Length(me) returns Real;
246 ---Purpose: Returns the value of "TheLength"
247
248 GetBRepMode(me) returns Boolean from Standard;
249 ---Purpose: Returns Brep mode flag.
250
251 SetBRepMode(me: in out; flag: Boolean from Standard);
252 ---Purpose: Sets BRep mode flag.
253
254 GetAnalyticMode(me) returns Boolean from Standard;
255 ---Purpose: Returns flag for writing elementary surfaces
256
257 SetAnalyticMode(me: in out; flag: Boolean from Standard);
258 ---Purpose: Setst flag for writing elementary surfaces
259
260fields
261
262 TheLength : Real from Standard;
263 myBRepMode: Boolean from Standard;
264 myAnalytic: Boolean from Standard;
265
266end GeomSurface;