diff options
author | Vojtech Bubnik <bubnikv@gmail.com> | 2020-05-28 16:53:53 +0300 |
---|---|---|
committer | Vojtech Bubnik <bubnikv@gmail.com> | 2020-05-28 16:53:53 +0300 |
commit | 6f92538c203c49450e601e0552860aa0368c5c43 (patch) | |
tree | d8c179a069887048b1167cf185f74aaafebf7e72 /src/libslic3r/Geometry.hpp | |
parent | 0599dc4df7c8ea2973c8092ef75eb0ad72625258 (diff) |
BoundingBox support for Lines,
BoundingBox constructor will no more throw for empty vector of points.
GMP allowed for Vojtech's fork of boost::polygon Voronoi implementation.
Added libslic3r tests for boost::polygon Voronoi. All Voronoi issues
ever reported on the Internet are captured by the tests. Two issues
reported (the two test cases) are real issues which may influence
PrusaSlicer negatively, namely
https://github.com/boostorg/polygon/issues/43
Diffstat (limited to 'src/libslic3r/Geometry.hpp')
-rw-r--r-- | src/libslic3r/Geometry.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libslic3r/Geometry.hpp b/src/libslic3r/Geometry.hpp index 1fa15ba63..40c622f04 100644 --- a/src/libslic3r/Geometry.hpp +++ b/src/libslic3r/Geometry.hpp @@ -10,6 +10,7 @@ // Serialization through the Cereal library #include <cereal/access.hpp> +#define BOOST_VORONOI_USE_GMP 1 #include "boost/polygon/voronoi.hpp" namespace ClipperLib { |