1 -- Created on: 1993-03-04
2 -- Created by: Jacques GOUSSARD
3 -- Copyright (c) 1993-1999 Matra Datavision
4 -- Copyright (c) 1999-2012 OPEN CASCADE SAS
6 -- The content of this file is subject to the Open CASCADE Technology Public
7 -- License Version 6.5 (the "License"). You may not use the content of this file
8 -- except in compliance with the License. Please obtain a copy of the License
9 -- at http://www.opencascade.org and read it completely before using this file.
11 -- The Initial Developer of the Original Code is Open CASCADE S.A.S., having its
12 -- main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France.
14 -- The Original Code and all software distributed under the License is
15 -- distributed on an "AS IS" basis, without warranty of any kind, and the
16 -- Initial Developer hereby disclaims all such warranties, including without
17 -- limitation, any warranties of merchantability, fitness for a particular
18 -- purpose or non-infringement. Please see the License for the specific terms
19 -- and conditions governing the rights and limitations under the License.
22 generic class Point from Contap
27 ---Purpose: Definition of a vertex on the contour line.
28 -- Most of the time, such a point is an intersection
29 -- between the contour and a restriction of the surface.
30 -- When it is not tyhe method IsOnArc return False.
31 -- Such a point is contains geometrical informations (see
32 -- the Value method) and logical informations.
36 Transition from IntSurf
39 raises DomainError from Standard
46 ---Purpose: Empty constructor.
48 returns Point from Contap;
51 Create(Pt: Pnt from gp; U,V: Real from Standard)
53 ---Purpose: Creates a point.
55 returns Point from Contap;
58 SetValue(me: in out; Pt: Pnt from gp; U,V: Real from Standard)
60 ---Purpose: Sets the values for a point.
67 SetParameter(me: in out; Para: Real from Standard)
69 ---Purpose: Set the value of the parameter on the intersection line.
76 SetVertex(me: in out; V: TheVertex)
78 ---Purpose: Sets the values of a point which is a vertex on
79 -- the initial facet of restriction of one
87 SetArc(me: in out; A: TheArc; Param: Real from Standard;
88 TLine,TArc: Transition from IntSurf)
90 ---Purpose: Sets the value of the arc and of the parameter on
91 -- this arc of the point.
98 SetMultiple(me: in out)
105 SetInternal(me : in out)
111 ---Purpose: Returns the intersection point (geometric information).
114 ---C++: return const&
122 ---Purpose: This method returns the parameter of the point
123 -- on the intersection line.
124 -- If the points does not belong to an intersection line,
125 -- the value returned does not have any sens.
127 returns Real from Standard
134 Parameters(me; U1,V1: out Real from Standard)
136 ---Purpose: Returns the parameters on the surface of the point.
145 ---Purpose: Returns True when the point is an intersection between
146 -- the contour and a restriction.
148 returns Boolean from Standard
156 ---Purpose: Returns the arc of restriction containing the
160 ---C++: return const&
163 raises DomainError from Standard
164 --- The exception DomianError is raised when IsOnArc
165 -- returns Standard_False.
171 ---Purpose: Returns the parameter of the point on the
172 -- arc returned by the method Arc().
174 returns Real from Standard
177 raises DomainError from Standard
178 --- The exception DomianError is raised when IsOnArc
179 -- returns Standard_False.
185 ---Purpose: Returns the transition of the point on the contour.
187 returns Transition from IntSurf
189 ---C++: return const&
191 raises DomainError from Standard
192 --- The exception DomianError is raised when IsOnArc
193 -- returns Standard_False.
199 ---Purpose: Returns the transition of the point on the arc.
201 returns Transition from IntSurf
203 ---C++: return const&
205 raises DomainError from Standard
206 --- The exception DomianError is raised when IsOnArc
207 -- returns Standard_False.
213 ---Purpose: Returns TRUE if the point is a vertex on the initial
214 -- restriction facet of the surface.
216 returns Boolean from Standard
224 ---Purpose: Returns the information about the point when it is
225 -- on the domain of the patch, i-e when the function
226 -- IsVertex returns True.
227 -- Otherwise, an exception is raised.
229 returns any TheVertex
230 ---C++: return const&
233 raises DomainError from Standard
240 ---Purpose: Returns True if the point belongs to several
243 returns Boolean from Standard
250 ---Purpose: Returns True if the point is an internal one, i.e
251 -- if the tangent to the line on the point and the
252 -- eye direction are parallel.
254 returns Boolean from Standard
263 uparam : Real from Standard;
264 vparam : Real from Standard;
265 paraline : Real from Standard;
266 onarc : Boolean from Standard;
268 traline : Transition from IntSurf;
269 traarc : Transition from IntSurf;
270 prmarc : Real from Standard;
271 isvtx : Boolean from Standard;
273 ismult : Boolean from Standard;
274 myInternal : Boolean from Standard;