Integration of OCCT 6.5.0 from SVN
[occt.git] / src / Blend / Blend_Extremity.cdl
CommitLineData
7fd59977 1-- File: Blend_Extremity.cdl
2-- Created: Tue Jan 25 10:00:47 1994
3-- Author: Jacques GOUSSARD
4-- <jag@topsn2>
5---Copyright: Matra Datavision 1994
6
7
8
9generic class Extremity from Blend
10 (TheVertex as any;
11 TheArc as any;
12 ThePointOnRst as any; -- as PointOnRst from Blend(TheArc)
13 TheSequenceOfPointOnRst as any) -- as Iterator from Blend(ThePointOnRst)
14
15
16
17 ---Purpose:
18
19uses Pnt from gp,
20 Vec from gp,
21 Transition from IntSurf
22
23
24raises DomainError from Standard,
25 OutOfRange from Standard
26
27is
28
29 Create
30
31 returns Extremity from Blend;
32
33
34 Create(P: Pnt from gp;
35 U,V,Param: Real from Standard; Tol: Real from Standard)
36 ---Purpose: Creates an extremity on a surface
37 returns Extremity from Blend;
38
39
40 Create(P: Pnt from gp;
41 U,V,Param: Real from Standard; Tol: Real from Standard;
42 Vtx: TheVertex)
43 ---Purpose: Creates an extremity on a surface. This extremity matches
44 -- the vertex <Vtx>.
45
46 returns Extremity from Blend;
47
48
49 Create(P: Pnt from gp;
50 W, Param: Real from Standard; Tol: Real from Standard)
51 ---Purpose: Creates an extremity on a curve
52 returns Extremity from Blend;
53
54
55 SetValue(me: in out; P: Pnt from gp;
56 U,V,Param : Real from Standard;
57 Tol: Real from Standard)
58 ---Purpose: Set the values for an extremity on a surface.
59 is static;
60
61
62 SetValue(me: in out; P: Pnt from gp;
63 U,V,Param: Real from Standard;
64 Tol: Real from Standard; Vtx: TheVertex)
65 ---Purpose: Set the values for an extremity on a surface.This
66 -- extremity matches the vertex <Vtx>.
67 is static;
68
69
70 SetValue(me: in out; P: Pnt from gp;
71 W,Param: Real from Standard;
72 Tol: Real from Standard)
73 ---Purpose: Set the values for an extremity on curve.
74 is static;
75
76
77 Value(me)
78
79 ---Purpose: This method returns the value of the point in 3d space.
80
81 returns Pnt from gp
82 ---C++: inline
83 ---C++: return const&
84
85 is static;
86
87 SetTangent(me: in out; Tangent : Vec from gp)
88 ---Purpose: Set the tangent vector for an extremity on a
89 -- surface.
90 ---C++: inline
91 is static;
92
93 HasTangent(me)
94
95 ---Purpose: Returns TRUE if the Tangent is stored.
96
97 returns Boolean from Standard
98 ---C++: inline
99
100 is static;
101
102 Tangent(me)
103
104 ---Purpose: This method returns the value of tangent in 3d
105 -- space.
106
107 returns Vec from gp
108 ---C++: inline
109 ---C++: return const&
110
111 is static;
112
113 Tolerance(me)
114
115 ---Purpose: This method returns the fuzziness on the point
116 -- in 3d space.
117
118 returns Real from Standard
119 ---C++: inline
120
121 is static;
122
123
124
125-- methods for an extremity on a surface
126
127 SetVertex(me: in out; V: TheVertex)
128 ---Purpose: Set the values for an extremity on a curve.
129 is static;
130
131
132 AddArc(me: in out; A: TheArc; Param: Real from Standard;
133 TLine, TArc: Transition from IntSurf)
134
135 ---Purpose: Sets the values of a point which is on the arc
136 -- A, at parameter Param.
137
138
139 is static;
140
141
142 Parameters(me; U,V: out Real from Standard)
143
144 ---Purpose: This method returns the parameters of the point
145 -- on the concerned surface.
146
147 ---C++: inline
148 is static;
149
150
151 IsVertex(me)
152
153 ---Purpose: Returns Standard_True when the point coincide with
154 -- an existing vertex.
155
156 returns Boolean from Standard
157 ---C++: inline
158
159 is static;
160
161
162 Vertex(me)
163
164 ---Purpose: Returns the vertex when IsVertex returns Standard_True.
165
166 returns any TheVertex
167 ---C++: inline
168 ---C++: return const&
169
170 raises DomainError from Standard
171 --- The exception is raised when IsVertex returns Standard_False
172 is static;
173
174
175 NbPointOnRst(me)
176
177 ---Purpose: Returns the number of arc containing the extremity.
178 -- If the method returns 0, the point is inside the
179 -- surface.
180 -- Otherwise, the extremity lies on at least 1 arc,
181 -- and all the information (arc, parameter, transitions)
182 -- are given by the point on restriction (PointOnRst)
183 -- returned by the next method.
184
185 returns Integer from Standard
186 ---C++: inline
187
188 is static;
189
190
191 PointOnRst(me; Index: Integer from Standard)
192
193 ---Purpose:
194
195 returns any ThePointOnRst
196 ---C++: inline
197 ---C++: return const&
198
199 raises OutOfRange from Standard
200 --- The exception is raised when Index <=0 or Index > NbPointOnRst
201 is static;
202
203
204-- method for an extremity on a curve
205
206 Parameter(me)
207
208 returns Real from Standard
209 ---C++: inline
210 is static;
211
212-- method for the parameter on the guide
213 ParameterOnGuide(me)
214
215 returns Real from Standard
216 ---C++: inline
217 is static;
218
219fields
220 vtx : TheVertex;
221 seqpt : TheSequenceOfPointOnRst;
222 pt : Pnt from gp;
223 tang : Vec from gp;
224 param : Real from Standard;
225 u : Real from Standard;
226 v : Real from Standard;
227 tol : Real from Standard;
228 isvtx : Boolean from Standard;
229 hastang: Boolean from Standard;
230
231end Extremity;
232
233