diff options
author | bubnikv <bubnikv@gmail.com> | 2016-11-09 17:39:12 +0300 |
---|---|---|
committer | bubnikv <bubnikv@gmail.com> | 2016-11-09 17:39:12 +0300 |
commit | 317e9131e89782c98201849a21c0e2e91c8fc142 (patch) | |
tree | 1a889265c9d11c9e8574a29216af703b59d54568 /xs/src/libslic3r/Polygon.hpp | |
parent | eb0ab3861872a8cf1ab08b0d02a16942acdabaac (diff) |
New sparse infill: "stars" - David's star shaped infill.
This is very similar to a "triangles" infill, but maximum two lines
intersect at a single point.
added utility function get_extents_vector()
Diffstat (limited to 'xs/src/libslic3r/Polygon.hpp')
-rw-r--r-- | xs/src/libslic3r/Polygon.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xs/src/libslic3r/Polygon.hpp b/xs/src/libslic3r/Polygon.hpp index 3ccd7154b..966264fb2 100644 --- a/xs/src/libslic3r/Polygon.hpp +++ b/xs/src/libslic3r/Polygon.hpp @@ -52,6 +52,7 @@ extern BoundingBox get_extents(const Polygon &poly); extern BoundingBox get_extents(const Polygons &polygons); extern BoundingBox get_extents_rotated(const Polygon &poly, double angle); extern BoundingBox get_extents_rotated(const Polygons &polygons, double angle); +extern std::vector<BoundingBox> get_extents_vector(const Polygons &polygons); // Remove sticks (tentacles with zero area) from the polygon. extern bool remove_sticks(Polygon &poly); |