use-spline 0.0.6

Spline primitives for the RustUse geometry workspace
Documentation
  • Coverage
  • 100%
    5 out of 5 items documented1 out of 5 items with examples
  • Size
  • Source code size: 4.72 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 305.48 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-spline

Spline primitives for the RustUse geometry workspace.

use-spline starts with control-point containers and leaves interpolation algorithms for later focused work.

Example

use use_point::Point2;
use use_spline::Spline2;

let spline = Spline2::new(vec![Point2::new(0.0, 0.0), Point2::new(1.0, 1.0)]).unwrap();

assert_eq!(spline.control_point_count(), 2);