[Part] B*: remove unneeded includes

- also sort includes
This commit is contained in:
Uwe
2022-07-09 03:52:17 +02:00
parent 0eaa4e0bc3
commit 9694ac0297
10 changed files with 40 additions and 51 deletions

View File

@@ -20,22 +20,23 @@
* *
***************************************************************************/
#include "PreCompiled.h"
#ifndef _PreComp_
# include <memory>
# include <BRepOffsetAPI_MakeFilling.hxx>
# include <gp_Pnt.hxx>
# include <GeomAbs_Shape.hxx>
# include <gp_Pnt.hxx>
# include <TopoDS.hxx>
# include <TopoDS_Face.hxx>
#endif
#include <Base/VectorPy.h>
#include "BRepOffsetAPI_MakeFillingPy.h"
#include "BRepOffsetAPI_MakeFillingPy.cpp"
#include "TopoShapeEdgePy.h"
#include "TopoShapeFacePy.h"
#include <Base/VectorPy.h>
using namespace Part;
/*!

View File

@@ -20,7 +20,6 @@
* *
***************************************************************************/
#include "PreCompiled.h"
#ifndef _PreComp_
# include <BRep_Builder.hxx>
@@ -30,20 +29,22 @@
# include <Geom_BSplineCurve.hxx>
# include <Precision.hxx>
# include <ShapeConstruct_Curve.hxx>
# include <Standard_Version.hxx>
# include <Standard_ConstructionError.hxx>
# include <Standard_Version.hxx>
# include <TopExp_Explorer.hxx>
# include <TopLoc_Location.hxx>
# include <TopoDS.hxx>
# include <TopoDS_Compound.hxx>
# include <TopoDS_Edge.hxx>
# include <TopoDS_Wire.hxx>
# include <TopLoc_Location.hxx>
# include <TopTools_ListOfShape.hxx>
# include <TopTools_ListIteratorOfListOfShape.hxx>
# include <TopTools_ListOfShape.hxx>
# include <TopTools_MapOfShape.hxx>
#endif
#include "BRepOffsetAPI_MakeOffsetFix.h"
using namespace Part;
BRepOffsetAPI_MakeOffsetFix::BRepOffsetAPI_MakeOffsetFix()

View File

@@ -20,16 +20,18 @@
* *
***************************************************************************/
#ifndef PART_BREPOFFSETAPI_MAKEOFFSETFIX_H
#define PART_BREPOFFSETAPI_MAKEOFFSETFIX_H
#include <Mod/Part/PartGlobal.h>
#include <BRepOffsetAPI_MakeOffset.hxx>
#include <GeomAbs_CurveType.hxx>
#include <list>
#include <map>
#include <Mod/Part/PartGlobal.h>
#include <BRepOffsetAPI_MakeOffset.hxx>
#include <GeomAbs_CurveType.hxx>
namespace Part {
/*!
* \brief The BRepOffsetAPI_MakeOffsetFix class

View File

@@ -20,27 +20,26 @@
* *
***************************************************************************/
#include "PreCompiled.h"
#ifndef _PreComp_
# include <BRepOffsetAPI_MakePipeShell.hxx>
# include <gp_Ax2.hxx>
# include <gp_Dir.hxx>
# include <gp_Pnt.hxx>
# include <TopoDS.hxx>
# include <TopoDS_Wire.hxx>
# include <BRepOffsetAPI_MakePipeShell.hxx>
# include <Standard_Version.hxx>
# include <TopTools_ListIteratorOfListOfShape.hxx>
#endif
#include "TopoShapePy.h"
#include "TopoShapeVertexPy.h"
#include <Base/GeometryPyCXX.h>
#include <Base/VectorPy.h>
#include "BRepOffsetAPI_MakePipeShellPy.h"
#include "BRepOffsetAPI_MakePipeShellPy.cpp"
#include "Tools.h"
#include "OCCError.h"
#include <Base/VectorPy.h>
#include <Base/GeometryPyCXX.h>
#include "Tools.h"
#include "TopoShapePy.h"
#include "TopoShapeVertexPy.h"
using namespace Part;

View File

@@ -20,25 +20,24 @@
* *
***************************************************************************/
#include "PreCompiled.h"
#ifndef _PreComp_
# include <BSplCLib.hxx>
# include <Geom_BezierCurve.hxx>
# include <gp_Pnt.hxx>
# include <TColStd_Array1OfReal.hxx>
# include <TColgp_Array1OfPnt.hxx>
# include <math_Matrix.hxx>
# include <math_Gauss.hxx>
# include <BSplCLib.hxx>
# include <math_Matrix.hxx>
# include <TColgp_Array1OfPnt.hxx>
# include <TColStd_Array1OfReal.hxx>
#endif
#include <Base/VectorPy.h>
#include <Base/GeometryPyCXX.h>
#include <Base/VectorPy.h>
#include "OCCError.h"
#include "Geometry.h"
#include "BezierCurvePy.h"
#include "BezierCurvePy.cpp"
#include "OCCError.h"
using namespace Part;

View File

@@ -20,26 +20,23 @@
* *
***************************************************************************/
#include "PreCompiled.h"
#ifndef _PreComp_
# include <Geom_BezierCurve.hxx>
# include <Geom_BezierSurface.hxx>
# include <Geom_BezierCurve.hxx>
# include <TColStd_Array1OfReal.hxx>
# include <TColStd_Array2OfReal.hxx>
# include <TColgp_Array1OfPnt.hxx>
# include <TColgp_Array2OfPnt.hxx>
# include <TColStd_Array1OfReal.hxx>
# include <TColStd_Array2OfReal.hxx>
#endif
#include <Base/VectorPy.h>
#include <Base/GeometryPyCXX.h>
#include <Base/VectorPy.h>
#include "OCCError.h"
#include "Geometry.h"
#include "BezierCurvePy.h"
#include "BezierSurfacePy.h"
#include "BezierSurfacePy.cpp"
#include "OCCError.h"
using namespace Part;

View File

@@ -20,22 +20,16 @@
* *
***************************************************************************/
#include "PreCompiled.h"
#ifndef _PreComp_
#endif
#include <Mod/Part/App/BodyBasePy.h>
#include <App/Application.h>
#include <App/Document.h>
#include <Base/Placement.h>
#include "BodyBase.h"
#include "BodyBasePy.h"
namespace Part {
PROPERTY_SOURCE_WITH_EXTENSIONS(Part::BodyBase, Part::Feature)
BodyBase::BodyBase()

View File

@@ -20,13 +20,13 @@
* *
***************************************************************************/
#ifndef PART_BodyBase_H
#define PART_BodyBase_H
#include <App/PropertyStandard.h>
#include <App/OriginGroupExtension.h>
#include <Mod/Part/App/PartFeature.h>
#include "PartFeature.h"
namespace Part

View File

@@ -20,15 +20,14 @@
* *
***************************************************************************/
#include "PreCompiled.h"
#include "Mod/Part/App/BodyBase.h"
#include "BodyBase.h"
// inclusion of the generated files (generated out of ItemPy.xml)
#include "BodyBasePy.h"
#include "BodyBasePy.cpp"
using namespace Part;
// returns a string which represents the object e.g. when printed in python

View File

@@ -20,16 +20,13 @@
* *
***************************************************************************/
#include "PreCompiled.h"
#ifndef _PreComp_
# include <sstream>
#endif
#include <Base/GeometryPyCXX.h>
#include <Base/VectorPy.h>
#include "Geometry.h"
#include "BoundedCurvePy.h"
#include "BoundedCurvePy.cpp"