public enum AxisSequence extends Enum<AxisSequence>
Enum Constant and Description |
---|
XYX
Set of Euler angles around the X, Y, and
X axes in that order.
|
XYZ
Set of Tait-Bryan angles around the X, Y, and
Z axes in that order.
|
XZX
Set of Euler angles around the X, Z, and
X axes in that order.
|
XZY
Set of Tait-Bryan angles around the X, Z, and
Y axes in that order.
|
YXY
Set of Euler angles around the Y, X, 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.
|
YZY
Set of Euler angles around the Y, Z, and
Y axes in that order.
|
ZXY
Set of Cardan angles.
|
ZXZ
Set of Euler angles around the Z, X, and
Z axes in that order.
|
ZYX
Set of Tait-Bryan angles around the Z, Y, and
X axes in that order.
|
ZYZ
Set of Euler angles around the Z, Y, and
Z axes in that order.
|
Modifier and Type | Method and Description |
---|---|
Vector3D |
getAxis1()
Get the first rotation axis.
|
Vector3D |
getAxis2()
Get the second rotation axis.
|
Vector3D |
getAxis3()
Get the third rotation axis.
|
AxisSequenceType |
getType()
Get the axis sequence type.
|
Vector3D[] |
toArray()
Get an array containing the 3 rotation axes in order.
|
static AxisSequence |
valueOf(String name)
Returns 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.
|
public static final AxisSequence XYZ
public static final AxisSequence XZY
public static final AxisSequence YXZ
public static final AxisSequence YZX
public static final AxisSequence ZXY
public static final AxisSequence ZYX
public static final AxisSequence XYX
public static final AxisSequence XZX
public static final AxisSequence YXY
public static final AxisSequence YZY
public static final AxisSequence ZXZ
public static final AxisSequence ZYZ
public static AxisSequence[] values()
for (AxisSequence c : AxisSequence.values()) System.out.println(c);
public static AxisSequence 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 AxisSequenceType getType()
Copyright © 2016–2021 The Apache Software Foundation. All rights reserved.