Package | Description |
---|---|
gov.sandia.cognition.math.matrix |
Provides interfaces and classes for linear algebra.
|
Modifier and Type | Method and Description |
---|---|
Quaternion |
Quaternion.clone()
Clones this object.
|
Quaternion |
Quaternion.compose(Quaternion other)
Multiplies
this * other and returns the result. |
Quaternion |
Quaternion.interpolate(Quaternion other,
double alpha)
Interpolates between this quaternion and the given quaternion.
|
Quaternion |
Quaternion.inverse()
Returns the inverse of this quaternion.
|
Quaternion |
Quaternion.normalize()
Returns the normalized version of the quaternion.
|
Modifier and Type | Method and Description |
---|---|
Quaternion |
Quaternion.compose(Quaternion other)
Multiplies
this * other and returns the result. |
void |
Quaternion.composeEquals(Quaternion other)
Multiplies
this = this * other , thus modifying this object. |
boolean |
Quaternion.equals(Quaternion other)
Determines if this quaternion is equal to the given quaternion.
|
boolean |
Quaternion.equals(Quaternion other,
double effectiveZero)
Determines if this quaternion is equal to the given quaternion, using
a given threshold for determining if two numbers are equal.
|
Quaternion |
Quaternion.interpolate(Quaternion other,
double alpha)
Interpolates between this quaternion and the given quaternion.
|
void |
Quaternion.interpolateEquals(Quaternion other,
double alpha)
Interpolates between this quaternion and the given quaternion and sets
it in this quaternion.
|
void |
Quaternion.setElements(Quaternion other)
Sets the elements of this quaternion equal to the elements of the given
quaternion.
|