Warning, /include/opencascade/ShapeFix_Shape.lxx is written in an unsupported language. File is not indexed.
0001 // Created on: 1999-06-25
0002 // Created by: data exchange team
0003 // Copyright (c) 1999-1999 Matra Datavision
0004 // Copyright (c) 1999-2014 OPEN CASCADE SAS
0005 //
0006 // This file is part of Open CASCADE Technology software library.
0007 //
0008 // This library is free software; you can redistribute it and/or modify it under
0009 // the terms of the GNU Lesser General Public License version 2.1 as published
0010 // by the Free Software Foundation, with special exception defined in the file
0011 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
0012 // distribution for complete text of the license and disclaimer of any warranty.
0013 //
0014 // Alternatively, this file may be used under the terms of Open CASCADE
0015 // commercial license or contractual agreement.
0016
0017 #include <ShapeFix_Solid.hxx>
0018 #include <ShapeFix_Shell.hxx>
0019 #include <ShapeFix_Face.hxx>
0020 #include <ShapeFix_Wire.hxx>
0021
0022 //=======================================================================
0023 // function : FixSolidTool
0024 // purpose :
0025 //=======================================================================
0026
0027 inline Handle(ShapeFix_Solid) ShapeFix_Shape::FixSolidTool() const
0028 {
0029 return myFixSolid;
0030 }
0031
0032 //=======================================================================
0033 // function : FixShellTool
0034 // purpose :
0035 //=======================================================================
0036
0037 inline Handle(ShapeFix_Shell) ShapeFix_Shape::FixShellTool() const
0038 {
0039 return myFixSolid->FixShellTool();
0040 }
0041
0042 //=======================================================================
0043 // function : FixFaceTool
0044 // purpose :
0045 //=======================================================================
0046
0047 inline Handle(ShapeFix_Face) ShapeFix_Shape::FixFaceTool() const
0048 {
0049 return myFixSolid->FixShellTool()->FixFaceTool();
0050 }
0051
0052 //=======================================================================
0053 // function : FixWireTool
0054 // purpose :
0055 //=======================================================================
0056
0057 inline Handle(ShapeFix_Wire) ShapeFix_Shape::FixWireTool() const
0058 {
0059 return myFixSolid->FixShellTool()->FixFaceTool()->FixWireTool();
0060 }
0061
0062 //=======================================================================
0063 // function : FixEdgeTool
0064 // purpose :
0065 //=======================================================================
0066
0067 inline Handle(ShapeFix_Edge) ShapeFix_Shape::FixEdgeTool() const
0068 {
0069 return myFixSolid->FixShellTool()->FixFaceTool()->FixWireTool()->FixEdgeTool();
0070 }
0071
0072 //=======================================================================
0073 // function : FixSolidMode
0074 // purpose :
0075 //=======================================================================
0076
0077 inline Standard_Integer& ShapeFix_Shape::FixSolidMode()
0078 {
0079 return myFixSolidMode;
0080 }
0081
0082 //=======================================================================
0083 // function : FixFreeShellMode
0084 // purpose :
0085 //=======================================================================
0086
0087 inline Standard_Integer& ShapeFix_Shape::FixFreeShellMode()
0088 {
0089 return myFixShellMode;
0090 }
0091
0092 //=======================================================================
0093 // function : FixFreeFaceMode
0094 // purpose :
0095 //=======================================================================
0096
0097 inline Standard_Integer& ShapeFix_Shape::FixFreeFaceMode()
0098 {
0099 return myFixFaceMode;
0100 }
0101
0102 //=======================================================================
0103 // function : FixFreeWireMode
0104 // purpose :
0105 //=======================================================================
0106
0107 inline Standard_Integer& ShapeFix_Shape::FixFreeWireMode()
0108 {
0109 return myFixWireMode;
0110 }
0111
0112 //=======================================================================
0113 // function : FixSameParameterMode
0114 // purpose :
0115 //=======================================================================
0116
0117 inline Standard_Integer& ShapeFix_Shape::FixSameParameterMode()
0118 {
0119 return myFixSameParameterMode;
0120 }
0121
0122 //=======================================================================
0123 // function : FixVertexPositionMode
0124 // purpose :
0125 //=======================================================================
0126
0127 inline Standard_Integer& ShapeFix_Shape::FixVertexPositionMode()
0128 {
0129 return myFixVertexPositionMode;
0130 }
0131
0132 //=======================================================================
0133 // function : FixVertexTolMode
0134 // purpose :
0135 //=======================================================================
0136
0137 inline Standard_Integer& ShapeFix_Shape::FixVertexTolMode()
0138 {
0139 return myFixVertexTolMode;
0140 }