1 // Copyright (c) 1999-2014 OPEN CASCADE SAS
3 // This file is part of Open CASCADE Technology software library.
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.
11 // Alternatively, this file may be used under the terms of Open CASCADE
12 // commercial license or contractual agreement.
14 #include <ShapeExtend.hxx>
16 //=======================================================================
17 //function : FixWireMode
19 //=======================================================================
21 inline Standard_Integer& ShapeFix_Face::FixWireMode()
26 //=======================================================================
27 //function : FixOrientationMode
29 //=======================================================================
31 inline Standard_Integer& ShapeFix_Face::FixOrientationMode()
33 return myFixOrientationMode;
36 //=======================================================================
37 //function : FixAddNaturalBoundMode
39 //=======================================================================
41 inline Standard_Integer& ShapeFix_Face::FixAddNaturalBoundMode()
43 return myFixAddNaturalBoundMode;
46 //=======================================================================
47 //function : FixMissingSeamMode
49 //=======================================================================
51 inline Standard_Integer& ShapeFix_Face::FixMissingSeamMode()
53 return myFixMissingSeamMode;
56 //=======================================================================
57 //function : FixSmallAreaWireMode
59 //=======================================================================
61 inline Standard_Integer& ShapeFix_Face::FixSmallAreaWireMode()
63 return myFixSmallAreaWireMode;
66 //=======================================================================
67 //function : RemoveSmallAreaFaceMode
69 //=======================================================================
71 inline Standard_Integer& ShapeFix_Face::RemoveSmallAreaFaceMode()
73 return myRemoveSmallAreaFaceMode;
76 //=======================================================================
77 //function : FixIntersectingWiresMode
79 //=======================================================================
81 inline Standard_Integer& ShapeFix_Face::FixIntersectingWiresMode()
83 return myFixIntersectingWiresMode;
86 //=======================================================================
87 //function : FixLoopWiresMode
89 //=======================================================================
91 inline Standard_Integer& ShapeFix_Face::FixLoopWiresMode()
93 return myFixLoopWiresMode;
96 //=======================================================================
97 //function : FixSplitFaceMode
99 //=======================================================================
101 inline Standard_Integer& ShapeFix_Face::FixSplitFaceMode()
103 return myFixSplitFaceMode;
106 //=======================================================================
107 //function : AutoCorrectPrecisionMode
109 //=======================================================================
111 inline Standard_Integer& ShapeFix_Face::AutoCorrectPrecisionMode()
113 return myAutoCorrectPrecisionMode;
116 //=======================================================================
117 //function : FixPeriodicDegeneratedMode
119 //=======================================================================
121 inline Standard_Integer& ShapeFix_Face::FixPeriodicDegeneratedMode()
123 return myFixPeriodicDegenerated;
126 //=======================================================================
129 //=======================================================================
131 inline TopoDS_Face ShapeFix_Face::Face() const
136 //=======================================================================
139 //=======================================================================
141 inline TopoDS_Shape ShapeFix_Face::Result() const
146 //=======================================================================
149 //=======================================================================
151 inline Standard_Boolean ShapeFix_Face::Status (const ShapeExtend_Status status) const
153 return ShapeExtend::DecodeStatus ( myStatus, status );
156 //=======================================================================
157 //function : FixWireTool
159 //=======================================================================
161 inline Handle(ShapeFix_Wire) ShapeFix_Face::FixWireTool()