WIP VoronoiOffset: Squash merge of vb_voronoi_offset

Working contour offsetting,
skeleton_edges_rough() to detect "important" skeleton edges.
Radius of an inscribed circle along the "important" skeleton edges
changes slowly, therefore these "important" skeleton edges signify
oblong regions possibly needing a gap fill.
This commit is contained in:
Vojtech Bubnik 2021-01-29 16:34:22 +01:00
parent dc4bdad84a
commit a116914fce
6 changed files with 2018 additions and 548 deletions

View file

@ -417,7 +417,7 @@ namespace boost { namespace polygon {
typedef coord_t coordinate_type;
static inline coordinate_type get(const Slic3r::Point& point, orientation_2d orient) {
return (coordinate_type)point((orient == HORIZONTAL) ? 0 : 1);
return static_cast<coordinate_type>(point((orient == HORIZONTAL) ? 0 : 1));
}
};