Commit | Line | Data |
---|---|---|
0d88155b O |
1 | -- File: BRepMesh_Edge.cdl |
2 | -- Created: Wed Sep 22 18:07:31 1993 | |
3 | -- Author: Didier PIFFAULT | |
4 | -- <dpf@zerox> | |
5 | ---Copyright: Matra Datavision 1993 | |
7fd59977 | 6 | |
7 | ||
8 | class Edge from BRepMesh | |
9 | ||
0d88155b | 10 | ---Purpose: |
7fd59977 | 11 | |
12 | ||
13 | uses Boolean from Standard, | |
0d88155b O |
14 | Integer from Standard, |
15 | DegreeOfFreedom from BRepMesh | |
7fd59977 | 16 | |
17 | ||
0d88155b O |
18 | is Create (vDebut : Integer from Standard; |
19 | vFin : Integer from Standard; | |
20 | canMove : DegreeOfFreedom from BRepMesh) | |
21 | ---Purpose: Contructs a link beetween to vertices. | |
22 | returns Edge from BRepMesh; | |
7fd59977 | 23 | |
24 | ||
0d88155b O |
25 | FirstNode (me) |
26 | ---Purpose: Give the index of first node of the Link. | |
27 | ---C++: inline | |
28 | returns Integer from Standard | |
29 | is static; | |
7fd59977 | 30 | |
31 | ||
0d88155b O |
32 | LastNode (me) |
33 | ---Purpose: Give the index of Last node of the Link. | |
34 | ---C++: inline | |
35 | returns Integer from Standard | |
36 | is static; | |
7fd59977 | 37 | |
38 | ||
0d88155b O |
39 | Movability (me) |
40 | ---C++: inline | |
41 | returns DegreeOfFreedom from BRepMesh | |
42 | is static; | |
7fd59977 | 43 | |
44 | ||
0d88155b O |
45 | SetMovability (me : in out; |
46 | Move : DegreeOfFreedom from BRepMesh) | |
47 | is static; | |
7fd59977 | 48 | |
0d88155b O |
49 | HashCode (me; |
50 | Upper : Integer from Standard) | |
51 | returns Integer from Standard | |
52 | ---C++: function call | |
53 | is static; | |
7fd59977 | 54 | |
55 | ||
0d88155b O |
56 | SameOrientation(me; Other : Edge from BRepMesh) |
57 | returns Boolean from Standard | |
58 | is static; | |
7fd59977 | 59 | |
60 | ||
0d88155b O |
61 | IsEqual (me; Other : Edge from BRepMesh) |
62 | returns Boolean from Standard | |
63 | ---C++: alias operator == | |
64 | is static; | |
7fd59977 | 65 | |
66 | ||
0d88155b O |
67 | fields myFirstNode : Integer from Standard; |
68 | myLastNode : Integer from Standard; | |
69 | myMovability : DegreeOfFreedom from BRepMesh; | |
7fd59977 | 70 | |
0d88155b | 71 | end Edge; |