Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbubnikv <bubnikv@gmail.com>2016-03-27 11:53:59 +0300
committerbubnikv <bubnikv@gmail.com>2016-03-27 11:53:59 +0300
commit4156b51c18ffc533994b083a4857cf813724a12f (patch)
tree205f016e3e2f151b5cf367775e8f627f79e95428 /xs/src/libslic3r/Geometry.hpp
parent9576973b578f0c39f8cbd73c225187ba65b6cef4 (diff)
Debugging visualization of the gap fills into a SVG format, if SLIC3R_DEBUG is set.
Diffstat (limited to 'xs/src/libslic3r/Geometry.hpp')
-rw-r--r--xs/src/libslic3r/Geometry.hpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/xs/src/libslic3r/Geometry.hpp b/xs/src/libslic3r/Geometry.hpp
index af4667d42..0869f8065 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;