0024171: Eliminate CLang compiler warning -Wreorder
[occt.git] / src / BRepMesh / BRepMesh_Edge.cdl
1 -- Created on: 1993-09-22
2 -- Created by: Didier PIFFAULT
3 -- Copyright (c) 1993-1999 Matra Datavision
4 -- Copyright (c) 1999-2012 OPEN CASCADE SAS
5 --
6 -- The content of this file is subject to the Open CASCADE Technology Public
7 -- License Version 6.5 (the "License"). You may not use the content of this file
8 -- except in compliance with the License. Please obtain a copy of the License
9 -- at http://www.opencascade.org and read it completely before using this file.
10 --
11 -- The Initial Developer of the Original Code is Open CASCADE S.A.S., having its
12 -- main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France.
13 --
14 -- The Original Code and all software distributed under the License is
15 -- distributed on an "AS IS" basis, without warranty of any kind, and the
16 -- Initial Developer hereby disclaims all such warranties, including without
17 -- limitation, any warranties of merchantability, fitness for a particular
18 -- purpose or non-infringement. Please see the License for the specific terms
19 -- and conditions governing the rights and limitations under the License.
20
21
22
23 class Edge from BRepMesh 
24
25   ---Purpose: 
26
27
28 uses    Boolean from Standard,
29         Integer from Standard,
30         DegreeOfFreedom from BRepMesh
31
32
33 is            Create
34               returns Edge from BRepMesh;
35                   ---C++: inline
36                   
37               Create       (vDebut    : Integer from Standard;
38                             vFin      : Integer from Standard;
39                             canMove   : DegreeOfFreedom from BRepMesh)
40               ---Purpose: Contructs a link beetween to vertices.
41               returns Edge from BRepMesh;
42
43
44             FirstNode      (me)
45               ---Purpose: Give the index of first node of the Link.
46               ---C++: inline
47               returns Integer from Standard
48               is static;
49
50
51             LastNode       (me)
52               ---Purpose: Give the index of Last node of the Link.
53               ---C++: inline
54               returns Integer from Standard
55               is static;
56
57
58             Movability     (me)
59               ---C++: inline
60               returns DegreeOfFreedom from BRepMesh
61               is static;
62
63
64             SetMovability  (me   : in out;
65                             Move : DegreeOfFreedom from BRepMesh)
66               is static;
67
68        HashCode       (me;
69                        Upper : Integer from Standard)
70           returns Integer from Standard
71           ---C++: function call
72           is static;
73
74
75         SameOrientation(me; Other : Edge from BRepMesh)
76           returns Boolean from Standard
77           is static;
78
79
80         IsEqual        (me; Other : Edge from BRepMesh)
81           returns Boolean from Standard
82           ---C++: alias operator ==
83           is static;
84
85
86         fields  myFirstNode  : Integer from Standard;
87                 myLastNode   : Integer from Standard;
88                 myMovability : DegreeOfFreedom from BRepMesh;
89
90         end Edge;