Package org.orekit.time.clocks
Class ConstantFieldClockModel<T extends CalculusFieldElement<T>>
java.lang.Object
org.orekit.time.clocks.AbstractFieldClockModel<T>
org.orekit.time.clocks.ConstantFieldClockModel<T>
- Type Parameters:
T- type of the field elements
- All Implemented Interfaces:
FieldClockModel<T>
public class ConstantFieldClockModel<T extends CalculusFieldElement<T>>
extends AbstractFieldClockModel<T>
Field Clock model for a clock with constant offset.
- Since:
- 14.0
- Author:
- Brian Carter
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstantFieldClockModel(FieldAbsoluteDate<T> referenceDate, T offset) Simple constructor. -
Method Summary
Modifier and TypeMethodDescriptiongetOffset(FieldAbsoluteDate<T> date) The field clock offset at a given time.Methods inherited from class org.orekit.time.clocks.AbstractFieldClockModel
getReferenceDate
-
Constructor Details
-
ConstantFieldClockModel
Simple constructor.- Parameters:
referenceDate- reference dateoffset- offset value
-
-
Method Details
-
getOffset
The field clock offset at a given time.- Parameters:
date- date at which offset is requested- Returns:
- the field clock offset
-