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
|
-- File: Blend_Extremity.cdl
-- Created: Tue Jan 25 10:00:47 1994
-- Author: Jacques GOUSSARD
-- <jag@topsn2>
---Copyright: Matra Datavision 1994
generic class Extremity from Blend
(TheVertex as any;
TheArc as any;
ThePointOnRst as any; -- as PointOnRst from Blend(TheArc)
TheSequenceOfPointOnRst as any) -- as Iterator from Blend(ThePointOnRst)
---Purpose:
uses Pnt from gp,
Vec from gp,
Transition from IntSurf
raises DomainError from Standard,
OutOfRange from Standard
is
Create
returns Extremity from Blend;
Create(P: Pnt from gp;
U,V,Param: Real from Standard; Tol: Real from Standard)
---Purpose: Creates an extremity on a surface
returns Extremity from Blend;
Create(P: Pnt from gp;
U,V,Param: Real from Standard; Tol: Real from Standard;
Vtx: TheVertex)
---Purpose: Creates an extremity on a surface. This extremity matches
-- the vertex <Vtx>.
returns Extremity from Blend;
Create(P: Pnt from gp;
W, Param: Real from Standard; Tol: Real from Standard)
---Purpose: Creates an extremity on a curve
returns Extremity from Blend;
SetValue(me: in out; P: Pnt from gp;
U,V,Param : Real from Standard;
Tol: Real from Standard)
---Purpose: Set the values for an extremity on a surface.
is static;
SetValue(me: in out; P: Pnt from gp;
U,V,Param: Real from Standard;
Tol: Real from Standard; Vtx: TheVertex)
---Purpose: Set the values for an extremity on a surface.This
-- extremity matches the vertex <Vtx>.
is static;
SetValue(me: in out; P: Pnt from gp;
W,Param: Real from Standard;
Tol: Real from Standard)
---Purpose: Set the values for an extremity on curve.
is static;
Value(me)
---Purpose: This method returns the value of the point in 3d space.
returns Pnt from gp
---C++: inline
---C++: return const&
is static;
SetTangent(me: in out; Tangent : Vec from gp)
---Purpose: Set the tangent vector for an extremity on a
-- surface.
---C++: inline
is static;
HasTangent(me)
---Purpose: Returns TRUE if the Tangent is stored.
returns Boolean from Standard
---C++: inline
is static;
Tangent(me)
---Purpose: This method returns the value of tangent in 3d
-- space.
returns Vec from gp
---C++: inline
---C++: return const&
is static;
Tolerance(me)
---Purpose: This method returns the fuzziness on the point
-- in 3d space.
returns Real from Standard
---C++: inline
is static;
-- methods for an extremity on a surface
SetVertex(me: in out; V: TheVertex)
---Purpose: Set the values for an extremity on a curve.
is static;
AddArc(me: in out; A: TheArc; Param: Real from Standard;
TLine, TArc: Transition from IntSurf)
---Purpose: Sets the values of a point which is on the arc
-- A, at parameter Param.
is static;
Parameters(me; U,V: out Real from Standard)
---Purpose: This method returns the parameters of the point
-- on the concerned surface.
---C++: inline
is static;
IsVertex(me)
---Purpose: Returns Standard_True when the point coincide with
-- an existing vertex.
returns Boolean from Standard
---C++: inline
is static;
Vertex(me)
---Purpose: Returns the vertex when IsVertex returns Standard_True.
returns any TheVertex
---C++: inline
---C++: return const&
raises DomainError from Standard
--- The exception is raised when IsVertex returns Standard_False
is static;
NbPointOnRst(me)
---Purpose: Returns the number of arc containing the extremity.
-- If the method returns 0, the point is inside the
-- surface.
-- Otherwise, the extremity lies on at least 1 arc,
-- and all the information (arc, parameter, transitions)
-- are given by the point on restriction (PointOnRst)
-- returned by the next method.
returns Integer from Standard
---C++: inline
is static;
PointOnRst(me; Index: Integer from Standard)
---Purpose:
returns any ThePointOnRst
---C++: inline
---C++: return const&
raises OutOfRange from Standard
--- The exception is raised when Index <=0 or Index > NbPointOnRst
is static;
-- method for an extremity on a curve
Parameter(me)
returns Real from Standard
---C++: inline
is static;
-- method for the parameter on the guide
ParameterOnGuide(me)
returns Real from Standard
---C++: inline
is static;
fields
vtx : TheVertex;
seqpt : TheSequenceOfPointOnRst;
pt : Pnt from gp;
tang : Vec from gp;
param : Real from Standard;
u : Real from Standard;
v : Real from Standard;
tol : Real from Standard;
isvtx : Boolean from Standard;
hastang: Boolean from Standard;
end Extremity;
|