Updated the comment about the missing twin edge in the post-processed Voronoi diagram.

This commit is contained in:
Lukáš Hejl 2022-07-29 08:58:06 +02:00
parent 7060f3d1b3
commit 756eaeeb6d

View file

@ -482,7 +482,7 @@ const std::vector<VariableWidthLines> &WallToolPaths::generate()
// The functions above could produce intersecting polygons that could cause a crash inside Arachne.
// Applying Clipper union should be enough to get rid of this issue.
// Clipper union also fixed an issue in Arachne that in post-processing Voronoi diagram, some edges
// didn't have twin edges (this probably isn't an issue in Boost Voronoi generator).
// didn't have twin edges. (a non-planar Voronoi diagram probably caused this).
prepared_outline = union_(prepared_outline);
if (area(prepared_outline) <= 0) {