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/ExPolygon.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/ExPolygon.hpp')
-rw-r--r-- | xs/src/libslic3r/ExPolygon.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xs/src/libslic3r/ExPolygon.hpp b/xs/src/libslic3r/ExPolygon.hpp index c1204a953..0a212668f 100644 --- a/xs/src/libslic3r/ExPolygon.hpp +++ b/xs/src/libslic3r/ExPolygon.hpp @@ -271,6 +271,7 @@ extern BoundingBox get_extents(const ExPolygon &expolygon); extern BoundingBox get_extents(const ExPolygons &expolygons); extern BoundingBox get_extents_rotated(const ExPolygon &poly, double angle); extern BoundingBox get_extents_rotated(const ExPolygons &polygons, double angle); +extern std::vector<BoundingBox> get_extents_vector(const ExPolygons &polygons); extern bool remove_sticks(ExPolygon &poly); |