Class FieldEventShifter<T extends CalculusFieldElement<T>>

    • Constructor Detail

      • FieldEventShifter

        public FieldEventShifter​(FieldEventDetector<T> detector,
                                 boolean useShiftedStates,
                                 T increasingTimeShift,
                                 T decreasingTimeShift)
        Build a new instance.

        The max check interval, the convergence threshold of the raw unshifted events will be used for the shifted event. When an event occurs, the eventOccurred method of the raw unshifted events will be called (with spacecraft state at either the shifted or the unshifted event date depending on the useShiftedStates parameter).

        Parameters:
        detector - event detector for the raw unshifted event
        useShiftedStates - if true, the state provided to eventOccurred method of the associated handler will remain shifted, otherwise it will be unshifted to correspond to the underlying raw event.
        increasingTimeShift - increasing events time shift.
        decreasingTimeShift - decreasing events time shift.
      • FieldEventShifter

        public FieldEventShifter​(FieldEventDetectionSettings<T> detectionSettings,
                                 FieldEventDetector<T> detector,
                                 boolean useShiftedStates,
                                 T increasingTimeShift,
                                 T decreasingTimeShift)
        Constructor with full parameters.
        Parameters:
        detectionSettings - event detection settings
        detector - event detector for the raw unshifted event
        useShiftedStates - if true, the state provided to eventOccurred method of the detector will remain shifted, otherwise it will be unshifted to correspond to the underlying raw event.
        increasingTimeShift - increasing events time shift.
        decreasingTimeShift - decreasing events time shift.
        Since:
        13.0