Skip to content

pepijnd/triangular

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

triangular

A Delauney triangulation library for rust

Calculates the Delauney Triangulation of a set of points

Examples

By default it expects points in the range of 0.0 - 1.0

use triangular::Triangulation;

// build a set of points
let points = vec![(0.3, 0.5),
                  (0.1, 0.6),
                  (0.4, 0.8)];

let triangles = Triangulation::new(&points).build::<usize>();
assert_eq!(&*triangles, &[2, 1, 0]);

About

A Delauney triangulation library for rust

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages