pub struct SpaTimeDependent { /* private fields */ }Expand description
Time-dependent intermediate values from SPA calculation (steps 1-11).
Pre-computed astronomical values independent of observer location.
Use with spa_with_time_dependent_parts for efficient coordinate sweeps.
Implementations§
Source§impl SpaTimeDependent
impl SpaTimeDependent
Sourcepub const fn earth_radius_vector(&self) -> f64
pub const fn earth_radius_vector(&self) -> f64
Gets the Earth radius vector in astronomical units.
Sourcepub const fn right_ascension(&self) -> f64
pub const fn right_ascension(&self) -> f64
Gets the geocentric sun right ascension in degrees.
Sourcepub const fn declination(&self) -> f64
pub const fn declination(&self) -> f64
Gets the geocentric sun declination in degrees.
Trait Implementations§
Source§impl Clone for SpaTimeDependent
impl Clone for SpaTimeDependent
Source§fn clone(&self) -> SpaTimeDependent
fn clone(&self) -> SpaTimeDependent
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SpaTimeDependent
impl RefUnwindSafe for SpaTimeDependent
impl Send for SpaTimeDependent
impl Sync for SpaTimeDependent
impl Unpin for SpaTimeDependent
impl UnsafeUnpin for SpaTimeDependent
impl UnwindSafe for SpaTimeDependent
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