[Path] PathSimulator: remove unused includes
- also some sorting
This commit is contained in:
@@ -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"
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -20,5 +20,4 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#include "PreCompiled.h"
|
||||
|
||||
@@ -20,7 +20,6 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#ifndef APP_PRECOMPILED_H
|
||||
#define APP_PRECOMPILED_H
|
||||
|
||||
|
||||
@@ -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
|
||||
//************************************************************************************************************
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user