Package georegression.struct
Enum Class EulerType
- All Implemented Interfaces:
Serializable
,Comparable<EulerType>
,java.lang.constant.Constable
Enumerated types for each possible Euler coordinate composed of three rotations.
Axises A,B,C indicate which coordinate axis is rotated first to third. 0 = axis-x, 1 = axis-y, 2 = axis-z.
The order in which the rotations are applied is from left to right. E.g. XYZ first applies the rotation around
x-axis, followed by y-axis, then z-axis.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
getAxisA()
Returns the axis in which first rotation is performed aroundint
getAxisB()
Returns the axis in which second rotation is performed aroundint
getAxisC()
Returns the axis in which third rotation is performed aroundstatic EulerType
Returns the enum constant of this class with the specified name.static EulerType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ZYX
-
ZYZ
-
ZXY
-
ZXZ
-
YXZ
-
YXY
-
YZX
-
YZY
-
XYZ
-
XYX
-
XZY
-
XZX
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
getAxisA
public int getAxisA()Returns the axis in which first rotation is performed around -
getAxisB
public int getAxisB()Returns the axis in which second rotation is performed around -
getAxisC
public int getAxisC()Returns the axis in which third rotation is performed around
-