0024881: Wrong status returned by ShapeFix_Wire::FixGaps3d () operation
[occt.git] / src / ShapeFix / ShapeFix_Shape.lxx
CommitLineData
b311480e 1// Created on: 1999-06-25
2// Created by: data exchange team
3// Copyright (c) 1999-1999 Matra Datavision
973c2be1 4// Copyright (c) 1999-2014 OPEN CASCADE SAS
b311480e 5//
973c2be1 6// This file is part of Open CASCADE Technology software library.
b311480e 7//
d5f74e42 8// This library is free software; you can redistribute it and/or modify it under
9// the terms of the GNU Lesser General Public License version 2.1 as published
973c2be1 10// by the Free Software Foundation, with special exception defined in the file
11// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12// distribution for complete text of the license and disclaimer of any warranty.
b311480e 13//
973c2be1 14// Alternatively, this file may be used under the terms of Open CASCADE
15// commercial license or contractual agreement.
7fd59977 16
17#include <ShapeFix_Solid.hxx>
18#include <ShapeFix_Shell.hxx>
19#include <ShapeFix_Face.hxx>
20#include <ShapeFix_Wire.hxx>
21
22//=======================================================================
23//function : FixSolidTool
24//purpose :
25//=======================================================================
26
27inline Handle(ShapeFix_Solid) ShapeFix_Shape::FixSolidTool() const
28{
29 return myFixSolid;
30}
31
32//=======================================================================
33//function : FixShellTool
34//purpose :
35//=======================================================================
36
37inline Handle(ShapeFix_Shell) ShapeFix_Shape::FixShellTool() const
38{
39 return myFixSolid->FixShellTool();
40}
41//=======================================================================
42//function : FixFaceTool
43//purpose :
44//=======================================================================
45
46inline Handle(ShapeFix_Face) ShapeFix_Shape::FixFaceTool() const
47{
48 return myFixSolid->FixShellTool()->FixFaceTool();
49}
50//=======================================================================
51//function : FixWireTool
52//purpose :
53//=======================================================================
54
55inline Handle(ShapeFix_Wire) ShapeFix_Shape::FixWireTool() const
56{
57 return myFixSolid->FixShellTool()->FixFaceTool()->FixWireTool();
58}
59//=======================================================================
60//function : FixEdgeTool
61//purpose :
62//=======================================================================
63
64inline Handle(ShapeFix_Edge) ShapeFix_Shape::FixEdgeTool() const
65{
66 return myFixSolid->FixShellTool()->FixFaceTool()->FixWireTool()->FixEdgeTool();
67}
68//=======================================================================
69//function : FixSolidMode
70//purpose :
71//=======================================================================
72
73inline Standard_Integer& ShapeFix_Shape::FixSolidMode()
74{
75 return myFixSolidMode;
76}
77
78//=======================================================================
79//function : FixFreeShellMode
80//purpose :
81//=======================================================================
82
83inline Standard_Integer& ShapeFix_Shape::FixFreeShellMode()
84{
85 return myFixShellMode;
86}
87//=======================================================================
88//function : FixFreeFaceMode
89//purpose :
90//=======================================================================
91
92inline Standard_Integer& ShapeFix_Shape::FixFreeFaceMode()
93{
94 return myFixFaceMode;
95}
96
97//=======================================================================
98//function : FixFreeWireMode
99//purpose :
100//=======================================================================
101
102inline Standard_Integer& ShapeFix_Shape::FixFreeWireMode()
103{
104 return myFixWireMode;
105}
106
107//=======================================================================
108//function : FixSameParameterMode
109//purpose :
110//=======================================================================
111
112inline Standard_Integer& ShapeFix_Shape::FixSameParameterMode()
113{
114 return myFixSameParameterMode;
115}
116//=======================================================================
117//function : FixVertexPositionMode
118//purpose :
119//=======================================================================
120
121inline Standard_Integer& ShapeFix_Shape::FixVertexPositionMode()
122{
123 return myFixVertexPositionMode;
124}
34e923b5 125
126//=======================================================================
127//function : FixVertexTolMode
128//purpose :
129//=======================================================================
130
131inline Standard_Integer& ShapeFix_Shape::FixVertexTolMode()
132{
133 return myFixVertexTolMode;
134}