pub struct LightTimeCorrection { /* private fields */ }Implementations§
Source§impl LightTimeCorrection
impl LightTimeCorrection
pub fn from_distance(distance: Distance) -> Self
pub fn from_position_vector(pos: Vector3) -> Self
pub fn light_time_days(&self) -> f64
pub fn light_time_seconds(&self) -> f64
pub fn apply_proper_motion( &self, pm_ra_mas_per_year: f64, pm_dec_mas_per_year: f64, ) -> (f64, f64)
pub fn apply_radial_velocity(&self, radial_velocity_km_s: f64) -> f64
Sourcepub fn correct_position_vector(pos: Vector3, vel: Vector3) -> Vector3
pub fn correct_position_vector(pos: Vector3, vel: Vector3) -> Vector3
Auto Trait Implementations§
impl Freeze for LightTimeCorrection
impl RefUnwindSafe for LightTimeCorrection
impl Send for LightTimeCorrection
impl Sync for LightTimeCorrection
impl Unpin for LightTimeCorrection
impl UnsafeUnpin for LightTimeCorrection
impl UnwindSafe for LightTimeCorrection
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