Class PythonManeuverTriggers

    • Constructor Detail

      • PythonManeuverTriggers

        public PythonManeuverTriggers()
    • Method Detail

      • pythonExtension

        public void pythonExtension​(long pythonObject)
        Part of JCC Python interface to object
      • pythonExtension

        public long pythonExtension()
        Part of JCC Python interface to object
      • pythonDecRef

        public void pythonDecRef()
        Part of JCC Python interface to object
      • init

        public void init​(SpacecraftState initialState,
                         AbsoluteDate target)
        Initialization method. Called in when Maneuver.init(...) is called (from ForceModel.init(...)).
        Specified by:
        init in interface ManeuverTriggers
        Parameters:
        initialState - initial spacecraft state (at the start of propagation).
        target - date of propagation. Not equal to initialState.getDate().
      • isFiring

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

        public <T extends CalculusFieldElement<T>> boolean isFiring​(FieldAbsoluteDate<T> date,
                                                                    T[] parameters)
        Find out if the maneuver is firing or not.
        Specified by:
        isFiring in interface ManeuverTriggers
        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