Open Yvee1 opened 3 weeks ago
Let me confirm that we also have the problem in the master branch.
It's a bug. This is a slightly more simple program that reproduces it: steven.cpp.tar.gz The bug occurs when inserting 2 poly-circular-arcs that partially overlap. The first consists of one arc (red) and the second consists of 2 arcs (green). It works fine when inserting the (three) individual circular arcs.
Issue Details
I am using the arrangements package to create an arrangement of two closed polycurves consisting of circular arcs. In some cases it throws the following exception on insertion of the polycurves using
CGAL::insert
.The polycurves in question in image form.
Their edges overlap:
The polycurves are well-oriented and continuous. They are self-intersecting (that is, they have identical start and end points) but this is allowed according to the documentation.
Source Code
Here is code to reproduce the issue.
header
main.h
source
main.cpp
Environment