public enum AxisAlignedRotation extends java.lang.Enum<AxisAlignedRotation>
There are 24 such rotations, each identified by the directions of the new x and y axes expressed with respect to the original axes.
Enum Constant and Description |
---|
NX_NY |
NX_NZ |
NX_Y |
NX_Z |
NY_NX |
NY_NZ |
NY_X |
NY_Z |
NZ_NX |
NZ_NY |
NZ_X |
NZ_Y |
X_NY |
X_NZ |
X_Y |
X_Z |
Y_NX |
Y_NZ |
Y_X |
Y_Z |
Z_NX |
Z_NY |
Z_X |
Z_Y |
Modifier and Type | Method and Description |
---|---|
AxisAngle |
getAxisAngle() |
void |
getAxisAngle(AxisAngle axisAng) |
Vector3d |
getDirection(int idx) |
void |
getDirection(int idx,
Vector3d dir) |
RotationMatrix3d |
getMatrix() |
void |
getMatrix(RotationMatrix3d R) |
static AxisAlignedRotation |
getNearest(RotationMatrix3d R) |
void |
inverseTransform(Vector3d vr,
Vector3d v0) |
void |
transform(Vector3d vr,
Vector3d v0) |
static AxisAlignedRotation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AxisAlignedRotation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AxisAlignedRotation X_Y
public static final AxisAlignedRotation X_NZ
public static final AxisAlignedRotation X_NY
public static final AxisAlignedRotation X_Z
public static final AxisAlignedRotation NX_Y
public static final AxisAlignedRotation NX_NZ
public static final AxisAlignedRotation NX_NY
public static final AxisAlignedRotation NX_Z
public static final AxisAlignedRotation Y_Z
public static final AxisAlignedRotation Y_NX
public static final AxisAlignedRotation Y_NZ
public static final AxisAlignedRotation Y_X
public static final AxisAlignedRotation NY_Z
public static final AxisAlignedRotation NY_NX
public static final AxisAlignedRotation NY_NZ
public static final AxisAlignedRotation NY_X
public static final AxisAlignedRotation Z_X
public static final AxisAlignedRotation Z_NY
public static final AxisAlignedRotation Z_NX
public static final AxisAlignedRotation Z_Y
public static final AxisAlignedRotation NZ_X
public static final AxisAlignedRotation NZ_NY
public static final AxisAlignedRotation NZ_NX
public static final AxisAlignedRotation NZ_Y
public static AxisAlignedRotation[] values()
for (AxisAlignedRotation c : AxisAlignedRotation.values()) System.out.println(c);
public static AxisAlignedRotation valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic RotationMatrix3d getMatrix()
public AxisAngle getAxisAngle()
public void getAxisAngle(AxisAngle axisAng)
public Vector3d getDirection(int idx)
public void getDirection(int idx, Vector3d dir)
public void getMatrix(RotationMatrix3d R)
public static AxisAlignedRotation getNearest(RotationMatrix3d R)