Salome HOME
NRI : First integration.
[modules/smesh.git] / src / SMDS / SMDS_MeshNode.cdl
1 -- File:        SMDS_MeshNode.cdl
2 -- Created:     Wed Jan 23 16:15:04 2002
3 -- Author:      Jean-Michel BOULCOURT
4 --              <jmb@coulox.paris1.matra-dtv.fr>
5 ---Copyright:    Matra Datavision 2002
6
7
8 class MeshNode from SMDS inherits MeshElement from SMDS
9
10         ---Purpose: 
11 uses
12   Pnt from gp,
13   MeshEdge from SMDS,
14   MeshFace from SMDS,
15   MeshVolume from SMDS,
16   ListOfMeshElement from SMDS,
17   Position from SMDS
18
19 is
20
21     Create (ID: Integer; x, y, z : Real) returns mutable MeshNode;
22     
23     Print(me; OS: in out OStream) is redefined static;    
24
25     GetKey(me) returns Integer is redefined static;    
26     ---C++: inline
27
28     X(me) returns Real;
29     ---C++: inline
30
31     Y(me) returns Real;
32     ---C++: inline
33
34     Z(me) returns Real;
35     ---C++: inline
36
37     Pnt(me) returns Pnt from gp;
38     ---C++: inline
39
40     SetPnt(me: mutable;P: Pnt from gp);
41     ---C++: inline
42
43     AddInverseElement(me:mutable; ME: MeshElement from SMDS) is redefined static;
44         ---C++: inline
45
46     RemoveInverseElement(me:mutable; parent: MeshElement from SMDS);
47
48     InverseElements(me) returns ListOfMeshElement is redefined static;
49     ---C++: return const &
50     ---C++: inline
51
52     ClearInverseElements(me: mutable) is redefined static;
53     ---C++: inline
54
55     SetPosition(me: mutable; aPos: Position from SMDS);
56
57     GetPosition(me) returns Position from SMDS;
58
59 fields
60     myPnt : Pnt from gp;
61     myInverseElements : ListOfMeshElement from SMDS;   
62     myPosition : Position from SMDS;
63     
64 end MeshNode;