pub struct SphericalState {
pub lon_rad: f64,
pub lat_rad: f64,
pub dist_au: f64,
pub lon_rate_rad_per_day: f64,
pub lat_rate_rad_per_day: f64,
pub dist_rate_au_per_day: f64,
}Expand description
Spherical ecliptic state: position (lon, lat, dist) plus velocity rates (all in AU and rad/day).
Fields§
§lon_rad: f64Ecliptic longitude, in radians.
lat_rad: f64Ecliptic latitude, in radians.
dist_au: f64Radial distance, in astronomical units.
lon_rate_rad_per_day: f64Rate of change of ecliptic longitude, in radians per day.
lat_rate_rad_per_day: f64Rate of change of ecliptic latitude, in radians per day.
dist_rate_au_per_day: f64Rate of change of distance, in astronomical units per day.
Trait Implementations§
Source§impl Clone for SphericalState
impl Clone for SphericalState
impl Copy for SphericalState
Auto Trait Implementations§
impl Freeze for SphericalState
impl RefUnwindSafe for SphericalState
impl Send for SphericalState
impl Sync for SphericalState
impl Unpin for SphericalState
impl UnsafeUnpin for SphericalState
impl UnwindSafe for SphericalState
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more