Enum AxisSequenceType
- java.lang.Object
-
- java.lang.Enum<AxisSequenceType>
-
- org.apache.commons.geometry.euclidean.threed.rotation.AxisSequenceType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<AxisSequenceType>
public enum AxisSequenceType extends java.lang.Enum<AxisSequenceType>
Defines different types of rotation axis sequences.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EULER
Represents Euler angles, which consist of axis sequences in the pattern ABA.TAIT_BRYAN
Represents Tait-Bryan angles, which consist of axis sequences in the pattern ABC.
-
Constructor Summary
Constructors Modifier Constructor Description private
AxisSequenceType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AxisSequenceType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static AxisSequenceType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EULER
public static final AxisSequenceType EULER
Represents Euler angles, which consist of axis sequences in the pattern ABA. For example, the sequencesZXZ
,XYX
, etc. fit this definition. Other types of sequences that do not match this pattern are often called "Euler angles" in common usage. However, this enum value is intended to represent only those sequences that match exactly, ie "proper" Euler angles.- See Also:
- Proper Euler angles
-
TAIT_BRYAN
public static final AxisSequenceType TAIT_BRYAN
Represents Tait-Bryan angles, which consist of axis sequences in the pattern ABC. For example, the sequencesXYZ
,ZXY
, etc. fit this definition. Tait-Bryan angles are also called Cardan angles.- See Also:
- Tait-Bryan angles
-
-
Method Detail
-
values
public static AxisSequenceType[] 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 (AxisSequenceType c : AxisSequenceType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AxisSequenceType valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-