Package org.orekit.time.clocks
Class SampledFieldClockModel<T extends CalculusFieldElement<T>>
java.lang.Object
org.orekit.time.clocks.SampledFieldClockModel<T>
- Type Parameters:
T- type of the field elements
- All Implemented Interfaces:
FieldClockModel<T>
public class SampledFieldClockModel<T extends CalculusFieldElement<T>>
extends Object
implements FieldClockModel<T>
Offset clock model backed up by a sample.
- Since:
- 14.0
- Author:
- Luc Maisonobe
-
Constructor Summary
ConstructorsConstructorDescriptionSampledFieldClockModel(List<FieldClockOffset<T>> sample, int nbInterpolationPoints) Simple constructor. -
Method Summary
Modifier and TypeMethodDescriptiongetCache()Get the clock offsets cache.getOffset(FieldAbsoluteDate<T> date) The field clock offset at a given time.Get validity end.Get validity start.Create a non-field version of the instance.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.orekit.time.clocks.FieldClockModel
getOffsetValue
-
Constructor Details
-
SampledFieldClockModel
Simple constructor.- Parameters:
sample- clock offsets samplenbInterpolationPoints- number of points to use in interpolation
-
-
Method Details
-
getCache
Get the clock offsets cache.- Returns:
- clock offsets cache
-
getValidityStart
Get validity start.- Specified by:
getValidityStartin interfaceFieldClockModel<T extends CalculusFieldElement<T>>- Returns:
- model validity start
-
getValidityEnd
Get validity end.- Specified by:
getValidityEndin interfaceFieldClockModel<T extends CalculusFieldElement<T>>- Returns:
- model validity end
-
getOffset
The field clock offset at a given time.- Specified by:
getOffsetin interfaceFieldClockModel<T extends CalculusFieldElement<T>>- Parameters:
date- date at which offset is requested- Returns:
- the field clock offset
-
toNonField
Create a non-field version of the instance.- Specified by:
toNonFieldin interfaceFieldClockModel<T extends CalculusFieldElement<T>>- Returns:
- non-field version of the instance
-