b1d15f53 |
1 | // Created by: Peter KURNEV |
2 | // Copyright (c) 2014 OPEN CASCADE SAS |
3 | // |
4 | // This file is part of Open CASCADE Technology software library. |
5 | // |
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. |
11 | // |
12 | // Alternatively, this file may be used under the terms of Open CASCADE |
13 | // commercial license or contractual agreement. |
14 | |
b1d15f53 |
15 | |
42cf5bc1 |
16 | #include <BRepAlgoAPI_Algo.hxx> |
b1d15f53 |
17 | #include <NCollection_BaseAllocator.hxx> |
42cf5bc1 |
18 | #include <TopoDS_Shape.hxx> |
b1d15f53 |
19 | |
20 | //======================================================================= |
21 | // function: |
22 | // purpose: |
23 | //======================================================================= |
24 | BRepAlgoAPI_Algo::BRepAlgoAPI_Algo() |
25 | : |
33ba8565 |
26 | BOPAlgo_Options(NCollection_BaseAllocator::CommonBaseAllocator()) |
b1d15f53 |
27 | {} |
28 | //======================================================================= |
29 | // function: |
30 | // purpose: |
31 | //======================================================================= |
32 | BRepAlgoAPI_Algo::BRepAlgoAPI_Algo |
33 | (const Handle(NCollection_BaseAllocator)& theAllocator) |
34 | : |
33ba8565 |
35 | BOPAlgo_Options(theAllocator) |
b1d15f53 |
36 | {} |
37 | |
38 | //======================================================================= |
39 | // function: ~ |
40 | // purpose: |
41 | //======================================================================= |
42 | BRepAlgoAPI_Algo::~BRepAlgoAPI_Algo() |
43 | { |
44 | } |
45 | //======================================================================= |
b1d15f53 |
46 | //function : Shape |
47 | //purpose : |
48 | //======================================================================= |
ecac41a9 |
49 | const TopoDS_Shape& BRepAlgoAPI_Algo::Shape() |
b1d15f53 |
50 | { |
51 | return myShape; |
52 | } |