diff options
author | Alessandro Ranellucci <aar@cpan.org> | 2015-01-06 22:52:36 +0300 |
---|---|---|
committer | Alessandro Ranellucci <aar@cpan.org> | 2015-01-06 22:52:36 +0300 |
commit | 8f4cbefd0dd71cd6ae8dc149bd2e349905cd1ee8 (patch) | |
tree | bc62ca8f84cf8cdc4824bc9cf72547cf70cba602 /xs/src/libslic3r/Line.hpp | |
parent | 5e100abe2545ba5f61edce541c91b63aa3e14347 (diff) |
Lots of improvements to MotionPlanner/avoid_crossing_perimeters. Smoother paths and several edge cases now handled better
Diffstat (limited to 'xs/src/libslic3r/Line.hpp')
-rw-r--r-- | xs/src/libslic3r/Line.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xs/src/libslic3r/Line.hpp b/xs/src/libslic3r/Line.hpp index 52f3ef77f..76c385ce6 100644 --- a/xs/src/libslic3r/Line.hpp +++ b/xs/src/libslic3r/Line.hpp @@ -9,6 +9,7 @@ namespace Slic3r { class Line; class Linef3; class Polyline; +typedef std::vector<Line> Lines; class Line { @@ -18,6 +19,7 @@ class Line Line() {}; explicit Line(Point _a, Point _b): a(_a), b(_b) {}; std::string wkt() const; + operator Lines() const; operator Polyline() const; void scale(double factor); void translate(double x, double y); @@ -45,8 +47,6 @@ class Line #endif }; -typedef std::vector<Line> Lines; - class Linef3 { public: |