public final class MrQuaternion extends java.lang.Object implements MrLinearAlgebraObject
Modifier and Type | Class and Description |
---|---|
static class |
MrQuaternion.Operator |
Constructor and Description |
---|
MrQuaternion() |
MrQuaternion(float w,
float x,
float y,
float z) |
MrQuaternion(MrQuaternion q) |
Modifier and Type | Method and Description |
---|---|
void |
copyValues(MrQuaternion q) |
int |
getCount() |
MrDataType |
getDataType() |
static MrQuaternion.Operator |
getOperator() |
float[] |
getValues()
Modifying these vaulues you will not change the current quaternion
values, this array is read only
|
void |
setValues(float w,
float x,
float y,
float z) |
java.lang.String |
toString() |
public MrQuaternion()
public MrQuaternion(float w, float x, float y, float z)
public MrQuaternion(MrQuaternion q)
public static MrQuaternion.Operator getOperator()
public int getCount()
getCount
in interface MrLinearAlgebraObject
public void setValues(float w, float x, float y, float z)
public float[] getValues()
getValues
in interface MrLinearAlgebraObject
public MrDataType getDataType()
getDataType
in interface MrLinearAlgebraObject
public void copyValues(MrQuaternion q)
public java.lang.String toString()
toString
in class java.lang.Object