I'm using Boost Geometry, version 1.79, and I'd like to triangulate polygons (concretely: a multi-polygon, using a polygon type that is typically based on int or double, oriented counter-clockwise and open (not closed)).
So far, for triangulation I resort to the Boost Polygon Library, which has get_trapezoids, but - according to the documentation - does not support floating point coordinate data types. (Which I confirmed: It runs into undefined behavior when used with certain double coordinates.)
Ideally I'd get rid of this additional dependency (all my other needs are catered by Boost Geometry) and triangulate double-polygons with Boost Geometry. Did I miss any relevant algorithms from the documentation? If not, are there plans to incorporate triangulation into Boost Geometry?
I'm using Boost Geometry, version 1.79, and I'd like to triangulate polygons (concretely: a multi-polygon, using a polygon type that is typically based on
intordouble, oriented counter-clockwise and open (not closed)).So far, for triangulation I resort to the Boost Polygon Library, which has
get_trapezoids, but - according to the documentation - does not support floating point coordinate data types. (Which I confirmed: It runs into undefined behavior when used with certaindoublecoordinates.)Ideally I'd get rid of this additional dependency (all my other needs are catered by Boost Geometry) and triangulate
double-polygons with Boost Geometry. Did I miss any relevant algorithms from the documentation? If not, are there plans to incorporate triangulation into Boost Geometry?