Enum EulerKey
- java.lang.Object
-
- java.lang.Enum<EulerKey>
-
- org.orekit.files.ccsds.ndm.adm.apm.EulerKey
-
- All Implemented Interfaces:
Serializable
,Comparable<EulerKey>
public enum EulerKey extends Enum<EulerKey>
Keys forAPM Euler angles
entries.- Since:
- 10.2
- Author:
- Bryan Cazabonne
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMMENT
Comment entry.EULER_DIR
Rotation direction entry.EULER_FRAME_A
First reference frame entry.EULER_FRAME_B
Second reference frame entry.EULER_ROT_SEQ
Rotation sequence entry.RATE_FRAME
Reference frame for rate entry.rotationAngles
Rotation angles wrapping element in XML files.rotationRates
Rotation rates wrapping element in XML files.X_ANGLE
X body rotation angle entry.X_RATE
X body rotation rate entry.Y_ANGLE
Y body rotation angle entry.Y_RATE
Y body rotation rate entry.Z_ANGLE
Z body rotation angle entry.Z_RATE
Z body rotation rate entry.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
process(ParseToken token, ContextBinding context, Euler container)
Process one token.static EulerKey
valueOf(String name)
Returns the enum constant of this type with the specified name.static EulerKey[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
rotationAngles
public static final EulerKey rotationAngles
Rotation angles wrapping element in XML files.
-
rotationRates
public static final EulerKey rotationRates
Rotation rates wrapping element in XML files.
-
COMMENT
public static final EulerKey COMMENT
Comment entry.
-
EULER_FRAME_A
public static final EulerKey EULER_FRAME_A
First reference frame entry.
-
EULER_FRAME_B
public static final EulerKey EULER_FRAME_B
Second reference frame entry.
-
EULER_DIR
public static final EulerKey EULER_DIR
Rotation direction entry.
-
EULER_ROT_SEQ
public static final EulerKey EULER_ROT_SEQ
Rotation sequence entry.
-
RATE_FRAME
public static final EulerKey RATE_FRAME
Reference frame for rate entry.
-
X_ANGLE
public static final EulerKey X_ANGLE
X body rotation angle entry.
-
Y_ANGLE
public static final EulerKey Y_ANGLE
Y body rotation angle entry.
-
Z_ANGLE
public static final EulerKey Z_ANGLE
Z body rotation angle entry.
-
X_RATE
public static final EulerKey X_RATE
X body rotation rate entry.
-
Y_RATE
public static final EulerKey Y_RATE
Y body rotation rate entry.
-
Z_RATE
public static final EulerKey Z_RATE
Z body rotation rate entry.
-
-
Method Detail
-
values
public static EulerKey[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (EulerKey c : EulerKey.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EulerKey valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
process
public boolean process(ParseToken token, ContextBinding context, Euler container)
Process one token.- Parameters:
token
- token to processcontext
- context bindingcontainer
- container to fill- Returns:
- true of token was accepted
-
-