Skip to content

Documentation question regarding constrained triangulation #19

Description

@fogti

At first glance, this library looks like it should be capable to produce something like spade's https://docs.rs/spade/latest/spade/struct.ConstrainedDelaunayTriangulation.html "constrained Delaunay triangulation", but so far, I couldn't figure out how to reproduce this with the integer triangulation routines of this library.

My problem is that I want to triangulate a bunch of shapes into common triangulation without introducing any holes, i.e. I have a bunch of overlapping shapes and anything contained in them should be triangulated, optimally as a Delaunay triangulation (but that's not the critical part, and poses some difficulties by itself because unfortunately IntDelaunay::into_raw isn't publically accessible, and even then, the transformation into a Delaunay triangulation might mess with the constraint edges).

triangulate_with_steiner_points allows one to force the insertion of some points, but it is unclear how one should force the insertion of specific edges.

Downstream application: mikwielgus/anyangle#7

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