public interface ManeuverTriggersResetter
AbstractManeuverTriggers
Modifier and Type | Method and Description |
---|---|
default void |
init(SpacecraftState initialState,
AbsoluteDate target)
Initialization method called at propagation start.
|
void |
maneuverTriggered(SpacecraftState state,
boolean start)
Observe a maneuver trigger.
|
SpacecraftState |
resetState(SpacecraftState state)
Reset state as a maneuver triggers.
|
default void init(SpacecraftState initialState, AbsoluteDate target)
The default implementation does nothing.
initialState
- initial spacecraft state (at the start of propagation).target
- date of propagation. Not equal to initialState.getDate()
.void maneuverTriggered(SpacecraftState state, boolean start)
The start
parameter corresponds to physical flow of time
from past to future, not to propagation direction which can be backward.
This means that during forward propagations, the first call will have
start
set to true
and the second call will have
start
set to false
, whereas in backward propagation,
the first call will have start
set to false
and the second
call will have start
set to true
.
state
- spacecraft state at trigger date (before applying the maneuver)start
- if true, the trigger is the start of the maneuverSpacecraftState resetState(SpacecraftState state)
state
- spacecraft state at trigger dateCopyright © 2002-2023 CS GROUP. All rights reserved.