Package | Description |
---|---|
agi.foundation.coordinates |
Contains types for quantifying and converting between various coordinate representations.
|
Modifier and Type | Method and Description |
---|---|
Quaternion |
Quaternion.conjugate()
Forms the conjugate of this instance, yielding a new
Quaternion . |
static Quaternion |
Quaternion.getIdentity()
Gets the set of
Quaternion coordinates representing the identity vector. |
static Quaternion |
Quaternion.getUndefined()
Gets a set of
Quaternion coordinates with values of Double.NaN . |
static Quaternion |
Quaternion.getZero()
Gets a set of
Quaternion coordinates with values of zero. |
Quaternion |
UnitQuaternion.multiply(double scalar)
Multiplies this instance by a scalar.
|
Quaternion |
Quaternion.multiply(double scalar)
Multiplies this instance by a scalar, yielding a new
Quaternion . |
static Quaternion |
Quaternion.multiply(double scalar,
Quaternion quaternion)
Multiplies a scalar by a specified
Quaternion , yielding a new Quaternion . |
static Quaternion |
UnitQuaternion.multiply(double scalar,
UnitQuaternion quaternion)
Multiplies a scalar by a specified
UnitQuaternion , yielding a new Quaternion . |
Quaternion |
Quaternion.multiply(ElementaryRotation rotation)
Multiplies this instance by the specified
ElementaryRotation , yielding a new Quaternion . |
Quaternion |
Quaternion.multiply(Quaternion quaternion)
Multiplies this instance by the specified
Quaternion , yielding a new Quaternion . |
static Quaternion |
Quaternion.multiply(Quaternion quaternion,
double scalar)
Multiplies a specified
Quaternion by a scalar, yielding a new Quaternion . |
static Quaternion |
Quaternion.multiply(Quaternion quaternion,
ElementaryRotation rotation)
|
static Quaternion |
Quaternion.multiply(Quaternion left,
Quaternion right)
|
static Quaternion |
UnitQuaternion.multiply(UnitQuaternion quaternion,
double scalar)
Multiplies a specified
UnitQuaternion by a scalar, yielding a new Quaternion . |
static Quaternion |
Quaternion.negate(Quaternion coordinates)
Negates the specified
Quaternion , yielding a new Quaternion . |
static Quaternion |
Quaternion.toQuaternion(UnitQuaternion coordinates)
Converts a set of
UnitQuaternion coordinates to a set of Quaternion coordinates. |
Modifier and Type | Method and Description |
---|---|
static boolean |
Quaternion.equals(Quaternion left,
Quaternion right)
Returns
true if the two instances are exactly equal. |
boolean |
Quaternion.equalsEpsilon(Quaternion other,
double epsilon)
Indicates whether each coordinate value of another instance of this type
is within the required tolerance of the corresponding coordinate value of this instance.
|
boolean |
Quaternion.equalsType(Quaternion other)
Indicates whether another instance of this type is exactly equal to this instance.
|
static Quaternion |
Quaternion.multiply(double scalar,
Quaternion quaternion)
Multiplies a scalar by a specified
Quaternion , yielding a new Quaternion . |
Quaternion |
Quaternion.multiply(Quaternion quaternion)
Multiplies this instance by the specified
Quaternion , yielding a new Quaternion . |
static Quaternion |
Quaternion.multiply(Quaternion quaternion,
double scalar)
Multiplies a specified
Quaternion by a scalar, yielding a new Quaternion . |
static Quaternion |
Quaternion.multiply(Quaternion quaternion,
ElementaryRotation rotation)
|
static Quaternion |
Quaternion.multiply(Quaternion left,
Quaternion right)
|
static Quaternion |
Quaternion.negate(Quaternion coordinates)
Negates the specified
Quaternion , yielding a new Quaternion . |
static boolean |
Quaternion.notEquals(Quaternion left,
Quaternion right)
Returns
true if the two instances are not exactly equal. |
Constructor and Description |
---|
UnitQuaternion(Quaternion coordinates)
Initializes a set of
UnitQuaternion coordinates from the provided set of Quaternion coordinates. |