Ciallo
Ciallo copied to clipboard
Warning about the CGAL::remove_curve function
The CGAL::remove_curve has a bug. When it remove a curve that intersects with other curves, it doesn't try to remove vertices on the other curves. Therefore after dragging a curve around for a while, there are a lot of dummy vertices left which makes the dragging and point location query very laggy.
https://github.com/ShenCiao/Ciallo/blob/60bb97cdc95b6a21528463c00cf87f83015edb9e/Ciallo/ArrangementManager.cpp#L15-L16/
I'm not sure if this should be considered a bug. I've fixed it dirtily once but lost the code for my stupidness.