1 -- Created on: 1993-03-04
2 -- Created by: Jacques GOUSSARD
3 -- Copyright (c) 1993-1999 Matra Datavision
4 -- Copyright (c) 1999-2014 OPEN CASCADE SAS
6 -- This file is part of Open CASCADE Technology software library.
8 -- This library is free software; you can redistribute it and / or modify it
9 -- under the terms of the GNU Lesser General Public version 2.1 as published
10 -- by the Free Software Foundation, with special exception defined in the file
11 -- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12 -- distribution for complete text of the license and disclaimer of any warranty.
14 -- Alternatively, this file may be used under the terms of Open CASCADE
15 -- commercial license or contractual agreement.
17 generic class Point from Contap
22 ---Purpose: Definition of a vertex on the contour line.
23 -- Most of the time, such a point is an intersection
24 -- between the contour and a restriction of the surface.
25 -- When it is not tyhe method IsOnArc return False.
26 -- Such a point is contains geometrical informations (see
27 -- the Value method) and logical informations.
31 Transition from IntSurf
34 raises DomainError from Standard
41 ---Purpose: Empty constructor.
43 returns Point from Contap;
46 Create(Pt: Pnt from gp; U,V: Real from Standard)
48 ---Purpose: Creates a point.
50 returns Point from Contap;
53 SetValue(me: in out; Pt: Pnt from gp; U,V: Real from Standard)
55 ---Purpose: Sets the values for a point.
62 SetParameter(me: in out; Para: Real from Standard)
64 ---Purpose: Set the value of the parameter on the intersection line.
71 SetVertex(me: in out; V: TheVertex)
73 ---Purpose: Sets the values of a point which is a vertex on
74 -- the initial facet of restriction of one
82 SetArc(me: in out; A: TheArc; Param: Real from Standard;
83 TLine,TArc: Transition from IntSurf)
85 ---Purpose: Sets the value of the arc and of the parameter on
86 -- this arc of the point.
93 SetMultiple(me: in out)
100 SetInternal(me : in out)
106 ---Purpose: Returns the intersection point (geometric information).
109 ---C++: return const&
117 ---Purpose: This method returns the parameter of the point
118 -- on the intersection line.
119 -- If the points does not belong to an intersection line,
120 -- the value returned does not have any sens.
122 returns Real from Standard
129 Parameters(me; U1,V1: out Real from Standard)
131 ---Purpose: Returns the parameters on the surface of the point.
140 ---Purpose: Returns True when the point is an intersection between
141 -- the contour and a restriction.
143 returns Boolean from Standard
151 ---Purpose: Returns the arc of restriction containing the
155 ---C++: return const&
158 raises DomainError from Standard
159 --- The exception DomianError is raised when IsOnArc
160 -- returns Standard_False.
166 ---Purpose: Returns the parameter of the point on the
167 -- arc returned by the method Arc().
169 returns Real from Standard
172 raises DomainError from Standard
173 --- The exception DomianError is raised when IsOnArc
174 -- returns Standard_False.
180 ---Purpose: Returns the transition of the point on the contour.
182 returns Transition from IntSurf
184 ---C++: return const&
186 raises DomainError from Standard
187 --- The exception DomianError is raised when IsOnArc
188 -- returns Standard_False.
194 ---Purpose: Returns the transition of the point on the arc.
196 returns Transition from IntSurf
198 ---C++: return const&
200 raises DomainError from Standard
201 --- The exception DomianError is raised when IsOnArc
202 -- returns Standard_False.
208 ---Purpose: Returns TRUE if the point is a vertex on the initial
209 -- restriction facet of the surface.
211 returns Boolean from Standard
219 ---Purpose: Returns the information about the point when it is
220 -- on the domain of the patch, i-e when the function
221 -- IsVertex returns True.
222 -- Otherwise, an exception is raised.
224 returns any TheVertex
225 ---C++: return const&
228 raises DomainError from Standard
235 ---Purpose: Returns True if the point belongs to several
238 returns Boolean from Standard
245 ---Purpose: Returns True if the point is an internal one, i.e
246 -- if the tangent to the line on the point and the
247 -- eye direction are parallel.
249 returns Boolean from Standard
258 uparam : Real from Standard;
259 vparam : Real from Standard;
260 paraline : Real from Standard;
261 onarc : Boolean from Standard;
263 traline : Transition from IntSurf;
264 traarc : Transition from IntSurf;
265 prmarc : Real from Standard;
266 isvtx : Boolean from Standard;
268 ismult : Boolean from Standard;
269 myInternal : Boolean from Standard;