GCode Preview - Code cleanup

This commit is contained in:
Enrico Turri 2018-01-17 10:39:05 +01:00
parent c63e6b74fa
commit a417cf955d
24 changed files with 12 additions and 987 deletions

View file

@ -10,11 +10,7 @@
namespace Slic3r {
class BoundingBox;
//############################################################################################################
#if ENRICO_GCODE_PREVIEW
class BoundingBox3;
#endif // ENRICO_GCODE_PREVIEW
//############################################################################################################
class MultiPoint
{
@ -84,8 +80,6 @@ public:
static Points _douglas_peucker(const Points &points, const double tolerance);
};
//############################################################################################################
#if ENRICO_GCODE_PREVIEW
class MultiPoint3
{
public:
@ -104,8 +98,6 @@ public:
// Remove exact duplicates, return true if any duplicate has been removed.
bool remove_duplicate_points();
};
#endif // ENRICO_GCODE_PREVIEW
//############################################################################################################
extern BoundingBox get_extents(const MultiPoint &mp);
extern BoundingBox get_extents_rotated(const std::vector<Point> &points, double angle);