Package com.mojang.math
Enum Class OctahedralGroup
- All Implemented Interfaces:
- Serializable,- Comparable<OctahedralGroup>,- Constable,- StringRepresentable
- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>Nested classes/interfaces inherited from interface net.minecraft.util.StringRepresentableStringRepresentable.EnumCodec<E extends Enum<E> & StringRepresentable>
- 
Enum Constant SummaryEnum ConstantsEnum ConstantDescription
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate static final OctahedralGroup[][]private static final OctahedralGroup[]private final booleanprivate final booleanprivate final booleanprivate final Stringprivate final SymmetricGroup3private final org.joml.Matrix3fFields inherited from interface net.minecraft.util.StringRepresentablePRE_BUILT_MAP_THRESHOLD
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprivateOctahedralGroup(String p_56513_, SymmetricGroup3 p_56514_, boolean p_56515_, boolean p_56516_, boolean p_56517_) 
- 
Method SummaryModifier and TypeMethodDescriptioncompose(OctahedralGroup p_56522_) inverse()booleaninverts(Direction.Axis p_56527_) private it.unimi.dsi.fastutil.booleans.BooleanListrotate(FrontAndTop p_56531_) toString()org.joml.Matrix3fstatic OctahedralGroupReturns the enum constant of this class with the specified name.static OctahedralGroup[]values()Returns an array containing the constants of this enum class, in the order they are declared.
- 
Enum Constant Details- 
IDENTITY
- 
ROT_180_FACE_XY
- 
ROT_180_FACE_XZ
- 
ROT_180_FACE_YZ
- 
ROT_120_NNN
- 
ROT_120_NNP
- 
ROT_120_NPN
- 
ROT_120_NPP
- 
ROT_120_PNN
- 
ROT_120_PNP
- 
ROT_120_PPN
- 
ROT_120_PPP
- 
ROT_180_EDGE_XY_NEG
- 
ROT_180_EDGE_XY_POS
- 
ROT_180_EDGE_XZ_NEG
- 
ROT_180_EDGE_XZ_POS
- 
ROT_180_EDGE_YZ_NEG
- 
ROT_180_EDGE_YZ_POS
- 
ROT_90_X_NEG
- 
ROT_90_X_POS
- 
ROT_90_Y_NEG
- 
ROT_90_Y_POS
- 
ROT_90_Z_NEG
- 
ROT_90_Z_POS
- 
INVERSION
- 
INVERT_X
- 
INVERT_Y
- 
INVERT_Z
- 
ROT_60_REF_NNN
- 
ROT_60_REF_NNP
- 
ROT_60_REF_NPN
- 
ROT_60_REF_NPP
- 
ROT_60_REF_PNN
- 
ROT_60_REF_PNP
- 
ROT_60_REF_PPN
- 
ROT_60_REF_PPP
- 
SWAP_XY
- 
SWAP_YZ
- 
SWAP_XZ
- 
SWAP_NEG_XY
- 
SWAP_NEG_YZ
- 
SWAP_NEG_XZ
- 
ROT_90_REF_X_NEG
- 
ROT_90_REF_X_POS
- 
ROT_90_REF_Y_NEG
- 
ROT_90_REF_Y_POS
- 
ROT_90_REF_Z_NEG
- 
ROT_90_REF_Z_POS
 
- 
- 
Field Details- 
transformationprivate final org.joml.Matrix3f transformation
- 
name
- 
rotatedDirections
- 
invertXprivate final boolean invertX
- 
invertYprivate final boolean invertY
- 
invertZprivate final boolean invertZ
- 
permutation
- 
cayleyTable
- 
inverseTable
 
- 
- 
Constructor Details- 
OctahedralGroupprivate OctahedralGroup(String p_56513_, SymmetricGroup3 p_56514_, boolean p_56515_, boolean p_56516_, boolean p_56517_) 
 
- 
- 
Method Details- 
valuesReturns 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
 
- 
valueOfReturns 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
 
- 
packInversionsprivate it.unimi.dsi.fastutil.booleans.BooleanList packInversions()
- 
compose
- 
inverse
- 
transformationpublic org.joml.Matrix3f transformation()
- 
toString- Overrides:
- toStringin class- Enum<OctahedralGroup>
 
- 
getSerializedName- Specified by:
- getSerializedNamein interface- StringRepresentable
 
- 
rotate
- 
inverts
- 
rotate
 
-