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