Package org.orekit.attitudes
Class AttitudeInterpolator
- java.lang.Object
-
- org.orekit.time.AbstractTimeInterpolator<Attitude>
-
- org.orekit.attitudes.AttitudeInterpolator
-
- All Implemented Interfaces:
TimeInterpolator<Attitude>
public class AttitudeInterpolator extends AbstractTimeInterpolator<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:
TimeStampedAngularCoordinates
,TimeInterpolator
-
-
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 AttitudeInterpolator(Frame referenceFrame, TimeInterpolator<TimeStampedAngularCoordinates> interpolator)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TimeInterpolator<TimeStampedAngularCoordinates>
getAngularInterpolator()
Get time stamped angular coordinates interpolator.Frame
getReferenceFrame()
Get reference frame from which attitude is defined.protected Attitude
interpolate(AbstractTimeInterpolator.InterpolationData interpolationData)
Interpolate instance from given interpolation data.-
Methods inherited from class org.orekit.time.AbstractTimeInterpolator
addOptionalSubInterpolatorIfDefined, checkInterpolatorCompatibilityWithSampleSize, getCentralDate, getCentralDate, getExtrapolationThreshold, getNbInterpolationPoints, getSubInterpolators, getTimeParameter, interpolate, interpolate
-
-
-
-
Constructor Detail
-
AttitudeInterpolator
public AttitudeInterpolator(Frame referenceFrame, TimeInterpolator<TimeStampedAngularCoordinates> interpolator)
Constructor.- Parameters:
referenceFrame
- reference frame from which attitude is definedinterpolator
- time stamped angular coordinates interpolator
-
-
Method Detail
-
getReferenceFrame
public Frame getReferenceFrame()
Get reference frame from which attitude is defined.- Returns:
- reference frame from which attitude is defined
-
getAngularInterpolator
public TimeInterpolator<TimeStampedAngularCoordinates> getAngularInterpolator()
Get time stamped angular coordinates interpolator.- Returns:
- time stamped angular coordinates interpolator
-
interpolate
protected Attitude interpolate(AbstractTimeInterpolator.InterpolationData interpolationData)
Interpolate instance from given interpolation data.- Specified by:
interpolate
in classAbstractTimeInterpolator<Attitude>
- Parameters:
interpolationData
- interpolation data- Returns:
- interpolated instance from given interpolation data.
-
-