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: GEOMAlgo_Splitter.cdl
25 -- Author: Peter KURNEV
27 class Splitter from GEOMAlgo
28 inherits Builder from GEOMAlgo
30 ---Purpose: Implementation of Gluing Operation Algorithm (GA)
34 ShapeEnum from TopAbs,
36 ListOfShape from TopTools,
37 MapOfShape from TopTools
44 ---Purpose: Empty constructor
45 returns Splitter from GEOMAlgo;
46 ---C++: alias "Standard_EXPORT virtual ~GEOMAlgo_Splitter();"
49 ---Purpose: Clears internal fields and arguments
53 theShape: Shape from TopoDS)
54 ---Purpose: Adds Tool argument theShape of the operation
58 ---Purpose: Returns the arguments of the operation
59 returns ListOfShape from TopTools;
60 ---C++: return const &
63 aLimit:ShapeEnum from TopAbs);
66 returns ShapeEnum from TopAbs;
69 aLimitMode:Integer from Standard);
72 returns Integer from Standard;
78 theType: ShapeEnum from TopAbs)
79 ---Purpose: Build the resulting shapes of type theType
80 is redefined protected;
83 ---Purpose: Provides post-tratment actions
84 is redefined protected;
86 -- =====================================================
90 AddToolCompound (me:out;
91 theShape: Shape from TopoDS);
92 ---Purpose: Adds Tool arguments of the operation as
93 -- shapes of upper level of container shape theShape
94 -- =====================================================
97 myTools : ListOfShape from TopTools is protected;
98 myMapTools : MapOfShape from TopTools is protected;
99 myLimit : ShapeEnum from TopAbs is protected;
100 myLimitMode : Integer from Standard is protected;