boost geometry
The Boost Geometry library is used, next to the boost-polygon library for geometric functions.
To work with functions in the boost-geometry library, coordinates needed to be casted to integer coordinates. This is not necessary for the Boost Polygon library.