Enum Class SymmetricGroup3

java.lang.Object
java.lang.Enum<SymmetricGroup3>
com.mojang.math.SymmetricGroup3
All Implemented Interfaces:
Serializable, Comparable<SymmetricGroup3>, Constable

public enum SymmetricGroup3 extends Enum<SymmetricGroup3>
The symmetric group S3, also known as all the permutation orders of three elements.
  • Enum Constant Details

  • Field Details

    • p0

      private final int p0
    • p1

      private final int p1
    • p2

      private final int p2
    • transformation

      private final Matrix3fc transformation
    • CAYLEY_TABLE

      private static final SymmetricGroup3[][] CAYLEY_TABLE
    • INVERSE_TABLE

      private static final SymmetricGroup3[] INVERSE_TABLE
  • Constructor Details

    • SymmetricGroup3

      private SymmetricGroup3(int pFirst, int pSecond, int pThird)
  • Method Details

    • values

      public static SymmetricGroup3[] 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 SymmetricGroup3 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
    • compose

      public SymmetricGroup3 compose(SymmetricGroup3 pOther)
    • inverse

      public SymmetricGroup3 inverse()
    • permute

      public int permute(int pAxis)
    • permuteAxis

      public Direction.Axis permuteAxis(Direction.Axis pAxis)
    • permuteVector

      public Vector3f permuteVector(Vector3f pVector)
    • permuteVector

      public Vector3i permuteVector(Vector3i pVector)
    • transformation

      public Matrix3fc transformation()