Interface ManeuverTriggers
- All Superinterfaces:
EventDetectorsProvider,ParameterDriversProvider
- All Known Subinterfaces:
ResettableManeuverTriggers
- All Known Implementing Classes:
AbstractManeuverTriggers,DateBasedManeuverTriggers,IntervalEventTrigger,StartStopEventsTrigger,TimeIntervalsManeuverTrigger
Generic interface for the maneuver triggers used in a
Maneuver.- Since:
- 10.2
- Author:
- Maxime Journot
-
Field Summary
Fields inherited from interface org.orekit.propagation.events.EventDetectorsProvider
DATATION_ACCURACY -
Method Summary
Modifier and TypeMethodDescriptiondefault Stream<EventDetector> Get the discrete events related to the model.default <T extends CalculusFieldElement<T>>
Stream<FieldEventDetector<T>> getFieldEventDetectors(Field<T> field) Get the discrete events related to the model.default StringgetName()Get the maneuver name.default List<ParameterDriver> Get the drivers for parameters.default <T extends CalculusFieldElement<T>>
voidinit(FieldSpacecraftState<T> initialState, FieldAbsoluteDate<T> target) Initialization method called at propagation start.default voidinit(SpacecraftState initialState, AbsoluteDate target) Initialization method called at propagation start.booleanisFiring(AbsoluteDate date, double[] parameters) Find out if the maneuver is firing or not.<T extends CalculusFieldElement<T>>
booleanisFiring(FieldAbsoluteDate<T> date, T[] parameters) Find out if the maneuver is firing or not.Methods inherited from interface org.orekit.propagation.events.EventDetectorsProvider
getDateDetector, getEventDetectors, getFieldDateDetector, getFieldEventDetectorsMethods inherited from interface org.orekit.utils.ParameterDriversProvider
getNbParametersDriversValue, getParameterDriver, getParameters, getParameters, getParameters, getParameters, getParametersAllValues, getParametersAllValues, isSupported
-
Method Details
-
init
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 toinitialState.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 toinitialState.getDate().- Since:
- 11.1
-
isFiring
Find out if the maneuver is firing or not.- Parameters:
date- current dateparameters- maneuver triggers parameters- Returns:
- true if the maneuver is firing, false otherwise
-
isFiring
Find out if the maneuver is firing or not.- Type Parameters:
T- type of the field elements- Parameters:
date- current dateparameters- maneuver triggers parameters- Returns:
- true if the maneuver is firing, false otherwise
-
getName
Get the maneuver name.- Returns:
- the maneuver name
-
getEventDetectors
Get the discrete events related to the model.This method is not intended to be called several time, only once by a propagator, as it has the side effect of rebuilding the events detectors when called
- Specified by:
getEventDetectorsin interfaceEventDetectorsProvider- Returns:
- stream of event detectors
-
getFieldEventDetectors
default <T extends CalculusFieldElement<T>> Stream<FieldEventDetector<T>> getFieldEventDetectors(Field<T> field) Get the discrete events related to the model.This method is not intended to be called several time, only once by a propagator, as it has the side effect of rebuilding the events detectors when called
- Specified by:
getFieldEventDetectorsin interfaceEventDetectorsProvider- Type Parameters:
T- extends CalculusFieldElement<T>- Parameters:
field- field to which the state belongs- Returns:
- stream of event detectors
-
getParametersDrivers
Get the drivers for parameters.By default, no drivers is defined.
- Specified by:
getParametersDriversin interfaceParameterDriversProvider- Returns:
- drivers for parameters
-