Package com.mojang.math
Enum Class SymmetricGroup3
- All Implemented Interfaces:
Serializable
,Comparable<SymmetricGroup3>
,Constable
The symmetric group S3, also known as all the permutation orders of three elements.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final SymmetricGroup3[][]
private static final int
private final int[]
private final org.joml.Matrix3f
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncompose
(SymmetricGroup3 pOther) int
permutation
(int pElement) org.joml.Matrix3f
static SymmetricGroup3
Returns the enum constant of this class with the specified name.static SymmetricGroup3[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
P123
-
P213
-
P132
-
P231
-
P312
-
P321
-
-
Field Details
-
permutation
private final int[] permutation -
transformation
private final org.joml.Matrix3f transformation -
ORDER
private static final int ORDER- See Also:
-
cayleyTable
-
-
Constructor Details
-
SymmetricGroup3
private SymmetricGroup3(int pFirst, int pSecond, int pThird)
-
-
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
-
compose
-
permutation
public int permutation(int pElement) -
transformation
public org.joml.Matrix3f transformation()
-