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 void
checkOrbitsConsistency(Collection<Orbit> sample)
Check orbits consistency by comparing their gravitational parameters µ.Frame
getOutputInertialFrame()
Get output inertial frame.Orbit
interpolate(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:
interpolate
in interfaceTimeInterpolator<Orbit>
- Overrides:
interpolate
in 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
-
-