Class StopOnIncreasing
- java.lang.Object
-
- org.orekit.propagation.events.handlers.StopOnIncreasing
-
- All Implemented Interfaces:
EventHandler
public class StopOnIncreasing extends Object implements EventHandler
Handle a detection event and choose what to do next.The implementation behavior is to
continue
propagation when descending and tostop
propagation when ascending.- Since:
- 6.1
- Author:
- Hank Grabowski
-
-
Constructor Summary
Constructors Constructor Description StopOnIncreasing()
Empty constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Action
eventOccurred(SpacecraftState s, EventDetector detector, boolean increasing)
Handle a detection event and choose what to do next.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.orekit.propagation.events.handlers.EventHandler
init, resetState
-
-
-
-
Method Detail
-
eventOccurred
public Action eventOccurred(SpacecraftState s, EventDetector detector, boolean increasing)
Handle a detection event and choose what to do next.The implementation behavior is to
continue
propagation when descending and tostop
propagation when ascending.- Specified by:
eventOccurred
in interfaceEventHandler
- Parameters:
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 event- Returns:
Action.STOP
orAction.CONTINUE
-
-