CGAL / cgal

The public CGAL repository, see the README below
https://github.com/CGAL/cgal#readme
Other
4.96k stars 1.38k forks source link

Delaunay triangulation ipelet crashes on regular N-gons #6452

Open palliez opened 2 years ago

palliez commented 2 years ago

Issue Details

In ipe drawing software, the IPelet that computes the Delaunay triangulation of the points placed on the vertices of a regular N-gon, crashes.

Source Code

To reproduce on ipe:

Environment

sloriot commented 2 years ago

It works for me with the following input:ex.pdf

Does it crash with this file?

bpilosov commented 1 year ago

It crashes when trying to triangulate a square: square.pdf Potentially for this reason edit: also for a pentagon pentagon.pdf edit2: hmm, the pentagon i uploaded actually doesnt reproduce the issue, but if you draw a circle, generate a regular k-gon with 5 corners, then try to delaunay triangulate the pentagon it crashes.