#include <Standard.hxx>
#include <Standard_DefineAlloc.hxx>
#include <Standard_Handle.hxx>
-
#include <Standard_Boolean.hxx>
+
+#include <BOPAlgo_Builder.hxx>
#include <Bnd_Box.hxx>
+#include <NCollection_BaseAllocator.hxx>
#include <TopoDS_Solid.hxx>
-#include <BOPCol_ListOfShape.hxx>
-#include <BOPAlgo_Builder.hxx>
-#include <BOPCol_BaseAllocator.hxx>
-#include <BOPCol_MapOfShape.hxx>
+#include <TopTools_ListOfShape.hxx>
+#include <TopTools_MapOfShape.hxx>
class TopoDS_Solid;
class BOPAlgo_PaveFiller;
virtual ~BOPAlgo_MakerVolume();
//! Empty contructor.
- BOPAlgo_MakerVolume(const BOPCol_BaseAllocator& theAllocator);
+ BOPAlgo_MakerVolume(const Handle(NCollection_BaseAllocator)& theAllocator);
//! Clears the data.
virtual void Clear() Standard_OVERRIDE;
const TopoDS_Solid& Box() const;
//! Returns the processed faces <myFaces>.
- const BOPCol_ListOfShape& Faces() const;
+ const TopTools_ListOfShape& Faces() const;
//! Defines the preventing of addition of internal for solid parts into the result.
//! By default the internal parts are added into result.
Standard_EXPORT void CollectFaces();
//! Makes solid box.
- Standard_EXPORT void MakeBox (BOPCol_MapOfShape& theBoxFaces);
+ Standard_EXPORT void MakeBox (TopTools_MapOfShape& theBoxFaces);
//! Builds solids.
- Standard_EXPORT void BuildSolids (BOPCol_ListOfShape& theLSR);
+ Standard_EXPORT void BuildSolids (TopTools_ListOfShape& theLSR);
//! Removes the covering box.
- Standard_EXPORT void RemoveBox (BOPCol_ListOfShape& theLSR, const BOPCol_MapOfShape& theBoxFaces);
+ Standard_EXPORT void RemoveBox (TopTools_ListOfShape& theLSR, const TopTools_MapOfShape& theBoxFaces);
//! Fills the solids with internal shapes.
- Standard_EXPORT void FillInternalShapes (const BOPCol_ListOfShape& theLSR);
+ Standard_EXPORT void FillInternalShapes (const TopTools_ListOfShape& theLSR);
//! Builds the result.
- Standard_EXPORT void BuildShape (const BOPCol_ListOfShape& theLSR);
+ Standard_EXPORT void BuildShape (const TopTools_ListOfShape& theLSR);
Standard_Boolean myIntersect;
Bnd_Box myBBox;
TopoDS_Solid mySBox;
- BOPCol_ListOfShape myFaces;
+ TopTools_ListOfShape myFaces;
Standard_Boolean myAvoidInternalShapes;
private: