Class TimeIntervalEventFunction
java.lang.Object
org.orekit.propagation.events.functions.TimeIntervalEventFunction
- All Implemented Interfaces:
EventFunction
Class representing time interval crossing detection.
It is positive within the interval.
- Since:
- 14.0
- Author:
- Romain Serra
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanMethod returning true if and only if the event function does not depend on dependent variables, just the independent one i.e. time.Getter for the time interval.<T extends CalculusFieldElement<T>>
Tvalue(FieldSpacecraftState<T> fieldState) Evaluate Field function.doublevalue(SpacecraftState state) Evaluate function.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.orekit.propagation.events.functions.EventFunction
dependsOnMainVariablesOnly
-
Constructor Details
-
TimeIntervalEventFunction
Constructor.- Parameters:
timeInterval- event crossing interval
-
-
Method Details
-
value
Description copied from interface:EventFunctionEvaluate function.- Specified by:
valuein interfaceEventFunction- Parameters:
state- spacecraft state- Returns:
- value
-
value
Description copied from interface:EventFunctionEvaluate Field function. By default, calls the non-Field version. This is suitable for detection but not be for applications like automatic differentiation, where a proper implementation should be used instead.- Specified by:
valuein interfaceEventFunction- Type Parameters:
T- field type- Parameters:
fieldState- spacecraft state- Returns:
- value
-
dependsOnTimeOnly
public boolean dependsOnTimeOnly()Description copied from interface:EventFunctionMethod returning true if and only if the event function does not depend on dependent variables, just the independent one i.e. time. This information is used for performance in propagation and derivatives correction with switches in the dynamics.- Specified by:
dependsOnTimeOnlyin interfaceEventFunction- Returns:
- flag
-
getTimeInterval
Getter for the time interval.- Returns:
- interval
-