pub struct PenumbraEvent { /* private fields */ }
Expand description
An event to find the start of a penumbra
Trait Implementations
sourceimpl Display for PenumbraEvent
impl Display for PenumbraEvent
sourceimpl EventEvaluator<BaseSpacecraft<GuidanceMode>> for PenumbraEvent
impl EventEvaluator<BaseSpacecraft<GuidanceMode>> for PenumbraEvent
sourcefn epoch_precision(&self) -> Duration
fn epoch_precision(&self) -> Duration
Stop searching when the time has converged to less than 0.1 seconds
sourcefn value_precision(&self) -> f64
fn value_precision(&self) -> f64
Finds the slightest penumbra within 2%(i.e. 98% in visibility)
fn eval(&self, sc: &Spacecraft) -> f64
fn eval_crossing(&self, prev_state: &S, next_state: &S) -> bool
sourceimpl EventEvaluator<Orbit> for PenumbraEvent
impl EventEvaluator<Orbit> for PenumbraEvent
sourcefn epoch_precision(&self) -> Duration
fn epoch_precision(&self) -> Duration
Stop searching when the time has converged to less than 0.1 seconds
sourcefn value_precision(&self) -> f64
fn value_precision(&self) -> f64
Finds the slightest penumbra within 2%(i.e. 98% in visibility)
fn eval(&self, observer: &Orbit) -> f64
fn eval_crossing(&self, prev_state: &S, next_state: &S) -> bool
Auto Trait Implementations
impl !RefUnwindSafe for PenumbraEvent
impl Send for PenumbraEvent
impl Sync for PenumbraEvent
impl Unpin for PenumbraEvent
impl !UnwindSafe for PenumbraEvent
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Printing<T> for T where
T: Display,
impl<T> Printing<T> for T where
T: Display,
fn to_str(self) -> String
fn to_str(self) -> String
Method to serialize generic items, slices, and slices of Vecs.
Adds square brackets around Vecs (prettier lists).
Implementation code is in printing.rs
. Read more
fn to_plainstr(self) -> String
fn to_plainstr(self) -> String
Method to serialize generic items, slices, and slices of Vecs.
Implementation code is in printing.rs
. Read more
fn wvec(self, f: &mut File) -> Result<(), Error>
fn wvec(self, f: &mut File) -> Result<(), Error>
Method to write vector(s) to file f (space separated, without brackets). Passes up io errors Read more
fn pvec(self)
fn pvec(self)
Method to print vector(s) to stdout (space separated,without brackets).
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SP where
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.