1 -- File: Contap_Point.cdl
2 -- Created: Thu Mar 4 17:22:45 1993
3 -- Author: Jacques GOUSSARD
4 ---Copyright: Matra Datavision 1993
6 generic class Point from Contap
11 ---Purpose: Definition of a vertex on the contour line.
12 -- Most of the time, such a point is an intersection
13 -- between the contour and a restriction of the surface.
14 -- When it is not tyhe method IsOnArc return False.
15 -- Such a point is contains geometrical informations (see
16 -- the Value method) and logical informations.
20 Transition from IntSurf
23 raises DomainError from Standard
30 ---Purpose: Empty constructor.
32 returns Point from Contap;
35 Create(Pt: Pnt from gp; U,V: Real from Standard)
37 ---Purpose: Creates a point.
39 returns Point from Contap;
42 SetValue(me: in out; Pt: Pnt from gp; U,V: Real from Standard)
44 ---Purpose: Sets the values for a point.
51 SetParameter(me: in out; Para: Real from Standard)
53 ---Purpose: Set the value of the parameter on the intersection line.
60 SetVertex(me: in out; V: TheVertex)
62 ---Purpose: Sets the values of a point which is a vertex on
63 -- the initial facet of restriction of one
71 SetArc(me: in out; A: TheArc; Param: Real from Standard;
72 TLine,TArc: Transition from IntSurf)
74 ---Purpose: Sets the value of the arc and of the parameter on
75 -- this arc of the point.
82 SetMultiple(me: in out)
89 SetInternal(me : in out)
95 ---Purpose: Returns the intersection point (geometric information).
106 ---Purpose: This method returns the parameter of the point
107 -- on the intersection line.
108 -- If the points does not belong to an intersection line,
109 -- the value returned does not have any sens.
111 returns Real from Standard
118 Parameters(me; U1,V1: out Real from Standard)
120 ---Purpose: Returns the parameters on the surface of the point.
129 ---Purpose: Returns True when the point is an intersection between
130 -- the contour and a restriction.
132 returns Boolean from Standard
140 ---Purpose: Returns the arc of restriction containing the
144 ---C++: return const&
147 raises DomainError from Standard
148 --- The exception DomianError is raised when IsOnArc
149 -- returns Standard_False.
155 ---Purpose: Returns the parameter of the point on the
156 -- arc returned by the method Arc().
158 returns Real from Standard
161 raises DomainError from Standard
162 --- The exception DomianError is raised when IsOnArc
163 -- returns Standard_False.
169 ---Purpose: Returns the transition of the point on the contour.
171 returns Transition from IntSurf
173 ---C++: return const&
175 raises DomainError from Standard
176 --- The exception DomianError is raised when IsOnArc
177 -- returns Standard_False.
183 ---Purpose: Returns the transition of the point on the arc.
185 returns Transition from IntSurf
187 ---C++: return const&
189 raises DomainError from Standard
190 --- The exception DomianError is raised when IsOnArc
191 -- returns Standard_False.
197 ---Purpose: Returns TRUE if the point is a vertex on the initial
198 -- restriction facet of the surface.
200 returns Boolean from Standard
208 ---Purpose: Returns the information about the point when it is
209 -- on the domain of the patch, i-e when the function
210 -- IsVertex returns True.
211 -- Otherwise, an exception is raised.
213 returns any TheVertex
214 ---C++: return const&
217 raises DomainError from Standard
224 ---Purpose: Returns True if the point belongs to several
227 returns Boolean from Standard
234 ---Purpose: Returns True if the point is an internal one, i.e
235 -- if the tangent to the line on the point and the
236 -- eye direction are parallel.
238 returns Boolean from Standard
247 uparam : Real from Standard;
248 vparam : Real from Standard;
249 paraline : Real from Standard;
250 onarc : Boolean from Standard;
252 traline : Transition from IntSurf;
253 traarc : Transition from IntSurf;
254 prmarc : Real from Standard;
255 isvtx : Boolean from Standard;
257 ismult : Boolean from Standard;
258 myInternal : Boolean from Standard;