1 -- File: SMDS_Position.cdl
2 -- Created: Mon May 13 13:40:18 2002
3 -- Author: Jean-Michel BOULCOURT
4 -- <jmb@localhost.localdomain>
5 ---Copyright: Matra Datavision 2002
8 deferred class Position from SMDS inherits TShared from MMgt
10 ---Purpose: abstract class to define the different positions
11 -- of a node related to the underlying geometry (CAD model)
15 TypeOfPosition from SMDS
19 Initialize(aShapeId: Integer;
20 aType: TypeOfPosition from SMDS = SMDS_TOP_UNSPEC)
21 returns mutable Position;
23 Coords(me) returns Pnt from gp is deferred;
24 ---Purpose: returns the resulting 3d point to be set
25 -- in the MeshNode instance
26 -- must be redefined by inherited classes
28 GetTypeOfPosition(me) returns TypeOfPosition from SMDS;
29 ---Purpose: returns the type of position
33 SetShapeId(me: mutable; aShapeId: Integer);
34 ---Purpose: Sets the ShapeId of the position
38 GetShapeId(me) returns Integer;
39 ---Purpose: Returns the ShapeId of the position
47 myType : TypeOfPosition from SMDS;