Integration of OCCT 6.5.0 from SVN
[occt.git] / src / ShapeFix / ShapeFix_Shape.lxx
CommitLineData
7fd59977 1// File: ShapeFix_Shape.lxx
2// Created: Fri Jun 25 13:16:36 1999
3// Author: data exchange team
4// <det@nnov>
5
6#include <ShapeFix_Solid.hxx>
7#include <ShapeFix_Shell.hxx>
8#include <ShapeFix_Face.hxx>
9#include <ShapeFix_Wire.hxx>
10
11//=======================================================================
12//function : FixSolidTool
13//purpose :
14//=======================================================================
15
16inline Handle(ShapeFix_Solid) ShapeFix_Shape::FixSolidTool() const
17{
18 return myFixSolid;
19}
20
21//=======================================================================
22//function : FixShellTool
23//purpose :
24//=======================================================================
25
26inline Handle(ShapeFix_Shell) ShapeFix_Shape::FixShellTool() const
27{
28 return myFixSolid->FixShellTool();
29}
30//=======================================================================
31//function : FixFaceTool
32//purpose :
33//=======================================================================
34
35inline Handle(ShapeFix_Face) ShapeFix_Shape::FixFaceTool() const
36{
37 return myFixSolid->FixShellTool()->FixFaceTool();
38}
39//=======================================================================
40//function : FixWireTool
41//purpose :
42//=======================================================================
43
44inline Handle(ShapeFix_Wire) ShapeFix_Shape::FixWireTool() const
45{
46 return myFixSolid->FixShellTool()->FixFaceTool()->FixWireTool();
47}
48//=======================================================================
49//function : FixEdgeTool
50//purpose :
51//=======================================================================
52
53inline Handle(ShapeFix_Edge) ShapeFix_Shape::FixEdgeTool() const
54{
55 return myFixSolid->FixShellTool()->FixFaceTool()->FixWireTool()->FixEdgeTool();
56}
57//=======================================================================
58//function : FixSolidMode
59//purpose :
60//=======================================================================
61
62inline Standard_Integer& ShapeFix_Shape::FixSolidMode()
63{
64 return myFixSolidMode;
65}
66
67//=======================================================================
68//function : FixFreeShellMode
69//purpose :
70//=======================================================================
71
72inline Standard_Integer& ShapeFix_Shape::FixFreeShellMode()
73{
74 return myFixShellMode;
75}
76//=======================================================================
77//function : FixFreeFaceMode
78//purpose :
79//=======================================================================
80
81inline Standard_Integer& ShapeFix_Shape::FixFreeFaceMode()
82{
83 return myFixFaceMode;
84}
85
86//=======================================================================
87//function : FixFreeWireMode
88//purpose :
89//=======================================================================
90
91inline Standard_Integer& ShapeFix_Shape::FixFreeWireMode()
92{
93 return myFixWireMode;
94}
95
96//=======================================================================
97//function : FixSameParameterMode
98//purpose :
99//=======================================================================
100
101inline Standard_Integer& ShapeFix_Shape::FixSameParameterMode()
102{
103 return myFixSameParameterMode;
104}
105//=======================================================================
106//function : FixVertexPositionMode
107//purpose :
108//=======================================================================
109
110inline Standard_Integer& ShapeFix_Shape::FixVertexPositionMode()
111{
112 return myFixVertexPositionMode;
113}