public class CelestialBodyTabulatedOrientation extends Object implements CelestialBodyOrientation
CelestialBodyOrientation.OrientationType| Constructor and Description |
|---|
CelestialBodyTabulatedOrientation(TabulatedAttitude tabulatedAttitude)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
AngularCoordinates |
getAngularCoordinates(AbsoluteDate date,
CelestialBodyOrientation.OrientationType orientationType)
Getter for the orientation.
|
double |
getDH()
Getter for the finite difference delta value.
|
TimeStampedAngularCoordinates |
getOrientation(AbsoluteDate date)
Getter for the celestial body orientation at the specified date in the tabulated attitude leg's reference frame.
|
TimeStampedAngularCoordinates |
getOrientation(AbsoluteDate date,
Frame frame)
Getter for the celestial body orientation at the specified date.
|
Vector3D |
getPole(AbsoluteDate date)
Getter for the body North pole direction with respect to a reference frame.
|
Vector3D |
getPoleDerivative(AbsoluteDate date)
Getter for the body North pole direction derivative with respect to a reference frame.
|
double |
getPrimeMeridianAngle(AbsoluteDate date)
Getter for the prime meridian angle.
|
double |
getPrimeMeridianAngleDerivative(AbsoluteDate date)
Getter for the prime meridian angle derivative.
|
TabulatedAttitude |
getTabulatedAttitude()
Getter for the tabulated attitude leg representing the celestial body orientation.
|
void |
setDH(double dHIn)
Setter for the finite difference delta value.
|
String |
toString()
Returns a string representation of the body orientation.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAngularCoordinatespublic CelestialBodyTabulatedOrientation(TabulatedAttitude tabulatedAttitude)
tabulatedAttitude - The tabulated attitude leg representing the celestial body orientationpublic TabulatedAttitude getTabulatedAttitude()
public TimeStampedAngularCoordinates getOrientation(AbsoluteDate date) throws PatriusException
date - current datePatriusException - if attitude cannot be computed for provided datepublic TimeStampedAngularCoordinates getOrientation(AbsoluteDate date, Frame frame) throws PatriusException
date - current dateframe - reference frame from which attitude is computedPatriusException - if attitude cannot be computed for provided datepublic double getDH()
This value is used to compute the body pole directions by finite difference (see getPole(fr.cnes.sirius.patrius.time.AbsoluteDate) and
getPoleDerivative(fr.cnes.sirius.patrius.time.AbsoluteDate).
Note that the body pole directions can only be computed on the interval:
[tabulated attitude's lower date + 2 * dH ; tabulated attitude's upper date - 2 * dH].
public void setDH(double dHIn)
This value is used to compute the body pole directions by finite difference (see getPole(fr.cnes.sirius.patrius.time.AbsoluteDate) and
getPoleDerivative(fr.cnes.sirius.patrius.time.AbsoluteDate).
Note that the body pole directions can only be computed on the interval:
[tabulated attitude's lower date + 2 * dH ; tabulated attitude's upper date - 2 * dH].
dHIn - the finite difference delta value to set (0.5s by default)NotStrictlyPositiveException - if dH < Precision.DOUBLE_COMPARISON_EPSILONpublic String toString()
toString in interface CelestialBodyOrientationtoString in class Objectpublic Vector3D getPole(AbsoluteDate date) throws PatriusException
getPole in interface CelestialBodyOrientationdate - Current datePatriusException - if attitude cannot be computed for provided datepublic Vector3D getPoleDerivative(AbsoluteDate date) throws PatriusException
getPoleDerivative in interface CelestialBodyOrientationdate - Current datePatriusException - if attitude cannot be computed for provided datepublic double getPrimeMeridianAngle(AbsoluteDate date) throws PatriusException
The prime meridian angle is the angle between the Q node and the prime meridian. Represents the body rotation.
getPrimeMeridianAngle in interface CelestialBodyOrientationdate - Current datePatriusException - if attitude cannot be computed for provided datepublic double getPrimeMeridianAngleDerivative(AbsoluteDate date) throws PatriusException
The prime meridian angle is the angle between the Q node and the prime meridian. Represents the body rotation.
getPrimeMeridianAngleDerivative in interface CelestialBodyOrientationdate - Current datePatriusException - if attitude cannot be computed for provided datepublic AngularCoordinates getAngularCoordinates(AbsoluteDate date, CelestialBodyOrientation.OrientationType orientationType) throws PatriusException
getAngularCoordinates in interface CelestialBodyOrientationdate - Current dateorientationType - Indicates the expected orientation typePatriusException - if attitude cannot be computed for provided dateCopyright © 2024 CNES. All rights reserved.