public abstract class AbstractOrientationFunction extends Object implements OrientationFunction
| Constructor and Description |
|---|
AbstractOrientationFunction(AbsoluteDate zeroDate)
Constructor setting a default finite differences differentiator.
|
AbstractOrientationFunction(AbsoluteDate zeroDate,
UnivariateVectorFunctionDifferentiator inDifferentiator) |
| Modifier and Type | Method and Description |
|---|---|
OrientationFunction |
derivative()
Compute the
OrientationFunction representing the first derivative of the current orientation function
components. |
Vector3D |
estimateRate(AbsoluteDate date,
double dt,
AbsoluteDateInterval interval)
Estimate the spin at a given date from the current
OrientationFunction using the
AngularCoordinates.estimateRate(Rotation, Rotation, double) method. |
Vector3DFunction |
estimateRateFunction(double dt,
AbsoluteDateInterval interval)
Estimate the
Vector3DFunction from the current OrientationFunction using the
AngularCoordinates.estimateRate(Rotation, Rotation, double) method. |
UnivariateVectorFunctionDifferentiator |
getDifferentiator()
Get the differentiator.
|
abstract Rotation |
getOrientation(AbsoluteDate date)
Get the orientation at a given date.
|
int |
getSize()
Compute the size of the list of values of the function as created by the
UnivariateVectorFunction.value(double) method |
AbsoluteDate |
getZeroDate()
Get the date at x = 0.
|
double[] |
value(double x)
Compute the quaternion components of the orientation at the (zero + x) date.
|
public AbstractOrientationFunction(AbsoluteDate zeroDate)
zeroDate - the date at x = 0.public AbstractOrientationFunction(AbsoluteDate zeroDate, UnivariateVectorFunctionDifferentiator inDifferentiator)
zeroDate - the date at x = 0.inDifferentiator - the differentiation method used to compute the first derivative of the current orientation function
components.public abstract Rotation getOrientation(AbsoluteDate date) throws PatriusException
getOrientation in interface OrientationFunctiondate - the dateRotation class.PatriusException - if rotation cannot be computedpublic final AbsoluteDate getZeroDate()
public final UnivariateVectorFunctionDifferentiator getDifferentiator()
public final double[] value(double x)
value in interface UnivariateVectorFunctionx - the time from the date zero for which the function value should be computedPatriusExceptionWrapper - if problems to compute value (frame transformation, or other)public final Vector3DFunction estimateRateFunction(double dt, AbsoluteDateInterval interval)
Vector3DFunction from the current OrientationFunction using the
AngularCoordinates.estimateRate(Rotation, Rotation, double) method.estimateRateFunction in interface OrientationFunctiondt - time elapsed between the dates of the two orientationsinterval - validity interval of the function (necessary for handling derivatives at boundaries)public final Vector3D estimateRate(AbsoluteDate date, double dt, AbsoluteDateInterval interval) throws PatriusException
OrientationFunction using the
AngularCoordinates.estimateRate(Rotation, Rotation, double) method.date - the current datedt - time elapsed between the dates of the two orientationsinterval - interval of validity of the functionPatriusException - if the rate cannot be estimatedpublic OrientationFunction derivative()
OrientationFunction representing the first derivative of the current orientation function
components.derivative in interface OrientationFunctionOrientationFunction containing the first derivative of the orientation function components.public int getSize()
UnivariateVectorFunction.value(double) methodgetSize in interface UnivariateVectorFunctionCopyright © 2024 CNES. All rights reserved.