Package org.orekit.time
Class AbstractTimeInterpolator.InterpolationData
- java.lang.Object
-
- org.orekit.time.AbstractTimeInterpolator.InterpolationData
-
- Enclosing class:
- AbstractTimeInterpolator<T extends TimeStamped>
public class AbstractTimeInterpolator.InterpolationData extends Object
Nested class used to store interpolation data.It makes the interpolator thread safe.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
InterpolationData(AbsoluteDate interpolationDate, Collection<T> sample)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImmutableTimeStampedCache<T>
getCachedSamples()
Get cached samples.protected AbsoluteDate
getCentralDate(AbsoluteDate date)
Get the central date to use to find neighbors while taking into account extrapolation threshold.AbsoluteDate
getInterpolationDate()
Get interpolation date.List<T>
getNeighborList()
Get neighbor list.
-
-
-
Constructor Detail
-
InterpolationData
protected InterpolationData(AbsoluteDate interpolationDate, Collection<T> sample)
Constructor.- Parameters:
interpolationDate
- interpolation datesample
- time stamped sample
-
-
Method Detail
-
getCentralDate
protected AbsoluteDate getCentralDate(AbsoluteDate date)
Get the central date to use to find neighbors while taking into account extrapolation threshold.- Parameters:
date
- interpolation date- Returns:
- central date to use to find neighbors
-
getInterpolationDate
public AbsoluteDate getInterpolationDate()
Get interpolation date.- Returns:
- interpolation date
-
getCachedSamples
public ImmutableTimeStampedCache<T> getCachedSamples()
Get cached samples.- Returns:
- cached samples
-
-