use-astronomical-orbit 0.1.0

Primitive orbit vocabulary for RustUse astronomy
Documentation
  • Coverage
  • 5.41%
    2 out of 37 items documented1 out of 11 items with examples
  • Size
  • Source code size: 11.87 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 897.51 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-astronomy
    1 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • CloudBranch

use-astronomical-orbit

Primitive orbit vocabulary.

use-astronomical-orbit models non-empty orbit names, descriptive orbit kinds, orbit directions, and orbit states. It does not implement orbital mechanics, propagate orbits, calculate trajectories, or simulate n-body systems.

use use_astronomical_orbit::{OrbitDirection, OrbitKind, OrbitName, OrbitState};

let name = OrbitName::new("Earth heliocentric orbit").unwrap();

assert_eq!(name.as_str(), "Earth heliocentric orbit");
assert_eq!(OrbitKind::Heliocentric.to_string(), "heliocentric");
assert_eq!(OrbitDirection::Prograde.to_string(), "prograde");
assert_eq!(OrbitState::Bound.to_string(), "bound");