An implementation of the data stucture for reporting segment intersections described in chapter 10 of Computational Geometry: Algorithms and Applications 3rd Edition by Mark de Berg, Otfried Cheong, Marc van Krevel, Mark Overmars
The data structure takes as input as set of line segments
Note that for this implementation, the segments in
A simple example of how to use the library is provided in main.cpp