public class RelativeDateDetector extends DateDetector
AbstractDetector.PropagationDelayTypeEventDetector.ActionDEFAULT_MAXCHECK, DEFAULT_THRESHOLDactionAtEntry, actionAtExit, removeAtEntry, removeAtExit, shouldBeRemovedFlagDECREASING, INCREASING, INCREASING_DECREASING| Constructor and Description |
|---|
RelativeDateDetector(double relativeDateIn,
AbsoluteDate referenceDateIn,
TimeScale offsetTimeScale)
Constructor with target relative date and reference date.
|
RelativeDateDetector(double relativeDateIn,
AbsoluteDate referenceDateIn,
TimeScale offsetTimeScale,
double maxCheck,
double threshold,
EventDetector.Action action)
Constructor with target relative date and reference date.
|
| Modifier and Type | Method and Description |
|---|---|
EventDetector |
copy()
A copy of the detector.
|
AbsoluteDate |
getReferenceDate()
Getter for the reference date of the event.
|
double |
getRelativeDate()
Getter for the target relative date in seconds.
|
TimeScale |
getTimeScale()
Getter for the time scale of the event.
|
addEventDate, eventOccurred, g, getAction, getDategetActionAtEntry, getActionAtExit, getInertialFrame, getMaxCheckInterval, getMaxIterationCount, getPropagationDelayType, getSignalEmissionDate, getSignalReceptionDate, getSlopeSelection, getThreshold, init, isRemoveAtEntry, isRemoveAtExit, logEventsOverTimeInterval, resetState, setMaxCheckInterval, setPropagationDelayType, shouldBeRemovedpublic RelativeDateDetector(double relativeDateIn,
AbsoluteDate referenceDateIn,
TimeScale offsetTimeScale)
throws ArithmeticException
relativeDateIn - target relative date to find.referenceDateIn - 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 RelativeDateDetector(double relativeDateIn,
AbsoluteDate referenceDateIn,
TimeScale offsetTimeScale,
double maxCheck,
double threshold,
EventDetector.Action action)
throws ArithmeticException
relativeDateIn - target relative date.referenceDateIn - 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 AbsoluteDate getReferenceDate()
public TimeScale getTimeScale()
public EventDetector copy()
copy in interface EventDetectorcopy in class DateDetectorCopyright © 2022 CNES. All rights reserved.