public enum AEMAttitudeType extends Enum<AEMAttitudeType>
Enum Constant and Description |
---|
EULER_ANGLE
Euler angles.
|
EULER_ANGLE_RATE
Euler angles and rotation rate.
|
QUATERNION
Quaternion.
|
QUATERNION_DERIVATIVE
Quaternion and derivatives.
|
QUATERNION_RATE
Quaternion and rotation rate.
|
SPIN
Spin.
|
SPIN_NUTATION
Spin and nutation.
|
Modifier and Type | Method and Description |
---|---|
abstract TimeStampedAngularCoordinates |
getAngularCoordinates(AbsoluteDate date,
double[] attitudeData,
boolean isFirst,
RotationOrder order)
Get the angular coordinates corresponding to the attitude data.
|
abstract AngularDerivativesFilter |
getAngularDerivativesFilter()
Get the angular derivative filter corresponding to the attitude data.
|
abstract double[] |
getAttitudeData(TimeStampedAngularCoordinates attitude,
boolean isFirst,
RotationOrder order)
Get the attitude data corresponding to the attitude type.
|
static AEMAttitudeType |
getAttitudeType(String name)
Get the attitude type corresponding to the given name.
|
String |
getName()
Get the name of the attitude type.
|
static AEMAttitudeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AEMAttitudeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AEMAttitudeType QUATERNION
public static final AEMAttitudeType QUATERNION_DERIVATIVE
public static final AEMAttitudeType QUATERNION_RATE
public static final AEMAttitudeType EULER_ANGLE
public static final AEMAttitudeType EULER_ANGLE_RATE
public static final AEMAttitudeType SPIN
public static final AEMAttitudeType SPIN_NUTATION
public static AEMAttitudeType[] values()
for (AEMAttitudeType c : AEMAttitudeType.values()) System.out.println(c);
public static AEMAttitudeType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getName()
public static AEMAttitudeType getAttitudeType(String name)
name
- given namepublic abstract double[] getAttitudeData(TimeStampedAngularCoordinates attitude, boolean isFirst, RotationOrder order)
Note that, according to the CCSDS ADM documentation, angles values are given in degrees.
attitude
- angular coordinatesisFirst
- true if QC is the first element in the attitude dataorder
- rotation order of the Euler anglespublic abstract TimeStampedAngularCoordinates getAngularCoordinates(AbsoluteDate date, double[] attitudeData, boolean isFirst, RotationOrder order)
Note that, according to the CCSDS ADM documentation, angles values must be given in degrees.
date
- coordinates dateattitudeData
- attitude dataisFirst
- true if QC is the first element in the attitude dataorder
- rotation order of the Euler anglespublic abstract AngularDerivativesFilter getAngularDerivativesFilter()
Copyright © 2002-2020 CS GROUP. All rights reserved.