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
|
-- File: TopOpeBRepDS_BuildTool.cdl
-- Created: Thu Jun 17 14:35:07 1993
-- Author: Jean Yves LEBEY
-- <jyl@zerox>
---Copyright: Matra Datavision 1993
class BuildTool from TopOpeBRepDS
---Purpose: Provides a Tool to build topologies. Used to
-- instantiate the Builder algorithm.
uses
Orientation from TopAbs,
Shape from TopoDS,
Vertex from TopoDS,
Edge from TopoDS,
Face from TopoDS,
Surface from TopOpeBRepDS,
Curve from TopOpeBRepDS,
Curve from Geom,
Point from TopOpeBRepDS,
DataStructure from TopOpeBRepDS,
HDataStructure from TopOpeBRepDS,
Curve from Geom2d,
Surface from Geom,
Builder from BRep,
GeomTool from TopOpeBRepTool,
CurveTool from TopOpeBRepTool,
OutCurveType from TopOpeBRepTool
is
Create returns BuildTool from TopOpeBRepDS;
Create (OutCurveType : OutCurveType from TopOpeBRepTool)
returns BuildTool from TopOpeBRepDS;
Create (GT : GeomTool from TopOpeBRepTool)
returns BuildTool from TopOpeBRepDS;
GetGeomTool(me) returns GeomTool from TopOpeBRepTool
---C++: return const &
is static;
ChangeGeomTool(me : in out) returns GeomTool from TopOpeBRepTool
---C++: return &
is static;
MakeVertex(me; V : out Shape from TopoDS; P : Point from TopOpeBRepDS)
is static;
--- ================================================================
--- supprimer la syntaxe sans DS
MakeEdge(me; E : out Shape from TopoDS; C : Curve from TopOpeBRepDS)
is static;
MakeEdge(me; E : out Shape from TopoDS;
C : Curve from TopOpeBRepDS;
DS : DataStructure from TopOpeBRepDS)
is static;
--- ================================================================
MakeEdge(me; E : out Shape from TopoDS;
C : Curve from Geom;
Tol : Real from Standard)
is static;
MakeEdge(me; E : out Shape from TopoDS)
is static;
MakeWire(me; W : out Shape from TopoDS)
is static;
MakeFace(me; F : out Shape from TopoDS; S : Surface from TopOpeBRepDS)
is static;
MakeShell(me; Sh : out Shape from TopoDS)
is static;
MakeSolid(me; S : out Shape from TopoDS)
is static;
CopyEdge(me; Ein : Shape from TopoDS;
Eou : in out Shape from TopoDS)
---Purpose: Make an edge <Eou> with the curve of the edge <Ein>
is static;
GetOrientedEdgeVertices(me; E : out Edge from TopoDS;
Vmin, Vmax : out Vertex from TopoDS;
Parmin : out Real from Standard;
Parmax : out Real from Standard)
is static;
UpdateEdgeCurveTol(me; F1, F2 : Face from TopoDS;
E : out Edge from TopoDS;
C3Dnew : Curve from Geom;
tol3d : Real from Standard;
tol2d1 : Real from Standard;
tol2d2 : Real from Standard;
newtol : out Real from Standard;
newparmin : out Real from Standard;
newparmax : out Real from Standard)
is static;
ApproxCurves(me; C : Curve from TopOpeBRepDS;
E : out Edge from TopoDS;
inewC : out Integer from Standard;
HDS : HDataStructure from TopOpeBRepDS)
is static;
ComputePCurves(me; C : Curve from TopOpeBRepDS;
E : out Edge from TopoDS;
newC : out Curve from TopOpeBRepDS;
CompPC1 : Boolean from Standard;
CompPC2 : Boolean from Standard;
CompC3D : Boolean from Standard)
is static;
PutPCurves(me; newC : Curve from TopOpeBRepDS;
E : out Edge from TopoDS;
CompPC1 : Boolean from Standard;
CompPC2 : Boolean from Standard)
is static;
RecomputeCurves(me; C : Curve from TopOpeBRepDS;
oldE : Edge from TopoDS;
E : out Edge from TopoDS;
inewC : out Integer from Standard;
HDS : HDataStructure from TopOpeBRepDS)
is static;
CopyFace(me; Fin : Shape from TopoDS; Fou : in out Shape from TopoDS)
---Purpose: Make a face <Fou> with the surface of the face <Fin>
is static;
AddEdgeVertex(me;
Ein : Shape from TopoDS;
Eou : in out Shape from TopoDS;
V : Shape from TopoDS)
is static;
AddEdgeVertex(me;
E : in out Shape from TopoDS;
V : Shape from TopoDS)
is static;
AddWireEdge(me; W : in out Shape from TopoDS; E : Shape from TopoDS)
is static;
AddFaceWire(me; F : in out Shape from TopoDS; W : Shape from TopoDS)
is static;
AddShellFace(me; Sh : in out Shape from TopoDS; F : Shape from TopoDS)
is static;
AddSolidShell(me; S : in out Shape from TopoDS; Sh : Shape from TopoDS)
is static;
Parameter(me; E : Shape from TopoDS;
V : Shape from TopoDS;
P : Real)
---Purpose: Sets the parameter <P> for the vertex <V> on the
-- edge <E>.
is static;
Range(me; E : Shape from TopoDS;
first,last : Real from Standard)
---Purpose: Sets the range of edge <E>.
is static;
UpdateEdge(me; Ein : Shape from TopoDS;
Eou : in out Shape from TopoDS)
---Purpose: Sets the range of edge <Eou> from <Ein>
-- only when <Ein> has a closed geometry.
is static;
Parameter(me; C : Curve from TopOpeBRepDS;
E : in out Shape from TopoDS;
V : in out Shape from TopoDS)
---Purpose: Compute the parameter of the vertex <V>, supported
-- by the edge <E>, on the curve <C>.
is static;
Curve3D(me; E : in out Shape from TopoDS;
C : Curve from Geom;
Tol : Real from Standard)
---Purpose: Sets the curve <C> for the edge <E>
is static;
TranslateOnPeriodic(me; F : in out Shape from TopoDS;
E : in out Shape from TopoDS;
C : in out Curve from Geom2d)
is static private;
PCurve(me; F : in out Shape from TopoDS;
E : in out Shape from TopoDS;
C : Curve from Geom2d)
---Purpose: Sets the pcurve <C> for the edge <E> on the face
-- <F>. If OverWrite is True the old pcurve if there
-- is one is overwritten, else the two pcurves are
-- set.
is static;
PCurve(me; F : in out Shape from TopoDS;
E : in out Shape from TopoDS;
CDS : Curve from TopOpeBRepDS;
C : Curve from Geom2d)
is static;
Orientation(me; S : in out Shape from TopoDS ; O : Orientation from TopAbs)
is static;
Orientation(me; S : Shape from TopoDS) returns Orientation from TopAbs
is static;
Closed(me; S : in out Shape from TopoDS; B : Boolean from Standard)
is static;
Approximation(me) returns Boolean from Standard
is static;
UpdateSurface(me; F : Shape from TopoDS; SU : Surface from Geom) is static;
UpdateSurface(me; E,oldF,newF : Shape from TopoDS) is static;
OverWrite(me) returns Boolean from Standard is static;
OverWrite(me : in out; O : Boolean from Standard) is static;
Translate(me) returns Boolean from Standard is static;
Translate(me : in out; T : Boolean from Standard) is static;
fields
myBuilder : Builder from BRep;
myCurveTool : CurveTool from TopOpeBRepTool;
myOverWrite : Boolean from Standard;
myTranslate : Boolean from Standard; -- consigne de recadrage des pcurves
-- sur surfaces periodiques
end BuildTool from TopOpeBRepDS;
|