1 -- Copyright (C) 2007-2008 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
22 -- File: GEOMAlgo_Splitter.cdl
24 -- Author: Peter KURNEV
26 class Splitter from GEOMAlgo
27 inherits Builder from GEOMAlgo
29 ---Purpose: Implementation of Gluing Operation Algorithm (GA)
33 ShapeEnum from TopAbs,
35 ListOfShape from TopTools,
36 MapOfShape from TopTools
43 ---Purpose: Empty constructor
44 returns Splitter from GEOMAlgo;
45 ---C++: alias "Standard_EXPORT virtual ~GEOMAlgo_Splitter();"
48 ---Purpose: Clears internal fields and arguments
52 theShape: Shape from TopoDS)
53 ---Purpose: Adds Tool argument theShape of the operation
57 ---Purpose: Returns the arguments of the operation
58 returns ListOfShape from TopTools;
59 ---C++: return const &
62 aLimit:ShapeEnum from TopAbs);
65 returns ShapeEnum from TopAbs;
68 aLimitMode:Integer from Standard);
71 returns Integer from Standard;
77 theType: ShapeEnum from TopAbs)
78 ---Purpose: Build the resulting shapes of type theType
79 is redefined protected;
82 ---Purpose: Provides post-tratment actions
83 is redefined protected;
85 -- =====================================================
89 AddToolCompound (me:out;
90 theShape: Shape from TopoDS);
91 ---Purpose: Adds Tool arguments of the operation as
92 -- shapes of upper level of container shape theShape
93 -- =====================================================
96 myTools : ListOfShape from TopTools is protected;
97 myMapTools : MapOfShape from TopTools is protected;
98 myLimit : ShapeEnum from TopAbs is protected;
99 myLimitMode : Integer from Standard is protected;