use-polyhedron 0.0.6

Polyhedron primitives for the RustUse geometry workspace
Documentation
  • Coverage
  • 100%
    16 out of 16 items documented1 out of 16 items with examples
  • Size
  • Source code size: 6.33 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 485.84 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 6s Average build duration of successful builds.
  • all releases: 6s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • RustUse/use-geometry
    1 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • CloudBranch

use-polyhedron

Polyhedron primitives for the RustUse geometry workspace.

use-polyhedron is the general 3D polyhedron crate. It starts with vertex, edge, and face records plus count helpers.

Example

use use_polyhedron::Polyhedron;

let polyhedron = Polyhedron::from_counts(8, 12, 6).expect("valid counts");

assert_eq!(polyhedron.euler_characteristic(), 2);