[Part] FeaturePart*: remove unneeded includes
- also sort includes
This commit is contained in:
@@ -20,19 +20,20 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#include "PreCompiled.h"
|
||||
#ifndef _PreComp_
|
||||
# include <memory>
|
||||
|
||||
# include <BRepAlgoAPI_BooleanOperation.hxx>
|
||||
# include <BRepCheck_Analyzer.hxx>
|
||||
# include <Standard_Failure.hxx>
|
||||
# include <memory>
|
||||
#endif
|
||||
|
||||
#include <App/Application.h>
|
||||
#include <Base/Parameter.h>
|
||||
|
||||
#include "FeaturePartBoolean.h"
|
||||
#include "modelRefine.h"
|
||||
#include <App/Application.h>
|
||||
#include <Base/Parameter.h>
|
||||
|
||||
|
||||
using namespace Part;
|
||||
|
||||
@@ -20,22 +20,19 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#include "PreCompiled.h"
|
||||
#ifndef _PreComp_
|
||||
# include <BRepPrimAPI_MakeBox.hxx>
|
||||
# include <Precision.hxx>
|
||||
#endif
|
||||
|
||||
|
||||
#include <Base/Console.h>
|
||||
#include <Base/Reader.h>
|
||||
|
||||
#include "FeaturePartBox.h"
|
||||
|
||||
|
||||
using namespace Part;
|
||||
|
||||
|
||||
PROPERTY_SOURCE(Part::Box, Part::Primitive)
|
||||
|
||||
|
||||
|
||||
@@ -20,8 +20,6 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
|
||||
#ifndef PART_FEATUREPARTBOX_H
|
||||
#define PART_FEATUREPARTBOX_H
|
||||
|
||||
@@ -29,6 +27,7 @@
|
||||
|
||||
#include "PrimitiveFeature.h"
|
||||
|
||||
|
||||
namespace Part
|
||||
{
|
||||
|
||||
|
||||
@@ -20,18 +20,18 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#include "PreCompiled.h"
|
||||
#ifndef _PreComp_
|
||||
# include <BRepBuilderAPI_MakeEdge.hxx>
|
||||
# include <gp_Circ.hxx>
|
||||
# include <TopoDS.hxx>
|
||||
# include <TopoDS_Edge.hxx>
|
||||
#endif
|
||||
|
||||
#include "FeaturePartCircle.h"
|
||||
#include <Base/Tools.h>
|
||||
|
||||
#include "FeaturePartCircle.h"
|
||||
|
||||
|
||||
using namespace Part;
|
||||
|
||||
App::PropertyQuantityConstraint::Constraints Circle::angleRange = {0.0,360.0,1.0};
|
||||
|
||||
@@ -20,13 +20,14 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#ifndef PART_FEATUREPARTCIRCLE_H
|
||||
#define PART_FEATUREPARTCIRCLE_H
|
||||
|
||||
#include <App/PropertyUnits.h>
|
||||
|
||||
#include "PrimitiveFeature.h"
|
||||
|
||||
|
||||
namespace Part
|
||||
{
|
||||
class PartExport Circle : public Part::Primitive
|
||||
|
||||
@@ -20,24 +20,22 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
|
||||
#include "PreCompiled.h"
|
||||
#ifndef _PreComp_
|
||||
# include <BRepAlgoAPI_Common.hxx>
|
||||
# include <BRepCheck_Analyzer.hxx>
|
||||
# include <Standard_Failure.hxx>
|
||||
# include <TopExp.hxx>
|
||||
# include <TopoDS_Iterator.hxx>
|
||||
# include <TopTools_IndexedMapOfShape.hxx>
|
||||
# include <TopExp.hxx>
|
||||
#endif
|
||||
|
||||
#include <App/Application.h>
|
||||
#include <Base/Parameter.h>
|
||||
|
||||
#include "FeaturePartCommon.h"
|
||||
#include "modelRefine.h"
|
||||
#include <App/Application.h>
|
||||
#include <Base/Parameter.h>
|
||||
#include <Base/Exception.h>
|
||||
|
||||
|
||||
using namespace Part;
|
||||
|
||||
|
||||
@@ -20,13 +20,12 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#ifndef PART_FEATUREPARTCOMMON_H
|
||||
#define PART_FEATUREPARTCOMMON_H
|
||||
|
||||
#include <App/PropertyLinks.h>
|
||||
#include "FeaturePartBoolean.h"
|
||||
|
||||
|
||||
namespace Part
|
||||
{
|
||||
|
||||
|
||||
@@ -20,14 +20,10 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#include "PreCompiled.h"
|
||||
#ifndef _PreComp_
|
||||
#endif
|
||||
|
||||
#include <Base/Console.h>
|
||||
#include <Base/Exception.h>
|
||||
#include <Base/Sequencer.h>
|
||||
|
||||
#include "FeaturePartCurveNet.h"
|
||||
|
||||
|
||||
|
||||
@@ -20,18 +20,15 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
|
||||
#ifndef PART_FeaturePartCurveNet_H
|
||||
#define PART_FeaturePartCurveNet_H
|
||||
|
||||
|
||||
#include "PartFeature.h"
|
||||
|
||||
|
||||
namespace Part
|
||||
{
|
||||
|
||||
|
||||
class CurveNet :public Part::Feature
|
||||
{
|
||||
PROPERTY_HEADER(Part::FeaturePartCurveNet);
|
||||
|
||||
@@ -20,16 +20,13 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#include "PreCompiled.h"
|
||||
#ifndef _PreComp_
|
||||
# include <BRepAlgoAPI_Cut.hxx>
|
||||
#endif
|
||||
|
||||
|
||||
#include "FeaturePartCut.h"
|
||||
|
||||
#include <Base/Exception.h>
|
||||
|
||||
using namespace Part;
|
||||
|
||||
|
||||
@@ -20,14 +20,12 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#ifndef PART_FEATUREPARTCUT_H
|
||||
#define PART_FEATUREPARTCUT_H
|
||||
|
||||
#include <App/PropertyLinks.h>
|
||||
|
||||
#include "FeaturePartBoolean.h"
|
||||
|
||||
|
||||
namespace Part
|
||||
{
|
||||
|
||||
|
||||
@@ -20,23 +20,22 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#include "PreCompiled.h"
|
||||
#ifndef _PreComp_
|
||||
# include <BRepAlgoAPI_Fuse.hxx>
|
||||
# include <BRepCheck_Analyzer.hxx>
|
||||
# include <Standard_Failure.hxx>
|
||||
# include <TopoDS_Iterator.hxx>
|
||||
# include <TopTools_IndexedMapOfShape.hxx>
|
||||
# include <TopExp.hxx>
|
||||
# include <TopTools_IndexedMapOfShape.hxx>
|
||||
#endif
|
||||
|
||||
#include <App/Application.h>
|
||||
#include <Base/Parameter.h>
|
||||
|
||||
#include "FeaturePartFuse.h"
|
||||
#include "modelRefine.h"
|
||||
#include <App/Application.h>
|
||||
#include <Base/Parameter.h>
|
||||
#include <Base/Exception.h>
|
||||
|
||||
|
||||
using namespace Part;
|
||||
|
||||
|
||||
@@ -20,14 +20,12 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#ifndef PART_FEATUREPARTFUSE_H
|
||||
#define PART_FEATUREPARTFUSE_H
|
||||
|
||||
#include <App/PropertyLinks.h>
|
||||
|
||||
#include "FeaturePartBoolean.h"
|
||||
|
||||
|
||||
namespace Part
|
||||
{
|
||||
|
||||
|
||||
@@ -20,15 +20,14 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#include "PreCompiled.h"
|
||||
#ifndef _PreComp_
|
||||
# include <fcntl.h>
|
||||
#endif
|
||||
|
||||
#include <Base/Console.h>
|
||||
#include <Base/Exception.h>
|
||||
#include <Base/FileInfo.h>
|
||||
|
||||
#include "FeaturePartImportBrep.h"
|
||||
|
||||
|
||||
|
||||
@@ -20,18 +20,15 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
|
||||
#ifndef PART_FEATUREPARTIMPORTBREP_H
|
||||
#define PART_FEATUREPARTIMPORTBREP_H
|
||||
|
||||
|
||||
#include "PartFeature.h"
|
||||
|
||||
|
||||
namespace Part
|
||||
{
|
||||
|
||||
|
||||
class ImportBrep :public Part::Feature
|
||||
{
|
||||
PROPERTY_HEADER(Part::ImportBrep);
|
||||
|
||||
@@ -20,15 +20,14 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#include "PreCompiled.h"
|
||||
#ifndef _PreComp_
|
||||
# include <fcntl.h>
|
||||
#endif
|
||||
|
||||
#include <Base/Console.h>
|
||||
#include <Base/Exception.h>
|
||||
#include <Base/FileInfo.h>
|
||||
|
||||
#include "FeaturePartImportIges.h"
|
||||
|
||||
|
||||
|
||||
@@ -20,18 +20,15 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
|
||||
#ifndef PART_FEATUREPARTIMPORTIGES_H
|
||||
#define PART_FEATUREPARTIMPORTIGES_H
|
||||
|
||||
|
||||
#include "PartFeature.h"
|
||||
|
||||
|
||||
namespace Part
|
||||
{
|
||||
|
||||
|
||||
class ImportIges :public Part::Feature
|
||||
{
|
||||
PROPERTY_HEADER(Part::FeaturePartImportIges);
|
||||
|
||||
@@ -20,7 +20,6 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#include "PreCompiled.h"
|
||||
#ifndef _PreComp_
|
||||
# include <fcntl.h>
|
||||
@@ -28,6 +27,7 @@
|
||||
|
||||
#include <Base/Console.h>
|
||||
#include <Base/FileInfo.h>
|
||||
|
||||
#include "FeaturePartImportStep.h"
|
||||
|
||||
|
||||
|
||||
@@ -20,22 +20,17 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
|
||||
#ifndef PART_FEATUREPARTIMPORTSTEP_H
|
||||
#define PART_FEATUREPARTIMPORTSTEP_H
|
||||
|
||||
|
||||
#include <App/PropertyStandard.h>
|
||||
|
||||
#include "PartFeature.h"
|
||||
|
||||
|
||||
|
||||
namespace Part
|
||||
{
|
||||
|
||||
|
||||
class ImportStep :public Part::Feature
|
||||
{
|
||||
PROPERTY_HEADER(Part::FeaturePartImportStep);
|
||||
|
||||
@@ -20,17 +20,15 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#include "PreCompiled.h"
|
||||
#ifndef _PreComp_
|
||||
# include <BRep_Builder.hxx>
|
||||
# include <BRepBuilderAPI_MakePolygon.hxx>
|
||||
# include <gp_Pnt.hxx>
|
||||
# include <TopoDS_Wire.hxx>
|
||||
#endif
|
||||
|
||||
#include "FeaturePartPolygon.h"
|
||||
#include <Base/Exception.h>
|
||||
|
||||
|
||||
PROPERTY_SOURCE(Part::Polygon, Part::Feature)
|
||||
|
||||
|
||||
@@ -20,7 +20,6 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#ifndef PART_FEATUREPARTPOLYGON_H
|
||||
#define PART_FEATUREPARTPOLYGON_H
|
||||
|
||||
@@ -28,6 +27,7 @@
|
||||
|
||||
#include "PartFeature.h"
|
||||
|
||||
|
||||
namespace Part
|
||||
{
|
||||
|
||||
|
||||
@@ -20,7 +20,6 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#include "PreCompiled.h"
|
||||
#ifndef _PreComp_
|
||||
# include <BRepAlgoAPI_Section.hxx>
|
||||
@@ -29,7 +28,6 @@
|
||||
|
||||
#include "FeaturePartSection.h"
|
||||
|
||||
#include <Base/Exception.h>
|
||||
|
||||
using namespace Part;
|
||||
|
||||
|
||||
@@ -20,14 +20,14 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#ifndef PART_FEATUREPARTSECTION_H
|
||||
#define PART_FEATUREPARTSECTION_H
|
||||
|
||||
#include <App/PropertyLinks.h>
|
||||
#include <App/PropertyStandard.h>
|
||||
|
||||
#include "FeaturePartBoolean.h"
|
||||
|
||||
|
||||
namespace Part
|
||||
{
|
||||
|
||||
|
||||
@@ -20,18 +20,13 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#include "PreCompiled.h"
|
||||
#ifndef _PreComp_
|
||||
#endif
|
||||
|
||||
|
||||
#include "FeaturePartSpline.h"
|
||||
|
||||
|
||||
using namespace Part;
|
||||
|
||||
|
||||
PROPERTY_SOURCE(Part::Spline, Part::Feature)
|
||||
|
||||
|
||||
|
||||
@@ -20,13 +20,12 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
|
||||
#ifndef PART_FEATUREPARTSPLINE_H
|
||||
#define PART_FEATUREPARTSPLINE_H
|
||||
|
||||
#include "PartFeature.h"
|
||||
|
||||
|
||||
namespace Part
|
||||
{
|
||||
|
||||
|
||||
Reference in New Issue
Block a user