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