T
- class type for the generic versionSerializable
, EventHandler<T>
public class StopOnDecreasing<T extends EventDetector> extends Object implements EventHandler<T>, Serializable
The implementation behavior is to continue
propagation when ascending and to
stop
propagation when descending.
EventHandler.Action
Constructor | Description |
---|---|
StopOnDecreasing() |
Modifier and Type | Method | Description |
---|---|---|
EventHandler.Action |
eventOccurred(SpacecraftState s,
T detector,
boolean increasing) |
Handle a detection event and choose what to do next.
|
init, resetState
public EventHandler.Action eventOccurred(SpacecraftState s, T detector, boolean increasing) throws OrekitException
The implementation behavior is to continue
propagation when ascending and to
stop
propagation when descending.
eventOccurred
in interface EventHandler<T extends EventDetector>
s
- the current state information : date, kinematics, attitudedetector
- the detector object calling this method (not used in the evaluation)increasing
- if true, the value of the switching function increases
when times increases around eventEventHandler.Action.STOP
or EventHandler.Action.CONTINUE
OrekitException
- if some specific error occursCopyright © 2002-2018 CS Systèmes d'information. All rights reserved.