Class FieldEventShifter<T extends CalculusFieldElement<T>>

  • Type Parameters:
    T - type of the field elements
    All Implemented Interfaces:
    FieldDetectorModifier<T>, FieldEventDetector<T>

    public class FieldEventShifter<T extends CalculusFieldElement<T>>
    extends Object
    implements FieldDetectorModifier<T>
    Wrapper shifting events occurrences times.

    This class wraps an event detector to slightly shift the events occurrences times. A typical use case is for handling operational delays before or after some physical event really occurs.

    For example, the satellite attitude mode may be switched from sun pointed to spin-stabilized a few minutes before eclipse entry, and switched back to sun pointed a few minutes after eclipse exit. This behavior is handled by wrapping an eclipse detector into an instance of this class with a positive times shift for increasing events (eclipse exit) and a negative times shift for decreasing events (eclipse entry).

    Since:
    13.0
    Author:
    Luc Maisonobe, Romain Serra
    See Also:
    FieldPropagator.addEventDetector(FieldEventDetector), FieldEventDetector, EventShifter