0031687: Draw Harness, ViewerTest - extend command vrenderparams with option updating...
[occt.git] / src / ShapeFix / ShapeFix_Face.lxx
1 // Copyright (c) 1999-2014 OPEN CASCADE SAS
2 //
3 // This file is part of Open CASCADE Technology software library.
4 //
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
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.
10 //
11 // Alternatively, this file may be used under the terms of Open CASCADE
12 // commercial license or contractual agreement.
13
14 #include <ShapeExtend.hxx>
15
16 //=======================================================================
17 //function : FixWireMode
18 //purpose  : 
19 //=======================================================================
20
21 inline Standard_Integer& ShapeFix_Face::FixWireMode() 
22 {
23   return myFixWireMode;
24 }
25
26 //=======================================================================
27 //function : FixOrientationMode
28 //purpose  : 
29 //=======================================================================
30
31 inline Standard_Integer& ShapeFix_Face::FixOrientationMode()
32 {
33   return myFixOrientationMode;
34 }
35
36 //=======================================================================
37 //function : FixAddNaturalBoundMode
38 //purpose  : 
39 //=======================================================================
40
41 inline Standard_Integer& ShapeFix_Face::FixAddNaturalBoundMode()
42 {
43   return myFixAddNaturalBoundMode;
44 }
45
46 //=======================================================================
47 //function : FixMissingSeamMode
48 //purpose  : 
49 //=======================================================================
50
51 inline Standard_Integer& ShapeFix_Face::FixMissingSeamMode()
52 {
53   return myFixMissingSeamMode;
54 }
55
56 //=======================================================================
57 //function : FixSmallAreaWireMode
58 //purpose  : 
59 //=======================================================================
60
61 inline Standard_Integer& ShapeFix_Face::FixSmallAreaWireMode()
62 {
63   return myFixSmallAreaWireMode;
64 }
65
66 //=======================================================================
67 //function : RemoveSmallAreaFaceMode
68 //purpose  : 
69 //=======================================================================
70
71 inline Standard_Integer& ShapeFix_Face::RemoveSmallAreaFaceMode()
72 {
73   return myRemoveSmallAreaFaceMode;
74 }
75
76 //=======================================================================
77 //function : FixIntersectingWiresMode
78 //purpose  : 
79 //=======================================================================
80
81 inline Standard_Integer& ShapeFix_Face::FixIntersectingWiresMode()
82 {
83   return myFixIntersectingWiresMode;
84 }
85
86 //=======================================================================
87 //function : FixLoopWiresMode
88 //purpose  : 
89 //=======================================================================
90
91 inline Standard_Integer& ShapeFix_Face::FixLoopWiresMode()
92 {
93   return myFixLoopWiresMode;
94 }
95
96 //=======================================================================
97 //function : FixSplitFaceMode
98 //purpose  : 
99 //=======================================================================
100
101 inline Standard_Integer& ShapeFix_Face::FixSplitFaceMode()
102 {
103   return myFixSplitFaceMode;
104 }
105
106 //=======================================================================
107 //function : AutoCorrectPrecisionMode
108 //purpose  : 
109 //=======================================================================
110
111 inline Standard_Integer& ShapeFix_Face::AutoCorrectPrecisionMode()
112 {
113   return myAutoCorrectPrecisionMode;
114 }
115
116 //=======================================================================
117 //function : FixPeriodicDegeneratedMode
118 //purpose  : 
119 //=======================================================================
120
121 inline Standard_Integer& ShapeFix_Face::FixPeriodicDegeneratedMode()
122 {
123   return myFixPeriodicDegenerated;
124 }
125
126 //=======================================================================
127 //function : Face
128 //purpose  : 
129 //=======================================================================
130
131 inline TopoDS_Face ShapeFix_Face::Face() const
132 {
133   return myFace;
134 }
135  
136 //=======================================================================
137 //function : Result
138 //purpose  : 
139 //=======================================================================
140
141 inline TopoDS_Shape ShapeFix_Face::Result() const
142 {
143   return myResult;
144 }
145  
146 //=======================================================================
147 //function : Status
148 //purpose  : 
149 //=======================================================================
150
151 inline  Standard_Boolean ShapeFix_Face::Status (const ShapeExtend_Status status) const
152 {
153   return ShapeExtend::DecodeStatus ( myStatus, status ); 
154 }
155
156 //=======================================================================
157 //function : FixWireTool
158 //purpose  : 
159 //=======================================================================
160
161 inline Handle(ShapeFix_Wire) ShapeFix_Face::FixWireTool() 
162 {
163   return myFixWire;
164 }