Package org.orekit.time.clocks
Class FieldClocksDifference<T extends CalculusFieldElement<T>>
java.lang.Object
org.orekit.time.clocks.AbstractCombinedFieldClocksPair<T>
org.orekit.time.clocks.FieldClocksDifference<T>
- Type Parameters:
T- type of the field elements
- All Implemented Interfaces:
FieldClockModel<T>
public class FieldClocksDifference<T extends CalculusFieldElement<T>>
extends AbstractCombinedFieldClocksPair<T>
Clock model computing the difference of two underlying models.
- Since:
- 14.0
- Author:
- Luc Maisonobe
-
Constructor Summary
ConstructorsConstructorDescriptionFieldClocksDifference(FieldClockModel<T> clock1, FieldClockModel<T> clock2) Simple constructor. -
Method Summary
Modifier and TypeMethodDescriptionprotected FieldClockOffset<T> combine(FieldClockOffset<T> offset1, FieldClockOffset<T> offset2) Combine two offsets.Create a non-field version of the instance.Methods inherited from class org.orekit.time.clocks.AbstractCombinedFieldClocksPair
getClock1, getClock2, getOffset, getValidityEnd, getValidityStartMethods 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
-
FieldClocksDifference
Simple constructor.The combined clock is
clock1 - clock2- Parameters:
clock1- first underlying clockclock2- second underlying clock
-
-
Method Details
-
combine
Combine two offsets.- Specified by:
combinein classAbstractCombinedFieldClocksPair<T extends CalculusFieldElement<T>>- Parameters:
offset1- first offsetoffset2- second offset- Returns:
- combined offset
-
toNonField
Create a non-field version of the instance.- Returns:
- non-field version of the instance
-