Open pokorm opened 9 years ago
according to the warning (WARNING: Primary, infinite edge...) the voronoi diagram generated an infinity edge.. and program currently doesn't clip these infinite edges.
In SplineOptimizer::initialize() the program loops through all of the generated voronoi edges and creates its own edge data structure with this code: cur_edge = new Edge(*it);
The constructor for this edge needs a begin point and an end point. However, infinite edges do not have an end point so during construction it tries to access a null vertex which results in a segfault.
I may come up with a solution and post it later today if I can fix it.
Hi, thanks for this repo. Unfortunately, I'm getting segfault or never ending loop on every input...
For input , program running on 100% CPU and never ends. Here is a Valgrind output
For another image
Any idea, what's wrong? Probably, some incompatibilities in shared libraries...