1 // Created on: 1999-06-25
2 // Created by: data exchange team
3 // Copyright (c) 1999-1999 Matra Datavision
4 // Copyright (c) 1999-2014 OPEN CASCADE SAS
6 // This file is part of Open CASCADE Technology software library.
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
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.
14 // Alternatively, this file may be used under the terms of Open CASCADE
15 // commercial license or contractual agreement.
17 #include <ShapeFix_Solid.hxx>
18 #include <ShapeFix_Shell.hxx>
19 #include <ShapeFix_Face.hxx>
20 #include <ShapeFix_Wire.hxx>
22 //=======================================================================
23 //function : FixSolidTool
25 //=======================================================================
27 inline Handle(ShapeFix_Solid) ShapeFix_Shape::FixSolidTool() const
32 //=======================================================================
33 //function : FixShellTool
35 //=======================================================================
37 inline Handle(ShapeFix_Shell) ShapeFix_Shape::FixShellTool() const
39 return myFixSolid->FixShellTool();
41 //=======================================================================
42 //function : FixFaceTool
44 //=======================================================================
46 inline Handle(ShapeFix_Face) ShapeFix_Shape::FixFaceTool() const
48 return myFixSolid->FixShellTool()->FixFaceTool();
50 //=======================================================================
51 //function : FixWireTool
53 //=======================================================================
55 inline Handle(ShapeFix_Wire) ShapeFix_Shape::FixWireTool() const
57 return myFixSolid->FixShellTool()->FixFaceTool()->FixWireTool();
59 //=======================================================================
60 //function : FixEdgeTool
62 //=======================================================================
64 inline Handle(ShapeFix_Edge) ShapeFix_Shape::FixEdgeTool() const
66 return myFixSolid->FixShellTool()->FixFaceTool()->FixWireTool()->FixEdgeTool();
68 //=======================================================================
69 //function : FixSolidMode
71 //=======================================================================
73 inline Standard_Integer& ShapeFix_Shape::FixSolidMode()
75 return myFixSolidMode;
78 //=======================================================================
79 //function : FixFreeShellMode
81 //=======================================================================
83 inline Standard_Integer& ShapeFix_Shape::FixFreeShellMode()
85 return myFixShellMode;
87 //=======================================================================
88 //function : FixFreeFaceMode
90 //=======================================================================
92 inline Standard_Integer& ShapeFix_Shape::FixFreeFaceMode()
97 //=======================================================================
98 //function : FixFreeWireMode
100 //=======================================================================
102 inline Standard_Integer& ShapeFix_Shape::FixFreeWireMode()
104 return myFixWireMode;
107 //=======================================================================
108 //function : FixSameParameterMode
110 //=======================================================================
112 inline Standard_Integer& ShapeFix_Shape::FixSameParameterMode()
114 return myFixSameParameterMode;
116 //=======================================================================
117 //function : FixVertexPositionMode
119 //=======================================================================
121 inline Standard_Integer& ShapeFix_Shape::FixVertexPositionMode()
123 return myFixVertexPositionMode;