1 -- Created by: Peter KURNEV
2 -- Copyright (c) 1999-2014 OPEN CASCADE SAS
4 -- This file is part of Open CASCADE Technology software library.
6 -- This library is free software; you can redistribute it and/or modify it under
7 -- the terms of the GNU Lesser General Public License version 2.1 as published
8 -- by the Free Software Foundation, with special exception defined in the file
9 -- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
10 -- distribution for complete text of the license and disclaimer of any warranty.
12 -- Alternatively, this file may be used under the terms of Open CASCADE
13 -- commercial license or contractual agreement.
15 class ShellSplitter from BOPAlgo
16 inherits Algo from BOPAlgo
19 -- The class provides the splitting of the set of connected faces
22 BaseAllocator from BOPCol,
24 ListOfShape from BOPCol,
25 ConnexityBlock from BOPTools,
26 ListOfConnexityBlock from BOPTools
33 returns ShellSplitter from BOPAlgo;
34 ---C++: alias "Standard_EXPORT virtual ~BOPAlgo_ShellSplitter();"
35 ---Purpose: empty constructor
37 Create(theAllocator: BaseAllocator from BOPCol)
38 returns ShellSplitter from BOPAlgo;
39 ---Purpose: constructor
41 AddStartElement(me:out;
42 theS: Shape from TopoDS);
43 ---Purpose: adds a face <theS> to process
46 returns ListOfShape from BOPCol;
47 ---C++: return const &
48 ---Purpose: return the faces to process
52 ---Purpose: performs the algorithm
55 returns ListOfShape from BOPCol;
56 ---C++: return const &
57 ---Purpose: returns the loops
59 MakeConnexityBlocks(me:out)
66 theCB:out ConnexityBlock from BOPTools);
69 myStartShapes: ListOfShape from BOPCol is protected;
70 myShells: ListOfShape from BOPCol is protected;
71 myLCB : ListOfConnexityBlock from BOPTools is protected;