public enum RotationOrder extends Enum<RotationOrder>
Rotation.Rotation(RotationOrder,double,double,double)
constructor or the Rotation.getAngles(org.hipparchus.geometry.euclidean.threed.RotationOrder)
method.
Since Hipparchus 1.7 this class is an enumerate class.Enum Constant and Description |
---|
XYX
Set of Euler angles.
|
XYZ
Set of Cardan angles.
|
XZX
Set of Euler angles.
|
XZY
Set of Cardan angles.
|
YXY
Set of Euler angles.
|
YXZ
Set of Cardan angles.
|
YZX
Set of Cardan angles.
|
YZY
Set of Euler angles.
|
ZXY
Set of Cardan angles.
|
ZXZ
Set of Euler angles.
|
ZYX
Set of Cardan angles.
|
ZYZ
Set of Euler angles.
|
Modifier and Type | Method and Description |
---|---|
Vector3D |
getA1()
Get the axis of the first rotation.
|
Vector3D |
getA2()
Get the axis of the second rotation.
|
Vector3D |
getA3()
Get the axis of the second rotation.
|
static RotationOrder |
getRotationOrder(String value)
Get the rotation order corresponding to a string representation.
|
String |
toString()
Get a string representation of the instance.
|
static RotationOrder |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RotationOrder[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RotationOrder XYZ
public static final RotationOrder XZY
public static final RotationOrder YXZ
public static final RotationOrder YZX
public static final RotationOrder ZXY
public static final RotationOrder ZYX
public static final RotationOrder XYX
public static final RotationOrder XZX
public static final RotationOrder YXY
public static final RotationOrder YZY
public static final RotationOrder ZXZ
public static final RotationOrder ZYZ
public static RotationOrder[] values()
for (RotationOrder c : RotationOrder.values()) System.out.println(c);
public static RotationOrder 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 String toString()
toString
in class Enum<RotationOrder>
public Vector3D getA1()
public Vector3D getA2()
public Vector3D getA3()
public static RotationOrder getRotationOrder(String value)
value
- nameCopyright © 2016–2020 Hipparchus.org. All rights reserved.