973c2be1 |
1 | // Copyright (c) 1999-2014 OPEN CASCADE SAS |
b311480e |
2 | // |
973c2be1 |
3 | // This file is part of Open CASCADE Technology software library. |
b311480e |
4 | // |
d5f74e42 |
5 | // This library is free software; you can redistribute it and/or modify it under |
6 | // the terms of the GNU Lesser General Public License version 2.1 as published |
973c2be1 |
7 | // by the Free Software Foundation, with special exception defined in the file |
8 | // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT |
9 | // distribution for complete text of the license and disclaimer of any warranty. |
b311480e |
10 | // |
973c2be1 |
11 | // Alternatively, this file may be used under the terms of Open CASCADE |
12 | // commercial license or contractual agreement. |
b311480e |
13 | |
7fd59977 |
14 | #include <ShapeExtend.hxx> |
b311480e |
15 | |
7fd59977 |
16 | //======================================================================= |
17 | //function : MinArea |
18 | //purpose : |
19 | //======================================================================= |
20 | |
21 | inline Standard_Real& ShapeUpgrade_RemoveInternalWires::MinArea() |
22 | { |
23 | return myMinArea; |
24 | } |
25 | |
26 | |
27 | //======================================================================= |
28 | //function : RemoveFaceMode |
29 | //purpose : |
30 | //======================================================================= |
31 | |
32 | inline Standard_Boolean& ShapeUpgrade_RemoveInternalWires::RemoveFaceMode() |
33 | { |
34 | return myRemoveFacesMode; |
35 | } |
36 | |
37 | //======================================================================= |
38 | //function : RemovedFaces |
39 | //purpose : |
40 | //======================================================================= |
41 | |
42 | inline const TopTools_SequenceOfShape& ShapeUpgrade_RemoveInternalWires::RemovedFaces() const |
43 | { |
44 | return myRemovedFaces; |
45 | } |
46 | |
47 | //======================================================================= |
48 | //function : RemovedWires |
49 | //purpose : |
50 | //======================================================================= |
51 | |
52 | inline const TopTools_SequenceOfShape& ShapeUpgrade_RemoveInternalWires::RemovedWires() const |
53 | { |
54 | return myRemoveWires; |
55 | } |
56 | |
57 | //======================================================================= |
58 | //function : GetResult |
59 | //purpose : |
60 | //======================================================================= |
61 | |
62 | inline TopoDS_Shape ShapeUpgrade_RemoveInternalWires::GetResult() const |
63 | { |
64 | return myResult; |
65 | } |
66 | |
67 | //======================================================================= |
68 | //function : Status |
69 | //purpose : |
70 | //======================================================================= |
71 | |
72 | inline Standard_Boolean ShapeUpgrade_RemoveInternalWires::Status(const ShapeExtend_Status theStatus) const |
73 | { |
74 | return ShapeExtend::DecodeStatus ( myStatus, theStatus ); |
75 | } |