[Path] P-End: remove unused includes

- also some sorting
This commit is contained in:
Uwe
2022-12-04 17:32:32 +01:00
parent 113dce72d7
commit 836c1be75d
15 changed files with 30 additions and 69 deletions

View File

@@ -20,29 +20,17 @@
* *
***************************************************************************/
#include "PreCompiled.h"
#ifndef _PreComp_
# include <boost/regex.hpp>
#endif
#include <App/Application.h>
#include <Base/Console.h>
#include <Base/Exception.h>
#include <Base/Parameter.h>
#include <Base/Reader.h>
#include <Base/Stream.h>
#include <Base/Writer.h>
// KDL stuff - at the moment, not used
//#include "Mod/Robot/App/kdl_cp/path_line.hpp"
//#include "Mod/Robot/App/kdl_cp/path_circle.hpp"
//#include "Mod/Robot/App/kdl_cp/rotational_interpolation_sa.hpp"
//#include "Mod/Robot/App/kdl_cp/utilities/error.h"
#include <Mod/Path/App/PathSegmentWalker.h>
#include "Path.h"
#include <Mod/Path/App/PathSegmentWalker.h>
using namespace Path;
using namespace Base;

View File

@@ -20,17 +20,16 @@
* *
***************************************************************************/
#ifndef PATH_Path_H
#define PATH_Path_H
#include "Command.h"
//#include "Mod/Robot/App/kdl_cp/path_composite.hpp"
//#include "Mod/Robot/App/kdl_cp/frames_io.hpp"
#include <Base/BoundBox.h>
#include <Base/Persistence.h>
#include <Base/Vector3D.h>
#include "Command.h"
namespace Path
{

View File

@@ -20,19 +20,17 @@
* *
***************************************************************************/
#include "PreCompiled.h"
#include "Mod/Path/App/Path.h"
#include "Base/GeometryPyCXX.h"
// inclusion of the generated files (generated out of PathPy.xml)
#include "PathPy.h"
#include "PathPy.cpp"
#include "Base/BoundBoxPy.h"
#include "Base/GeometryPyCXX.h"
#include "CommandPy.h"
using namespace Path;
// returns a string which represents the object e.g. when printed in python

View File

@@ -19,14 +19,15 @@
* *
***************************************************************************/
#include "PreCompiled.h"
#include "PathSegmentWalker.h"
#include <vector>
#include <App/Application.h>
#include <Base/Parameter.h>
#include <vector>
#include "PathSegmentWalker.h"
#define ARC_MIN_SEGMENTS 20.0 // minimum # segments to interpolate an arc

View File

@@ -22,11 +22,13 @@
#ifndef PATHSEGMENTWALKER_H
#define PATHSEGMENTWALKER_H
#include <Base/Vector3D.h>
#include <Mod/Path/App/Path.h>
#include <deque>
#include <Base/Vector3D.h>
#include "Path.h"
namespace Path
{

View File

@@ -20,26 +20,20 @@
* *
***************************************************************************/
#include "PreCompiled.h"
#ifndef _PreComp_
# include <sstream>
#endif
#include <App/DocumentObject.h>
#include <App/PropertyContainer.h>
#include <Base/Console.h>
#include <Base/Writer.h>
#include <Base/Reader.h>
#include <Base/Exception.h>
#include <Base/FileInfo.h>
#include <Base/Stream.h>
#include <Base/Writer.h>
#include "PropertyPath.h"
#include "PathPy.h"
using namespace Path;
TYPESYSTEM_SOURCE(Path::PropertyPath, App::Property)

View File

@@ -20,17 +20,17 @@
* *
***************************************************************************/
#ifndef PROPERTYPATH_H
#define PROPERTYPATH_H
#include "Path.h"
#include <App/Property.h>
#include "Path.h"
namespace Path
{
/** The path property class. */
class PathExport PropertyPath : public App::Property
{

View File

@@ -20,9 +20,7 @@
* *
***************************************************************************/
#include "PreCompiled.h"
#ifndef _PreComp_
# include <Standard_math.hxx>
#endif
@@ -31,6 +29,7 @@
#include "Voronoi.h"
using namespace Base;
using namespace Path;

View File

@@ -20,12 +20,11 @@
* *
***************************************************************************/
#include "PreCompiled.h"
#include "Voronoi.h"
#include "VoronoiCell.h"
using namespace Base;
using namespace Path;

View File

@@ -25,11 +25,8 @@
#include "Base/Vector3D.h"
#include "Base/VectorPy.h"
#include "Voronoi.h"
#include "VoronoiCell.h"
#include "VoronoiCellPy.h"
#include "VoronoiCellPy.cpp"
#include "VoronoiEdge.h"
#include "VoronoiEdgePy.h"

View File

@@ -20,10 +20,8 @@
* *
***************************************************************************/
#include "PreCompiled.h"
#include "Voronoi.h"
#include "VoronoiEdge.h"

View File

@@ -21,24 +21,20 @@
***************************************************************************/
#include "PreCompiled.h"
#ifndef _PreComp_
#include <BRepBuilderAPI_MakeEdge.hxx>
#include <Geom_Parabola.hxx>
# include <BRepBuilderAPI_MakeEdge.hxx>
# include <Geom_Parabola.hxx>
#endif
#include "Mod/Part/App/Geometry.h"
#include "Mod/Part/App/TopoShapeEdgePy.h"
#include "Voronoi.h"
#include "VoronoiCell.h"
#include "VoronoiCellPy.h"
#include "VoronoiEdge.h"
#include "VoronoiEdgePy.h"
#include "VoronoiEdgePy.cpp"
#include "VoronoiVertex.h"
#include "VoronoiCellPy.h"
#include "VoronoiVertexPy.h"
using namespace Path;
namespace {

View File

@@ -20,21 +20,16 @@
* *
***************************************************************************/
#include "PreCompiled.h"
#include "Base/GeometryPyCXX.h"
#include "Base/Vector3D.h"
#include "Base/VectorPy.h"
#include "Voronoi.h"
#include "VoronoiCell.h"
#include "VoronoiCellPy.h"
#include "VoronoiEdge.h"
#include "VoronoiEdgePy.h"
#include "VoronoiPy.h"
#include "VoronoiPy.cpp"
#include "VoronoiVertex.h"
#include "VoronoiCellPy.h"
#include "VoronoiEdgePy.h"
#include "VoronoiVertexPy.h"

View File

@@ -20,10 +20,8 @@
* *
***************************************************************************/
#include "PreCompiled.h"
#include "Voronoi.h"
#include "VoronoiVertex.h"

View File

@@ -25,12 +25,9 @@
#include "Base/Vector3D.h"
#include "Base/VectorPy.h"
#include "Voronoi.h"
#include "VoronoiEdge.h"
#include "VoronoiEdgePy.h"
#include "VoronoiVertex.h"
#include "VoronoiVertexPy.h"
#include "VoronoiVertexPy.cpp"
#include "VoronoiEdgePy.h"
using namespace Path;