diff options
author | bubnikv <bubnikv@gmail.com> | 2016-09-30 16:23:18 +0300 |
---|---|---|
committer | bubnikv <bubnikv@gmail.com> | 2016-09-30 16:23:18 +0300 |
commit | 3a81e6bee420196698e3f1409a8a7318dd35965b (patch) | |
tree | 70574b85f26c77406691b1ed188049fd201911ee /xs/src/libslic3r/Polyline.hpp | |
parent | b5e24d3527db0bc9153365b0709787e145aeb982 (diff) |
Bugfix of bottom bridges. If close regions shall be closed by bridges,
these regions are grown to anchor the bridge lines to the bottom surface.
The grown regions may overlap. In that case the regions are now merged
before the bridging direction is calculated for the merged region.
Diffstat (limited to 'xs/src/libslic3r/Polyline.hpp')
-rw-r--r-- | xs/src/libslic3r/Polyline.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xs/src/libslic3r/Polyline.hpp b/xs/src/libslic3r/Polyline.hpp index 4d6673f2c..dd2818199 100644 --- a/xs/src/libslic3r/Polyline.hpp +++ b/xs/src/libslic3r/Polyline.hpp @@ -33,6 +33,9 @@ class Polyline : public MultiPoint { std::string wkt() const; }; +extern BoundingBox get_extents(const Polyline &polyline); +extern BoundingBox get_extents(const Polylines &polylines); + class ThickPolyline : public Polyline { public: std::vector<coordf_t> width; |