0024171: Eliminate CLang compiler warning -Wreorder
[occt.git] / src / Adaptor3d / Adaptor3d_HSurface.lxx
1 // Copyright (c) 1999-2012 OPEN CASCADE SAS
2 //
3 // The content of this file is subject to the Open CASCADE Technology Public
4 // License Version 6.5 (the "License"). You may not use the content of this file
5 // except in compliance with the License. Please obtain a copy of the License
6 // at http://www.opencascade.org and read it completely before using this file.
7 //
8 // The Initial Developer of the Original Code is Open CASCADE S.A.S., having its
9 // main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France.
10 //
11 // The Original Code and all software distributed under the License is
12 // distributed on an "AS IS" basis, without warranty of any kind, and the
13 // Initial Developer hereby disclaims all such warranties, including without
14 // limitation, any warranties of merchantability, fitness for a particular
15 // purpose or non-infringement. Please see the License for the specific terms
16 // and conditions governing the rights and limitations under the License.
17
18
19 #include <Adaptor3d_Surface.hxx>
20
21 //=======================================================================
22 //function : FirstUParameter
23 //purpose  : 
24 //=======================================================================
25
26 inline Standard_Real Adaptor3d_HSurface::FirstUParameter() const 
27 {
28   return Surface().FirstUParameter();
29 }
30
31 //=======================================================================
32 //function : LastUParameter
33 //purpose  : 
34 //=======================================================================
35
36  inline Standard_Real Adaptor3d_HSurface::LastUParameter() const 
37 {
38   return Surface().LastUParameter();
39 }
40
41 //=======================================================================
42 //function : FirstVParameter
43 //purpose  : 
44 //=======================================================================
45
46  inline Standard_Real Adaptor3d_HSurface::FirstVParameter() const 
47 {
48   return Surface().FirstVParameter();
49 }
50
51 //=======================================================================
52 //function : LastVParameter
53 //purpose  : 
54 //=======================================================================
55
56  inline Standard_Real Adaptor3d_HSurface::LastVParameter() const 
57 {
58   return Surface().LastVParameter();
59 }
60
61 //=======================================================================
62 //function : UContinuity
63 //purpose  : 
64 //=======================================================================
65
66  inline GeomAbs_Shape Adaptor3d_HSurface::UContinuity() const 
67 {
68   return Surface().UContinuity();
69 }
70
71 //=======================================================================
72 //function : VContinuity
73 //purpose  : 
74 //=======================================================================
75
76  inline GeomAbs_Shape Adaptor3d_HSurface::VContinuity() const 
77 {
78   return Surface().VContinuity();
79 }
80
81 //=======================================================================
82 //function : NbUIntervals
83 //purpose  : 
84 //=======================================================================
85
86  inline Standard_Integer Adaptor3d_HSurface::NbUIntervals(const GeomAbs_Shape S) const 
87 {
88   return Surface().NbUIntervals(S);
89 }
90
91 //=======================================================================
92 //function : NbVIntervals
93 //purpose  : 
94 //=======================================================================
95
96  inline Standard_Integer Adaptor3d_HSurface::NbVIntervals(const GeomAbs_Shape S) const 
97 {
98   return Surface().NbVIntervals(S);
99 }
100
101 //=======================================================================
102 //function : UInterval
103 //purpose  : 
104 //=======================================================================
105
106  inline void Adaptor3d_HSurface::UIntervals(TColStd_Array1OfReal& T,
107                                      const GeomAbs_Shape   S) const 
108 {
109   Surface().UIntervals(T,S);
110 }
111
112 //=======================================================================
113 //function : VInterval
114 //purpose  : 
115 //=======================================================================
116
117  inline void Adaptor3d_HSurface::VIntervals(TColStd_Array1OfReal& T,
118                                      const GeomAbs_Shape   S) const 
119 {
120   Surface().VIntervals(T, S);
121 }
122
123 //=======================================================================
124 //function : inline
125 //purpose  : 
126 //=======================================================================
127
128 inline Handle(Adaptor3d_HSurface) Adaptor3d_HSurface::UTrim
129 (const Standard_Real First, 
130  const Standard_Real Last, 
131  const Standard_Real Tol) const 
132 {
133   return Surface().UTrim(First,Last,Tol);
134 }
135
136
137 //=======================================================================
138 //function : inline
139 //purpose  : 
140 //=======================================================================
141
142 inline Handle(Adaptor3d_HSurface) Adaptor3d_HSurface::VTrim
143 (const Standard_Real First, 
144  const Standard_Real Last, 
145  const Standard_Real Tol) const 
146 {
147   return Surface().VTrim(First,Last,Tol);
148 }
149
150
151 //=======================================================================
152 //function : IsUClosed
153 //purpose  : 
154 //=======================================================================
155
156  inline Standard_Boolean Adaptor3d_HSurface::IsUClosed() const 
157 {
158   return Surface().IsUClosed();
159 }
160
161 //=======================================================================
162 //function : IsVClosed
163 //purpose  : 
164 //=======================================================================
165
166  inline Standard_Boolean Adaptor3d_HSurface::IsVClosed() const 
167 {
168   return Surface().IsVClosed();
169 }
170
171 //=======================================================================
172 //function : IsUPeriodic
173 //purpose  : 
174 //=======================================================================
175
176  inline Standard_Boolean Adaptor3d_HSurface::IsUPeriodic() const 
177 {
178   return Surface().IsUPeriodic();
179 }
180
181 //=======================================================================
182 //function : UPeriod
183 //purpose  : 
184 //=======================================================================
185
186  inline Standard_Real Adaptor3d_HSurface::UPeriod() const 
187 {
188   return Surface().UPeriod();
189 }
190
191 //=======================================================================
192 //function : IsVPeriodic
193 //purpose  : 
194 //=======================================================================
195
196  inline Standard_Boolean Adaptor3d_HSurface::IsVPeriodic() const 
197 {
198   return Surface().IsVPeriodic();
199 }
200
201 //=======================================================================
202 //function : VPeriod
203 //purpose  : 
204 //=======================================================================
205
206  inline Standard_Real Adaptor3d_HSurface::VPeriod() const 
207 {
208   return Surface().VPeriod();
209 }
210
211 //=======================================================================
212 //function : Value
213 //purpose  : 
214 //=======================================================================
215
216  inline gp_Pnt Adaptor3d_HSurface::Value(const Standard_Real U, const Standard_Real V) const 
217 {
218   return Surface().Value(U,V);
219 }
220
221 //=======================================================================
222 //function : D0
223 //purpose  : 
224 //=======================================================================
225
226  inline void Adaptor3d_HSurface::D0(const Standard_Real U, const Standard_Real V, gp_Pnt& P) const 
227 {
228   Surface().D0(U,V,P);
229 }
230
231 //=======================================================================
232 //function : D1
233 //purpose  : 
234 //=======================================================================
235
236  inline void Adaptor3d_HSurface::D1(const Standard_Real U, const Standard_Real V, gp_Pnt& P, gp_Vec& D1U, gp_Vec& D1V) const 
237 {
238   Surface().D1(U,V,P,D1U,D1V);
239 }
240
241 //=======================================================================
242 //function : D2
243 //purpose  : 
244 //=======================================================================
245
246  inline void Adaptor3d_HSurface::D2(const Standard_Real U, const Standard_Real V, gp_Pnt& P, gp_Vec& D1U, gp_Vec& D1V, gp_Vec& D2U, gp_Vec& D2V, gp_Vec& D2UV) const 
247 {
248   Surface().D2(U,V,P,D1U,D1V,D2U,D2V,D2UV);
249 }
250
251 //=======================================================================
252 //function : D3
253 //purpose  : 
254 //=======================================================================
255
256  inline void Adaptor3d_HSurface::D3(const Standard_Real U, const Standard_Real V, gp_Pnt& P, gp_Vec& D1U, gp_Vec& D1V, gp_Vec& D2U, gp_Vec& D2V, gp_Vec& D2UV, gp_Vec& D3U, gp_Vec& D3V, gp_Vec& D3UUV, gp_Vec& D3UVV) const 
257 {
258   Surface().D3(U,V,P,D1U,D1V,D2U,D2V,D2UV,D3U,D3V,D3UUV,D3UVV);
259 }
260
261 //=======================================================================
262 //function : DN
263 //purpose  : 
264 //=======================================================================
265
266  inline gp_Vec Adaptor3d_HSurface::DN(const Standard_Real U, const Standard_Real V, const Standard_Integer Nu, const Standard_Integer Nv) const 
267 {
268   return Surface().DN(U,V,Nu,Nv);
269 }
270
271 //=======================================================================
272 //function : UResolution
273 //purpose  : 
274 //=======================================================================
275
276  inline Standard_Real Adaptor3d_HSurface::UResolution(const Standard_Real R3d) const 
277 {
278   return Surface().UResolution(R3d);
279 }
280
281 //=======================================================================
282 //function : VResolution
283 //purpose  : 
284 //=======================================================================
285
286  inline Standard_Real Adaptor3d_HSurface::VResolution(const Standard_Real R3d) const 
287 {
288   return Surface().VResolution(R3d);
289 }
290
291 //=======================================================================
292 //function : GetType
293 //purpose  : 
294 //=======================================================================
295
296  inline GeomAbs_SurfaceType Adaptor3d_HSurface::GetType() const 
297 {
298   return Surface().GetType();
299 }
300
301 //=======================================================================
302 //function : Plane
303 //purpose  : 
304 //=======================================================================
305
306  inline gp_Pln Adaptor3d_HSurface::Plane() const 
307 {
308   return Surface().Plane();
309 }
310
311 //=======================================================================
312 //function : Cylinder
313 //purpose  : 
314 //=======================================================================
315
316  inline gp_Cylinder Adaptor3d_HSurface::Cylinder() const 
317 {
318   return Surface().Cylinder();
319 }
320
321 //=======================================================================
322 //function : Cone
323 //purpose  : 
324 //=======================================================================
325
326  inline gp_Cone Adaptor3d_HSurface::Cone() const 
327 {
328   return Surface().Cone();
329 }
330
331 //=======================================================================
332 //function : Sphere
333 //purpose  : 
334 //=======================================================================
335
336  inline gp_Sphere Adaptor3d_HSurface::Sphere() const 
337 {
338   return Surface().Sphere();
339 }
340
341 //=======================================================================
342 //function : Torus
343 //purpose  : 
344 //=======================================================================
345
346  inline gp_Torus Adaptor3d_HSurface::Torus() const 
347 {
348   return Surface().Torus();
349 }
350 //=======================================================================
351 //function : UDegree
352 //purpose  : 
353 //=======================================================================
354
355 inline Standard_Integer Adaptor3d_HSurface::UDegree() const 
356 {
357   return Surface().UDegree();
358 }
359 //=======================================================================
360 //function : NbUPoles
361 //purpose  : 
362 //=======================================================================
363
364 inline Standard_Integer Adaptor3d_HSurface::NbUPoles() const 
365 {
366   return Surface().NbUPoles();
367 }
368 //=======================================================================
369 //function : VDegree
370 //purpose  : 
371 //=======================================================================
372
373 inline Standard_Integer Adaptor3d_HSurface::VDegree() const 
374 {
375   return Surface().VDegree();
376 }
377 //=======================================================================
378 //function : NbVPoles
379 //purpose  : 
380 //=======================================================================
381
382 inline Standard_Integer Adaptor3d_HSurface::NbVPoles() const 
383 {
384   return Surface().NbVPoles();
385 }
386 //=======================================================================
387 //function : NbUKnots
388 //purpose  : 
389 //=======================================================================
390
391 inline Standard_Integer Adaptor3d_HSurface::NbUKnots() const 
392 {
393   return Surface().NbUKnots();
394 }
395 //=======================================================================
396 //function : NbVKnots
397 //purpose  : 
398 //=======================================================================
399
400 inline Standard_Integer Adaptor3d_HSurface::NbVKnots() const 
401 {
402   return Surface().NbVKnots();
403 }
404 //=======================================================================
405 //function : IsURational
406 //purpose  : 
407 //=======================================================================
408
409 inline Standard_Boolean Adaptor3d_HSurface::IsURational() const 
410 {
411   return Surface().IsURational();
412 }
413 //=======================================================================
414 //function : NbVKnots
415 //purpose  : 
416 //=======================================================================
417
418 inline Standard_Boolean  Adaptor3d_HSurface::IsVRational() const 
419 {
420   return Surface().IsVRational();
421 }
422 //=======================================================================
423 //function : Bezier
424 //purpose  : 
425 //=======================================================================
426
427  inline Handle(Geom_BezierSurface) Adaptor3d_HSurface::Bezier() const 
428 {
429   return Surface().Bezier();
430 }
431
432 //=======================================================================
433 //function : BSpline
434 //purpose  : 
435 //=======================================================================
436
437  inline Handle(Geom_BSplineSurface) Adaptor3d_HSurface::BSpline() const 
438 {
439   return Surface().BSpline();
440 }
441
442 //=======================================================================
443 //function : Axis
444 //purpose  : 
445 //=======================================================================
446
447  inline gp_Ax1 Adaptor3d_HSurface::AxeOfRevolution() const 
448 {
449   return Surface().AxeOfRevolution();
450 }
451
452 //=======================================================================
453 //function : Direction
454 //purpose  : 
455 //=======================================================================
456
457  inline gp_Dir Adaptor3d_HSurface::Direction() const 
458 {
459   return Surface().Direction();
460 }
461
462 //=======================================================================
463 //function : BasisCurve
464 //purpose  : 
465 //=======================================================================
466
467  inline Handle(Adaptor3d_HCurve) Adaptor3d_HSurface::BasisCurve() const 
468 {
469   return Surface().BasisCurve();
470 }
471
472 //=======================================================================
473 //function : BasisSurface
474 //purpose  : 
475 //=======================================================================
476
477  inline Handle(Adaptor3d_HSurface) Adaptor3d_HSurface::BasisSurface() const 
478 {
479   return Surface().BasisSurface();
480 }
481
482 //=======================================================================
483 //function : OffsetValue
484 //purpose  : 
485 //=======================================================================
486
487  inline Standard_Real Adaptor3d_HSurface::OffsetValue() const 
488 {
489   return Surface().OffsetValue();
490 }