[Path] PathSimulator: remove unused includes

- also some sorting
This commit is contained in:
Uwe
2022-11-11 03:33:16 +01:00
parent bc4a5fa006
commit 8f2720b8b7
8 changed files with 16 additions and 36 deletions

View File

@@ -20,19 +20,11 @@
* *
***************************************************************************/
#include "PreCompiled.h"
#ifndef _PreComp_
# include <Python.h>
#endif
#include <Base/Console.h>
#include <Base/PyObjectBase.h>
#include <Base/Interpreter.h>
#include <CXX/Extensions.hxx>
#include <CXX/Objects.hxx>
#include "PathSim.h"
#include "PathSimPy.h"

View File

@@ -22,17 +22,9 @@
#include "PreCompiled.h"
#ifndef _PreComp_
# include <boost/regex.hpp>
#endif
#include <App/Application.h>
#include <App/Document.h>
#include <Base/Exception.h>
#include <Base/Console.h>
#include "PathSim.h"
using namespace Base;
using namespace PathSimulator;

View File

@@ -20,20 +20,17 @@
* *
***************************************************************************/
#ifndef PATHSIMULATOR_PathSim_H
#define PATHSIMULATOR_PathSim_H
// Exporting of App classes
#include <Base/Persistence.h>
#include <Base/Vector3D.h>
#include <TopoDS.hxx>
#include <TopoDS_Shape.hxx>
#include <Mod/Path/App/Command.h>
#include <Mod/Part/App/TopoShape.h>
#include "VolSim.h"
using namespace Path;
namespace PathSimulator

View File

@@ -23,16 +23,17 @@
#include "PreCompiled.h"
#include <Base/PlacementPy.h>
#include <Base/VectorPy.h>
#include <Mod/Part/App/TopoShapePy.h>
#include <Mod/Path/App/CommandPy.h>
#include <Mod/Mesh/App/MeshPy.h>
#include "Mod/Path/PathSimulator/App/PathSim.h"
#include <Mod/Mesh/App/MeshPy.h>
#include <Mod/Path/App/CommandPy.h>
#include <Mod/Part/App/TopoShapePy.h>
#include "PathSim.h"
// inclusion of the generated files (generated out of PathSimPy.xml)
#include "PathSimPy.h"
#include "PathSimPy.cpp"
using namespace PathSimulator;
// returns a string which represents the object e.g. when printed in python

View File

@@ -20,5 +20,4 @@
* *
***************************************************************************/
#include "PreCompiled.h"

View File

@@ -20,7 +20,6 @@
* *
***************************************************************************/
#ifndef APP_PRECOMPILED_H
#define APP_PRECOMPILED_H

View File

@@ -21,19 +21,18 @@
***************************************************************************/
#include "PreCompiled.h"
#include <Base/Console.h>
#ifndef _PreComp_
#include <algorithm>
#endif
#include <BRepBndLib.hxx>
#include <BRepCheck_Analyzer.hxx>
#include <BRepClass3d_SolidClassifier.hxx>
#include <gp_Pnt.hxx>
#ifndef _PreComp_
# include <algorithm>
#endif
#include "VolSim.h"
//************************************************************************************************************
// stock
//************************************************************************************************************

View File

@@ -22,14 +22,15 @@
* Volumetric Path simulation engine *
***************************************************************************/
#ifndef PATHSIMULATOR_VolSim_H
#define PATHSIMULATOR_VolSim_H
#include <vector>
#include <Mod/Mesh/App/Mesh.h>
#include <Mod/Path/App/Command.h>
#define SIM_EPSILON 0.00001
#define SIM_TESSEL_TOP 1
#define SIM_TESSEL_BOT 2