pub struct BPlane {
pub b_t: OrbitPartial,
pub b_r: OrbitPartial,
pub ltof_s: OrbitPartial,
pub str_dcm: Matrix3<f64>,
pub frame: Frame,
pub epoch: Epoch,
}
Expand description
Stores a B-Plane
Fields§
§b_t: OrbitPartial
The $B_T$ component, in kilometers
b_r: OrbitPartial
The $B_R$ component, in kilometers
ltof_s: OrbitPartial
The Linearized Time of Flight
str_dcm: Matrix3<f64>
The B-Plane rotation matrix
frame: Frame
The frame in which this B Plane was computed
epoch: Epoch
The time of computation
Implementations§
source§impl BPlane
impl BPlane
sourcepub fn from_dual(orbit: OrbitDual) -> Result<Self, NyxError>
pub fn from_dual(orbit: OrbitDual) -> Result<Self, NyxError>
Returns a newly define B-Plane if the orbit is hyperbolic and already in Dual form
sourcepub fn new(orbit: Orbit) -> Result<Self, NyxError>
pub fn new(orbit: Orbit) -> Result<Self, NyxError>
Returns a newly defined B-Plane if the orbit is hyperbolic.
pub fn b_dot_t(&self) -> f64
pub fn b_dot_r(&self) -> f64
pub fn ltof(&self) -> Duration
sourcepub fn inertial_to_bplane(&self) -> Matrix3<f64>
pub fn inertial_to_bplane(&self) -> Matrix3<f64>
Returns the DCM to convert to the B Plane from the inertial frame
Trait Implementations§
impl Copy for BPlane
Auto Trait Implementations§
impl RefUnwindSafe for BPlane
impl Send for BPlane
impl Sync for BPlane
impl Unpin for BPlane
impl UnwindSafe for BPlane
Blanket Implementations§
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> Printing<T> for Twhere
T: Display,
impl<T> Printing<T> for Twhere T: Display,
§fn to_str(self) -> String
fn to_str(self) -> String
Method to serialize.
Decorates Vecs with square brackets and tuples with round ones.
Implementation code is in
printing.rs
. §fn to_plainstr(self) -> String
fn to_plainstr(self) -> String
Method to serialize in minimal form (space separated, no brackets)
Implementation code is in
printing.rs
.§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>
The inverse inclusion map: attempts to construct
self
from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
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
Use with care! Same as
self.to_subset
but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self
to the equivalent element of its superset.