0028187: Add possibility to avoid creation of Internal parts in the result of Volume...
[occt.git] / src / BOPAlgo / BOPAlgo_BuilderArea.cxx
CommitLineData
b311480e 1// Created by: Peter KURNEV
973c2be1 2// Copyright (c) 2010-2014 OPEN CASCADE SAS
4e57c75e 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
b311480e 6//
973c2be1 7// This file is part of Open CASCADE Technology software library.
b311480e 8//
d5f74e42 9// This library is free software; you can redistribute it and/or modify it under
10// the terms of the GNU Lesser General Public License version 2.1 as published
973c2be1 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.
b311480e 14//
973c2be1 15// Alternatively, this file may be used under the terms of Open CASCADE
16// commercial license or contractual agreement.
7fd59977 17
18
42cf5bc1 19#include <BOPAlgo_BuilderArea.hxx>
7fd59977 20
21//=======================================================================
4e57c75e 22//function :
23//purpose :
7fd59977 24//=======================================================================
1e143abb 25BOPAlgo_BuilderArea::BOPAlgo_BuilderArea()
7fd59977 26:
4e57c75e 27 BOPAlgo_Algo(),
4e57c75e 28 myShapes(myAllocator),
29 myLoops(myAllocator),
30 myLoopsInternal(myAllocator),
31 myAreas(myAllocator),
291fced1 32 myShapesToAvoid(100, myAllocator),
33 myAvoidInternalShapes(Standard_False)
7fd59977 34{
7fd59977 35}
7fd59977 36//=======================================================================
4e57c75e 37//function :
38//purpose :
7fd59977 39//=======================================================================
1e143abb 40BOPAlgo_BuilderArea::BOPAlgo_BuilderArea
41 (const Handle(NCollection_BaseAllocator)& theAllocator)
4e57c75e 42:
43 BOPAlgo_Algo(theAllocator),
4e57c75e 44 myShapes(myAllocator),
45 myLoops(myAllocator),
46 myLoopsInternal(myAllocator),
47 myAreas(myAllocator),
291fced1 48 myShapesToAvoid(100, myAllocator),
49 myAvoidInternalShapes(Standard_False)
7fd59977 50{
7fd59977 51}
7fd59977 52//=======================================================================
4e57c75e 53//function : ~
54//purpose :
7fd59977 55//=======================================================================
1e143abb 56BOPAlgo_BuilderArea::~BOPAlgo_BuilderArea()
7fd59977 57{
7fd59977 58}