blob: ecffd85a05f6fb81bd3c344c6b3c8db640c8508c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
|
-- File: TNaming_ShapesSet.cdl
-- Created: Thu Jan 9 08:26:45 1997
-- Author: Yves FRICAUD
-- <yfr@claquox.paris1.matra-dtv.fr>
---Copyright: Matra Datavision 1997
private class ShapesSet from TNaming
---Purpose:
uses
Shape from TopoDS,
ShapeEnum from TopAbs,
MapOfShape from TopTools
is
Create returns ShapesSet from TNaming;
---C++: inline
Create (S : Shape from TopoDS;
Type : ShapeEnum from TopAbs = TopAbs_SHAPE)
returns ShapesSet from TNaming;
---Category: Modification
Clear(me : in out)
---Level: Public
---Purpose: Removes all Shapes
---C++: inline
is static;
Add(me : in out; S : Shape from TopoDS) returns Boolean
---Level: Public
---Purpose: Adds the Shape <S>
---C++: inline
is static;
Contains(me; S : Shape ) returns Boolean
---Level: Public
---Purpose: Returns True if <S> is in <me>
---C++: inline
is static;
Remove(me : in out; S : Shape ) returns Boolean
---Level: Public
---Purpose: Removes <S> in <me>.
---C++: inline
is static;
-- Modification with an other ShapesSet--
Add (me : in out; Shapes : ShapesSet from TNaming);
---Purpose: Adds the shapes contained in <Shapes>.
Filter (me : in out; Shapes : ShapesSet from TNaming);
---Purpose: Erases in <me> the shapes not
-- contained in <Shapes>
Remove (me : in out; Shapes : ShapesSet from TNaming);
---Purpose: Removes in <me> the shapes contained in <Shapes>
---Category: Querying
IsEmpty(me) returns Boolean from Standard;
---C++: inline
NbShapes (me) returns Integer from Standard;
---C++: inline
ChangeMap(me: in out) returns MapOfShape from TopTools;
---C++: return &
---C++: inline
Map(me) returns MapOfShape from TopTools;
---C++: return const&
---C++: inline
fields
myMap : MapOfShape from TopTools;
end ShapesSet;
|