Package org.orekit.attitudes
Class FieldAttitudeInterpolator<KK extends CalculusFieldElement<KK>>
java.lang.Object
org.orekit.time.AbstractFieldTimeInterpolator<FieldAttitude<KK>,KK>
org.orekit.attitudes.FieldAttitudeInterpolator<KK>
- Type Parameters:
KK- type of the field element
- All Implemented Interfaces:
FieldTimeInterpolator<FieldAttitude<KK>,KK>
public class FieldAttitudeInterpolator<KK extends CalculusFieldElement<KK>>
extends AbstractFieldTimeInterpolator<FieldAttitude<KK>,KK>
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.AbstractFieldTimeInterpolator
AbstractFieldTimeInterpolator.InterpolationData -
Field Summary
Fields inherited from class org.orekit.time.AbstractFieldTimeInterpolator
DEFAULT_EXTRAPOLATION_THRESHOLD_SEC, DEFAULT_INTERPOLATION_POINTS -
Constructor Summary
ConstructorsConstructorDescriptionFieldAttitudeInterpolator(Frame referenceFrame, FieldTimeInterpolator<TimeStampedFieldAngularCoordinates<KK>, KK> interpolator) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionGet time stamped angular coordinates interpolator.Get reference frame from which attitude is defined.List<FieldTimeInterpolator<? extends FieldTimeStamped<KK>, KK>> Get all lowest level interpolators implemented by this instance, otherwise return a list with this instance only.protected FieldAttitude<KK> interpolate(AbstractFieldTimeInterpolator<FieldAttitude<KK>, KK>.InterpolationData interpolationData) Interpolate instance from given interpolation data.Methods inherited from class org.orekit.time.AbstractFieldTimeInterpolator
addOptionalSubInterpolatorIfDefined, checkInterpolatorCompatibilityWithSampleSize, getCentralDate, getCentralDate, getExtrapolationThreshold, getInternalNbInterpolationPoints, getNbInterpolationPoints, getTimeParameter, interpolate, interpolateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.orekit.time.FieldTimeInterpolator
interpolate, interpolate
-
Constructor Details
-
FieldAttitudeInterpolator
public FieldAttitudeInterpolator(Frame referenceFrame, FieldTimeInterpolator<TimeStampedFieldAngularCoordinates<KK>, KK> 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
-
interpolate
protected FieldAttitude<KK> interpolate(AbstractFieldTimeInterpolator<FieldAttitude<KK>, KK>.InterpolationData interpolationData) Interpolate instance from given interpolation data.- Specified by:
interpolatein classAbstractFieldTimeInterpolator<FieldAttitude<KK extends CalculusFieldElement<KK>>,KK extends CalculusFieldElement<KK>> - Parameters:
interpolationData- interpolation data- Returns:
- interpolated instance from given interpolation data.
-
getSubInterpolators
Description copied from class:AbstractFieldTimeInterpolatorGet 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 interfaceFieldTimeInterpolator<FieldAttitude<KK extends CalculusFieldElement<KK>>,KK extends CalculusFieldElement<KK>> - Overrides:
getSubInterpolatorsin classAbstractFieldTimeInterpolator<FieldAttitude<KK extends CalculusFieldElement<KK>>,KK extends CalculusFieldElement<KK>> - Returns:
- list of interpolators
-