0024171: Eliminate CLang compiler warning -Wreorder
[occt.git] / src / ShapeAnalysis / ShapeAnalysis_ShapeContents.lxx
1 // Created on: 1999-03-01
2 // Created by: Pavel DURANDIN
3 // Copyright (c) 1999-1999 Matra Datavision
4 // Copyright (c) 1999-2012 OPEN CASCADE SAS
5 //
6 // The content of this file is subject to the Open CASCADE Technology Public
7 // License Version 6.5 (the "License"). You may not use the content of this file
8 // except in compliance with the License. Please obtain a copy of the License
9 // at http://www.opencascade.org and read it completely before using this file.
10 //
11 // The Initial Developer of the Original Code is Open CASCADE S.A.S., having its
12 // main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France.
13 //
14 // The Original Code and all software distributed under the License is
15 // distributed on an "AS IS" basis, without warranty of any kind, and the
16 // Initial Developer hereby disclaims all such warranties, including without
17 // limitation, any warranties of merchantability, fitness for a particular
18 // purpose or non-infringement. Please see the License for the specific terms
19 // and conditions governing the rights and limitations under the License.
20
21
22
23 //=======================================================================
24 //function : NbSolids
25 //purpose  : 
26 //=======================================================================
27
28 inline Standard_Integer ShapeAnalysis_ShapeContents::NbSolids()  const
29 {
30   return myNbSolids;
31 }
32
33 //=======================================================================
34 //function : NbShells
35 //purpose  : 
36 //=======================================================================
37
38 inline Standard_Integer ShapeAnalysis_ShapeContents::NbShells()  const
39 {
40   return myNbShells;
41 }
42
43 //=======================================================================
44 //function : NbFaces
45 //purpose  : 
46 //=======================================================================
47
48 inline Standard_Integer ShapeAnalysis_ShapeContents::NbFaces()  const
49 {
50   return myNbFaces;
51 }
52
53 //=======================================================================
54 //function : NbWires
55 //purpose  : 
56 //=======================================================================
57
58 inline Standard_Integer ShapeAnalysis_ShapeContents::NbWires()  const
59 {
60   return myNbWires;
61 }
62
63 //=======================================================================
64 //function : NbEdges
65 //purpose  : 
66 //=======================================================================
67
68 inline Standard_Integer ShapeAnalysis_ShapeContents::NbEdges()  const
69 {
70   return myNbEdges;
71 }
72
73 //=======================================================================
74 //function : NbVertices
75 //purpose  : 
76 //=======================================================================
77
78 inline Standard_Integer ShapeAnalysis_ShapeContents::NbVertices()  const
79 {
80   return myNbVertices;
81 }
82
83 //=======================================================================
84 //function : NbSolidsWithVoids
85 //purpose  : 
86 //=======================================================================
87
88 inline Standard_Integer ShapeAnalysis_ShapeContents::NbSolidsWithVoids()  const
89 {
90   return myNbSolidsWithVoids;
91 }
92
93 //=======================================================================
94 //function : NbBigSplines
95 //purpose  : 
96 //=======================================================================
97
98 inline Standard_Integer ShapeAnalysis_ShapeContents::NbBigSplines()  const
99 {
100   return myNbBigSplines;
101 }
102
103 //=======================================================================
104 //function : NbC0Surfaces
105 //purpose  : 
106 //=======================================================================
107
108 inline Standard_Integer ShapeAnalysis_ShapeContents::NbC0Surfaces()  const
109 {
110   return myNbC0Surfaces;
111 }
112
113 //=======================================================================
114 //function : 
115 //purpose  : 
116 //=======================================================================
117
118 inline Standard_Integer ShapeAnalysis_ShapeContents::NbC0Curves()  const
119 {
120   return myNbC0Curves;
121 }
122
123 //=======================================================================
124 //function : NbOffsetSurf
125 //purpose  : 
126 //=======================================================================
127
128 inline Standard_Integer ShapeAnalysis_ShapeContents::NbOffsetSurf()  const
129 {
130   return myNbOffsetSurf;
131 }
132
133 //=======================================================================
134 //function : NbIndirectSurf
135 //purpose  : 
136 //=======================================================================
137
138 inline Standard_Integer ShapeAnalysis_ShapeContents::NbIndirectSurf()  const
139 {
140   return myNbIndirectSurf;
141 }
142
143 //=======================================================================
144 //function : NbOffsetCurves
145 //purpose  : 
146 //=======================================================================
147
148 inline Standard_Integer ShapeAnalysis_ShapeContents::NbOffsetCurves()  const
149 {
150   return myNbOffsetCurves;
151 }
152
153 //=======================================================================
154 //function : NbTrimmedCurve2d
155 //purpose  : 
156 //=======================================================================
157
158 inline Standard_Integer ShapeAnalysis_ShapeContents::NbTrimmedCurve2d()  const
159 {
160   return myNbTrimmedCurve2d;
161 }
162
163 //=======================================================================
164 //function : 
165 //purpose  : 
166 //=======================================================================
167
168 inline Standard_Integer ShapeAnalysis_ShapeContents::NbTrimmedCurve3d()  const
169 {
170   return myNbTrimmedCurve3d;
171 }
172
173 //=======================================================================
174 //function : NbBSplibeSurf
175 //purpose  : 
176 //=======================================================================
177
178 inline Standard_Integer ShapeAnalysis_ShapeContents::NbBSplibeSurf()  const
179 {
180   return myNbBSplibeSurf;
181 }
182
183 //=======================================================================
184 //function : NbBezierSurf
185 //purpose  : 
186 //=======================================================================
187
188 inline Standard_Integer ShapeAnalysis_ShapeContents::NbBezierSurf()  const
189 {
190   return myNbBezierSurf;
191 }
192
193 //=======================================================================
194 //function : NbTrimSurf
195 //purpose  : 
196 //=======================================================================
197
198 inline Standard_Integer ShapeAnalysis_ShapeContents::NbTrimSurf()  const
199 {
200   return myNbTrimSurf;
201 }
202
203 //=======================================================================
204 //function : NbWireWitnSeam
205 //purpose  : 
206 //=======================================================================
207
208 inline Standard_Integer ShapeAnalysis_ShapeContents::NbWireWitnSeam() const
209 {
210   return myNbWireWitnSeam;
211 }
212
213 //=======================================================================
214 //function :NbWireWithSevSeams 
215 //purpose  : 
216 //=======================================================================
217
218 inline Standard_Integer ShapeAnalysis_ShapeContents::NbWireWithSevSeams() const
219 {
220   return myNbWireWithSevSeams;
221 }
222
223 //=======================================================================
224 //function : NbFaceWithSevWires
225 //purpose  : 
226 //=======================================================================
227
228 inline Standard_Integer ShapeAnalysis_ShapeContents::NbFaceWithSevWires() const
229 {
230   return myNbFaceWithSevWires;
231 }
232
233 //=======================================================================
234 //function : NbNoPCurve 
235 //purpose  : 
236 //=======================================================================
237
238 inline Standard_Integer ShapeAnalysis_ShapeContents::NbNoPCurve() const
239 {
240   return myNbNoPCurve;
241 }
242
243 //=======================================================================
244 //function : NbFreeFaces
245 //purpose  : 
246 //=======================================================================
247
248 inline Standard_Integer ShapeAnalysis_ShapeContents::NbFreeFaces() const
249 {
250   return myNbFreeFaces;
251 }
252
253 //=======================================================================
254 //function : NbFreeWires
255 //purpose  : 
256 //=======================================================================
257
258 inline Standard_Integer ShapeAnalysis_ShapeContents::NbFreeWires() const
259 {
260   return myNbFreeWires;
261 }
262
263 //=======================================================================
264 //function : NbFreeEdges
265 //purpose  : 
266 //=======================================================================
267
268 inline Standard_Integer ShapeAnalysis_ShapeContents::NbFreeEdges() const
269 {
270   return myNbFreeEdges;
271 }
272
273 //=======================================================================
274 //function : NbSharedSolids
275 //purpose  : 
276 //=======================================================================
277
278 inline Standard_Integer ShapeAnalysis_ShapeContents::NbSharedSolids()  const
279 {
280   return myNbSharedSolids;
281 }
282
283 //=======================================================================
284 //function : NbSharedShells
285 //purpose  : 
286 //=======================================================================
287
288 inline Standard_Integer ShapeAnalysis_ShapeContents::NbSharedShells()  const
289 {
290   return myNbSharedShells;
291 }
292
293 //=======================================================================
294 //function : NbSharedFaces
295 //purpose  : 
296 //=======================================================================
297
298 inline Standard_Integer ShapeAnalysis_ShapeContents::NbSharedFaces()  const
299 {
300   return myNbSharedFaces;
301 }
302
303 //=======================================================================
304 //function : NbSharedWires
305 //purpose  : 
306 //=======================================================================
307  
308 inline Standard_Integer ShapeAnalysis_ShapeContents::NbSharedWires()  const
309 {
310   return myNbSharedWires;
311 }  
312
313 inline Standard_Integer ShapeAnalysis_ShapeContents::NbSharedFreeWires()  const
314 {
315   return myNbSharedFreeWires;
316 }
317       
318 //=======================================================================
319 //function : NbSharedFreeEdges
320 //purpose  : 
321 //=======================================================================
322
323 inline Standard_Integer ShapeAnalysis_ShapeContents::NbSharedFreeEdges() const
324 {
325   return myNbSharedFreeEdges;
326 }
327
328 //=======================================================================
329 //function : NbSharedEdges
330 //purpose  : 
331 //=======================================================================
332
333 inline Standard_Integer ShapeAnalysis_ShapeContents::NbSharedEdges() const
334 {
335   return myNbSharedEdges;
336 }
337
338 //=======================================================================
339 //function : NbSharedVertices
340 //purpose  : 
341 //=======================================================================
342
343 inline Standard_Integer ShapeAnalysis_ShapeContents::NbSharedVertices() const
344 {
345   return myNbSharedVertices;
346 }
347
348 //=======================================================================
349 //function : BigSplineSec
350 //purpose  : 
351 //=======================================================================
352
353 inline Handle(TopTools_HSequenceOfShape) ShapeAnalysis_ShapeContents::BigSplineSec() const
354 {
355   return myBigSplineSec;
356 }
357
358 //=======================================================================
359 //function : IndirectSec
360 //purpose  : 
361 //=======================================================================
362
363 inline Handle(TopTools_HSequenceOfShape) ShapeAnalysis_ShapeContents::IndirectSec() const
364 {
365   return myIndirectSec;
366 }
367
368 //=======================================================================
369 //function : OffsetSurfaceSec
370 //purpose  : 
371 //=======================================================================
372
373 inline Handle(TopTools_HSequenceOfShape) ShapeAnalysis_ShapeContents::OffsetSurfaceSec() const
374 {
375   return myOffsetSurfaceSec;
376 }
377
378 //=======================================================================
379 //function : Trimmed3dSec
380 //purpose  : 
381 //=======================================================================
382
383 inline Handle(TopTools_HSequenceOfShape) ShapeAnalysis_ShapeContents::Trimmed3dSec() const
384 {
385   return myTrimmed3dSec;
386 }
387
388 //=======================================================================
389 //function : OffsetCurveSec
390 //purpose  : 
391 //=======================================================================
392
393 inline Handle(TopTools_HSequenceOfShape) ShapeAnalysis_ShapeContents::OffsetCurveSec() const
394 {
395   return myOffsetCurveSec;
396 }
397
398 //=======================================================================
399 //function : Trimmed2dSec
400 //purpose  : 
401 //=======================================================================
402
403 inline Handle(TopTools_HSequenceOfShape) ShapeAnalysis_ShapeContents::Trimmed2dSec() const
404 {
405   return myTrimmed2dSec;
406 }
407
408
409 //=======================================================================
410 //function : ModifyBigSplineMode
411 //purpose  : 
412 //=======================================================================
413
414 inline Standard_Boolean& ShapeAnalysis_ShapeContents::ModifyBigSplineMode()
415 {
416   return myBigSplineMode;
417 }
418
419 //=======================================================================
420 //function : ModifyIndirectMode
421 //purpose  : 
422 //=======================================================================
423
424 inline Standard_Boolean& ShapeAnalysis_ShapeContents::ModifyIndirectMode()
425 {
426   return myIndirectMode;
427 }
428
429 //=======================================================================
430 //function : ModifyOffestSurfaceMode
431 //purpose  : 
432 //=======================================================================
433
434 inline Standard_Boolean& ShapeAnalysis_ShapeContents::ModifyOffestSurfaceMode()
435 {
436   return myOffestSurfaceMode;
437 }
438
439 //=======================================================================
440 //function : ModifyTrimmed3dMode
441 //purpose  : 
442 //=======================================================================
443
444 inline Standard_Boolean& ShapeAnalysis_ShapeContents::ModifyTrimmed3dMode()
445 {
446   return myTrimmed3dMode;
447 }
448
449 //=======================================================================
450 //function : ModifyOffsetCurveMode
451 //purpose  : 
452 //=======================================================================
453
454 inline Standard_Boolean& ShapeAnalysis_ShapeContents::ModifyOffsetCurveMode()
455 {
456   return myOffsetCurveMode;
457 }
458
459 //=======================================================================
460 //function : ModifyTrimmed2dMode
461 //purpose  : 
462 //=======================================================================
463
464 inline Standard_Boolean& ShapeAnalysis_ShapeContents::ModifyTrimmed2dMode()
465 {
466   return myTrimmed2dMode;
467 }