Package org.orekit.orbits
Class AbstractOrbitInterpolator
- java.lang.Object
-
- org.orekit.time.AbstractTimeInterpolator<Orbit>
-
- org.orekit.orbits.AbstractOrbitInterpolator
-
- All Implemented Interfaces:
TimeInterpolator<Orbit>
- Direct Known Subclasses:
OrbitBlender,OrbitHermiteInterpolator
public abstract class AbstractOrbitInterpolator extends AbstractTimeInterpolator<Orbit>
Abstract class for orbit interpolator.- Author:
- Vincent Cucchietti
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.orekit.time.AbstractTimeInterpolator
AbstractTimeInterpolator.InterpolationData
-
-
Field Summary
-
Fields inherited from class org.orekit.time.AbstractTimeInterpolator
DEFAULT_EXTRAPOLATION_THRESHOLD_SEC, DEFAULT_INTERPOLATION_POINTS
-
-
Constructor Summary
Constructors Constructor Description AbstractOrbitInterpolator(int interpolationPoints, double extrapolationThreshold, Frame outputInertialFrame)Constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidcheckOrbitsConsistency(Collection<Orbit> sample)Check orbits consistency by comparing their gravitational parameters µ.FramegetOutputInertialFrame()Get output inertial frame.Orbitinterpolate(AbsoluteDate interpolationDate, Collection<Orbit> sample)Get an interpolated instance.-
Methods inherited from class org.orekit.time.AbstractTimeInterpolator
addOptionalSubInterpolatorIfDefined, checkInterpolatorCompatibilityWithSampleSize, getCentralDate, getCentralDate, getExtrapolationThreshold, getNbInterpolationPoints, getSubInterpolators, getTimeParameter, interpolate, interpolate
-
-
-
-
Constructor Detail
-
AbstractOrbitInterpolator
public AbstractOrbitInterpolator(int interpolationPoints, double extrapolationThreshold, Frame outputInertialFrame)Constructor.- Parameters:
interpolationPoints- number of interpolation pointsextrapolationThreshold- extrapolation threshold beyond which the propagation will failoutputInertialFrame- output inertial frame
-
-
Method Detail
-
checkOrbitsConsistency
public static void checkOrbitsConsistency(Collection<Orbit> sample)
Check orbits consistency by comparing their gravitational parameters µ.- Parameters:
sample- orbits sample
-
interpolate
public Orbit interpolate(AbsoluteDate interpolationDate, Collection<Orbit> sample)
Get an interpolated instance...- Specified by:
interpolatein interfaceTimeInterpolator<Orbit>- Overrides:
interpolatein classAbstractTimeInterpolator<Orbit>- Parameters:
interpolationDate- interpolation datesample- time stamped sample- Returns:
- a new instance, interpolated at specified date
-
getOutputInertialFrame
public Frame getOutputInertialFrame()
Get output inertial frame.- Returns:
- output inertial frame
-
-