WIP: Generating offset curves with properly rounded corners from

a Voronoi diagram. Curve extraction is based on the OpenVoronoi implementation.
This commit is contained in:
Vojtech Bubnik 2020-06-04 13:49:49 +02:00
parent 1e5d1cb616
commit 6f4d24ab95
5 changed files with 437 additions and 16 deletions

View file

@ -0,0 +1,14 @@
#ifndef slic3r_VoronoiOffset_hpp_
#define slic3r_VoronoiOffset_hpp_
#include "libslic3r.h"
#include "Geometry.hpp"
namespace Slic3r {
Polygons voronoi_offset(const Geometry::VoronoiDiagram &vd, const Lines &lines, double offset_distance, double discretization_error);
} // namespace Slic3r
#endif // slic3r_VoronoiOffset_hpp_