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
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.
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.
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.
23 //=======================================================================
26 //=======================================================================
28 inline Standard_Integer ShapeAnalysis_ShapeContents::NbSolids() const
33 //=======================================================================
36 //=======================================================================
38 inline Standard_Integer ShapeAnalysis_ShapeContents::NbShells() const
43 //=======================================================================
46 //=======================================================================
48 inline Standard_Integer ShapeAnalysis_ShapeContents::NbFaces() const
53 //=======================================================================
56 //=======================================================================
58 inline Standard_Integer ShapeAnalysis_ShapeContents::NbWires() const
63 //=======================================================================
66 //=======================================================================
68 inline Standard_Integer ShapeAnalysis_ShapeContents::NbEdges() const
73 //=======================================================================
74 //function : NbVertices
76 //=======================================================================
78 inline Standard_Integer ShapeAnalysis_ShapeContents::NbVertices() const
83 //=======================================================================
84 //function : NbSolidsWithVoids
86 //=======================================================================
88 inline Standard_Integer ShapeAnalysis_ShapeContents::NbSolidsWithVoids() const
90 return myNbSolidsWithVoids;
93 //=======================================================================
94 //function : NbBigSplines
96 //=======================================================================
98 inline Standard_Integer ShapeAnalysis_ShapeContents::NbBigSplines() const
100 return myNbBigSplines;
103 //=======================================================================
104 //function : NbC0Surfaces
106 //=======================================================================
108 inline Standard_Integer ShapeAnalysis_ShapeContents::NbC0Surfaces() const
110 return myNbC0Surfaces;
113 //=======================================================================
116 //=======================================================================
118 inline Standard_Integer ShapeAnalysis_ShapeContents::NbC0Curves() const
123 //=======================================================================
124 //function : NbOffsetSurf
126 //=======================================================================
128 inline Standard_Integer ShapeAnalysis_ShapeContents::NbOffsetSurf() const
130 return myNbOffsetSurf;
133 //=======================================================================
134 //function : NbIndirectSurf
136 //=======================================================================
138 inline Standard_Integer ShapeAnalysis_ShapeContents::NbIndirectSurf() const
140 return myNbIndirectSurf;
143 //=======================================================================
144 //function : NbOffsetCurves
146 //=======================================================================
148 inline Standard_Integer ShapeAnalysis_ShapeContents::NbOffsetCurves() const
150 return myNbOffsetCurves;
153 //=======================================================================
154 //function : NbTrimmedCurve2d
156 //=======================================================================
158 inline Standard_Integer ShapeAnalysis_ShapeContents::NbTrimmedCurve2d() const
160 return myNbTrimmedCurve2d;
163 //=======================================================================
166 //=======================================================================
168 inline Standard_Integer ShapeAnalysis_ShapeContents::NbTrimmedCurve3d() const
170 return myNbTrimmedCurve3d;
173 //=======================================================================
174 //function : NbBSplibeSurf
176 //=======================================================================
178 inline Standard_Integer ShapeAnalysis_ShapeContents::NbBSplibeSurf() const
180 return myNbBSplibeSurf;
183 //=======================================================================
184 //function : NbBezierSurf
186 //=======================================================================
188 inline Standard_Integer ShapeAnalysis_ShapeContents::NbBezierSurf() const
190 return myNbBezierSurf;
193 //=======================================================================
194 //function : NbTrimSurf
196 //=======================================================================
198 inline Standard_Integer ShapeAnalysis_ShapeContents::NbTrimSurf() const
203 //=======================================================================
204 //function : NbWireWitnSeam
206 //=======================================================================
208 inline Standard_Integer ShapeAnalysis_ShapeContents::NbWireWitnSeam() const
210 return myNbWireWitnSeam;
213 //=======================================================================
214 //function :NbWireWithSevSeams
216 //=======================================================================
218 inline Standard_Integer ShapeAnalysis_ShapeContents::NbWireWithSevSeams() const
220 return myNbWireWithSevSeams;
223 //=======================================================================
224 //function : NbFaceWithSevWires
226 //=======================================================================
228 inline Standard_Integer ShapeAnalysis_ShapeContents::NbFaceWithSevWires() const
230 return myNbFaceWithSevWires;
233 //=======================================================================
234 //function : NbNoPCurve
236 //=======================================================================
238 inline Standard_Integer ShapeAnalysis_ShapeContents::NbNoPCurve() const
243 //=======================================================================
244 //function : NbFreeFaces
246 //=======================================================================
248 inline Standard_Integer ShapeAnalysis_ShapeContents::NbFreeFaces() const
250 return myNbFreeFaces;
253 //=======================================================================
254 //function : NbFreeWires
256 //=======================================================================
258 inline Standard_Integer ShapeAnalysis_ShapeContents::NbFreeWires() const
260 return myNbFreeWires;
263 //=======================================================================
264 //function : NbFreeEdges
266 //=======================================================================
268 inline Standard_Integer ShapeAnalysis_ShapeContents::NbFreeEdges() const
270 return myNbFreeEdges;
273 //=======================================================================
274 //function : NbSharedSolids
276 //=======================================================================
278 inline Standard_Integer ShapeAnalysis_ShapeContents::NbSharedSolids() const
280 return myNbSharedSolids;
283 //=======================================================================
284 //function : NbSharedShells
286 //=======================================================================
288 inline Standard_Integer ShapeAnalysis_ShapeContents::NbSharedShells() const
290 return myNbSharedShells;
293 //=======================================================================
294 //function : NbSharedFaces
296 //=======================================================================
298 inline Standard_Integer ShapeAnalysis_ShapeContents::NbSharedFaces() const
300 return myNbSharedFaces;
303 //=======================================================================
304 //function : NbSharedWires
306 //=======================================================================
308 inline Standard_Integer ShapeAnalysis_ShapeContents::NbSharedWires() const
310 return myNbSharedWires;
313 inline Standard_Integer ShapeAnalysis_ShapeContents::NbSharedFreeWires() const
315 return myNbSharedFreeWires;
318 //=======================================================================
319 //function : NbSharedFreeEdges
321 //=======================================================================
323 inline Standard_Integer ShapeAnalysis_ShapeContents::NbSharedFreeEdges() const
325 return myNbSharedFreeEdges;
328 //=======================================================================
329 //function : NbSharedEdges
331 //=======================================================================
333 inline Standard_Integer ShapeAnalysis_ShapeContents::NbSharedEdges() const
335 return myNbSharedEdges;
338 //=======================================================================
339 //function : NbSharedVertices
341 //=======================================================================
343 inline Standard_Integer ShapeAnalysis_ShapeContents::NbSharedVertices() const
345 return myNbSharedVertices;
348 //=======================================================================
349 //function : BigSplineSec
351 //=======================================================================
353 inline Handle(TopTools_HSequenceOfShape) ShapeAnalysis_ShapeContents::BigSplineSec() const
355 return myBigSplineSec;
358 //=======================================================================
359 //function : IndirectSec
361 //=======================================================================
363 inline Handle(TopTools_HSequenceOfShape) ShapeAnalysis_ShapeContents::IndirectSec() const
365 return myIndirectSec;
368 //=======================================================================
369 //function : OffsetSurfaceSec
371 //=======================================================================
373 inline Handle(TopTools_HSequenceOfShape) ShapeAnalysis_ShapeContents::OffsetSurfaceSec() const
375 return myOffsetSurfaceSec;
378 //=======================================================================
379 //function : Trimmed3dSec
381 //=======================================================================
383 inline Handle(TopTools_HSequenceOfShape) ShapeAnalysis_ShapeContents::Trimmed3dSec() const
385 return myTrimmed3dSec;
388 //=======================================================================
389 //function : OffsetCurveSec
391 //=======================================================================
393 inline Handle(TopTools_HSequenceOfShape) ShapeAnalysis_ShapeContents::OffsetCurveSec() const
395 return myOffsetCurveSec;
398 //=======================================================================
399 //function : Trimmed2dSec
401 //=======================================================================
403 inline Handle(TopTools_HSequenceOfShape) ShapeAnalysis_ShapeContents::Trimmed2dSec() const
405 return myTrimmed2dSec;
409 //=======================================================================
410 //function : ModifyBigSplineMode
412 //=======================================================================
414 inline Standard_Boolean& ShapeAnalysis_ShapeContents::ModifyBigSplineMode()
416 return myBigSplineMode;
419 //=======================================================================
420 //function : ModifyIndirectMode
422 //=======================================================================
424 inline Standard_Boolean& ShapeAnalysis_ShapeContents::ModifyIndirectMode()
426 return myIndirectMode;
429 //=======================================================================
430 //function : ModifyOffestSurfaceMode
432 //=======================================================================
434 inline Standard_Boolean& ShapeAnalysis_ShapeContents::ModifyOffestSurfaceMode()
436 return myOffestSurfaceMode;
439 //=======================================================================
440 //function : ModifyTrimmed3dMode
442 //=======================================================================
444 inline Standard_Boolean& ShapeAnalysis_ShapeContents::ModifyTrimmed3dMode()
446 return myTrimmed3dMode;
449 //=======================================================================
450 //function : ModifyOffsetCurveMode
452 //=======================================================================
454 inline Standard_Boolean& ShapeAnalysis_ShapeContents::ModifyOffsetCurveMode()
456 return myOffsetCurveMode;
459 //=======================================================================
460 //function : ModifyTrimmed2dMode
462 //=======================================================================
464 inline Standard_Boolean& ShapeAnalysis_ShapeContents::ModifyTrimmed2dMode()
466 return myTrimmed2dMode;