1 -- Created by: Peter KURNEV
2 -- Copyright (c) 2010-2014 OPEN CASCADE SAS
3 -- Copyright (c) 2007-2010 CEA/DEN, EDF R&D, OPEN CASCADE
4 -- Copyright (c) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT,
5 -- EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
7 -- This file is part of Open CASCADE Technology software library.
9 -- This library is free software; you can redistribute it and / or modify it
10 -- under the terms of the GNU Lesser General Public version 2.1 as published
11 -- by the Free Software Foundation, with special exception defined in the file
12 -- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
13 -- distribution for complete text of the license and disclaimer of any warranty.
15 -- Alternatively, this file may be used under the terms of Open CASCADE
16 -- commercial license or contractual agreement.
18 class BuilderSolid from BOPAlgo
19 inherits BuilderArea from BOPAlgo
21 ---Purpose: The algorithm to build solids from set of faces
24 BaseAllocator from BOPCol,
31 returns BuilderSolid from BOPAlgo;
32 ---C++: alias "Standard_EXPORT virtual ~BOPAlgo_BuilderSolid();"
35 Create (theAllocator: BaseAllocator from BOPCol)
36 returns BuilderSolid from BOPAlgo;
39 theSolid:Solid from TopoDS);
40 ---Purpose: Sets the source solid <theSolid>
43 returns Solid from TopoDS;
44 ---C++: return const &
45 ---Purpose: Returns the source solid
48 ---Purpose: Performs the algorithm
51 PerformShapesToAvoid(me:out)
52 ---Purpose: Collect the faces that
54 -- b) are the same and have different orientation
55 is redefined protected;
58 ---Purpose: Build draft shells
59 -- a)myLoops - draft shells that consist of
61 -- b)myLoopsInternal - draft shells that contains
63 is redefined protected;
66 ---Purpose: Build draft solids that contains boundary faces
67 is redefined protected;
69 PerformInternalShapes(me:out)
70 ---Purpose: Build finalized solids with internal shells
71 is redefined protected;
74 mySolid:Solid from TopoDS is protected;