use-johnson-solid 0.0.6

Johnson solid identifiers for the RustUse geometry workspace
Documentation
  • Coverage
  • 100%
    9 out of 9 items documented1 out of 9 items with examples
  • Size
  • Source code size: 4.98 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 390.98 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 3s Average build duration of successful builds.
  • all releases: 3s 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-johnson-solid

Johnson solid identifiers for the RustUse geometry workspace.

use-johnson-solid models the J1 through J92 identifiers and selected names without storing coordinates or construction algorithms.

Example

use use_johnson_solid::{JohnsonSolid, JohnsonSolidId};

let solid = JohnsonSolid::new(JohnsonSolidId::new(1).expect("valid id"));

assert_eq!(solid.id().label(), "J1");
assert_eq!(solid.name(), Some("square pyramid"));