0024428: Implementation of LGPL license
[occt.git] / src / BRepMesh / BRepMesh_Edge.cdl
CommitLineData
b311480e 1-- Created on: 1993-09-22
2-- Created by: Didier PIFFAULT
3-- Copyright (c) 1993-1999 Matra Datavision
973c2be1 4-- Copyright (c) 1999-2014 OPEN CASCADE SAS
b311480e 5--
973c2be1 6-- This file is part of Open CASCADE Technology software library.
b311480e 7--
973c2be1 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.
b311480e 13--
973c2be1 14-- Alternatively, this file may be used under the terms of Open CASCADE
15-- commercial license or contractual agreement.
7fd59977 16
17class Edge from BRepMesh
18
0d88155b 19 ---Purpose:
7fd59977 20
21
22uses Boolean from Standard,
0d88155b
O
23 Integer from Standard,
24 DegreeOfFreedom from BRepMesh
7fd59977 25
26
2e1a4dae 27is Create
28 returns Edge from BRepMesh;
29 ---C++: inline
30
31 Create (vDebut : Integer from Standard;
0d88155b
O
32 vFin : Integer from Standard;
33 canMove : DegreeOfFreedom from BRepMesh)
34 ---Purpose: Contructs a link beetween to vertices.
35 returns Edge from BRepMesh;
7fd59977 36
37
0d88155b
O
38 FirstNode (me)
39 ---Purpose: Give the index of first node of the Link.
40 ---C++: inline
41 returns Integer from Standard
42 is static;
7fd59977 43
44
0d88155b
O
45 LastNode (me)
46 ---Purpose: Give the index of Last node of the Link.
47 ---C++: inline
48 returns Integer from Standard
49 is static;
7fd59977 50
51
0d88155b
O
52 Movability (me)
53 ---C++: inline
54 returns DegreeOfFreedom from BRepMesh
55 is static;
7fd59977 56
57
0d88155b
O
58 SetMovability (me : in out;
59 Move : DegreeOfFreedom from BRepMesh)
60 is static;
7fd59977 61
0d88155b
O
62 HashCode (me;
63 Upper : Integer from Standard)
64 returns Integer from Standard
65 ---C++: function call
66 is static;
7fd59977 67
68
0d88155b
O
69 SameOrientation(me; Other : Edge from BRepMesh)
70 returns Boolean from Standard
71 is static;
7fd59977 72
73
0d88155b
O
74 IsEqual (me; Other : Edge from BRepMesh)
75 returns Boolean from Standard
76 ---C++: alias operator ==
77 is static;
7fd59977 78
79
0d88155b
O
80 fields myFirstNode : Integer from Standard;
81 myLastNode : Integer from Standard;
82 myMovability : DegreeOfFreedom from BRepMesh;
7fd59977 83
0d88155b 84 end Edge;