public class CustomDateDetector extends org.orekit.propagation.events.DateDetector implements CustomEventDetector
| Constructor and Description |
|---|
CustomDateDetector(org.orekit.time.AbsoluteDate date)
Constructor with target date. maxCheck (1.0e10 s), threshold (1.0e-9 s) and action (STOP) by default.
|
CustomDateDetector(org.orekit.time.AbsoluteDate date,
double maxCheck,
double threshold,
org.orekit.propagation.events.EventDetector.Action action)
Constructor with complete data.
|
| Modifier and Type | Method and Description |
|---|---|
org.orekit.propagation.events.EventDetector |
copy()
Returns a new instance of the current type of
CustomEventDetector with the same attributes but
for the action which is set to Action#CONTINUE. |
org.orekit.propagation.events.EventDetector.Action |
eventOccurred(org.orekit.propagation.SpacecraftState s,
boolean increasing,
boolean forward) |
org.orekit.propagation.events.EventDetector.Action |
getAction()
Getter for the action to be performed in case of event detection.
|
fr.cnes.sirius.patrius.events.CodingEventDetector |
getCodingEventDetector(String incEventString,
String decEventString)
Get the generic coding event detector for a given increasing and decreasing messages.
|
org.orekit.propagation.SpacecraftState |
resetState(org.orekit.propagation.SpacecraftState oldState) |
String |
toString() |
addEventDate, g, getDate, shouldBeRemovedgetMaxCheckInterval, getMaxIterationCount, getSlopeSelection, getThreshold, initpublic CustomDateDetector(org.orekit.time.AbsoluteDate date)
date - target date.public CustomDateDetector(org.orekit.time.AbsoluteDate date,
double maxCheck,
double threshold,
org.orekit.propagation.events.EventDetector.Action action)
date - target date.maxCheck - maximum checking interval (s).threshold - convergence threshold (s).action - action to be performed in case of event detection.public org.orekit.propagation.events.EventDetector.Action getAction()
getAction in interface CustomEventDetectorpublic org.orekit.propagation.events.EventDetector.Action eventOccurred(org.orekit.propagation.SpacecraftState s,
boolean increasing,
boolean forward)
eventOccurred in interface org.orekit.propagation.events.EventDetectoreventOccurred in class org.orekit.propagation.events.DateDetectorpublic org.orekit.propagation.SpacecraftState resetState(org.orekit.propagation.SpacecraftState oldState)
resetState in interface org.orekit.propagation.events.EventDetectorresetState in class org.orekit.propagation.events.AbstractDetectorpublic fr.cnes.sirius.patrius.events.CodingEventDetector getCodingEventDetector(String incEventString, String decEventString)
getCodingEventDetector in interface CustomEventDetectorincEventString - message for the log when the detector is triggered with increasing g functiondecEventString - message for the log when the detector is triggered with decreasing g functionpublic org.orekit.propagation.events.EventDetector copy()
CustomEventDetector with the same attributes but
for the action which is set to Action#CONTINUE. It is intended to be used to create the
CodingEventDetector.copy in interface CustomEventDetectorAction#CONTINUECopyright © 2017. All rights reserved.