public class CustomRelativeDateDetector extends CustomDateDetector
| Constructor and Description |
|---|
CustomRelativeDateDetector(double relativeDate,
org.orekit.time.AbsoluteDate referenceDate,
org.orekit.time.TimeScale offsetTimeScale)
Constructor with target relative date and reference date. maxCheck (1.e10 s) and threshold (1.0e-9 s).
|
CustomRelativeDateDetector(double relativeDate,
org.orekit.time.AbsoluteDate referenceDate,
org.orekit.time.TimeScale offsetTimeScale,
double maxCheck,
double threshold,
org.orekit.propagation.events.EventDetector.Action action)
Constructor with target relative date and reference date. maxCheck, threshold and action are also
configurable.
|
| 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. |
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.time.AbsoluteDate |
getReferenceDate()
Getter for the reference date of the event.
|
double |
getRelativeDate()
Getter for the target relative date in seconds.
|
org.orekit.time.TimeScale |
getTimeScale()
Getter for the time scale of the event.
|
String |
toString() |
eventOccurred, getAction, resetStateaddEventDate, g, getDate, shouldBeRemovedgetMaxCheckInterval, getMaxIterationCount, getSlopeSelection, getThreshold, initpublic CustomRelativeDateDetector(double relativeDate,
org.orekit.time.AbsoluteDate referenceDate,
org.orekit.time.TimeScale offsetTimeScale)
throws ArithmeticException
relativeDate - target relative date to find.referenceDate - reference date of the event.offsetTimeScale - time scale in which the relativeDate is expressed.ArithmeticException - if relativeDate is NaN or if referenceDate contains NaN.public CustomRelativeDateDetector(double relativeDate,
org.orekit.time.AbsoluteDate referenceDate,
org.orekit.time.TimeScale offsetTimeScale,
double maxCheck,
double threshold,
org.orekit.propagation.events.EventDetector.Action action)
throws ArithmeticException
relativeDate - target relative date.referenceDate - reference date of the event.offsetTimeScale - time scale in which the relativeDate is expressed.maxCheck - maximum checking interval (s).threshold - convergence threshold (s).action - action to be performed in case of event detection.ArithmeticException - if referenceDate contains NaN or if relativeDate is NaN.public double getRelativeDate()
public org.orekit.time.AbsoluteDate getReferenceDate()
public org.orekit.time.TimeScale getTimeScale()
public String toString()
toString in class CustomDateDetectorpublic fr.cnes.sirius.patrius.events.CodingEventDetector getCodingEventDetector(String incEventString, String decEventString)
getCodingEventDetector in interface CustomEventDetectorgetCodingEventDetector in class CustomDateDetectorincEventString - 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 CustomEventDetectorcopy in class CustomDateDetectorAction#CONTINUECopyright © 2017. All rights reserved.