public static interface AttitudesSequence.SwitchHandler
This interface is intended to be implemented by users who want to be notified when an attitude switch occurs.
Modifier and Type | Method | Description |
---|---|---|
void |
switchOccurred(AttitudeProvider preceding,
AttitudeProvider following,
SpacecraftState state) |
Method called when attitude is switched from one law to another law.
|
void switchOccurred(AttitudeProvider preceding, AttitudeProvider following, SpacecraftState state) throws OrekitException
preceding
- attitude law used preceding the switch (i.e. in the past
of the switch event for a forward propagation, or in the future
of the switch event for a backward propagation)following
- attitude law used following the switch (i.e. in the future
of the switch event for a forward propagation, or in the past
of the switch event for a backward propagation)state
- state at switch time (with attitude computed using the preceding
law)OrekitException
- if some unexpected condition occursCopyright © 2002-2018 CS Systèmes d'information. All rights reserved.