Package jahuwaldt.js.param
Enum EulerAngles.Order
- java.lang.Object
-
- java.lang.Enum<EulerAngles.Order>
-
- jahuwaldt.js.param.EulerAngles.Order
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<EulerAngles.Order>
- Enclosing class:
- EulerAngles
public static enum EulerAngles.Order extends java.lang.Enum<EulerAngles.Order>
Enumeration of all the combinations of the Euler angle orders for both static ("s") and rotating ("r") axes.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description EulerAngles.Frame
getFrame()
Returns the frame from which the axes are taken.EulerAngles.Axis
getInitialAxis()
Returns the initial rotation axis.EulerAngles.Parity
getParity()
Returns the parity of the axis permutation.boolean
getRepeat1st()
Returns true if the initial axis is repeated as the last and false if it is not.static EulerAngles.Order
valueOf(EulerAngles.Axis initialAxis, EulerAngles.Parity parity, boolean repeat1st, EulerAngles.Frame frame)
Returns the Order that corresponds to the specified order parts.static EulerAngles.Order
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static EulerAngles.Order[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
XYZs
public static final EulerAngles.Order XYZs
-
XYXs
public static final EulerAngles.Order XYXs
-
XZYs
public static final EulerAngles.Order XZYs
-
XZXs
public static final EulerAngles.Order XZXs
-
YZXs
public static final EulerAngles.Order YZXs
-
YZYs
public static final EulerAngles.Order YZYs
-
YXZs
public static final EulerAngles.Order YXZs
-
YXYs
public static final EulerAngles.Order YXYs
-
ZXYs
public static final EulerAngles.Order ZXYs
-
ZXZs
public static final EulerAngles.Order ZXZs
-
ZYXs
public static final EulerAngles.Order ZYXs
-
ZYZs
public static final EulerAngles.Order ZYZs
-
ZYXr
public static final EulerAngles.Order ZYXr
-
XYXr
public static final EulerAngles.Order XYXr
-
YZXr
public static final EulerAngles.Order YZXr
-
XZXr
public static final EulerAngles.Order XZXr
-
XZYr
public static final EulerAngles.Order XZYr
-
YZYr
public static final EulerAngles.Order YZYr
-
ZXYr
public static final EulerAngles.Order ZXYr
-
YXYr
public static final EulerAngles.Order YXYr
-
YXZr
public static final EulerAngles.Order YXZr
-
ZXZr
public static final EulerAngles.Order ZXZr
-
XYZr
public static final EulerAngles.Order XYZr
-
ZYZr
public static final EulerAngles.Order ZYZr
-
-
Method Detail
-
values
public static EulerAngles.Order[] 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 (EulerAngles.Order c : EulerAngles.Order.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EulerAngles.Order 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
-
getInitialAxis
public EulerAngles.Axis getInitialAxis()
Returns the initial rotation axis.
-
getParity
public EulerAngles.Parity getParity()
Returns the parity of the axis permutation.
-
getRepeat1st
public boolean getRepeat1st()
Returns true if the initial axis is repeated as the last and false if it is not.
-
getFrame
public EulerAngles.Frame getFrame()
Returns the frame from which the axes are taken.
-
valueOf
public static EulerAngles.Order valueOf(EulerAngles.Axis initialAxis, EulerAngles.Parity parity, boolean repeat1st, EulerAngles.Frame frame)
Returns the Order that corresponds to the specified order parts.- Parameters:
initialAxis
- The initial rotation axis (X, Y, or Z).parity
- The parity of the axis permutation (EVEN or ODD).repeat1st
- Repeat the initial axis as the last if true, do not repeat if false.frame
- The frame from which the axes are taken (STATIC or ROTATING).- Returns:
- The Order that corresponds to the input order parts.
-
-