Enum AxisSequence
- All Implemented Interfaces:
Serializable, Comparable<AxisSequence>
Enum containing rotation axis sequences for use in defining 3 dimensional rotations.
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionSet of Euler angles around the X, Y, and X axes in that order.Set of Tait-Bryan angles around the X, Y, and Z axes in that order.Set of Euler angles around the X, Z, and X axes in that order.Set of Tait-Bryan angles around the X, Z, and Y axes in that order.Set of Euler angles around the Y, X, and Y axes in that order.Set of Tait-Bryan angles around the Y, X, and Z axes in that order.Set of Tait-Bryan angles around the Y, Z, and X axes in that order.Set of Euler angles around the Y, Z, and Y axes in that order.Set of Cardan angles.Set of Euler angles around the Z, X, and Z axes in that order.Set of Tait-Bryan angles around the Z, Y, and X axes in that order.Set of Euler angles around the Z, Y, and Z axes in that order. -
Method Summary
Modifier and TypeMethodDescriptiongetAxis1()Get the first rotation axis.getAxis2()Get the second rotation axis.getAxis3()Get the third rotation axis.getType()Get the axis sequence type.Vector3D[]toArray()Get an array containing the 3 rotation axes in order.static AxisSequenceReturns the enum constant of this type with the specified name.static AxisSequence[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
XYZ
Set of Tait-Bryan angles around the X, Y, and Z axes in that order. -
XZY
Set of Tait-Bryan angles around the X, Z, and Y axes in that order. -
YXZ
Set of Tait-Bryan angles around the Y, X, and Z axes in that order. -
YZX
Set of Tait-Bryan angles around the Y, Z, and X axes in that order. -
ZXY
Set of Cardan angles. this ordered set of rotations is around Z, then around X, then around Y -
ZYX
Set of Tait-Bryan angles around the Z, Y, and X axes in that order. -
XYX
Set of Euler angles around the X, Y, and X axes in that order. -
XZX
Set of Euler angles around the X, Z, and X axes in that order. -
YXY
Set of Euler angles around the Y, X, and Y axes in that order. -
YZY
Set of Euler angles around the Y, Z, and Y axes in that order. -
ZXZ
Set of Euler angles around the Z, X, and Z axes in that order. -
ZYZ
Set of Euler angles around the Z, Y, and Z axes in that order.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
getType
-
getAxis1
-
getAxis2
-
getAxis3
-
toArray
-