How to compute intersection points between segments, and list their associated segments in CGAL 5.6?

61 Views Asked by At

I am trying to use CGAL to compute the unique intersection points between a set of segments in 2D. I also want to obtain the list of segments that contribute to each intersection point. It seems that this was a built-in feature in CGAL 3.1 but can't find it in 5.6.

This old documentation page appears to describe a deprecated class that allows exactly what I want, but I am not sure what the equivalent feature is in the later versions of CGAL.

The CGAL documentation has an example to compute intersection points here but it does not get the list of segments that contribute to each intersection point.

How can I do this using a recent version of CGAL (version 5.6 in my case)?

0

There are 0 best solutions below