Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlessandro Ranellucci <aar@cpan.org>2015-01-06 22:52:36 +0300
committerAlessandro Ranellucci <aar@cpan.org>2015-01-06 22:52:36 +0300
commit8f4cbefd0dd71cd6ae8dc149bd2e349905cd1ee8 (patch)
treebc62ca8f84cf8cdc4824bc9cf72547cf70cba602 /xs/src/libslic3r/ExPolygonCollection.hpp
parent5e100abe2545ba5f61edce541c91b63aa3e14347 (diff)
Lots of improvements to MotionPlanner/avoid_crossing_perimeters. Smoother paths and several edge cases now handled better
Diffstat (limited to 'xs/src/libslic3r/ExPolygonCollection.hpp')
-rw-r--r--xs/src/libslic3r/ExPolygonCollection.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/xs/src/libslic3r/ExPolygonCollection.hpp b/xs/src/libslic3r/ExPolygonCollection.hpp
index 6aa5b0a56..cca6064d5 100644
--- a/xs/src/libslic3r/ExPolygonCollection.hpp
+++ b/xs/src/libslic3r/ExPolygonCollection.hpp
@@ -17,6 +17,7 @@ class ExPolygonCollection
ExPolygons expolygons;
ExPolygonCollection() {};
+ ExPolygonCollection(const ExPolygon &expolygon);
ExPolygonCollection(const ExPolygons &expolygons) : expolygons(expolygons) {};
operator Points() const;
operator Polygons() const;
@@ -25,8 +26,10 @@ class ExPolygonCollection
void translate(double x, double y);
void rotate(double angle, const Point &center);
template <class T> bool contains(const T &item) const;
+ bool contains_b(const Point &point) const;
void simplify(double tolerance);
void convex_hull(Polygon* hull) const;
+ Lines lines() const;
};
}