pub struct FlybyResult {
pub turn_angle_rad: f64,
pub v_periapsis: f64,
pub v_inf_out: f64,
pub v_inf_out_dir: [f64; 3],
}Expand description
Hyperbolic flyby geometry.
Given the approach conditions (v_infinity vector and periapsis distance), computes the flyby turn angle, periapsis velocity, and exit v_infinity vector.
Fields§
§turn_angle_rad: f64Turn angle (radians) — the angle between incoming and outgoing v_infinity vectors
v_periapsis: f64Speed at periapsis (km/s)
v_inf_out: f64Outgoing v_infinity magnitude (km/s)
v_inf_out_dir: [f64; 3]Outgoing v_infinity direction (unit vector in planetocentric frame)
Trait Implementations§
Source§impl Clone for FlybyResult
impl Clone for FlybyResult
Source§fn clone(&self) -> FlybyResult
fn clone(&self) -> FlybyResult
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 moreSource§impl Debug for FlybyResult
impl Debug for FlybyResult
impl Copy for FlybyResult
Auto Trait Implementations§
impl Freeze for FlybyResult
impl RefUnwindSafe for FlybyResult
impl Send for FlybyResult
impl Sync for FlybyResult
impl Unpin for FlybyResult
impl UnwindSafe for FlybyResult
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