1 -- SMESH SMDS : implementaion of Salome mesh data structure
3 -- Copyright (C) 2003 OPEN CASCADE
5 -- This library is free software; you can redistribute it and/or
6 -- modify it under the terms of the GNU Lesser General Public
7 -- License as published by the Free Software Foundation; either
8 -- version 2.1 of the License.
10 -- This library is distributed in the hope that it will be useful,
11 -- but WITHOUT ANY WARRANTY; without even the implied warranty of
12 -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 -- Lesser General Public License for more details.
15 -- You should have received a copy of the GNU Lesser General Public
16 -- License along with this library; if not, write to the Free Software
17 -- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 -- See http://www.opencascade.org or email : webmaster@opencascade.org
23 -- File : SMDSEdit_Transform.cdl
24 -- Author : Jean-Michel BOULCOURT
27 class Transform from SMDSEdit
29 ---Purpose: tool to modify a Mesh or MeshElements by applying
34 ListOfMeshElement from SMDS,
38 Create (aMesh : Mesh from SMDS; aTrsf: Trsf from gp)
39 returns Transform from SMDSEdit;
40 ---Purpose: create a transform tool on a whole mesh
42 Create (aMesh : Mesh from SMDS; aListOfME : ListOfMeshElement from SMDS;
44 returns Transform from SMDSEdit;
45 ---Purpose: create a transform tool to be applied on a list of
46 -- meshelements from the mesh aMesh. MeshElements from the
47 -- list that do not belong to the mesh will not be treated
50 ---Purpose: Perform the current transformation on the Mesh or on
51 -- the list of meshelements if it is not empty
53 SetTrsf(me: in out; aTrsf: Trsf from gp);
54 ---Purpose: replace the field myTrsf by the one given in argument
55 -- This can be used to apply another transformation on a mesh
56 -- without creating another instance of SMDSEdit_Transform
58 GetTrsf(me) returns Trsf from gp;
59 ---Purpose: returns the stored Trsf
63 myMesh : Mesh from SMDS;
64 myTrsf : Trsf from gp;
65 myListOfME : ListOfMeshElement from SMDS;