Class PeriodBasedAdaptableInterval
java.lang.Object
org.orekit.propagation.events.intervals.PeriodBasedAdaptableInterval
- All Implemented Interfaces:
AdaptableInterval
This class defines an interval based on the osculating orbital period if available.
- Since:
- 14.0
- Author:
- Romain Serra
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionPeriodBasedAdaptableInterval(double factor, double defaultMaxCheck) Constructor. -
Method Summary
Modifier and TypeMethodDescriptiondoublecurrentInterval(SpacecraftState state, boolean isForward) Get the current value of maximal time interval between events handler checks.
-
Constructor Details
-
PeriodBasedAdaptableInterval
public PeriodBasedAdaptableInterval(double factor, double defaultMaxCheck) Constructor.- Parameters:
factor- multiplying factor on the orbital, Keplerian perioddefaultMaxCheck- default value in case the period is not defined, also used as minimum
-
-
Method Details
-
currentInterval
Description copied from interface:AdaptableIntervalGet the current value of maximal time interval between events handler checks.- Specified by:
currentIntervalin interfaceAdaptableInterval- Parameters:
state- current stateisForward- direction of propagation- Returns:
- current value of maximal time interval between events handler checks
-