Enum Class ApmQuaternionKey
- All Implemented Interfaces:
Serializable,Comparable<ApmQuaternionKey>,Constable
Keys for
APM quaternion entries.- Since:
- 10.2
- Author:
- Bryan Cazabonne
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionComment entry.Epoch entry (only for ADM V1).Rotation direction entry.First reference frame entry (ADM V1 only).Second reference frame entry (ADM V1 only).First component of the vector part of the quaternion entry.First component of the vector part of the quaternion derivative entry.Second component of the vector part of the quaternion entry.Second component of the vector part of the quaternion derivative entry.Third component of the vector part of the quaternion entry.Third component of the vector part of the quaternion derivative entry.Scalar part of the quaternion entry.Scalar part of the quaternion derivative entry.Quaternion wrapping element in XML files.Quaternion derivative wrapping element in XML files.Quaternion derivative wrapping element in XML files (ADM V1 only).First reference frame entry.Second reference frame entry. -
Method Summary
Modifier and TypeMethodDescriptionbooleanprocess(ParseToken token, ContextBinding context, ApmQuaternion container, ParseToken.DateConsumer epochSetter) Process one token.static ApmQuaternionKeyReturns the enum constant of this class with the specified name.static ApmQuaternionKey[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
quaternion
Quaternion wrapping element in XML files. -
quaternionRate
Quaternion derivative wrapping element in XML files (ADM V1 only). -
quaternionDot
Quaternion derivative wrapping element in XML files.- Since:
- 12.0
-
COMMENT
Comment entry. -
EPOCH
Epoch entry (only for ADM V1). -
Q_FRAME_A
First reference frame entry (ADM V1 only). -
REF_FRAME_A
First reference frame entry.- Since:
- 12.0
-
Q_FRAME_B
Second reference frame entry (ADM V1 only). -
REF_FRAME_B
Second reference frame entry.- Since:
- 12.0
-
Q_DIR
Rotation direction entry. -
QC
Scalar part of the quaternion entry. -
Q1
First component of the vector part of the quaternion entry. -
Q2
Second component of the vector part of the quaternion entry. -
Q3
Third component of the vector part of the quaternion entry. -
QC_DOT
Scalar part of the quaternion derivative entry. -
Q1_DOT
First component of the vector part of the quaternion derivative entry. -
Q2_DOT
Second component of the vector part of the quaternion derivative entry. -
Q3_DOT
Third component of the vector part of the quaternion derivative entry.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
process
public boolean process(ParseToken token, ContextBinding context, ApmQuaternion container, ParseToken.DateConsumer epochSetter) Process one token.- Parameters:
token- token to processcontext- context bindingcontainer- container to fillepochSetter- setter for the epoch (used only in ADM V1 XML files)- Returns:
- true of token was accepted
-