Package org.orekit.time
Interface TimeInterpolator<T extends TimeStamped>
-
- Type Parameters:
T
- type of the interpolated instance
- All Known Implementing Classes:
AbsolutePVCoordinatesHermiteInterpolator
,AbstractOrbitInterpolator
,AbstractStateCovarianceInterpolator
,AbstractTimeInterpolator
,AttitudeInterpolator
,OrbitBlender
,OrbitHermiteInterpolator
,SP3CoordinateHermiteInterpolator
,SpacecraftStateInterpolator
,StateCovarianceBlender
,StateCovarianceKeplerianHermiteInterpolator
,TimeStampedAngularCoordinatesHermiteInterpolator
,TimeStampedDoubleHermiteInterpolator
,TimeStampedPVCoordinatesHermiteInterpolator
public interface TimeInterpolator<T extends TimeStamped>
This interface represents objects that can interpolate a time stamped value with respect to time.- Author:
- Vincent Cucchietti
- See Also:
AbsoluteDate
,TimeStamped
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description double
getExtrapolationThreshold()
Get the extrapolation threshold.int
getNbInterpolationPoints()
Get the number of interpolation points.List<TimeInterpolator<? extends TimeStamped>>
getSubInterpolators()
Get all lowest level interpolators implemented by this instance, otherwise return a list with this instance only.T
interpolate(AbsoluteDate interpolationDate, Collection<T> sample)
Get an interpolated instance.T
interpolate(AbsoluteDate interpolationDate, Stream<T> sample)
Get an interpolated instance.
-
-
-
Method Detail
-
interpolate
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
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
-
getSubInterpolators
List<TimeInterpolator<? extends TimeStamped>> 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
-
-