Skip to content

Triangulation algorithms in Boost Geometry #1049

Closed
@phimuemue

Description

@phimuemue

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions