Package org.orekit.attitudes
Class AttitudeInterpolator
- All Implemented Interfaces:
TimeInterpolator<Attitude>
Class for attitude interpolation.
The type of interpolation used is defined by given time stamped angular coordinates interpolator at construction.
- Author:
- Vincent Cucchietti
- See Also:
-
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
ConstructorsConstructorDescriptionAttitudeInterpolator(Frame referenceFrame, TimeInterpolator<TimeStampedAngularCoordinates> interpolator) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionGet time stamped angular coordinates interpolator.Get reference frame from which attitude is defined.List<TimeInterpolator<? extends TimeStamped>> Get all lowest level interpolators implemented by this instance, otherwise return a list with this instance only.protected Attitudeinterpolate(AbstractTimeInterpolator<Attitude>.InterpolationData interpolationData) Interpolate instance from given interpolation data.Methods inherited from class org.orekit.time.AbstractTimeInterpolator
addOptionalSubInterpolatorIfDefined, checkInterpolatorCompatibilityWithSampleSize, getCentralDate, getCentralDate, getExtrapolationThreshold, getInternalNbInterpolationPoints, getNbInterpolationPoints, getTimeParameter, interpolate, interpolate
-
Constructor Details
-
AttitudeInterpolator
public AttitudeInterpolator(Frame referenceFrame, TimeInterpolator<TimeStampedAngularCoordinates> interpolator) Constructor.- Parameters:
referenceFrame- reference frame from which attitude is definedinterpolator- time stamped angular coordinates interpolator
-
-
Method Details
-
getReferenceFrame
Get reference frame from which attitude is defined.- Returns:
- reference frame from which attitude is defined
-
getAngularInterpolator
Get time stamped angular coordinates interpolator.- Returns:
- time stamped angular coordinates interpolator
-
getSubInterpolators
Description copied from class:AbstractTimeInterpolatorGet 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).
- Specified by:
getSubInterpolatorsin interfaceTimeInterpolator<Attitude>- Overrides:
getSubInterpolatorsin classAbstractTimeInterpolator<Attitude>- Returns:
- list of interpolators
-
interpolate
protected Attitude interpolate(AbstractTimeInterpolator<Attitude>.InterpolationData interpolationData) Interpolate instance from given interpolation data.- Specified by:
interpolatein classAbstractTimeInterpolator<Attitude>- Parameters:
interpolationData- interpolation data- Returns:
- interpolated instance from given interpolation data.
-