Salome HOME
d606c6c1d970f488a0074c0f72bf2f44a51ac59a
[modules/smesh.git] / src / SMDS / SMDS_EdgePosition.cdl
1 -- File:        SMDS_EdgePosition.cdl
2 -- Created:     Mon May 13 14:44:40 2002
3 -- Author:      Jean-Michel BOULCOURT
4 --              <jmb@localhost.localdomain>
5 ---Copyright:    Matra Datavision 2002
6
7
8 class EdgePosition from SMDS inherits Position from SMDS
9
10         ---Purpose: used to characterize a MeshNode with a CAD edge
11
12 uses
13     Pnt from gp
14
15 is
16
17     Create returns mutable EdgePosition;
18     ---Purpose: empty constructor. the edge is not set
19
20     Create(aEdgeId : Integer; aUParam : Real) returns mutable EdgePosition;
21
22     Coords(me) returns Pnt from gp is redefined virtual;
23     ---Purpose: returns the resulting 3d point to be set
24     --          in the MeshNode instance
25     
26     SetUParameter(me: mutable; aUparam : Real);
27     ---C++: inline
28
29     GetUParameter(me) returns Real;
30     ---C++: inline
31     
32 fields
33
34     myUParameter : Real;
35     
36 end EdgePosition;