| 1 | -- File: BRepMesh_Vertex.cdl |
| 2 | -- Created: Wed Sep 22 18:04:35 1993 |
| 3 | -- Author: Didier PIFFAULT |
| 4 | -- <dpf@zerox> |
| 5 | ---Copyright: Matra Datavision 1993 |
| 6 | |
| 7 | |
| 8 | class Vertex from BRepMesh |
| 9 | |
| 10 | ---Purpose: |
| 11 | |
| 12 | |
| 13 | uses Boolean from Standard, |
| 14 | Integer from Standard, |
| 15 | Real from Standard, |
| 16 | XY from gp, |
| 17 | DegreeOfFreedom from MeshDS |
| 18 | |
| 19 | |
| 20 | is Create returns Vertex from BRepMesh; |
| 21 | |
| 22 | Create (UV : in XY from gp; |
| 23 | Locat3d : in Integer from Standard; |
| 24 | Move : in DegreeOfFreedom from MeshDS) |
| 25 | returns Vertex from BRepMesh; |
| 26 | |
| 27 | |
| 28 | Create (U, V : Real from Standard; |
| 29 | Move : in DegreeOfFreedom from MeshDS) |
| 30 | ---Purpose: For MeshAlgo. |
| 31 | returns Vertex from BRepMesh; |
| 32 | |
| 33 | |
| 34 | Initialize (me : in out; |
| 35 | UV : in XY from gp; |
| 36 | Locat3d : in Integer from Standard; |
| 37 | Move : in DegreeOfFreedom from MeshDS) |
| 38 | is static; |
| 39 | |
| 40 | |
| 41 | Coord (me) |
| 42 | returns XY from gp |
| 43 | ---C++: return const & |
| 44 | ---C++: inline |
| 45 | is static; |
| 46 | |
| 47 | |
| 48 | Location3d (me) |
| 49 | returns Integer from Standard |
| 50 | ---C++: inline |
| 51 | is static; |
| 52 | |
| 53 | |
| 54 | Movability (me) |
| 55 | returns DegreeOfFreedom from MeshDS |
| 56 | ---C++: inline |
| 57 | is static; |
| 58 | |
| 59 | SetMovability (me : in out; |
| 60 | Move : DegreeOfFreedom from MeshDS) |
| 61 | is static; |
| 62 | |
| 63 | |
| 64 | HashCode (me; |
| 65 | Upper : Integer from Standard) |
| 66 | returns Integer from Standard |
| 67 | ---C++: function call |
| 68 | is static; |
| 69 | |
| 70 | |
| 71 | IsEqual (me; Other : Vertex from BRepMesh) |
| 72 | returns Boolean from Standard |
| 73 | ---C++: alias operator == |
| 74 | is static; |
| 75 | |
| 76 | |
| 77 | fields myUV : XY from gp; |
| 78 | myLocation : Integer from Standard; |
| 79 | myMovability : DegreeOfFreedom from MeshDS; |
| 80 | |
| 81 | end Vertex; |