use-affine 0.0.6

Affine-space helpers for the RustUse geometry workspace
Documentation
  • Coverage
  • 100%
    6 out of 6 items documented1 out of 6 items with examples
  • Size
  • Source code size: 4.92 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 312.22 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-affine

Affine-space helpers for the RustUse geometry workspace.

use-affine starts with small affine combination helpers rather than a full affine algebra system.

Example

use use_affine::affine_combination_2d;
use use_point::Point2;

let midpoint = affine_combination_2d(Point2::new(0.0, 0.0), Point2::new(4.0, 2.0), 0.5);

assert_eq!(midpoint, Point2::new(2.0, 1.0));