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
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
|
-- File: HLRTopoBRep_Data.cdl
-- Created: Mon Oct 24 15:33:05 1994
-- Author: Christophe MARION
-- <cma@ecolox>
---Copyright: Matra Datavision 1994
class Data from HLRTopoBRep
---Purpose: Stores the results of the OutLine and IsoLine
-- processes.
uses
Boolean from Standard,
Real from Standard,
Address from Standard,
Face from TopoDS,
Edge from TopoDS,
Vertex from TopoDS,
Shape from TopoDS,
ListOfShape from TopTools,
MapOfShape from TopTools,
DataMapOfShapeShape from TopTools,
DataMapOfShapeListOfShape from TopTools,
DataMapOfShapeFaceData from HLRTopoBRep,
MapOfShapeListOfVData from HLRTopoBRep,
ListIteratorOfListOfVData from HLRTopoBRep,
DataMapIteratorOfMapOfShapeListOfVData from HLRTopoBRep
is
Create returns Data from HLRTopoBRep;
--
-- Methods to Clean the Data
--
Clear(me : in out)
---Purpose: Clear of all the maps.
is static;
Clean(me : in out)
---Purpose: Clear of all the data not needed during and after
-- the hiding process.
is static;
--
-- Methods to inquire the results
--
EdgeHasSplE(me; E : Edge from TopoDS)
returns Boolean from Standard
---Purpose: Returns True if the Edge is split.
is static;
FaceHasIntL(me; F : Face from TopoDS)
returns Boolean from Standard
---Purpose: Returns True if the Face has internal outline.
is static;
FaceHasOutL(me; F : Face from TopoDS)
returns Boolean from Standard
---Purpose: Returns True if the Face has outlines on restriction.
is static;
FaceHasIsoL(me; F : Face from TopoDS)
returns Boolean from Standard
---Purpose: Returns True if the Face has isolines.
is static;
IsSplEEdgeEdge(me; E1 : Edge from TopoDS;
E2 : Edge from TopoDS)
returns Boolean from Standard
is static;
IsIntLFaceEdge(me; F : Face from TopoDS;
E : Edge from TopoDS)
returns Boolean from Standard
is static;
IsOutLFaceEdge(me; F : Face from TopoDS;
E : Edge from TopoDS)
returns Boolean from Standard
is static;
IsIsoLFaceEdge(me; F : Face from TopoDS;
E : Edge from TopoDS)
returns Boolean from Standard
is static;
NewSOldS(me; New : Shape from TopoDS)
returns Shape from TopoDS
is static;
EdgeSplE(me; E : Edge from TopoDS)
returns ListOfShape from TopTools
---Purpose: Returns the list of the edges.
---C++: inline
---C++: return const &
is static;
FaceIntL(me; F : Face from TopoDS)
returns ListOfShape from TopTools
---Purpose: Returns the list of the internal OutLines.
---C++: inline
---C++: return const &
is static;
FaceOutL(me; F : Face from TopoDS)
returns ListOfShape from TopTools
---Purpose: Returns the list of the OutLines on restriction.
---C++: inline
---C++: return const &
is static;
FaceIsoL(me; F : Face from TopoDS)
returns ListOfShape from TopTools
---Purpose: Returns the list of the IsoLines.
---C++: inline
---C++: return const &
is static;
IsOutV(me; V : Vertex from TopoDS)
returns Boolean from Standard
---Purpose: Returns True if V is an outline vertex on a
-- restriction.
---C++: inline
is static;
IsIntV(me; V : Vertex from TopoDS)
returns Boolean from Standard
---Purpose: Returns True if V is an internal outline vertex.
---C++: inline
is static;
--
-- Methods to store the results
--
AddOldS(me : in out; NewS,OldS : Shape from TopoDS)
is static;
AddSplE(me : in out; E : Edge from TopoDS)
returns ListOfShape from TopTools
---C++: return &
is static;
AddIntL(me : in out; F : Face from TopoDS)
returns ListOfShape from TopTools
---C++: return &
is static;
AddOutL(me : in out; F : Face from TopoDS)
returns ListOfShape from TopTools
---C++: return &
is static;
AddIsoL(me : in out; F : Face from TopoDS)
returns ListOfShape from TopTools
---C++: return &
is static;
AddOutV(me : in out; V : Vertex from TopoDS)
---C++: inline
is static;
AddIntV(me : in out; V : Vertex from TopoDS)
---C++: inline
is static;
--
-- Methods to iterate on the edges with vertices
--
InitEdge(me : in out)
is static;
MoreEdge(me) returns Boolean from Standard
---C++: inline
is static;
NextEdge(me : in out)
is static;
Edge(me) returns Edge from TopoDS
---C++: inline
---C++: return const &
is static;
--
-- Methods to access the list of vertices with parameters on
-- an edge
--
InitVertex(me : in out; E : Edge from TopoDS)
---Purpose: Start an iteration on the vertices of E.
is static;
MoreVertex(me) returns Boolean from Standard
---C++: inline
is static;
NextVertex(me : in out)
---C++: inline
is static;
Vertex(me) returns Vertex from TopoDS
---C++: return const &
is static;
Parameter(me) returns Real from Standard
is static;
InsertBefore(me : in out; V : Vertex from TopoDS;
P : Real from Standard)
---Purpose: Insert before the current position.
is static;
Append(me : in out; V : Vertex from TopoDS;
P : Real from Standard)
is static;
fields
myOldS : DataMapOfShapeShape from TopTools;
-- For a shape of the result gives a shape from the original.
mySplE : DataMapOfShapeListOfShape from TopTools;
-- For a splitted edge the list of split edges.
myData : DataMapOfShapeFaceData from HLRTopoBRep;
-- For a face the FaceData.
myOutV : MapOfShape from TopTools;
-- utline vertices on restriction.
myIntV : MapOfShape from TopTools;
-- Internal outline vertices.
myEdgesVertices : MapOfShapeListOfVData from HLRTopoBRep;
-- List of vertices on the edge with parameter.
-- Sorted by increasing parameter values.
myEIterator : DataMapIteratorOfMapOfShapeListOfVData from HLRTopoBRep;
myVIterator : ListIteratorOfListOfVData from HLRTopoBRep;
myVList : Address from Standard;
end Data;
|