use-folding 0.0.6

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

Folding primitives for the RustUse geometry workspace.

use-folding provides fold states and assignments without enforcing a particular folding solver.

Example

use use_angle::Angle;
use use_folding::{FoldAssignment, FoldState};

let fold = FoldState::new(FoldAssignment::Mountain, Angle::from_degrees(90.0));

assert_eq!(fold.assignment(), FoldAssignment::Mountain);