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
8 class SpacePosition from SMDS inherits Position from SMDS
10 ---Purpose: used to characterize a MeshNode with a 3D point
11 -- in space not related to any underlying geometry (CAD)
18 Create returns mutable SpacePosition;
19 ---Purpose: empty constructor. the coords are not set
21 Create(x, y, z : Real) returns mutable SpacePosition;
23 Create(aCoords : Pnt from gp) returns mutable SpacePosition;
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
29 SetCoords(me: mutable; x, y, z : Real);
32 SetCoords(me: mutable; aCoords : Pnt from gp);
36 myCoords : Pnt from gp;