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, AstroError>
pub fn from_dual(orbit: OrbitDual) -> Result<Self, AstroError>
Returns a newly define B-Plane if the orbit is hyperbolic and already in Dual form
Sourcepub fn new(orbit: Orbit) -> Result<Self, AstroError>
pub fn new(orbit: Orbit) -> Result<Self, AstroError>
Returns a newly defined B-Plane if the orbit is hyperbolic.
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
Sourcepub fn jacobian(&self) -> Matrix3<f64>
pub fn jacobian(&self) -> Matrix3<f64>
Returns the Jacobian of the B plane (BR, BT, LTOF) with respect to the velocity
Sourcepub fn jacobian2(
&self,
invariant: StateParameter,
) -> Result<Matrix2<f64>, AstroError>
pub fn jacobian2( &self, invariant: StateParameter, ) -> Result<Matrix2<f64>, AstroError>
Returns the Jacobian of the B plane (BR, BT) with respect to two of the velocity components
Trait Implementations§
impl Copy for BPlane
Auto Trait Implementations§
impl Freeze for BPlane
impl RefUnwindSafe for BPlane
impl Send for BPlane
impl Sync for BPlane
impl Unpin for BPlane
impl UnwindSafe for BPlane
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more§impl<T> Pointable for T
impl<T> Pointable for T
§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.