voronator 0.1.0

Implements the Voronoi diagram construction as a dual of the Delaunay triangulation for a set of points and the construction of a centroidal tesselation of a Delaunay triangulation.
Documentation
extern crate voronator;

use voronator::delaunator as delaunator;

fn main() {
    let coords = vec![(0., 0.), (1., 0.), (1., 1.), (0., 1.)];
    let (triangulation, _) = delaunator::triangulate_from_tuple(&coords).unwrap();

    println!("Triangulated  {} points, generating {} triangles.",
        coords.len(),
        triangulation.triangles.len() / 3);
}