diff options
author | bubnikv <bubnikv@gmail.com> | 2016-09-12 12:29:39 +0300 |
---|---|---|
committer | bubnikv <bubnikv@gmail.com> | 2016-09-12 12:29:39 +0300 |
commit | 9fcc8fe9aeacb8edf6206787574cf1a84c88a5cc (patch) | |
tree | 549776f3a63d4eb240d0caaf7a63fa6259dac031 /xs/src/libslic3r/Geometry.hpp | |
parent | ca98e2655a4a5875947598f404791ea6c0313609 (diff) | |
parent | d022493297a110a9f982786ed696528c1d79d0f1 (diff) |
Meged with release_candidate_1_3
Diffstat (limited to 'xs/src/libslic3r/Geometry.hpp')
-rw-r--r-- | xs/src/libslic3r/Geometry.hpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/xs/src/libslic3r/Geometry.hpp b/xs/src/libslic3r/Geometry.hpp index 14bc3f0ca..75762a8c8 100644 --- a/xs/src/libslic3r/Geometry.hpp +++ b/xs/src/libslic3r/Geometry.hpp @@ -52,7 +52,13 @@ class MedialAxis { void build(Polylines* polylines); private: - typedef voronoi_diagram<double> VD; + class VD : public voronoi_diagram<double> { + public: + typedef double coord_type; + typedef boost::polygon::point_data<coordinate_type> point_type; + typedef boost::polygon::segment_data<coordinate_type> segment_type; + typedef boost::polygon::rectangle_data<coordinate_type> rect_type; + }; VD vd; std::set<const VD::edge_type*> edges, valid_edges; std::map<const VD::edge_type*, std::pair<coordf_t,coordf_t> > thickness; |