blob: 998407fec670620b01a5624f4166080de1ea5188 (
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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
|
-- File: BooleanOperations_ShapeAndInterferences.cdl
-- Created: Mon Jul 24 18:27:49 2000
-- Author: Vincent DELOS
-- <vds@bulox.paris1.matra-dtv.fr>
---Copyright: Matra Datavision 2000
class ShapeAndInterferences from BooleanOperations
---Purpose:
uses
Box from Bnd,
Shape from TopoDS,
ShapeEnum from TopAbs,
Orientation from TopAbs,
StateOfShape from BooleanOperations,
--modified by NIZNHY-PKV Wed Feb 2 14:45:12 2005f
-- InterferencesList from BooleanOperations,
-- InterferenceResult from BooleanOperations,
--modified by NIZNHY-PKV Wed Feb 2 14:45:40 2005t
AncestorsAndSuccessors from BooleanOperations
--raises
is
Create returns ShapeAndInterferences;
--------------------
-- INLINE METHODS --
--------------------
GetShape (me)
returns Shape from TopoDS;
---C++: inline
---C++: return const &
GetShapeType (me)
returns ShapeEnum from TopAbs;
---C++: inline
GetState (me)
returns StateOfShape from BooleanOperations;
---C++: inline
SetState (me:in out;
theState: StateOfShape);
---C++: inline
GetBoundingBox (me)
returns Box from Bnd;
---C++: inline
---C++: return const &
NumberOfAncestors(me)
returns Integer from Standard;
---C++: inline
NumberOfSuccessors(me)
returns Integer from Standard;
---C++: inline
GetAncestor (me; index:Integer)
returns Integer from Standard;
---C++: inline
GetSuccessor (me; index:Integer)
returns Integer from Standard;
---C++: inline
GetAncestors (me;
theArrayOfAncestors: out Address;
AncestorsSize:out Integer from Standard);
---C++: inline
GetSuccessors (me;
theArrayOfSuccessors:out Address;
SuccessorsSize:out Integer from Standard);
---C++: inline
GetOrientation (me;
index:Integer)
returns Orientation from TopAbs;
---C++: inline
GetOrientations (me;
theArrayOfOrientations:out Address;
OrientationsSize:out Integer from Standard);
---C++: inline
--modified by NIZNHY-PKV Thu Feb 3 11:13:49 2005f
-- GetInterference (me; index:Integer) returns InterferenceResult;
-- --C++: inline
-- --C++: return const &
-- NumberOfInterferences (me) returns Integer;
--C++: inline
-- GetIntersectionResult (me; index:Integer) returns Integer;
-- --C++: inline
-- GetIntersectedShape (me; index:Integer) returns Integer;
-- --C++: inline
------------------
-- MAIN METHODS --
------------------
-- SetInterference (me:in out; Interf: InterferenceResult);
---Purpose: sets an interference in <myInterferencesList>.
-- Dump (me);
---Purpose: to display the fields.
--modified by NIZNHY-PKV Wed Feb 2 12:55:39 2005t
fields
myBoundingBox : Box from Bnd;
---Purpose: the bounding box of <myShape>.
myAncestorsAndSuccessors : AncestorsAndSuccessors from BooleanOperations;
---Purpose: the shapes that contain <myShape> and/or containded by <myShape>.
myShape : Shape;
---Purpose: can be a shape of the Object, of the Tool or created by
-- intersecting both of them.
myState : StateOfShape;
---Purpose: the state of <myShape>.
--modified by NIZNHY-PKV Wed Feb 2 12:53:22 2005f
--myInterferencesList : InterferencesList;
--modified by NIZNHY-PKV Wed Feb 2 12:53:40 2005t
---Purpose: all the shapes whose intersection with <myShape> is not empty.
friends
class ShapesDataStructure from BooleanOperations
end ShapeAndInterferences;
|