Enum Class EulerType

java.lang.Object
java.lang.Enum<EulerType>
georegression.struct.EulerType
All Implemented Interfaces:
Serializable, Comparable<EulerType>, java.lang.constant.Constable

public enum EulerType extends Enum<EulerType>
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.
  • Enum Constant Details

  • Method Details

    • values

      public static EulerType[] 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

      public static EulerType valueOf(String name)
      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 name
      NullPointerException - 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