[Part] ShapeFix: remove unneeded includes
- also sort includes
This commit is contained in:
@@ -20,10 +20,8 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#include "PreCompiled.h"
|
||||
#ifndef _PreComp_
|
||||
# include <Standard_Failure.hxx>
|
||||
# include <TopoDS.hxx>
|
||||
#endif
|
||||
|
||||
@@ -31,6 +29,7 @@
|
||||
#include "ShapeFix/ShapeFix_EdgeConnectPy.cpp"
|
||||
#include "TopoShapeEdgePy.h"
|
||||
|
||||
|
||||
using namespace Part;
|
||||
|
||||
// returns a string which represents the object e.g. when printed in python
|
||||
|
||||
@@ -20,21 +20,20 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#include "PreCompiled.h"
|
||||
#ifndef _PreComp_
|
||||
# include <Precision.hxx>
|
||||
# include <Standard_Failure.hxx>
|
||||
# include <TopoDS.hxx>
|
||||
#endif
|
||||
|
||||
#include <Base/PlacementPy.h>
|
||||
|
||||
#include "ShapeFix/ShapeFix_EdgePy.h"
|
||||
#include "ShapeFix/ShapeFix_EdgePy.cpp"
|
||||
#include <Base/PlacementPy.h>
|
||||
#include <Mod/Part/App/GeometrySurfacePy.h>
|
||||
#include <Mod/Part/App/TopoShapeFacePy.h>
|
||||
#include <Mod/Part/App/TopoShapeEdgePy.h>
|
||||
#include "GeometrySurfacePy.h"
|
||||
#include "Tools.h"
|
||||
#include "TopoShapeEdgePy.h"
|
||||
#include "TopoShapeFacePy.h"
|
||||
|
||||
|
||||
using namespace Part;
|
||||
|
||||
|
||||
@@ -20,12 +20,9 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#include "PreCompiled.h"
|
||||
#ifndef _PreComp_
|
||||
# include <Standard_Failure.hxx>
|
||||
# include <TopoDS.hxx>
|
||||
# include <TopoDS_Face.hxx>
|
||||
# include <TopoDS_Shell.hxx>
|
||||
#endif
|
||||
|
||||
@@ -34,6 +31,7 @@
|
||||
#include "TopoShapeFacePy.h"
|
||||
#include "TopoShapeShellPy.h"
|
||||
|
||||
|
||||
using namespace Part;
|
||||
|
||||
// returns a string which represents the object e.g. when printed in python
|
||||
|
||||
@@ -20,7 +20,6 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#include "PreCompiled.h"
|
||||
#ifndef _PreComp_
|
||||
# include <TopoDS.hxx>
|
||||
@@ -33,6 +32,7 @@
|
||||
#include <Mod/Part/App/TopoShapeFacePy.h>
|
||||
#include <Mod/Part/App/TopoShapeWirePy.h>
|
||||
|
||||
|
||||
using namespace Part;
|
||||
|
||||
// returns a string which represents the object e.g. when printed in python
|
||||
|
||||
@@ -20,7 +20,6 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#include "PreCompiled.h"
|
||||
#ifndef _PreComp_
|
||||
# include <TopoDS.hxx>
|
||||
@@ -31,8 +30,8 @@
|
||||
#include "ShapeFix/ShapeFix_FixSmallFacePy.cpp"
|
||||
#include "TopoShapeFacePy.h"
|
||||
|
||||
using namespace Part;
|
||||
|
||||
using namespace Part;
|
||||
|
||||
std::string ShapeFix_FixSmallFacePy::representation() const
|
||||
{
|
||||
|
||||
@@ -20,19 +20,17 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#include "PreCompiled.h"
|
||||
#ifndef _PreComp_
|
||||
# include <ShapeBuild_ReShape.hxx>
|
||||
# include <TopoDS_Shape.hxx>
|
||||
#endif
|
||||
|
||||
#include "ShapeFix/ShapeFix_FixSmallSolidPy.h"
|
||||
#include "ShapeFix/ShapeFix_FixSmallSolidPy.cpp"
|
||||
#include "TopoShapePy.h"
|
||||
|
||||
using namespace Part;
|
||||
|
||||
using namespace Part;
|
||||
|
||||
std::string ShapeFix_FixSmallSolidPy::representation() const
|
||||
{
|
||||
|
||||
@@ -20,19 +20,16 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#include "PreCompiled.h"
|
||||
#ifndef _PreComp_
|
||||
# include <Standard_Failure.hxx>
|
||||
# include <TopoDS.hxx>
|
||||
# include <TopoDS_Face.hxx>
|
||||
# include <TopoDS_Shell.hxx>
|
||||
#endif
|
||||
|
||||
#include "ShapeFix/ShapeFix_FreeBoundsPy.h"
|
||||
#include "ShapeFix/ShapeFix_FreeBoundsPy.cpp"
|
||||
#include "TopoShapePy.h"
|
||||
|
||||
|
||||
using namespace Part;
|
||||
|
||||
// returns a string which represents the object e.g. when printed in python
|
||||
|
||||
@@ -20,16 +20,15 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#include "PreCompiled.h"
|
||||
#ifndef _PreComp_
|
||||
# include <Precision.hxx>
|
||||
# include <Standard_Failure.hxx>
|
||||
#endif
|
||||
|
||||
#include "ShapeFix/ShapeFix_RootPy.h"
|
||||
#include "ShapeFix/ShapeFix_RootPy.cpp"
|
||||
|
||||
|
||||
using namespace Part;
|
||||
|
||||
// returns a string which represents the object e.g. when printed in python
|
||||
|
||||
@@ -20,20 +20,17 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#include "PreCompiled.h"
|
||||
#ifndef _PreComp_
|
||||
# include <TopoDS.hxx>
|
||||
#endif
|
||||
|
||||
#include "ShapeFix/ShapeFix_ShapePy.h"
|
||||
#include "ShapeFix/ShapeFix_ShapePy.cpp"
|
||||
#include "ShapeFix/ShapeFix_EdgePy.h"
|
||||
#include "ShapeFix/ShapeFix_WirePy.h"
|
||||
#include "ShapeFix/ShapeFix_FacePy.h"
|
||||
#include "ShapeFix/ShapeFix_ShellPy.h"
|
||||
#include "ShapeFix/ShapeFix_SolidPy.h"
|
||||
#include <Mod/Part/App/TopoShapePy.h>
|
||||
#include "ShapeFix/ShapeFix_WirePy.h"
|
||||
#include "TopoShapePy.h"
|
||||
|
||||
|
||||
using namespace Part;
|
||||
|
||||
|
||||
@@ -20,19 +20,16 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#include "PreCompiled.h"
|
||||
#ifndef _PreComp_
|
||||
# include <Standard_Failure.hxx>
|
||||
# include <TopoDS.hxx>
|
||||
# include <TopoDS_Face.hxx>
|
||||
# include <TopoDS_Shell.hxx>
|
||||
#endif
|
||||
|
||||
#include "ShapeFix/ShapeFix_ShapeTolerancePy.h"
|
||||
#include "ShapeFix/ShapeFix_ShapeTolerancePy.cpp"
|
||||
#include "TopoShapePy.h"
|
||||
|
||||
|
||||
using namespace Part;
|
||||
|
||||
// returns a string which represents the object e.g. when printed in python
|
||||
|
||||
@@ -20,18 +20,16 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#include "PreCompiled.h"
|
||||
#ifndef _PreComp_
|
||||
# include <Precision.hxx>
|
||||
# include <Standard_Failure.hxx>
|
||||
# include <TopoDS.hxx>
|
||||
#endif
|
||||
|
||||
#include "ShapeFix/ShapeFix_ShellPy.h"
|
||||
#include "ShapeFix/ShapeFix_ShellPy.cpp"
|
||||
#include "ShapeFix/ShapeFix_FacePy.h"
|
||||
#include <Mod/Part/App/TopoShapeShellPy.h>
|
||||
#include "TopoShapeShellPy.h"
|
||||
|
||||
|
||||
using namespace Part;
|
||||
|
||||
|
||||
@@ -20,26 +20,23 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#include "PreCompiled.h"
|
||||
#ifndef _PreComp_
|
||||
# include <Precision.hxx>
|
||||
# include <Standard_Failure.hxx>
|
||||
# include <Standard_Version.hxx>
|
||||
# include <TopoDS.hxx>
|
||||
# include <TopoDS_Solid.hxx>
|
||||
#endif
|
||||
|
||||
#if OCC_VERSION_HEX >= 0x070500
|
||||
# include <Message_ProgressRange.hxx>
|
||||
# if OCC_VERSION_HEX >= 0x070500
|
||||
# include <Message_ProgressRange.hxx>
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#include "ShapeFix/ShapeFix_SolidPy.h"
|
||||
#include "ShapeFix/ShapeFix_SolidPy.cpp"
|
||||
#include "ShapeFix/ShapeFix_ShellPy.h"
|
||||
#include "ShapeFix/ShapeFix_FacePy.h"
|
||||
#include <Mod/Part/App/TopoShapeShellPy.h>
|
||||
#include <Mod/Part/App/TopoShapeSolidPy.h>
|
||||
#include "TopoShapeShellPy.h"
|
||||
#include "TopoShapeSolidPy.h"
|
||||
|
||||
|
||||
using namespace Part;
|
||||
|
||||
|
||||
@@ -20,20 +20,12 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#include "PreCompiled.h"
|
||||
#ifndef _PreComp_
|
||||
# include <TopoDS.hxx>
|
||||
#endif
|
||||
|
||||
#
|
||||
#include "ShapeFix/ShapeFix_SplitCommonVertexPy.h"
|
||||
#include "ShapeFix/ShapeFix_SplitCommonVertexPy.cpp"
|
||||
#include "ShapeFix/ShapeFix_EdgePy.h"
|
||||
#include "ShapeFix/ShapeFix_WirePy.h"
|
||||
#include "ShapeFix/ShapeFix_FacePy.h"
|
||||
#include "ShapeFix/ShapeFix_ShellPy.h"
|
||||
#include "ShapeFix/ShapeFix_SolidPy.h"
|
||||
#include <Mod/Part/App/TopoShapePy.h>
|
||||
#include "TopoShapePy.h"
|
||||
|
||||
|
||||
using namespace Part;
|
||||
|
||||
|
||||
@@ -20,14 +20,10 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#include "PreCompiled.h"
|
||||
#ifndef _PreComp_
|
||||
# include <ShapeFix_Wire.hxx>
|
||||
# include <TopoDS.hxx>
|
||||
# include <TopoDS_Edge.hxx>
|
||||
# include <TopoDS_Face.hxx>
|
||||
# include <TopoDS_Vertex.hxx>
|
||||
#endif
|
||||
|
||||
#include "ShapeFix/ShapeFix_SplitToolPy.h"
|
||||
|
||||
@@ -20,22 +20,22 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#include "PreCompiled.h"
|
||||
#ifndef _PreComp_
|
||||
# include <ShapeFix_Wire.hxx>
|
||||
# include <TopoDS.hxx>
|
||||
#endif
|
||||
|
||||
#include <Base/PlacementPy.h>
|
||||
|
||||
#include "ShapeFix/ShapeFix_WirePy.h"
|
||||
#include "ShapeFix/ShapeFix_WirePy.cpp"
|
||||
#include "ShapeFix/ShapeFix_EdgePy.h"
|
||||
#include <Base/PlacementPy.h>
|
||||
#include <Mod/Part/App/GeometrySurfacePy.h>
|
||||
#include <Mod/Part/App/TopoShapeFacePy.h>
|
||||
#include <Mod/Part/App/TopoShapeWirePy.h>
|
||||
#include "GeometrySurfacePy.h"
|
||||
#include "OCCError.h"
|
||||
#include "Tools.h"
|
||||
#include "TopoShapeFacePy.h"
|
||||
#include "TopoShapeWirePy.h"
|
||||
|
||||
|
||||
using namespace Part;
|
||||
|
||||
|
||||
@@ -20,18 +20,16 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#include "PreCompiled.h"
|
||||
#ifndef _PreComp_
|
||||
# include <Standard_Failure.hxx>
|
||||
# include <TopoDS.hxx>
|
||||
# include <TopoDS_Wire.hxx>
|
||||
#endif
|
||||
|
||||
#include "ShapeFix/ShapeFix_WireVertexPy.h"
|
||||
#include "ShapeFix/ShapeFix_WireVertexPy.cpp"
|
||||
#include "TopoShapeWirePy.h"
|
||||
|
||||
|
||||
using namespace Part;
|
||||
|
||||
// returns a string which represents the object e.g. when printed in python
|
||||
|
||||
@@ -20,21 +20,15 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#include "PreCompiled.h"
|
||||
#ifndef _PreComp_
|
||||
# include <TopoDS.hxx>
|
||||
#endif
|
||||
|
||||
#include "ShapeFix/ShapeFix_WireframePy.h"
|
||||
#include "ShapeFix/ShapeFix_WireframePy.cpp"
|
||||
#include "ShapeFix/ShapeFix_WirePy.h"
|
||||
#include <Mod/Part/App/GeometrySurfacePy.h>
|
||||
#include <Mod/Part/App/TopoShapePy.h>
|
||||
#include "TopoShapePy.h"
|
||||
|
||||
|
||||
using namespace Part;
|
||||
|
||||
|
||||
std::string ShapeFix_WireframePy::representation() const
|
||||
{
|
||||
return "<ShapeFix_Wireframe object>";
|
||||
|
||||
Reference in New Issue
Block a user