b311480e |
1 | -- Created on: 1993-04-30 |
2 | -- Created by: Yves FRICAUD |
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 | -- |
d5f74e42 |
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 |
973c2be1 |
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 | |
17 | class BasicElt from MAT |
18 | |
19 | ---Purpose: A BasicELt is associated to each elemtary |
20 | -- constituant of the figure. |
21 | |
22 | inherits |
23 | |
24 | TShared from MMgt |
25 | |
26 | uses |
27 | Arc from MAT, |
28 | Side from MAT, |
29 | Address from Standard |
30 | is |
31 | |
32 | Create (anInteger : Integer) |
33 | --- Purpose : Constructor, <anInteger> is the <index> of <me>. |
6e33d3ce |
34 | returns BasicElt from MAT; |
7fd59977 |
35 | |
36 | StartArc(me) |
37 | --- Purpose : Return <startArcLeft> or <startArcRight> corresponding |
38 | -- to <aSide>. |
39 | returns Arc is static; |
40 | |
41 | EndArc(me) |
42 | --- Purpose : Return <endArcLeft> or <endArcRight> corresponding |
43 | -- to <aSide>. |
44 | returns Arc is static; |
45 | |
46 | Index (me) |
47 | --- Purpose : Return the <index> of <me> in Graph.TheBasicElts. |
48 | returns Integer is static; |
49 | |
50 | GeomIndex(me) |
51 | --- Purpose : Return the <GeomIndex> of <me>. |
52 | returns Integer is static; |
53 | |
54 | SetStartArc (me : mutable ; anArc : Arc) |
55 | is static; |
56 | |
57 | SetEndArc (me : mutable ; anArc : Arc) |
58 | is static; |
59 | |
60 | SetIndex (me : mutable ; anInteger : Integer) |
61 | is static; |
62 | |
63 | SetGeomIndex(me : mutable ; anInteger : Integer) |
64 | is static; |
65 | |
66 | fields |
67 | startLeftArc : Address from Standard; |
68 | endLeftArc : Address from Standard; |
69 | index : Integer; |
70 | geomIndex : Integer; |
71 | |
72 | end BasicElt; |
73 | |
74 | |
75 | |
76 | |
77 | |
78 | |