1 -- Created on: 2012-12-06
2 -- Created by: Sergey KHROMOV
3 -- Copyright (c) 2004-2012 OPEN CASCADE SAS
5 -- The content of this file is subject to the Open CASCADE Technology Public
6 -- License Version 6.5 (the "License"). You may not use the content of this file
7 -- except in compliance with the License. Please obtain a copy of the License
8 -- at http://www.opencascade.org and read it completely before using this file.
10 -- The Initial Developer of the Original Code is Open CASCADE S.A.S., having its
11 -- main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France.
13 -- The Original Code and all software distributed under the License is
14 -- distributed on an "AS IS" basis, without warranty of any kind, and the
15 -- Initial Developer hereby disclaims all such warranties, including without
16 -- limitation, any warranties of merchantability, fitness for a particular
17 -- purpose or non-infringement. Please see the License for the specific terms
18 -- and conditions governing the rights and limitations under the License.
21 class POnSurfParams from Extrema inherits POnSurf from Extrema
22 ---Purpose: Data container for point on surface parameters. These parameters
23 -- are required to compute an initial approximation for extrema
29 ElementType from Extrema,
33 Create returns POnSurfParams;
34 ---Purpose: empty constructor
37 Create (theU, theV: Real from Standard; thePnt: Pnt from gp)
38 ---Purpose: Creation of a point on surface with parameter
39 -- values on the surface and a Pnt from gp.
41 returns POnSurfParams;
43 SetSqrDistance(me: in out; theSqrDistance: Real from Standard);
44 ---Purpose: Sets the square distance from this point to another one
45 -- (e.g. to the point to be projected).
49 ---Purpose: Query the square distance from this point to another one.
51 returns Real from Standard;
53 SetElementType(me: in out; theElementType: ElementType from Extrema);
54 ---Purpose: Sets the element type on which this point is situated.
58 ---Purpose: Query the element type on which this point is situated.
60 returns ElementType from Extrema;
62 SetIndices(me: in out; theIndexU: Integer from Standard;
63 theIndexV: Integer from Standard);
64 ---Purpose: Sets the U and V indices of an element that contains
68 GetIndices(me; theIndexU: out Integer from Standard;
69 theIndexV: out Integer from Standard);
70 ---Purpose: Query the U and V indices of an element that contains
76 mySqrDistance : Real from Standard;
77 myElementType : ElementType from Extrema;
78 myIndexU : Integer from Standard;
79 myIndexV : Integer from Standard;