0022048: Visualization, AIS_InteractiveContext - single object selection should alway...
[occt.git] / src / ShapeFix / ShapeFix_Face.lxx
CommitLineData
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>
15
16//=======================================================================
17//function : FixWireMode
18//purpose :
19//=======================================================================
20
21inline Standard_Integer& ShapeFix_Face::FixWireMode()
22{
23 return myFixWireMode;
24}
25
26//=======================================================================
27//function : FixOrientationMode
28//purpose :
29//=======================================================================
30
31inline Standard_Integer& ShapeFix_Face::FixOrientationMode()
32{
33 return myFixOrientationMode;
34}
35
36//=======================================================================
37//function : FixAddNaturalBoundMode
38//purpose :
39//=======================================================================
40
41inline Standard_Integer& ShapeFix_Face::FixAddNaturalBoundMode()
42{
43 return myFixAddNaturalBoundMode;
44}
45
46//=======================================================================
47//function : FixMissingSeamMode
48//purpose :
49//=======================================================================
50
51inline Standard_Integer& ShapeFix_Face::FixMissingSeamMode()
52{
53 return myFixMissingSeamMode;
54}
55
56//=======================================================================
57//function : FixSmallAreaWireMode
58//purpose :
59//=======================================================================
60
61inline Standard_Integer& ShapeFix_Face::FixSmallAreaWireMode()
62{
63 return myFixSmallAreaWireMode;
64}
65
56a9db93 66//=======================================================================
67//function : RemoveSmallAreaFaceMode
68//purpose :
69//=======================================================================
70
71inline Standard_Integer& ShapeFix_Face::RemoveSmallAreaFaceMode()
72{
73 return myRemoveSmallAreaFaceMode;
74}
75
7fd59977 76//=======================================================================
77//function : FixIntersectingWiresMode
78//purpose :
79//=======================================================================
80
81inline Standard_Integer& ShapeFix_Face::FixIntersectingWiresMode()
82{
83 return myFixIntersectingWiresMode;
84}
85
86//=======================================================================
87//function : FixLoopWiresMode
88//purpose :
89//=======================================================================
90
91inline Standard_Integer& ShapeFix_Face::FixLoopWiresMode()
92{
93 return myFixLoopWiresMode;
94}
95
96//=======================================================================
97//function : FixSplitFaceMode
98//purpose :
99//=======================================================================
100
101inline Standard_Integer& ShapeFix_Face::FixSplitFaceMode()
102{
103 return myFixSplitFaceMode;
104}
105
106//=======================================================================
107//function : AutoCorrectPrecisionMode
108//purpose :
109//=======================================================================
110
111inline Standard_Integer& ShapeFix_Face::AutoCorrectPrecisionMode()
112{
113 return myAutoCorrectPrecisionMode;
114}
115
5f87cb7e 116//=======================================================================
117//function : FixPeriodicDegeneratedMode
118//purpose :
119//=======================================================================
120
121inline Standard_Integer& ShapeFix_Face::FixPeriodicDegeneratedMode()
122{
123 return myFixPeriodicDegenerated;
124}
125
7fd59977 126//=======================================================================
127//function : Face
128//purpose :
129//=======================================================================
130
131inline TopoDS_Face ShapeFix_Face::Face() const
132{
133 return myFace;
134}
135
136//=======================================================================
137//function : Result
138//purpose :
139//=======================================================================
140
141inline TopoDS_Shape ShapeFix_Face::Result() const
142{
143 return myResult;
144}
145
146//=======================================================================
147//function : Status
148//purpose :
149//=======================================================================
150
151inline 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
161inline Handle(ShapeFix_Wire) ShapeFix_Face::FixWireTool()
162{
163 return myFixWire;
164}