| 1 | -- Created on: 1994-03-25 |
| 2 | -- Created by: model |
| 3 | -- Copyright (c) 1994-1999 Matra Datavision |
| 4 | -- Copyright (c) 1999-2014 OPEN CASCADE SAS |
| 5 | -- |
| 6 | -- This file is part of Open CASCADE Technology software library. |
| 7 | -- |
| 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. |
| 13 | -- |
| 14 | -- Alternatively, this file may be used under the terms of Open CASCADE |
| 15 | -- commercial license or contractual agreement. |
| 16 | |
| 17 | class HVertex from Adaptor3d |
| 18 | |
| 19 | ---Purpose: |
| 20 | |
| 21 | |
| 22 | inherits TShared from MMgt |
| 23 | |
| 24 | uses Pnt2d from gp, |
| 25 | Orientation from TopAbs, |
| 26 | HCurve2d from Adaptor2d |
| 27 | |
| 28 | is |
| 29 | |
| 30 | Create |
| 31 | |
| 32 | returns mutable HVertex from Adaptor3d; |
| 33 | |
| 34 | |
| 35 | Create(P: Pnt2d from gp; Ori: Orientation from TopAbs; |
| 36 | Resolution: Real from Standard) |
| 37 | |
| 38 | returns mutable HVertex from Adaptor3d; |
| 39 | |
| 40 | |
| 41 | Value(me: mutable) |
| 42 | |
| 43 | returns Pnt2d from gp |
| 44 | is virtual; |
| 45 | |
| 46 | |
| 47 | Parameter(me: mutable; C: HCurve2d from Adaptor2d) |
| 48 | |
| 49 | returns Real from Standard |
| 50 | is virtual; |
| 51 | |
| 52 | |
| 53 | Resolution(me: mutable; C: HCurve2d from Adaptor2d) |
| 54 | |
| 55 | ---Purpose: Parametric resolution (2d). |
| 56 | |
| 57 | returns Real from Standard |
| 58 | is virtual; |
| 59 | |
| 60 | |
| 61 | Orientation(me: mutable) |
| 62 | |
| 63 | returns Orientation from TopAbs |
| 64 | is virtual; |
| 65 | |
| 66 | |
| 67 | IsSame(me: mutable; Other: mutable like me) |
| 68 | |
| 69 | returns Boolean from Standard |
| 70 | is virtual; |
| 71 | |
| 72 | |
| 73 | fields |
| 74 | |
| 75 | myPnt : Pnt2d from gp; |
| 76 | myTol : Real from Standard; |
| 77 | myOri : Orientation from TopAbs; |
| 78 | |
| 79 | end HVertex; |