docs.rs failed to build nd-triangulation-0.2.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
nd-triangulation-0.3.4
Arbitrary Dimensional Triangulations
This library provides an interface to the CGAL Library for creating Triangulations and traverse them in arbitrary dimension. Its feature set is pretty limited, as it is written for a very specific research purpose. However, I am willing to look into integrating new features and of course accept pull requests.
Example
A triangulation can be created incrementally, by adding points to it:
let mut tri = new; // We are doing a 3 dimensional triangulation
// Everything that can be referenced as a slice can be added to the Triangulation
tri.add_vertex.unwrap; // Add point doesn't work for points in the wrong dimension
tri.add_vertex.unwrap;
tri.add_vertex.unwrap;
tri.add_vertex.unwrap;
Afterwards, we can iterate over all convex hull cells and their respective points:
for ch_cell in tri.convex_hull_cells