Package org.orekit.propagation.events
Interface FieldAdaptableInterval<T extends CalculusFieldElement<T>>
-
- Type Parameters:
T
- the type of the field elements
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface FieldAdaptableInterval<T extends CalculusFieldElement<T>>
This interface represents an event checking interval that depends on state.- Since:
- 12.0
- Author:
- Luc Maisonobe
- See Also:
FieldEventDetector
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description double
currentInterval(FieldSpacecraftState<T> state)
Get the current value of maximal time interval between events handler checks.static <T extends CalculusFieldElement<T>>
FieldAdaptableInterval<T>of(double constantInterval)
Method creating a constant interval provider.
-
-
-
Method Detail
-
currentInterval
double currentInterval(FieldSpacecraftState<T> state)
Get the current value of maximal time interval between events handler checks.- Parameters:
state
- current state- Returns:
- current value of maximal time interval between events handler checks (only as a double)
-
of
static <T extends CalculusFieldElement<T>> FieldAdaptableInterval<T> of(double constantInterval)
Method creating a constant interval provider.- Type Parameters:
T
- field type- Parameters:
constantInterval
- value of constant interval- Returns:
- adaptable interval ready to be added to an event detector
- Since:
- 12.1
-
-