Salome HOME
This commit was generated by cvs2git to track changes on a CVS vendor
[modules/smesh.git] / src / SMDS / SMDS_SpacePosition.cdl
1 -- File:        SMDS_SpacePosition.cdl
2 -- Created:     Mon May 13 14:06:42 2002
3 -- Author:      Jean-Michel BOULCOURT
4 --              <jmb@localhost.localdomain>
5 ---Copyright:    Matra Datavision 2002
6
7
8 class SpacePosition from SMDS inherits Position from SMDS
9
10         ---Purpose: used to characterize a MeshNode with a 3D point
11         --          in space not related to any underlying geometry (CAD)
12
13 uses
14     Pnt from gp
15
16 is
17
18     Create returns mutable SpacePosition;
19     ---Purpose: empty constructor. the coords are not set
20
21     Create(x, y, z : Real) returns mutable SpacePosition;
22     
23     Create(aCoords : Pnt from gp) returns mutable SpacePosition;
24     
25     Coords(me) returns Pnt from gp is redefined virtual;
26     ---Purpose: returns the resulting 3d point to be set
27     --          in the MeshNode instance
28     
29     SetCoords(me: mutable; x, y, z : Real);
30     ---C++: inline
31     
32     SetCoords(me: mutable; aCoords : Pnt from gp);
33     ---C++: inline
34     
35 fields
36     myCoords : Pnt from gp;
37     
38 end SpacePosition;