use-similarity 0.0.6

Similarity relation helpers for RustUse geometry
Documentation
  • Coverage
  • 100%
    5 out of 5 items documented1 out of 5 items with examples
  • Size
  • Source code size: 3.84 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 305.39 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-similarity

Similarity relation helpers for the RustUse geometry workspace.

use-similarity provides small scale-ratio primitives for comparing shapes without implementing a full shape-matching engine.

Example

use use_similarity::SimilarityRatio;

let ratio = SimilarityRatio::new(2.0).expect("positive finite ratio");

assert_eq!(ratio.apply_length(3.0), 6.0);