[Part] C*: remove unneeded includes
- also sort includes
This commit is contained in:
@@ -20,21 +20,21 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#include "PreCompiled.h"
|
||||
#ifndef _PreComp_
|
||||
# include <gp_Circ.hxx>
|
||||
# include <Geom_Circle.hxx>
|
||||
# include <GC_MakeCircle.hxx>
|
||||
# include <Geom_Circle.hxx>
|
||||
# include <gp_Circ.hxx>
|
||||
#endif
|
||||
|
||||
#include "OCCError.h"
|
||||
#include <Mod/Part/App/CirclePy.h>
|
||||
#include <Mod/Part/App/CirclePy.cpp>
|
||||
|
||||
#include <Base/GeometryPyCXX.h>
|
||||
#include <Base/VectorPy.h>
|
||||
|
||||
#include "CirclePy.h"
|
||||
#include "CirclePy.cpp"
|
||||
#include "OCCError.h"
|
||||
|
||||
|
||||
using namespace Part;
|
||||
|
||||
extern const char* gce_ErrorStatusText(gce_ErrorType et);
|
||||
|
||||
@@ -20,29 +20,20 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#include "PreCompiled.h"
|
||||
#ifndef _PreComp_
|
||||
# include <Geom_ConicalSurface.hxx>
|
||||
# include <Geom_Circle.hxx>
|
||||
# include <GC_MakeConicalSurface.hxx>
|
||||
# include <gp_Circ.hxx>
|
||||
# include <gp_Cone.hxx>
|
||||
# include <gp_Lin.hxx>
|
||||
# include <Geom_Line.hxx>
|
||||
# include <Geom_TrimmedCurve.hxx>
|
||||
# include <Geom_ConicalSurface.hxx>
|
||||
# include <Standard_Failure.hxx>
|
||||
#endif
|
||||
|
||||
#include <Base/GeometryPyCXX.h>
|
||||
#include <Base/VectorPy.h>
|
||||
|
||||
#include "OCCError.h"
|
||||
#include "Geometry.h"
|
||||
#include "LinePy.h"
|
||||
#include "CirclePy.h"
|
||||
#include "ConePy.h"
|
||||
#include "ConePy.cpp"
|
||||
#include "OCCError.h"
|
||||
|
||||
|
||||
using namespace Part;
|
||||
|
||||
|
||||
@@ -20,18 +20,18 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#include "PreCompiled.h"
|
||||
#ifndef _PreComp_
|
||||
# include <Geom_Conic.hxx>
|
||||
#endif
|
||||
|
||||
#include <Mod/Part/App/OCCError.h>
|
||||
#include <Mod/Part/App/ConicPy.h>
|
||||
#include <Mod/Part/App/ConicPy.cpp>
|
||||
|
||||
#include <Base/VectorPy.h>
|
||||
#include <Base/GeometryPyCXX.h>
|
||||
#include <Base/VectorPy.h>
|
||||
|
||||
#include "ConicPy.h"
|
||||
#include "ConicPy.cpp"
|
||||
#include "OCCError.h"
|
||||
|
||||
|
||||
using namespace Part;
|
||||
|
||||
|
||||
@@ -20,7 +20,6 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#include "PreCompiled.h"
|
||||
#ifndef _PreComp_
|
||||
# include <BRepAdaptor_Surface.hxx>
|
||||
@@ -29,16 +28,15 @@
|
||||
# include <BRepAlgoAPI_Section.hxx>
|
||||
# include <BRepBuilderAPI_MakeFace.hxx>
|
||||
# include <BRepBuilderAPI_MakeWire.hxx>
|
||||
# include <BRepGProp_Face.hxx>
|
||||
# include <BRepPrimAPI_MakeHalfSpace.hxx>
|
||||
# include <gp_Pln.hxx>
|
||||
# include <Precision.hxx>
|
||||
# include <ShapeFix_Wire.hxx>
|
||||
# include <ShapeAnalysis_FreeBounds.hxx>
|
||||
# include <ShapeFix_Wire.hxx>
|
||||
# include <TopExp.hxx>
|
||||
# include <TopExp_Explorer.hxx>
|
||||
# include <TopTools_IndexedMapOfShape.hxx>
|
||||
# include <TopTools_HSequenceOfShape.hxx>
|
||||
# include <TopTools_IndexedMapOfShape.hxx>
|
||||
# include <TopoDS.hxx>
|
||||
# include <TopoDS_Edge.hxx>
|
||||
# include <TopoDS_Wire.hxx>
|
||||
@@ -46,8 +44,8 @@
|
||||
|
||||
#include "CrossSection.h"
|
||||
|
||||
using namespace Part;
|
||||
|
||||
using namespace Part;
|
||||
|
||||
CrossSection::CrossSection(double a, double b, double c, const TopoDS_Shape& s)
|
||||
: a(a), b(b), c(c), s(s)
|
||||
|
||||
@@ -20,13 +20,13 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#ifndef PART_CROSSSECTION_H
|
||||
#define PART_CROSSSECTION_H
|
||||
|
||||
#include <Mod/Part/PartGlobal.h>
|
||||
#include <list>
|
||||
#include <TopTools_IndexedMapOfShape.hxx>
|
||||
#include <Mod/Part/PartGlobal.h>
|
||||
|
||||
|
||||
class TopoDS_Shape;
|
||||
class TopoDS_Wire;
|
||||
|
||||
@@ -20,17 +20,11 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#include "PreCompiled.h"
|
||||
|
||||
#ifndef _PreComp_
|
||||
# include <gp_Trsf.hxx>
|
||||
# include <gp_Ax1.hxx>
|
||||
#endif
|
||||
|
||||
|
||||
#include "CustomFeature.h"
|
||||
|
||||
|
||||
using namespace Part;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user