Struct poly2tri::CDT [] [src]

pub struct CDT { /* fields omitted */ }

The Constrained Delaunay triangulation state


impl CDT

This holds the basic state of the constrained Delaunay triangulation algorithm. Once the triangulation was kicked off the triangles are returned and this no longer has a purpose.

Creates a new constrained Delaunay triangulation from a polygon.

Adds a hole into the CDT.

Adds a steiner point to the CDT.

Triangulates the polygon.

Trait Implementations

impl Drop for CDT

A method called when the value goes out of scope. Read more