| 1 | -- Created on: 1993-09-22 |
| 2 | -- Created by: Didier PIFFAULT |
| 3 | -- Copyright (c) 1993-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 under |
| 9 | -- the terms of the GNU Lesser General Public License 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 Vertex from BRepMesh |
| 18 | |
| 19 | ---Purpose: |
| 20 | |
| 21 | |
| 22 | uses Boolean from Standard, |
| 23 | Integer from Standard, |
| 24 | Real from Standard, |
| 25 | XY from gp, |
| 26 | DegreeOfFreedom from BRepMesh |
| 27 | |
| 28 | |
| 29 | is Create returns Vertex from BRepMesh; |
| 30 | |
| 31 | Create (UV : in XY from gp; |
| 32 | Locat3d : in Integer from Standard; |
| 33 | Move : in DegreeOfFreedom from BRepMesh) |
| 34 | returns Vertex from BRepMesh; |
| 35 | |
| 36 | |
| 37 | Create (U, V : Real from Standard; |
| 38 | Move : in DegreeOfFreedom from BRepMesh) |
| 39 | returns Vertex from BRepMesh; |
| 40 | |
| 41 | |
| 42 | Initialize (me : in out; |
| 43 | UV : in XY from gp; |
| 44 | Locat3d : in Integer from Standard; |
| 45 | Move : in DegreeOfFreedom from BRepMesh) |
| 46 | is static; |
| 47 | |
| 48 | |
| 49 | Coord (me) |
| 50 | returns XY from gp |
| 51 | ---C++: return const & |
| 52 | ---C++: inline |
| 53 | is static; |
| 54 | |
| 55 | |
| 56 | Location3d (me) |
| 57 | returns Integer from Standard |
| 58 | ---C++: inline |
| 59 | is static; |
| 60 | |
| 61 | |
| 62 | Movability (me) |
| 63 | returns DegreeOfFreedom from BRepMesh |
| 64 | ---C++: inline |
| 65 | is static; |
| 66 | |
| 67 | SetMovability (me : in out; |
| 68 | Move : DegreeOfFreedom from BRepMesh) |
| 69 | is static; |
| 70 | |
| 71 | |
| 72 | HashCode (me; |
| 73 | Upper : Integer from Standard) |
| 74 | returns Integer from Standard |
| 75 | ---C++: function call |
| 76 | is static; |
| 77 | |
| 78 | |
| 79 | IsEqual (me; Other : Vertex from BRepMesh) |
| 80 | returns Boolean from Standard |
| 81 | ---C++: alias operator == |
| 82 | is static; |
| 83 | |
| 84 | |
| 85 | fields myUV : XY from gp; |
| 86 | myLocation : Integer from Standard; |
| 87 | myMovability : DegreeOfFreedom from BRepMesh; |
| 88 | |
| 89 | end Vertex; |