KK - class type for the generic versionpublic class FieldStopOnDecreasing<KK extends FieldEventDetector<T>,T extends RealFieldElement<T>> extends Object implements FieldEventHandler<KK,T>
KKhe implementation behavior is to continue propagation when ascending and to
stop propagation when descending.
| Constructor and Description |
|---|
FieldStopOnDecreasing() |
| Modifier and Type | Method and Description |
|---|---|
Action |
eventOccurred(FieldSpacecraftState<T> s,
KK detector,
boolean increasing)
Handle a detection event and choose what to do next.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinit, resetStatepublic Action eventOccurred(FieldSpacecraftState<T> s, KK detector, boolean increasing)
KKhe implementation behavior is to continue propagation when ascending and to
stop propagation when descending.
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 eventAction.STOP or Action.CONTINUECopyright © 2002-2021 CS GROUP. All rights reserved.