Struct delaunay2d::Delaunay2D [] [src]

pub struct Delaunay2D { /* fields omitted */ }

Methods

impl Delaunay2D
[src]

Builds a new Delaunay triangulator. All points added to the triangulator must fall within the bounding box centered at center and extending in radius in each direction

Adds a point to the triangulation.

Returns the triangles generated by the triangulation. Each triangle is a counter-clockwise triple of coordinate indices

Returns the neighbours of a given triangle. The first neighbour is adjacent to the edge opposite the first vertex, etc.

Returns the list of points added to the triangulation.

Returns the vertices of the Voronoi regions, and the indices of vertices forming each region.

Trait Implementations

impl Debug for Delaunay2D
[src]

Formats the value using the given formatter.