pub struct TrajectoryData {
pub times: Vec<f64>,
pub positions: Vec<Vector3<f64>>,
pub velocities: Vec<Vector3<f64>>,
pub transonic_distances: Vec<f64>,
pub mach_1_2_distance_m: Option<f64>,
pub mach_1_0_distance_m: Option<f64>,
pub mach_0_9_distance_m: Option<f64>,
}Expand description
Trajectory solution data for sampling
Fields§
§times: Vec<f64>§positions: Vec<Vector3<f64>>§velocities: Vec<Vector3<f64>>§transonic_distances: Vec<f64>Downward Mach 1.2-then-1.0 crossing distances (m), in that order when present. Used to
flag sampled points with a Mach-transition marker. Historical shape — do not append
the 0.9 crossing here; it is carried only by mach_0_9_distance_m below (MBA-1405).
mach_1_2_distance_m: Option<f64>Downrange distance (m) of the downward Mach 1.2 crossing, mirroring
crate::cli_api::TrajectoryResult::mach_1_2_distance_m. None if never crossed.
mach_1_0_distance_m: Option<f64>Downrange distance (m) of the downward Mach 1.0 crossing, mirroring
crate::cli_api::TrajectoryResult::mach_1_0_distance_m. None if never crossed.
mach_0_9_distance_m: Option<f64>Downrange distance (m) of the downward Mach 0.9 crossing, mirroring
crate::cli_api::TrajectoryResult::mach_0_9_distance_m. None if never crossed.
NOT included in transonic_distances (see its docs).
Trait Implementations§
Source§impl Clone for TrajectoryData
impl Clone for TrajectoryData
Source§fn clone(&self) -> TrajectoryData
fn clone(&self) -> TrajectoryData
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreAuto Trait Implementations§
impl Freeze for TrajectoryData
impl RefUnwindSafe for TrajectoryData
impl Send for TrajectoryData
impl Sync for TrajectoryData
impl Unpin for TrajectoryData
impl UnwindSafe for TrajectoryData
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self is actually part of its subset T (and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.