1 // Created by: Eugeny MALTCHIKOV
2 // Copyright (c) 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 //=======================================================================
16 //function : BOPAlgo_MakerVolume
18 //=======================================================================
19 inline BOPAlgo_MakerVolume::BOPAlgo_MakerVolume()
22 myIntersect(Standard_True),
23 myAvoidInternalShapes(Standard_False)
27 //=======================================================================
28 //function : BOPAlgo_MakerVolume
30 //=======================================================================
31 inline BOPAlgo_MakerVolume::BOPAlgo_MakerVolume
32 (const Handle(NCollection_BaseAllocator)& theAllocator)
34 BOPAlgo_Builder(theAllocator),
35 myIntersect(Standard_True),
36 myAvoidInternalShapes(Standard_False)
40 //=======================================================================
41 //function : ~BOPAlgo_MakerVolume
43 //=======================================================================
44 inline BOPAlgo_MakerVolume::~BOPAlgo_MakerVolume()
49 //=======================================================================
52 //=======================================================================
53 inline void BOPAlgo_MakerVolume::Clear()
55 BOPAlgo_Builder::Clear();
56 myIntersect = Standard_True;
60 myAvoidInternalShapes = Standard_False;
63 //=======================================================================
64 //function : SetIntersect
66 //=======================================================================
67 inline void BOPAlgo_MakerVolume::SetIntersect(const Standard_Boolean bIntersect)
69 myIntersect = bIntersect;
72 //=======================================================================
73 //function : IsIntersect
75 //=======================================================================
76 inline Standard_Boolean BOPAlgo_MakerVolume::IsIntersect()const
81 //=======================================================================
84 //=======================================================================
85 inline const TopoDS_Solid& BOPAlgo_MakerVolume::Box()const
90 //=======================================================================
93 //=======================================================================
94 inline const BOPCol_ListOfShape& BOPAlgo_MakerVolume::Faces()const