OctahedralGroup

Importing the class

It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import at the very top of the file.

script.zs
import crafttweaker.api.util.math.OctahedralGroup;

Implemented Interfaces

OctahedralGroup implements the following interfaces. That means all methods defined in these interfaces are also available in OctahedralGroup

Enum Constants

OctahedralGroup is an enum. It has 48 enum constants. They are accessible using the code below.

script.zs
OctahedralGroup.IDENTITY
OctahedralGroup.ROT_180_FACE_XY
OctahedralGroup.ROT_180_FACE_XZ
OctahedralGroup.ROT_180_FACE_YZ
OctahedralGroup.ROT_120_NNN
OctahedralGroup.ROT_120_NNP
OctahedralGroup.ROT_120_NPN
OctahedralGroup.ROT_120_NPP
OctahedralGroup.ROT_120_PNN
OctahedralGroup.ROT_120_PNP
OctahedralGroup.ROT_120_PPN
OctahedralGroup.ROT_120_PPP
OctahedralGroup.ROT_180_EDGE_XY_NEG
OctahedralGroup.ROT_180_EDGE_XY_POS
OctahedralGroup.ROT_180_EDGE_XZ_NEG
OctahedralGroup.ROT_180_EDGE_XZ_POS
OctahedralGroup.ROT_180_EDGE_YZ_NEG
OctahedralGroup.ROT_180_EDGE_YZ_POS
OctahedralGroup.ROT_90_X_NEG
OctahedralGroup.ROT_90_X_POS
OctahedralGroup.ROT_90_Y_NEG
OctahedralGroup.ROT_90_Y_POS
OctahedralGroup.ROT_90_Z_NEG
OctahedralGroup.ROT_90_Z_POS
OctahedralGroup.INVERSION
OctahedralGroup.INVERT_X
OctahedralGroup.INVERT_Y
OctahedralGroup.INVERT_Z
OctahedralGroup.ROT_60_REF_NNN
OctahedralGroup.ROT_60_REF_NNP
OctahedralGroup.ROT_60_REF_NPN
OctahedralGroup.ROT_60_REF_NPP
OctahedralGroup.ROT_60_REF_PNN
OctahedralGroup.ROT_60_REF_PNP
OctahedralGroup.ROT_60_REF_PPN
OctahedralGroup.ROT_60_REF_PPP
OctahedralGroup.SWAP_XY
OctahedralGroup.SWAP_YZ
OctahedralGroup.SWAP_XZ
OctahedralGroup.SWAP_NEG_XY
OctahedralGroup.SWAP_NEG_YZ
OctahedralGroup.SWAP_NEG_XZ
OctahedralGroup.ROT_90_REF_X_NEG
OctahedralGroup.ROT_90_REF_X_POS
OctahedralGroup.ROT_90_REF_Y_NEG
OctahedralGroup.ROT_90_REF_Y_POS
OctahedralGroup.ROT_90_REF_Z_NEG
OctahedralGroup.ROT_90_REF_Z_POS

Methods

Return Type: OctahedralGroup

script.zs
OctahedralGroup.compose(group as OctahedralGroup) as OctahedralGroup
ParameterTypeDescription
Parameter
group
Type
OctahedralGroup
Description
No Description Provided

Return Type: OctahedralGroup

script.zs
// OctahedralGroup.inverse() as OctahedralGroup
myOctahedralGroup.inverse();

Return Type: boolean

script.zs
OctahedralGroup.inverts(axis as Axis) as boolean
ParameterTypeDescription
Parameter
axis
Type
Axis
Description
No Description Provided

Return Type: Direction

script.zs
OctahedralGroup.rotate(direction as Direction) as Direction
ParameterTypeDescription
Parameter
direction
Type
Direction
Description
No Description Provided

Return Type: FrontAndTop

script.zs
OctahedralGroup.rotate(frontAndTop as FrontAndTop) as FrontAndTop
ParameterTypeDescription
Parameter
frontAndTop
Type
FrontAndTop
Description
No Description Provided

Return Type: Matrix3f

script.zs
// OctahedralGroup.transformation() as Matrix3f
myOctahedralGroup.transformation();

Properties

NameTypeHas GetterHas SetterDescription
Name
transformation
Type
Matrix3f
Has Getter
true
Has Setter
false
Description
No Description Provided