1 -- File: SMDSEdit_Transform.cdl
2 -- Created: Wed May 15 21:45:47 2002
3 -- Author: Jean-Michel BOULCOURT
4 -- <jmb@localhost.localdomain>
5 ---Copyright: Matra Datavision 2002
8 class Transform from SMDSEdit
10 ---Purpose: tool to modify a Mesh or MeshElements by applying
15 ListOfMeshElement from SMDS,
19 Create (aMesh : Mesh from SMDS; aTrsf: Trsf from gp)
20 returns Transform from SMDSEdit;
21 ---Purpose: create a transform tool on a whole mesh
23 Create (aMesh : Mesh from SMDS; aListOfME : ListOfMeshElement from SMDS;
25 returns Transform from SMDSEdit;
26 ---Purpose: create a transform tool to be applied on a list of
27 -- meshelements from the mesh aMesh. MeshElements from the
28 -- list that do not belong to the mesh will not be treated
31 ---Purpose: Perform the current transformation on the Mesh or on
32 -- the list of meshelements if it is not empty
34 SetTrsf(me: in out; aTrsf: Trsf from gp);
35 ---Purpose: replace the field myTrsf by the one given in argument
36 -- This can be used to apply another transformation on a mesh
37 -- without creating another instance of SMDSEdit_Transform
39 GetTrsf(me) returns Trsf from gp;
40 ---Purpose: returns the stored Trsf
44 myMesh : Mesh from SMDS;
45 myTrsf : Trsf from gp;
46 myListOfME : ListOfMeshElement from SMDS;