diff options
author | Alessandro Ranellucci <aar@cpan.org> | 2016-05-20 07:24:05 +0300 |
---|---|---|
committer | Alessandro Ranellucci <aar@cpan.org> | 2016-05-20 18:03:57 +0300 |
commit | 9e8022f6f62b6f4c07b5846a765128b3609e53ef (patch) | |
tree | 610458a3e47b679229a64c069cad55e72dfe7a1d /xs/src/libslic3r/Geometry.hpp | |
parent | b06861636623b7b7d7ab2ce32d37163d5d33d7c7 (diff) |
More refactoring to medial axis and gap fill, more robust
Diffstat (limited to 'xs/src/libslic3r/Geometry.hpp')
-rw-r--r-- | xs/src/libslic3r/Geometry.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xs/src/libslic3r/Geometry.hpp b/xs/src/libslic3r/Geometry.hpp index af4667d42..14bc3f0ca 100644 --- a/xs/src/libslic3r/Geometry.hpp +++ b/xs/src/libslic3r/Geometry.hpp @@ -46,8 +46,8 @@ class MedialAxis { const ExPolygon* expolygon; double max_width; double min_width; - MedialAxis(double _max_width, double _min_width) - : max_width(_max_width), min_width(_min_width), expolygon(NULL) {}; + MedialAxis(double _max_width, double _min_width, const ExPolygon* _expolygon = NULL) + : max_width(_max_width), min_width(_min_width), expolygon(_expolygon) {}; void build(ThickPolylines* polylines); void build(Polylines* polylines); |