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
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
|
-- File: Blend_Walking.cdl
-- Created: Thu Dec 2 11:33:03 1993
-- Author: Jacques GOUSSARD
-- <jag@topsn2>
---Copyright: Matra Datavision 1993
generic class Walking from Blend
(TheVertex as any;
TheArc as any;
TheSurface as any;
TheCurve as any;
TheVertexTool as any;
TheArcTool as any;
TheSurfaceTool as any;
TheCurveTool as any;
TheTopolTool as Transient;
TheBlendTool as any;
ThePointOnRst as any; -- as PointOnRst from Blend(TheArc)
TheSeqPointOnRst as any; -- as Iterator from Blend(ThePointOnRst)
TheExtremity as any; -- as Extremity from Blend(TheVertex,TheArc,
-- ThePointOnRst,TheSeqPointOnRst)
TheLine as Transient) -- as Line from Blend(TheVertex,TheArc,
-- ThePointOnRst,TheSeqPointOnRst,
-- TheExtremity)
---Purpose:
uses Point from Blend,
SequenceOfPoint from Blend,
Status from Blend,
Vector from math,
Matrix from math,
Pnt from gp,
Pnt2d from gp,
Vec from gp,
Vec2d from gp,
Transition from IntSurf,
Function from Blend,
FuncInv from Blend,
State from TopAbs
raises NotDone from StdFail
is
Create(Surf1,Surf2: TheSurface; Domain1,Domain2: TheTopolTool)
returns Walking from Blend;
SetDomainsToRecadre(me : in out; RecDomain1, RecDomain2: TheTopolTool);
---Purpose: To define different domains for control and clipping.
AddSingularPoint(me : in out; P : Point from Blend);
---Purpose: To define singular points computed before walking.
Perform(me: in out; F : in out Function from Blend;
FInv : in out FuncInv from Blend;
Pdep : Real from Standard;
Pmax : Real from Standard;
MaxStep : Real from Standard;
TolGuide: Real from Standard;
Soldep : Vector from math;
Tolesp : Real from Standard;
Fleche : Real from Standard;
Appro : Boolean from Standard = Standard_False)
is static;
PerformFirstSection(me : in out;
F : in out Function from Blend;
Pdep : Real from Standard;
ParDep : in out Vector from math;
Tolesp : Real from Standard;
TolGuide : Real from Standard;
Pos1, Pos2 : out State from TopAbs)
returns Boolean from Standard
is static;
PerformFirstSection(me: in out;
F : in out Function from Blend;
FInv : in out FuncInv from Blend;
Pdep : Real from Standard;
Pmax : Real from Standard;
ParDep : Vector from math;
Tolesp : Real from Standard;
TolGuide : Real from Standard;
RecOnS1 : Boolean from Standard;
RecOnS2 : Boolean from Standard;
Psol : out Real from Standard;
ParSol : out Vector from math)
returns Boolean from Standard
is static;
Continu(me: in out;F : in out Function from Blend;
FInv : in out FuncInv from Blend;
P : Real from Standard)
returns Boolean from Standard
raises NotDone from StdFail
is static;
Continu(me: in out;F : in out Function from Blend;
FInv : in out FuncInv from Blend;
P : Real from Standard;
OnS1 : Boolean from Standard)
returns Boolean from Standard
raises NotDone from StdFail
is static;
Complete(me: in out;F : in out Function from Blend;
FInv : in out FuncInv from Blend;
Pmin : Real from Standard)
returns Boolean from Standard
raises NotDone from StdFail
is static;
ClassificationOnS1(me : in out;
C : Boolean from Standard)
is static;
ClassificationOnS2(me : in out;
C : Boolean from Standard)
is static;
Check2d(me : in out;
C : Boolean from Standard)
is static;
Check(me : in out;
C : Boolean from Standard)
is static;
TwistOnS1(me) returns Boolean from Standard
---C++: inline
is static;
TwistOnS2(me) returns Boolean from Standard
---C++: inline
is static;
InternalPerform (me: in out;F : in out Function from Blend;
FInv : in out FuncInv from Blend;
Bound : Real from Standard)
is static private;
IsDone(me)
returns Boolean from Standard
---C++: inline
is static;
Line(me)
returns TheLine
---C++: inline
---C++: return const&
raises NotDone from StdFail
is static;
ArcToRecadre(me: in out;
OnFirst: Boolean from Standard;
Sol: Vector from math;
PrevIndex : Integer;
lpt2d : out Pnt2d from gp;
pt2d : out Pnt2d from gp;
ponarc : out Real)
returns Integer from Standard
is static private;
Recadre(me: in out; FInv : in out FuncInv from Blend;
OnFirst: Boolean from Standard;
Sol: Vector from math;
Solrst : out Vector from math;
Indexsol: out Integer from Standard;
IsVtx: out Boolean from Standard;
Vtx: out TheVertex;
Extrap : Real = 0.0)
returns Boolean from Standard
is static private;
Transition(me:in out; OnFirst: Boolean from Standard;
A: TheArc; Param: Real from Standard;
TLine,TArc: out Transition from IntSurf)
is static private;
MakeExtremity(me:in out; Extrem : in out TheExtremity;
OnFirst: Boolean from Standard;
Index : Integer from Standard;
Param : Real from Standard;
IsVtx : Boolean from Standard;
Vtx : TheVertex)
is static private;
MakeSingularExtremity(me:in out;
Extrem : in out TheExtremity;
OnFirst: Boolean from Standard;
Vtx : TheVertex)
is static private;
CheckDeflection(me: in out; OnFirst : Boolean from Standard;
CurPoint : Point from Blend)
returns Status from Blend
is static private;
TestArret(me: in out; F : in out Function from Blend;
State: Status from Blend;
TestDeflection : Boolean = Standard_True;
TestSolution : Boolean = Standard_True;
TestLengthStep : Boolean = Standard_False)
returns Status from Blend
is static private;
fields
previousP : Point from Blend;
line : TheLine;
sol : Vector from math;
jalons : SequenceOfPoint from Blend;
surf1 : TheSurface;
surf2 : TheSurface;
domain1 : TheTopolTool;
domain2 : TheTopolTool;
recdomain1 : TheTopolTool;
recdomain2 : TheTopolTool;
tolesp : Real from Standard;
tolgui : Real from Standard;
pasmax : Real from Standard;
fleche : Real from Standard;
param : Real from Standard;
sens : Real from Standard;
done : Boolean from Standard;
rebrou : Boolean from Standard;
iscomplete : Boolean from Standard;
comptra : Boolean from Standard;
clasonS1 : Boolean from Standard;
clasonS2 : Boolean from Standard;
check2d : Boolean from Standard;
check : Boolean from Standard;
twistflag1 : Boolean from Standard;
twistflag2 : Boolean from Standard;
end Walking;
|