Package org.orekit.orbits
Class AbstractOrbitInterpolator
- All Implemented Interfaces:
TimeInterpolator<Orbit>
- Direct Known Subclasses:
OrbitBlender,OrbitHermiteInterpolator
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
ConstructorsModifierConstructorDescriptionprotectedAbstractOrbitInterpolator(int interpolationPoints, double extrapolationThreshold, Frame outputInertialFrame) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcheckOrbitsConsistency(Collection<Orbit> sample) Check orbits consistency by comparing their frame and gravitational parameters µ.Get output inertial frame.interpolate(AbsoluteDate interpolationDate, Collection<Orbit> sample) Get an interpolated instance.Methods inherited from class org.orekit.time.AbstractTimeInterpolator
addOptionalSubInterpolatorIfDefined, checkInterpolatorCompatibilityWithSampleSize, getCentralDate, getCentralDate, getExtrapolationThreshold, getInternalNbInterpolationPoints, getNbInterpolationPoints, getSubInterpolators, getTimeParameter, interpolate, interpolate
-
Constructor Details
-
AbstractOrbitInterpolator
protected 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 Details
-
checkOrbitsConsistency
Check orbits consistency by comparing their frame and gravitational parameters µ.- Parameters:
sample- orbits sample
-
interpolate
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
Get output inertial frame.- Returns:
- output inertial frame
-