|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.orekit.attitudes.kinematics.AbstractOrientationFunction
public abstract class AbstractOrientationFunction
This abstract class is a time-dependent function representing an orientation.
Constructor Summary | |
---|---|
AbstractOrientationFunction(AbsoluteDate zeroDate)
Constructor setting a default finite differences differentiator. |
|
AbstractOrientationFunction(AbsoluteDate zeroDate,
UnivariateVectorFunctionDifferentiator inDifferentiator)
|
Method Summary | |
---|---|
Vector3D |
computeSpin(AbsoluteDate date)
Estimate the spin at a given date from the current OrientationFunction using the quaternions formula:
Ω = 2 * Q' dQ, where Q' is the conjugate of the quaternion and dQ is the derivative of the quaternion at
the given date. |
Vector3DFunction |
computeSpinFunction()
Estimate the Vector3DFunction from the current OrientationFunction using the quaternions formula:
Ω = 2 * Q' dQ, where Q' is the conjugate of the quaternion and dQ is the derivative of the quaternion at
the given date. |
OrientationFunction |
derivative()
Compute the OrientationFunction representing the first derivative of the current orientation function
components.The differentiation is performed using a numerical differentiation method. |
Vector3D |
estimateRate(AbsoluteDate date,
double dt)
Estimate the spin at a given date from the current OrientationFunction using the
AngularCoordinates.estimateRate(Rotation, Rotation, double) method. |
Vector3DFunction |
estimateRateFunction(double dt)
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. |
AbsoluteDate |
getZeroDate()
Get the date at x = 0. |
double[] |
value(double x)
Compute the quaternion components of the orientation at the (zero + x) date. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
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.Method Detail |
---|
public abstract Rotation getOrientation(AbsoluteDate date) throws OrekitException
getOrientation
in interface OrientationFunction
date
- the date
Rotation
class.
OrekitException
- if rotation cannot be computedpublic final AbsoluteDate getZeroDate()
public final UnivariateVectorFunctionDifferentiator getDifferentiator()
public final double[] value(double x)
value
in interface UnivariateVectorFunction
x
- the time from the date zero for which the function value should be computed
OrekitExceptionWrapper
- if problems to compute value (frame transformation, or other)public final Vector3DFunction estimateRateFunction(double dt)
Vector3DFunction
from the current OrientationFunction
using the
AngularCoordinates.estimateRate(Rotation, Rotation, double)
method.
estimateRateFunction
in interface OrientationFunction
dt
- time elapsed between the dates of the two orientations
public final Vector3D estimateRate(AbsoluteDate date, double dt) throws OrekitException
OrientationFunction
using the
AngularCoordinates.estimateRate(Rotation, Rotation, double)
method.
date
- the current datedt
- time elapsed between the dates of the two orientations
OrekitException
- if the rate cannot be estimatedpublic final Vector3DFunction computeSpinFunction()
Vector3DFunction
from the current OrientationFunction
using the quaternions formula:
Ω = 2 * Q' dQ, where Q' is the conjugate of the quaternion and dQ is the derivative of the quaternion at
the given date.
public final Vector3D computeSpin(AbsoluteDate date) throws OrekitException
OrientationFunction
using the quaternions formula:
Ω = 2 * Q' dQ, where Q' is the conjugate of the quaternion and dQ is the derivative of the quaternion at
the given date.
date
- the current date
OrekitException
- if the spin cannot be computedpublic OrientationFunction derivative()
OrientationFunction
representing the first derivative of the current orientation function
components.
derivative
in interface OrientationFunction
OrientationFunction
containing the first derivative of the orientation function components.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |