1 -- Copyright (C) 2007-2010 CEA/DEN, EDF R&D, OPEN CASCADE
3 -- Copyright (C) 2003-2007 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.salome-platform.org/ or email : webmaster.salome@opencascade.com
23 -- File: NMTDS_ShapesDataStructure.cdl
24 -- Created: Mon Dec 1 10:17:05 2003
25 -- Author: Peter KURNEV
27 class ShapesDataStructure from NMTDS
28 inherits ShapesDataStructure from BooleanOperations
34 IndexedMapOfInteger from TColStd,
36 IndexedDataMapOfShapeAncestorsSuccessors from BooleanOperations,
37 CArray1OfIndexRange from NMTDS,
38 IndexedDataMapOfIntegerIndexedDataMapOfShapeInteger from NMTDS
43 returns ShapesDataStructure from NMTDS;
45 SetCompositeShape(me:out;
46 aS:Shape from TopoDS);
51 returns CArray1OfIndexRange from NMTDS;
52 ---C++: return const &
55 returns Shape from TopoDS;
56 ---C++: return const &
59 aId:Integer from Standard)
60 returns Integer from Standard;
63 anIndex:Integer from Standard)
64 returns Integer from Standard
69 iRank:Integer from Standard)
70 returns Integer from Standard
73 -- Modified to Add new methods Thu Sep 14 14:35:18 2006
74 -- Contribution of Samtech www.samcef.com BEGIN
76 aS :Shape from TopoDS;
77 aMSA: out IndexedDataMapOfShapeAncestorsSuccessors from BooleanOperations;
78 aMS : out IndexedDataMapOfShapeAncestorsSuccessors from BooleanOperations);
81 aS :Shape from TopoDS;
82 aMSA:out IndexedDataMapOfShapeAncestorsSuccessors from BooleanOperations;
83 aMS :out IndexedDataMapOfShapeAncestorsSuccessors from BooleanOperations);
84 -- Contribution of Samtech www.samcef.com END
87 anIndex:Integer from Standard;
88 aScrs :out IndexedMapOfInteger from TColStd);
91 anIndex:Integer from Standard;
92 aBox:out Box from Bnd);
95 myCompositeShape: Shape from TopoDS is protected;
96 myRanges : CArray1OfIndexRange from NMTDS is protected;
97 myShapeIndexMap : IndexedDataMapOfIntegerIndexedDataMapOfShapeInteger from NMTDS is protected;
99 end ShapesDataStructure;