1 -- Created on: 2012-12-06
2 -- Created by: Sergey KHROMOV
3 -- Copyright (c) 2004-2014 OPEN CASCADE SAS
5 -- This file is part of Open CASCADE Technology software library.
7 -- This library is free software; you can redistribute it and / or modify it
8 -- under the terms of the GNU Lesser General Public version 2.1 as published
9 -- by the Free Software Foundation, with special exception defined in the file
10 -- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
11 -- distribution for complete text of the license and disclaimer of any warranty.
13 -- Alternatively, this file may be used under the terms of Open CASCADE
14 -- commercial license or contractual agreement.
16 class POnSurfParams from Extrema inherits POnSurf from Extrema
17 ---Purpose: Data container for point on surface parameters. These parameters
18 -- are required to compute an initial approximation for extrema
24 ElementType from Extrema,
28 Create returns POnSurfParams;
29 ---Purpose: empty constructor
32 Create (theU, theV: Real from Standard; thePnt: Pnt from gp)
33 ---Purpose: Creation of a point on surface with parameter
34 -- values on the surface and a Pnt from gp.
36 returns POnSurfParams;
38 SetSqrDistance(me: in out; theSqrDistance: Real from Standard);
39 ---Purpose: Sets the square distance from this point to another one
40 -- (e.g. to the point to be projected).
44 ---Purpose: Query the square distance from this point to another one.
46 returns Real from Standard;
48 SetElementType(me: in out; theElementType: ElementType from Extrema);
49 ---Purpose: Sets the element type on which this point is situated.
53 ---Purpose: Query the element type on which this point is situated.
55 returns ElementType from Extrema;
57 SetIndices(me: in out; theIndexU: Integer from Standard;
58 theIndexV: Integer from Standard);
59 ---Purpose: Sets the U and V indices of an element that contains
63 GetIndices(me; theIndexU: out Integer from Standard;
64 theIndexV: out Integer from Standard);
65 ---Purpose: Query the U and V indices of an element that contains
71 mySqrDistance : Real from Standard;
72 myElementType : ElementType from Extrema;
73 myIndexU : Integer from Standard;
74 myIndexV : Integer from Standard;