2021 Edition.
This is a library for computing the Voronoi diagram of a set of two-dimensional points.
This is a port of d3-delaunay. It is in a very early development phase.
It is part of a collection d3 modules ported into RUST
Currently the code coverage, as reported by Cargo tarpaulin is 80%.
An example app is provided in the git repository associated with crate
to run the application
console
cd example/500_points
cargo run
This produces a file "mesh.svg"
The delaunay mesh is in blue.
The voronoi mesh is in green.
Early draft port - sub module by submodule. Sub module porting means the test have also been ported. No API stability guarantees.
API finalization. There maybe optimization in the area of generics. So the API only gets locked down in phase 2. The code will be profiled and bottlenecks identified.
Modules, passing test ready for phase 2 evaluation :-
The following functions are under going rapid development.
The following generators functions are missing.
| delaunay | | voronoi | | ------------|---| -------------- | | neighbors() | | cellPolygons() | | | | update() |