Package org.orekit.time
Class PythonFieldTimeShiftable<T extends FieldTimeShiftable<T,KK>,KK extends CalculusFieldElement<KK>>
- java.lang.Object
-
- org.orekit.time.PythonFieldTimeShiftable<T,KK>
-
- All Implemented Interfaces:
FieldTimeShiftable<T,KK>
,TimeShiftable<T>
public class PythonFieldTimeShiftable<T extends FieldTimeShiftable<T,KK>,KK extends CalculusFieldElement<KK>> extends Object implements FieldTimeShiftable<T,KK>
-
-
Constructor Summary
Constructors Constructor Description PythonFieldTimeShiftable()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
finalize()
Part of JCC Python interface to objectvoid
pythonDecRef()
Part of JCC Python interface to objectlong
pythonExtension()
Part of JCC Python interface to objectvoid
pythonExtension(long pythonObject)
Part of JCC Python interface to objectT
shiftedBy(double dt)
Get a time-shifted instance.T
shiftedBy(KK dt)
Get a time-shifted instance.T
shiftedBy_KK(KK dt)
Get a time-shifted instance.
-
-
-
Method Detail
-
pythonExtension
public void pythonExtension(long pythonObject)
Part of JCC Python interface to object
-
pythonExtension
public long pythonExtension()
Part of JCC Python interface to object
-
finalize
public void finalize() throws Throwable
Part of JCC Python interface to object
-
pythonDecRef
public void pythonDecRef()
Part of JCC Python interface to object
-
shiftedBy
public T shiftedBy(double dt)
Get a time-shifted instance.- Specified by:
shiftedBy
in interfaceTimeShiftable<T extends FieldTimeShiftable<T,KK>>
- Parameters:
dt
- time shift in seconds- Returns:
- a new instance, shifted with respect to instance (which is not changed)
-
shiftedBy
public T shiftedBy(KK dt)
Get a time-shifted instance. Calls the ShiftedByType Python extension method- Specified by:
shiftedBy
in interfaceFieldTimeShiftable<T extends FieldTimeShiftable<T,KK>,KK extends CalculusFieldElement<KK>>
- Parameters:
dt
- time shift in seconds- Returns:
- a new instance, shifted with respect to instance (which is not changed)
-
-