Package | Description |
---|---|
us.ihmc.euclid.tools | |
us.ihmc.euclid.tuple4D | |
us.ihmc.euclid.tuple4D.interfaces |
Modifier and Type | Method | Description |
---|---|---|
static void |
EuclidCoreTestTools.assertTuple4DContainsOnlyNaN(java.lang.String messagePrefix,
Tuple4DReadOnly tupleToAssert) |
Asserts that the given quaternion contains only
Double.NaN . |
static void |
EuclidCoreTestTools.assertTuple4DContainsOnlyNaN(Tuple4DReadOnly tupleToAssert) |
Asserts that the given tuple contains only
Double.NaN . |
static void |
EuclidCoreTestTools.assertTuple4DEquals(java.lang.String messagePrefix,
Tuple4DReadOnly expected,
Tuple4DReadOnly actual,
double epsilon) |
Asserts on a per component basis that the two tuples are equal to an
epsilon . |
static void |
EuclidCoreTestTools.assertTuple4DEquals(java.lang.String messagePrefix,
Tuple4DReadOnly expected,
Tuple4DReadOnly actual,
double epsilon,
java.lang.String format) |
Asserts on a per component basis that the two tuples are equal to an
epsilon . |
static void |
EuclidCoreTestTools.assertTuple4DEquals(Tuple4DReadOnly expected,
Tuple4DReadOnly actual,
double epsilon) |
Asserts on a per component basis that the two tuples are equal to an
epsilon . |
static boolean |
TupleTools.epsilonEquals(Tuple4DReadOnly tuple1,
Tuple4DReadOnly tuple2,
double epsilon) |
Tests on a per component basis if the two given tuples are equal to an
epsilon . |
static java.lang.String |
EuclidCoreIOTools.getTuple4DString(java.lang.String format,
Tuple4DReadOnly tuple) |
Gets a representative
String of tuple given a specific format to use. |
static java.lang.String |
EuclidCoreIOTools.getTuple4DString(Tuple4DReadOnly tuple) |
Gets a representative
String of tuple as follows: |
static void |
QuaternionTools.multiply(Tuple4DReadOnly t1,
Tuple4DReadOnly t2,
Vector4DBasics vectorToPack) |
Performs the multiplication, in the sense of quaternion multiplication, of
t1 and
t2 and stores the result in vectorToPack . |
static void |
QuaternionTools.multiplyConjugateLeft(Tuple4DReadOnly t1,
Tuple4DReadOnly t2,
Vector4DBasics vectorToPack) |
Performs the multiplication, in the sense of quaternion multiplication, of
t1 conjugated
and t2 and stores the result in vectorToPack . |
static void |
QuaternionTools.multiplyConjugateRight(Tuple4DReadOnly t1,
Tuple4DReadOnly t2,
Vector4DBasics vectorToPack) |
Performs the multiplication, in the sense of quaternion multiplication, of
t1 and
t2 conjugated and stores the result in vectorToPack . |
Modifier and Type | Class | Description |
---|---|---|
class |
Quaternion |
Class used to represent unit-quaternions which are used to represent 3D orientations.
|
class |
Quaternion32 |
Class used to represent unit-quaternions which are used to represent 3D orientations.
|
class |
Vector4D |
Class used to represent generic quaternions.
|
class |
Vector4D32 |
Class used to represent generic quaternions.
|
Constructor | Description |
---|---|
Quaternion(Tuple4DReadOnly other) |
Creates a new quaternion and initializes it to
other . |
Vector4D(Tuple4DReadOnly other) |
Creates a new vector and initializes it to
other . |
Vector4D32(Tuple4DReadOnly other) |
Creates a new vector and initializes it to
other |
Modifier and Type | Interface | Description |
---|---|---|
interface |
QuaternionBasics |
Write and read interface for unit-quaternion used to represent 3D orientations.
|
interface |
QuaternionReadOnly |
Read-only interface for unit-quaternion used to represent 3D orientations.
|
interface |
Tuple4DBasics |
Write and read interface for a 4 dimensional tuple.
|
interface |
Vector4DBasics |
Write and read interface for a 4 dimensional vector representing a generic quaternion.
|
interface |
Vector4DReadOnly |
Read-only interface for a 4 dimensional vector representing a generic quaternion.
|
Modifier and Type | Method | Description |
---|---|---|
default void |
Vector4DBasics.add(Tuple4DReadOnly tupleReadOnly) |
Adds the given tuple to this vector.
|
default void |
Vector4DBasics.add(Tuple4DReadOnly tuple1,
Tuple4DReadOnly tuple2) |
Sets this vector to the sum of the two given tuples.
|
default double |
Tuple4DReadOnly.dot(Tuple4DReadOnly other) |
Calculates and returns the value of the dot product of this tuple with
other . |
default boolean |
Tuple4DReadOnly.epsilonEquals(Tuple4DReadOnly other,
double epsilon) |
Tests on a per component basis if this tuple is equal to the given
other to an
epsilon . |
default boolean |
Tuple4DReadOnly.equals(Tuple4DReadOnly other) |
Tests on a per component basis, if this tuple is exactly equal to
other . |
default void |
Vector4DBasics.interpolate(Tuple4DReadOnly tupleReadOnly,
double alpha) |
Performs a linear interpolation from this vector to
tupleReadOnly given the percentage
alpha . |
default void |
Vector4DBasics.interpolate(Tuple4DReadOnly tuple1,
Tuple4DReadOnly tuple2,
double alpha) |
Performs a linear interpolation from
tuple1 to tuple2 given the percentage
alpha . |
default void |
Vector4DBasics.scaleAdd(double scalar,
Tuple4DReadOnly tupleReadOnly) |
Scales this vector and adds
tupleReadOnly . |
default void |
Vector4DBasics.scaleAdd(double scalar,
Tuple4DReadOnly tuple1,
Tuple4DReadOnly tuple2) |
Sets this vector to the sum of
tuple1 scaled and tuple2 . |
default void |
Vector4DBasics.scaleSub(double scalar,
Tuple4DReadOnly tupleReadOnly) |
Scales this vector and subtracts
tupleReadOnly . |
default void |
Vector4DBasics.scaleSub(double scalar,
Tuple4DReadOnly tuple1,
Tuple4DReadOnly tuple2) |
Sets this vector to the difference of
tuple1 scaled and tuple2 . |
default void |
Tuple4DBasics.set(Tuple4DReadOnly other) |
Sets this tuple to
tupleReadOnly . |
default void |
Tuple4DBasics.setAndAbsolute(Tuple4DReadOnly other) |
Sets this tuple to
other and then calls Tuple4DBasics.absolute() . |
default void |
Vector4DBasics.setAndClipToMax(double max,
Tuple4DReadOnly tupleReadOnly) |
Sets this vector to
tupleReadOnly and then calls Vector4DBasics.clipToMax(double) . |
default void |
Vector4DBasics.setAndClipToMin(double min,
Tuple4DReadOnly tupleReadOnly) |
Sets this vector to
tupleReadOnly and then calls Vector4DBasics.clipToMin(double) . |
default void |
Vector4DBasics.setAndClipToMinMax(double min,
double max,
Tuple4DReadOnly tupleReadOnly) |
Sets this vector to
tupleReadOnly and then calls
Vector4DBasics.clipToMinMax(double, double) . |
default void |
Tuple4DBasics.setAndNegate(Tuple4DReadOnly other) |
Sets this tuple to
other and then calls Tuple4DBasics.negate() . |
default void |
QuaternionBasics.setAndNormalize(Tuple4DReadOnly other) |
Sets this tuple to
other and then calls Tuple4DBasics.normalize() . |
default void |
Tuple4DBasics.setAndNormalize(Tuple4DReadOnly other) |
Sets this tuple to
other and then calls Tuple4DBasics.normalize() . |
default void |
Vector4DBasics.setAndScale(double scalar,
Tuple4DReadOnly tupleReadOnly) |
Sets this vector to
tupleReadOnly and then scales it Vector4DBasics.scale(double) . |
default void |
Vector4DBasics.sub(Tuple4DReadOnly tupleReadOnly) |
Subtracts the given tuple to this vector.
|
default void |
Vector4DBasics.sub(Tuple4DReadOnly tuple1,
Tuple4DReadOnly tuple2) |
Sets this vector to the difference of the two given tuples.
|