Integration of OCCT 6.5.0 from SVN
[occt.git] / src / AppBlend / AppBlend_AppSurf.cdl
CommitLineData
7fd59977 1-- File: AppBlend_AppSurf.cdl
2-- Created: Mon Dec 13 16:29:23 1993
3-- Author: Jacques GOUSSARD
4-- <jag@topsn2>
5-- Modified: Fri Jul 10 11:23:35 1998
6-- JCT : Add SpApprox in Perform
7---Copyright: Matra Datavision 1993
8
9
10
11generic class AppSurf from AppBlend
12 (TheSectionGenerator as any;
13 TheLine as Transient)
14 inherits Approx from AppBlend
15
16 ---Purpose: Bspline approximation of a surface.
17
18uses Array2OfPnt from TColgp,
19 HArray2OfPnt from TColgp,
20 Array2OfReal from TColStd,
21 HArray2OfReal from TColStd,
22 Array1OfReal from TColStd,
23 HArray1OfReal from TColStd,
24 Array1OfInteger from TColStd,
25 HArray1OfInteger from TColStd,
26 Array1OfPnt2d from TColgp,
27 SequenceOfArray1OfPnt2d from TColgp,
28 ParametrizationType from Approx,
29 Shape from GeomAbs
30
31
32raises NotDone from StdFail,
33 DomainError from Standard,
34 OutOfRange from Standard
35
36is
37
38
39 Create
40
41 returns AppSurf from AppBlend;
42
43
44 Create(Degmin,Degmax: Integer from Standard;
45 Tol3d,Tol2d : Real from Standard;
46 NbIt: Integer from Standard;
47 KnownParameters : Boolean from Standard = Standard_False)
48
49 returns AppSurf from AppBlend;
50
51
52 Init(me: in out; Degmin,Degmax: Integer from Standard;
53 Tol3d,Tol2d : Real from Standard;
54 NbIt: Integer from Standard;
55 KnownParameters : Boolean from Standard = Standard_False)
56
57 is static;
58
59 SetParType(me: in out; ParType : ParametrizationType from Approx)
60 ---Purpose: Define the type of parametrization used in the approximation
61 is static;
62
63
64 SetContinuity(me: in out; C : Shape from GeomAbs)
65 ---Purpose: Define the Continuity used in the approximation
66 is static;
67
68
69 SetCriteriumWeight(me : in out;
70 W1, W2, W3 : Real)
71 ---Purpose: define the Weights associed to the criterium used in
72 -- the optimization.
73 --
74 raises DomainError -- if Wi <= 0
75 is static;
76
77
78 ParType(me)
79 ---Purpose: returns the type of parametrization used in the approximation
80 returns ParametrizationType from Approx
81 is static;
82
83
84 Continuity(me)
85 ---Purpose: returns the Continuity used in the approximation
86 returns Shape from GeomAbs
87 is static;
88
89
90 CriteriumWeight(me ;
91 W1, W2, W3 : out Real)
92 ---Purpose: returns the Weights (as percent) associed to the criterium used in
93 -- the optimization.
94 is static;
95
96 Perform(me: in out; Lin: TheLine;
97 SecGen: in out TheSectionGenerator;
98 SpApprox : Boolean from Standard = Standard_False)
99
100 is static;
101
102 PerformSmoothing(me: in out; Lin: TheLine;
103 SecGen: in out TheSectionGenerator)
104
105 is static;
106
107
108 Perform(me: in out; Lin: TheLine;
109 SecGen: in out TheSectionGenerator;
110 NbMaxP: Integer from Standard)
111
112 is static;
113
114
115 InternalPerform(me: in out; Lin: TheLine;
116 SecGen: in out TheSectionGenerator;
117 SpApprox : Boolean from Standard;
118 UseVariational: Boolean from Standard)
119
120 is static private;
121
122 IsDone(me)
123
124 returns Boolean from Standard
125 ---C++: inline
126
127 is static;
128
129
130 SurfShape(me; UDegree,VDegree : out Integer from Standard;
131 NbUPoles,NbVPoles: out Integer from Standard;
132 NbUKnots,NbVKnots: out Integer from Standard)
133 raises NotDone from StdFail
134 is static;
135
136
137 Surface(me; TPoles : out Array2OfPnt from TColgp;
138 TWeights : out Array2OfReal from TColStd;
139 TUKnots,TVKnots : out Array1OfReal from TColStd;
140 TUMults,TVMults : out Array1OfInteger from TColStd)
141 raises NotDone from StdFail
142 is static;
143
144
145 UDegree(me)
146
147 returns Integer from Standard
148 ---C++: inline
149
150 raises NotDone from StdFail
151 is static;
152
153
154 VDegree(me)
155
156 returns Integer from Standard
157 ---C++: inline
158
159 raises NotDone from StdFail
160 is static;
161
162
163 SurfPoles(me)
164
165 returns Array2OfPnt from TColgp
166 ---C++: inline
167 ---C++: return const&
168
169 raises NotDone from StdFail
170 is static;
171
172
173 SurfWeights(me)
174
175 returns Array2OfReal from TColStd
176 ---C++: inline
177 ---C++: return const&
178
179 raises NotDone from StdFail
180 is static;
181
182
183 SurfUKnots(me)
184
185 returns Array1OfReal from TColStd
186 ---C++: inline
187 ---C++: return const&
188
189 raises NotDone from StdFail
190 is static;
191
192
193 SurfVKnots(me)
194
195 returns Array1OfReal from TColStd
196 ---C++: inline
197 ---C++: return const&
198
199 raises NotDone from StdFail
200 is static;
201
202
203 SurfUMults(me)
204
205 returns Array1OfInteger from TColStd
206 ---C++: inline
207 ---C++: return const&
208
209 raises NotDone from StdFail
210 is static;
211
212
213 SurfVMults(me)
214
215 returns Array1OfInteger from TColStd
216 ---C++: inline
217 ---C++: return const&
218
219 raises NotDone from StdFail
220 is static;
221
222
223 NbCurves2d(me)
224
225 returns Integer from Standard
226 ---C++: inline
227
228 raises NotDone from StdFail
229 is static;
230
231
232 Curves2dShape(me; Degree,NbPoles,NbKnots: out Integer from Standard)
233
234 raises NotDone from StdFail,
235 DomainError from Standard
236
237 is static;
238
239
240 Curve2d(me; Index: Integer from Standard;
241 TPoles : out Array1OfPnt2d from TColgp;
242 TKnots : out Array1OfReal from TColStd;
243 TMults : out Array1OfInteger from TColStd)
244
245 raises NotDone from StdFail,
246 OutOfRange from Standard,
247 DomainError from Standard
248
249 is static;
250
251
252 Curves2dDegree(me)
253
254 returns Integer from Standard
255 ---C++: inline
256
257 raises NotDone from StdFail,
258 DomainError from Standard
259 is static;
260
261
262 Curve2dPoles(me; Index: Integer from Standard)
263
264 returns Array1OfPnt2d from TColgp
265 ---C++: inline
266 ---C++: return const&
267
268 raises NotDone from StdFail,
269 OutOfRange from Standard,
270 DomainError from Standard
271 is static;
272
273
274 Curves2dKnots(me)
275
276 returns Array1OfReal from TColStd
277 ---C++: inline
278 ---C++: return const&
279
280 raises NotDone from StdFail,
281 DomainError from Standard
282 is static;
283
284
285 Curves2dMults(me)
286
287 returns Array1OfInteger from TColStd
288 ---C++: inline
289 ---C++: return const&
290
291 raises NotDone from StdFail,
292 DomainError from Standard
293 is static;
294
295
296 TolReached(me; Tol3d, Tol2d : out Real from Standard)
297 ---C++: inline
298 raises NotDone from StdFail
299 is static;
300
301 TolCurveOnSurf(me; Index : Integer from Standard)
302 returns Real from Standard
303 raises NotDone from StdFail
304 is static;
305
306
307fields
308
309 done : Boolean from Standard;
310 dmin : Integer from Standard;
311 dmax : Integer from Standard;
312 tol3d : Real from Standard;
313 tol2d : Real from Standard;
314 nbit : Integer from Standard;
315 udeg : Integer from Standard;
316 vdeg : Integer from Standard;
317 knownp : Boolean from Standard;
318 tabPoles : HArray2OfPnt from TColgp;
319 tabWeights : HArray2OfReal from TColStd;
320 tabUKnots : HArray1OfReal from TColStd;
321 tabVKnots : HArray1OfReal from TColStd;
322 tabUMults : HArray1OfInteger from TColStd;
323 tabVMults : HArray1OfInteger from TColStd;
324 seqPoles2d : SequenceOfArray1OfPnt2d from TColgp;
325 tol3dreached : Real from Standard;
326 tol2dreached : Real from Standard;
327 paramtype : ParametrizationType from Approx;
328 continuity : Shape from GeomAbs;
329 critweights : Real[3];
330
331end AppSurf;