1 -- SMESH SMESHDS : management of mesh data and SMESH document
3 -- Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 -- CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
6 -- This library is free software; you can redistribute it and/or
7 -- modify it under the terms of the GNU Lesser General Public
8 -- License as published by the Free Software Foundation; either
9 -- version 2.1 of the License.
11 -- This library is distributed in the hope that it will be useful,
12 -- but WITHOUT ANY WARRANTY; without even the implied warranty of
13 -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 -- Lesser General Public License for more details.
16 -- You should have received a copy of the GNU Lesser General Public
17 -- License along with this library; if not, write to the Free Software
18 -- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 -- See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org
24 -- File : SMESHDS_SubMesh.cdl
25 -- Author : Yves FRICAUD, OCC
28 class SubMesh from SMESHDS inherits TShared from MMgt
32 MeshElement from SMDS,
34 ListOfInteger from TColStd,
35 MapOfMeshElement from SMDS
39 Create (M : Mesh from SMDS) returns mutable SubMesh from SMESHDS;
43 AddElement (me : mutable; ME : MeshElement from SMDS);
45 RemoveElement (me: mutable; ME : MeshElement from SMDS);
47 AddNode (me : mutable; ME : MeshNode from SMDS);
49 RemoveNode (me: mutable; ME : MeshNode from SMDS);
54 NbElements (me: mutable) returns Integer from Standard;
56 GetElements (me: mutable ) returns MapOfMeshElement from SMDS;
57 ---C++ : return const &
59 GetIDElements (me: mutable) returns ListOfInteger from TColStd;
60 ---C++ : return const &
62 NbNodes (me: mutable) returns Integer from Standard;
64 GetNodes (me: mutable ) returns MapOfMeshElement from SMDS;
65 ---C++ : return const &
67 GetIDNodes (me: mutable) returns ListOfInteger from TColStd;
68 ---C++ : return const &
72 myMesh : Mesh from SMDS;
73 myElements : MapOfMeshElement from SMDS;
74 myNodes : MapOfMeshElement from SMDS;
76 myListOfEltIDIsUpdate : Boolean from Standard;
77 myListOfEltID : ListOfInteger from TColStd;
79 myListOfNodeIDIsUpdate : Boolean from Standard;
80 myListOfNodeID : ListOfInteger from TColStd;