1 // Created on: 1999-03-01
2 // Created by: Pavel DURANDIN
3 // Copyright (c) 1999-1999 Matra Datavision
4 // Copyright (c) 1999-2014 OPEN CASCADE SAS
6 // This file is part of Open CASCADE Technology software library.
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
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.
14 // Alternatively, this file may be used under the terms of Open CASCADE
15 // commercial license or contractual agreement.
17 //=======================================================================
20 //=======================================================================
22 inline Standard_Integer ShapeAnalysis_ShapeContents::NbSolids() const
27 //=======================================================================
30 //=======================================================================
32 inline Standard_Integer ShapeAnalysis_ShapeContents::NbShells() const
37 //=======================================================================
40 //=======================================================================
42 inline Standard_Integer ShapeAnalysis_ShapeContents::NbFaces() const
47 //=======================================================================
50 //=======================================================================
52 inline Standard_Integer ShapeAnalysis_ShapeContents::NbWires() const
57 //=======================================================================
60 //=======================================================================
62 inline Standard_Integer ShapeAnalysis_ShapeContents::NbEdges() const
67 //=======================================================================
68 //function : NbVertices
70 //=======================================================================
72 inline Standard_Integer ShapeAnalysis_ShapeContents::NbVertices() const
77 //=======================================================================
78 //function : NbSolidsWithVoids
80 //=======================================================================
82 inline Standard_Integer ShapeAnalysis_ShapeContents::NbSolidsWithVoids() const
84 return myNbSolidsWithVoids;
87 //=======================================================================
88 //function : NbBigSplines
90 //=======================================================================
92 inline Standard_Integer ShapeAnalysis_ShapeContents::NbBigSplines() const
94 return myNbBigSplines;
97 //=======================================================================
98 //function : NbC0Surfaces
100 //=======================================================================
102 inline Standard_Integer ShapeAnalysis_ShapeContents::NbC0Surfaces() const
104 return myNbC0Surfaces;
107 //=======================================================================
110 //=======================================================================
112 inline Standard_Integer ShapeAnalysis_ShapeContents::NbC0Curves() const
117 //=======================================================================
118 //function : NbOffsetSurf
120 //=======================================================================
122 inline Standard_Integer ShapeAnalysis_ShapeContents::NbOffsetSurf() const
124 return myNbOffsetSurf;
127 //=======================================================================
128 //function : NbIndirectSurf
130 //=======================================================================
132 inline Standard_Integer ShapeAnalysis_ShapeContents::NbIndirectSurf() const
134 return myNbIndirectSurf;
137 //=======================================================================
138 //function : NbOffsetCurves
140 //=======================================================================
142 inline Standard_Integer ShapeAnalysis_ShapeContents::NbOffsetCurves() const
144 return myNbOffsetCurves;
147 //=======================================================================
148 //function : NbTrimmedCurve2d
150 //=======================================================================
152 inline Standard_Integer ShapeAnalysis_ShapeContents::NbTrimmedCurve2d() const
154 return myNbTrimmedCurve2d;
157 //=======================================================================
160 //=======================================================================
162 inline Standard_Integer ShapeAnalysis_ShapeContents::NbTrimmedCurve3d() const
164 return myNbTrimmedCurve3d;
167 //=======================================================================
168 //function : NbBSplibeSurf
170 //=======================================================================
172 inline Standard_Integer ShapeAnalysis_ShapeContents::NbBSplibeSurf() const
174 return myNbBSplibeSurf;
177 //=======================================================================
178 //function : NbBezierSurf
180 //=======================================================================
182 inline Standard_Integer ShapeAnalysis_ShapeContents::NbBezierSurf() const
184 return myNbBezierSurf;
187 //=======================================================================
188 //function : NbTrimSurf
190 //=======================================================================
192 inline Standard_Integer ShapeAnalysis_ShapeContents::NbTrimSurf() const
197 //=======================================================================
198 //function : NbWireWitnSeam
200 //=======================================================================
202 inline Standard_Integer ShapeAnalysis_ShapeContents::NbWireWitnSeam() const
204 return myNbWireWitnSeam;
207 //=======================================================================
208 //function :NbWireWithSevSeams
210 //=======================================================================
212 inline Standard_Integer ShapeAnalysis_ShapeContents::NbWireWithSevSeams() const
214 return myNbWireWithSevSeams;
217 //=======================================================================
218 //function : NbFaceWithSevWires
220 //=======================================================================
222 inline Standard_Integer ShapeAnalysis_ShapeContents::NbFaceWithSevWires() const
224 return myNbFaceWithSevWires;
227 //=======================================================================
228 //function : NbNoPCurve
230 //=======================================================================
232 inline Standard_Integer ShapeAnalysis_ShapeContents::NbNoPCurve() const
237 //=======================================================================
238 //function : NbFreeFaces
240 //=======================================================================
242 inline Standard_Integer ShapeAnalysis_ShapeContents::NbFreeFaces() const
244 return myNbFreeFaces;
247 //=======================================================================
248 //function : NbFreeWires
250 //=======================================================================
252 inline Standard_Integer ShapeAnalysis_ShapeContents::NbFreeWires() const
254 return myNbFreeWires;
257 //=======================================================================
258 //function : NbFreeEdges
260 //=======================================================================
262 inline Standard_Integer ShapeAnalysis_ShapeContents::NbFreeEdges() const
264 return myNbFreeEdges;
267 //=======================================================================
268 //function : NbSharedSolids
270 //=======================================================================
272 inline Standard_Integer ShapeAnalysis_ShapeContents::NbSharedSolids() const
274 return myNbSharedSolids;
277 //=======================================================================
278 //function : NbSharedShells
280 //=======================================================================
282 inline Standard_Integer ShapeAnalysis_ShapeContents::NbSharedShells() const
284 return myNbSharedShells;
287 //=======================================================================
288 //function : NbSharedFaces
290 //=======================================================================
292 inline Standard_Integer ShapeAnalysis_ShapeContents::NbSharedFaces() const
294 return myNbSharedFaces;
297 //=======================================================================
298 //function : NbSharedWires
300 //=======================================================================
302 inline Standard_Integer ShapeAnalysis_ShapeContents::NbSharedWires() const
304 return myNbSharedWires;
307 inline Standard_Integer ShapeAnalysis_ShapeContents::NbSharedFreeWires() const
309 return myNbSharedFreeWires;
312 //=======================================================================
313 //function : NbSharedFreeEdges
315 //=======================================================================
317 inline Standard_Integer ShapeAnalysis_ShapeContents::NbSharedFreeEdges() const
319 return myNbSharedFreeEdges;
322 //=======================================================================
323 //function : NbSharedEdges
325 //=======================================================================
327 inline Standard_Integer ShapeAnalysis_ShapeContents::NbSharedEdges() const
329 return myNbSharedEdges;
332 //=======================================================================
333 //function : NbSharedVertices
335 //=======================================================================
337 inline Standard_Integer ShapeAnalysis_ShapeContents::NbSharedVertices() const
339 return myNbSharedVertices;
342 //=======================================================================
343 //function : BigSplineSec
345 //=======================================================================
347 inline Handle(TopTools_HSequenceOfShape) ShapeAnalysis_ShapeContents::BigSplineSec() const
349 return myBigSplineSec;
352 //=======================================================================
353 //function : IndirectSec
355 //=======================================================================
357 inline Handle(TopTools_HSequenceOfShape) ShapeAnalysis_ShapeContents::IndirectSec() const
359 return myIndirectSec;
362 //=======================================================================
363 //function : OffsetSurfaceSec
365 //=======================================================================
367 inline Handle(TopTools_HSequenceOfShape) ShapeAnalysis_ShapeContents::OffsetSurfaceSec() const
369 return myOffsetSurfaceSec;
372 //=======================================================================
373 //function : Trimmed3dSec
375 //=======================================================================
377 inline Handle(TopTools_HSequenceOfShape) ShapeAnalysis_ShapeContents::Trimmed3dSec() const
379 return myTrimmed3dSec;
382 //=======================================================================
383 //function : OffsetCurveSec
385 //=======================================================================
387 inline Handle(TopTools_HSequenceOfShape) ShapeAnalysis_ShapeContents::OffsetCurveSec() const
389 return myOffsetCurveSec;
392 //=======================================================================
393 //function : Trimmed2dSec
395 //=======================================================================
397 inline Handle(TopTools_HSequenceOfShape) ShapeAnalysis_ShapeContents::Trimmed2dSec() const
399 return myTrimmed2dSec;
403 //=======================================================================
404 //function : ModifyBigSplineMode
406 //=======================================================================
408 inline Standard_Boolean& ShapeAnalysis_ShapeContents::ModifyBigSplineMode()
410 return myBigSplineMode;
413 //=======================================================================
414 //function : ModifyIndirectMode
416 //=======================================================================
418 inline Standard_Boolean& ShapeAnalysis_ShapeContents::ModifyIndirectMode()
420 return myIndirectMode;
423 //=======================================================================
424 //function : ModifyOffestSurfaceMode
426 //=======================================================================
428 inline Standard_Boolean& ShapeAnalysis_ShapeContents::ModifyOffestSurfaceMode()
430 return myOffestSurfaceMode;
433 //=======================================================================
434 //function : ModifyTrimmed3dMode
436 //=======================================================================
438 inline Standard_Boolean& ShapeAnalysis_ShapeContents::ModifyTrimmed3dMode()
440 return myTrimmed3dMode;
443 //=======================================================================
444 //function : ModifyOffsetCurveMode
446 //=======================================================================
448 inline Standard_Boolean& ShapeAnalysis_ShapeContents::ModifyOffsetCurveMode()
450 return myOffsetCurveMode;
453 //=======================================================================
454 //function : ModifyTrimmed2dMode
456 //=======================================================================
458 inline Standard_Boolean& ShapeAnalysis_ShapeContents::ModifyTrimmed2dMode()
460 return myTrimmed2dMode;