[Part] ChFi2d etc.: remove unneeded includes

- also sort includes
This commit is contained in:
Uwe
2022-07-09 17:13:38 +02:00
parent 98c36665be
commit 363f9258d8
13 changed files with 59 additions and 88 deletions

View File

@@ -20,7 +20,6 @@
* *
***************************************************************************/
#include "PreCompiled.h"
#ifndef _PreComp_
# include <TopoDS.hxx>
@@ -28,16 +27,17 @@
# include <TopoDS_Face.hxx>
#endif
#include <Base/VectorPy.h>
#include "BRepFeat/MakePrismPy.h"
#include "BRepFeat/MakePrismPy.cpp"
#include "Geometry.h"
#include "TopoShapeEdgePy.h"
#include "TopoShapeFacePy.h"
#include <Base/VectorPy.h>
using namespace Part;
PyObject *MakePrismPy::PyMake(struct _typeobject *, PyObject *, PyObject *) // Python wrapper
{
// create a new instance of MakePrismPy

View File

@@ -20,28 +20,22 @@
* *
***************************************************************************/
#include "PreCompiled.h"
#ifndef _PreComp_
# include <gp_Pln.hxx>
# include <Standard_Failure.hxx>
# include <TopoDS.hxx>
# include <TopoDS_Edge.hxx>
# include <TopoDS_Wire.hxx>
#endif
#include <Mod/Part/App/ChFi2d/ChFi2d_AnaFilletAlgoPy.h>
#include <Mod/Part/App/ChFi2d/ChFi2d_AnaFilletAlgoPy.cpp>
#include <Mod/Part/App/TopoShapeEdgePy.h>
#include <Mod/Part/App/TopoShapeWirePy.h>
#include <Mod/Part/App/Geometry.h>
#include <Mod/Part/App/PlanePy.h>
#include <Base/VectorPy.h>
#include "Tools.h"
#include "ChFi2d/ChFi2d_AnaFilletAlgoPy.h"
#include "ChFi2d/ChFi2d_AnaFilletAlgoPy.cpp"
#include "PlanePy.h"
#include "TopoShapeEdgePy.h"
#include "TopoShapeWirePy.h"
using namespace Part;
PyObject *ChFi2d_AnaFilletAlgoPy::PyMake(struct _typeobject *, PyObject *, PyObject *) // Python wrapper
{
// create a new instance of ChFi2d_AnaFilletAlgoPy and the Twin object

View File

@@ -20,26 +20,21 @@
* *
***************************************************************************/
#include "PreCompiled.h"
#ifndef _PreComp_
# include <gp_Pln.hxx>
# include <Standard_Failure.hxx>
# include <TopoDS.hxx>
# include <TopoDS_Edge.hxx>
# include <TopoDS_Wire.hxx>
#endif
#include <Mod/Part/App/ChFi2d/ChFi2d_ChamferAPIPy.h>
#include <Mod/Part/App/ChFi2d/ChFi2d_ChamferAPIPy.cpp>
#include <Mod/Part/App/TopoShapeEdgePy.h>
#include <Mod/Part/App/TopoShapeWirePy.h>
#include <Mod/Part/App/Geometry.h>
#include "Tools.h"
#include "ChFi2d/ChFi2d_ChamferAPIPy.h"
#include "ChFi2d/ChFi2d_ChamferAPIPy.cpp"
#include "TopoShapeEdgePy.h"
#include "TopoShapeWirePy.h"
using namespace Part;
PyObject *ChFi2d_ChamferAPIPy::PyMake(struct _typeobject *, PyObject *, PyObject *) // Python wrapper
{
// create a new instance of ChFi2d_ChamferAPIPy and the Twin object

View File

@@ -20,27 +20,24 @@
* *
***************************************************************************/
#include "PreCompiled.h"
#ifndef _PreComp_
# include <gp_Pln.hxx>
# include <Standard_Failure.hxx>
# include <TopoDS.hxx>
# include <TopoDS_Edge.hxx>
# include <TopoDS_Wire.hxx>
#endif
#include <Mod/Part/App/ChFi2d/ChFi2d_FilletAPIPy.h>
#include <Mod/Part/App/ChFi2d/ChFi2d_FilletAPIPy.cpp>
#include <Mod/Part/App/TopoShapeEdgePy.h>
#include <Mod/Part/App/TopoShapeWirePy.h>
#include <Mod/Part/App/Geometry.h>
#include <Mod/Part/App/PlanePy.h>
#include <Base/VectorPy.h>
#include "ChFi2d/ChFi2d_FilletAPIPy.h"
#include "ChFi2d/ChFi2d_FilletAPIPy.cpp"
#include "TopoShapeEdgePy.h"
#include "TopoShapeWirePy.h"
#include "PlanePy.h"
#include "Tools.h"
using namespace Part;
using namespace Part;
PyObject *ChFi2d_FilletAPIPy::PyMake(struct _typeobject *, PyObject *, PyObject *) // Python wrapper
{

View File

@@ -20,27 +20,24 @@
* *
***************************************************************************/
#include "PreCompiled.h"
#ifndef _PreComp_
# include <gp_Pln.hxx>
# include <Standard_Failure.hxx>
# include <TopoDS.hxx>
# include <TopoDS_Edge.hxx>
# include <TopoDS_Wire.hxx>
#endif
#include <Mod/Part/App/ChFi2d/ChFi2d_FilletAlgoPy.h>
#include <Mod/Part/App/ChFi2d/ChFi2d_FilletAlgoPy.cpp>
#include <Mod/Part/App/TopoShapeEdgePy.h>
#include <Mod/Part/App/TopoShapeWirePy.h>
#include <Mod/Part/App/Geometry.h>
#include <Mod/Part/App/PlanePy.h>
#include <Base/VectorPy.h>
#include "ChFi2d/ChFi2d_FilletAlgoPy.h"
#include "ChFi2d/ChFi2d_FilletAlgoPy.cpp"
#include "TopoShapeEdgePy.h"
#include "TopoShapeWirePy.h"
#include "PlanePy.h"
#include "Tools.h"
using namespace Part;
using namespace Part;
PyObject *ChFi2d_FilletAlgoPy::PyMake(struct _typeobject *, PyObject *, PyObject *) // Python wrapper
{

View File

@@ -20,7 +20,6 @@
* *
***************************************************************************/
#include "PreCompiled.h"
#ifndef _PreComp_
# include <Standard_Failure.hxx>
@@ -30,9 +29,9 @@
#include "GeomPlate/BuildPlateSurfacePy.cpp"
#include "GeomPlate/CurveConstraintPy.h"
#include "GeomPlate/PointConstraintPy.h"
#include "GeometryCurvePy.h"
#include "GeometrySurfacePy.h"
#include "Geometry2d.h"
#include "GeometrySurfacePy.h"
using namespace Part;

View File

@@ -20,7 +20,6 @@
* *
***************************************************************************/
#include "PreCompiled.h"
#ifndef _PreComp_
# include <GeomAdaptor_Curve.hxx>
@@ -37,8 +36,7 @@
#include "GeomPlate/CurveConstraintPy.cpp"
#include "Geom2d/Curve2dPy.h"
#include "GeometryCurvePy.h"
#include "GeometrySurfacePy.h"
#include "Geometry2d.h"
using namespace Part;

View File

@@ -20,18 +20,16 @@
* *
***************************************************************************/
#include "PreCompiled.h"
#ifndef _PreComp_
# include <Standard_Failure.hxx>
#endif
#include <Base/VectorPy.h>
#include "GeomPlate/PointConstraintPy.h"
#include "GeomPlate/PointConstraintPy.cpp"
#include "GeometryCurvePy.h"
#include "GeometrySurfacePy.h"
#include "Geometry2d.h"
#include <Base/VectorPy.h>
using namespace Part;

View File

@@ -20,27 +20,27 @@
* *
***************************************************************************/
#include "PreCompiled.h"
#ifndef _PreComp_
# include <limits>
# include <gp_Ax2.hxx>
# include <gp_Pnt.hxx>
# include <limits>
# include <HLRAlgo_Projector.hxx>
#endif
#include <Base/GeometryPyCXX.h>
#include <Base/VectorPy.h>
#include <boost/math/special_functions/fpclassify.hpp>
#include "HLRBRep/HLRBRep_AlgoPy.h"
#include "HLRBRep/HLRBRep_AlgoPy.cpp"
#include <Mod/Part/App/TopoShapePy.h>
#include <Mod/Part/App/Tools.h>
#include <Base/VectorPy.h>
#include <Base/GeometryPyCXX.h>
#include "TopoShapePy.h"
#include "Tools.h"
#include <boost/math/special_functions/fpclassify.hpp>
#include <HLRAlgo_Projector.hxx>
using namespace Part;
PyObject *HLRBRep_AlgoPy::PyMake(struct _typeobject *, PyObject *, PyObject *)
{
// create a new instance of HLRBRep_AlgoPy

View File

@@ -20,28 +20,28 @@
* *
***************************************************************************/
#include "PreCompiled.h"
#ifndef _PreComp_
# include <limits>
# include <gp_Ax2.hxx>
# include <gp_Pnt.hxx>
# include <HLRAlgo_Projector.hxx>
# include <Standard_Version.hxx>
# include <limits>
#endif
#include <Base/GeometryPyCXX.h>
#include <Base/VectorPy.h>
#include <boost/math/special_functions/fpclassify.hpp>
#include "HLRBRep/HLRBRep_PolyAlgoPy.h"
#include "HLRBRep/HLRBRep_PolyAlgoPy.cpp"
#include <Mod/Part/App/TopoShapePy.h>
#include <Mod/Part/App/Tools.h>
#include <Base/VectorPy.h>
#include <Base/GeometryPyCXX.h>
#include "TopoShapePy.h"
#include "Tools.h"
#include <boost/math/special_functions/fpclassify.hpp>
#include <HLRAlgo_Projector.hxx>
using namespace Part;
PyObject *HLRBRep_PolyAlgoPy::PyMake(struct _typeobject *, PyObject *, PyObject *)
{
// create a new instance of HLRBRep_AlgoPy

View File

@@ -20,19 +20,16 @@
* *
***************************************************************************/
#include "PreCompiled.h"
#ifndef _PreComp_
#endif
#include "HLRBRep/HLRToShapePy.h"
#include "HLRBRep/HLRToShapePy.cpp"
#include "HLRBRep/HLRBRep_AlgoPy.h"
#include <Mod/Part/App/TopoShapePy.h>
#include "TopoShapePy.h"
using namespace Part;
PyObject *HLRToShapePy::PyMake(struct _typeobject *, PyObject *, PyObject *)
{
// create a new instance of HLRBRep_AlgoPy

View File

@@ -20,19 +20,16 @@
* *
***************************************************************************/
#include "PreCompiled.h"
#ifndef _PreComp_
#endif
#include "HLRBRep/PolyHLRToShapePy.h"
#include "HLRBRep/PolyHLRToShapePy.cpp"
#include "HLRBRep/HLRBRep_PolyAlgoPy.h"
#include <Mod/Part/App/TopoShapePy.h>
#include "TopoShapePy.h"
using namespace Part;
PyObject *PolyHLRToShapePy::PyMake(struct _typeobject *, PyObject *, PyObject *)
{
// create a new instance of HLRBRep_AlgoPy

View File

@@ -20,21 +20,20 @@
* *
***************************************************************************/
#include "PreCompiled.h"
#ifndef _PreComp_
# include <memory>
# include <Precision.hxx>
# include <Standard_Failure.hxx>
#endif
// Needed for OCCT 7.5.2
#include <TopoDS_Edge.hxx>
#endif
#include "ShapeUpgrade/UnifySameDomainPy.h"
#include "ShapeUpgrade/UnifySameDomainPy.cpp"
#include "TopoShapePy.h"
#include "PartPyCXX.h"
#include "TopoShapePy.h"
using namespace Part;