Package org.orekit.time
Interface FieldTimeInterpolator<T extends FieldTimeStamped<KK>,KK extends CalculusFieldElement<KK>>
-
- Type Parameters:
T
- type of the interpolated instanceKK
- type of the field element
- All Known Implementing Classes:
AbstractFieldOrbitInterpolator
,AbstractFieldTimeInterpolator
,FieldAbsolutePVCoordinatesHermiteInterpolator
,FieldAttitudeInterpolator
,FieldOrbitBlender
,FieldOrbitHermiteInterpolator
,FieldSpacecraftStateInterpolator
,TimeStampedFieldAngularCoordinatesHermiteInterpolator
,TimeStampedFieldHermiteInterpolator
,TimeStampedFieldPVCoordinatesHermiteInterpolator
public interface FieldTimeInterpolator<T extends FieldTimeStamped<KK>,KK extends CalculusFieldElement<KK>>
This interface represents objects that can interpolate a time stamped value with respect to time.- Author:
- Vincent Cucchietti
- See Also:
FieldAbsoluteDate
,FieldTimeStamped
,CalculusFieldElement
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description double
getExtrapolationThreshold()
Get the extrapolation threshold.int
getNbInterpolationPoints()
Get the number of interpolation points.List<FieldTimeInterpolator<? extends FieldTimeStamped<KK>,KK>>
getSubInterpolators()
Get all lowest level interpolators implemented by this instance, otherwise return a list with this instance only.default T
interpolate(AbsoluteDate interpolationDate, Collection<T> sample)
Get an interpolated instance.default T
interpolate(AbsoluteDate interpolationDate, Stream<T> sample)
Get an interpolated instance.T
interpolate(FieldAbsoluteDate<KK> interpolationDate, Collection<T> sample)
Get an interpolated instance.T
interpolate(FieldAbsoluteDate<KK> interpolationDate, Stream<T> sample)
Get an interpolated instance.
-
-
-
Method Detail
-
interpolate
default T interpolate(AbsoluteDate interpolationDate, Stream<T> sample)
Get an interpolated instance.- Parameters:
interpolationDate
- interpolation datesample
- time stamped sample- Returns:
- a new instance, interpolated at specified date
- See Also:
TimeStamped
,AbsoluteDate
-
interpolate
default T interpolate(AbsoluteDate interpolationDate, Collection<T> sample)
Get an interpolated instance.- Parameters:
interpolationDate
- interpolation datesample
- time stamped sample- Returns:
- a new instance, interpolated at specified date
-
interpolate
T interpolate(FieldAbsoluteDate<KK> interpolationDate, Stream<T> sample)
Get an interpolated instance.- Parameters:
interpolationDate
- interpolation datesample
- time stamped sample- Returns:
- a new instance, interpolated at specified date
- See Also:
TimeStamped
,AbsoluteDate
-
interpolate
T interpolate(FieldAbsoluteDate<KK> interpolationDate, Collection<T> sample)
Get an interpolated instance.- Parameters:
interpolationDate
- interpolation datesample
- time stamped sample- Returns:
- a new instance, interpolated at specified date
-
getSubInterpolators
List<FieldTimeInterpolator<? extends FieldTimeStamped<KK>,KK>> getSubInterpolators()
Get all lowest level interpolators implemented by this instance, otherwise return a list with this instance only.An example would be the spacecraft state interpolator which can use different interpolators for each of its attributes (orbit, absolute position-velocity-acceleration coordinates, mass...). In this case, it would return the list of all of these interpolators (or possibly all of their sub-interpolators if they were to use multiple interpolators themselves).
- Returns:
- list of interpolators
-
getNbInterpolationPoints
int getNbInterpolationPoints()
Get the number of interpolation points. In the specific case where this interpolator contains multiple sub-interpolators, this method will return the maximum number of interpolation points required among all sub-interpolators.- Returns:
- the number of interpolation points
- Since:
- 12.0.1
-
getExtrapolationThreshold
double getExtrapolationThreshold()
Get the extrapolation threshold.- Returns:
- get the extrapolation threshold.
-
-