Interface ManeuverTriggers

    • Method Detail

      • init

        default void init​(SpacecraftState initialState,
                          AbsoluteDate target)
        Initialization method called at propagation start.

        The default implementation does nothing.

        Parameters:
        initialState - initial spacecraft state (at the start of propagation).
        target - date of propagation. Not equal to initialState.getDate().
      • init

        default <T extends CalculusFieldElement<T>> void init​(FieldSpacecraftState<T> initialState,
                                                              FieldAbsoluteDate<T> target)
        Initialization method called at propagation start.

        The default implementation does nothing.

        Type Parameters:
        T - type of the elements
        Parameters:
        initialState - initial spacecraft state (at the start of propagation).
        target - date of propagation. Not equal to initialState.getDate().
        Since:
        11.1
      • isFiring

        boolean isFiring​(AbsoluteDate date,
                         double[] parameters)
        Find out if the maneuver is firing or not.
        Parameters:
        date - current date
        parameters - maneuver triggers parameters
        Returns:
        true if the maneuver is firing, false otherwise
      • isFiring

        <T extends CalculusFieldElement<T>> boolean isFiring​(FieldAbsoluteDate<T> date,
                                                             T[] parameters)
        Find out if the maneuver is firing or not.
        Type Parameters:
        T - type of the field elements
        Parameters:
        date - current date
        parameters - maneuver triggers parameters
        Returns:
        true if the maneuver is firing, false otherwise
      • getName

        default String getName()
        Get the maneuver name.
        Returns:
        the maneuver name
      • addResetter

        void addResetter​(ManeuverTriggersResetter resetter)
        Add a resetter.
        Parameters:
        resetter - resetter to add
      • addResetter

        <T extends CalculusFieldElement<T>> void addResetter​(Field<T> field,
                                                             FieldManeuverTriggersResetter<T> resetter)
        Add a resetter.
        Type Parameters:
        T - type of the field elements
        Parameters:
        field - field to which the state belongs
        resetter - resetter to add