KK - class type for the generic versionFieldEventHandler<KK,T>public class FieldStopOnIncreasing<KK extends FieldEventDetector<T>,T extends RealFieldElement<T>> extends Object implements FieldEventHandler<KK,T>
The implementation behavior is to continue propagation when descending and to
stop propagation when ascending.
FieldEventHandler.Action| Constructor | Description |
|---|---|
FieldStopOnIncreasing() |
| Modifier and Type | Method | Description |
|---|---|---|
FieldEventHandler.Action |
eventOccurred(FieldSpacecraftState<T> s,
KK detector,
boolean increasing) |
Handle a detection event and choose what to do next.
|
init, resetStatepublic FieldEventHandler.Action eventOccurred(FieldSpacecraftState<T> s, KK detector, boolean increasing) throws OrekitException
The implementation behavior is to continue propagation when descending and to
stop propagation when ascending.
eventOccurred in interface FieldEventHandler<KK extends FieldEventDetector<T>,T extends RealFieldElement<T>>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 eventFieldEventHandler.Action.STOP or FieldEventHandler.Action.CONTINUEOrekitException - if some specific error occursCopyright © 2002-2018 CS Systèmes d'information. All rights reserved.