Package | Description |
---|---|
us.ihmc.euclid.tools | |
us.ihmc.euclid.transform | |
us.ihmc.euclid.transform.interfaces |
Modifier and Type | Method | Description |
---|---|---|
static QuaternionBasedTransform |
EuclidCoreRandomTools.generateRandomQuaternionBasedTransform(java.util.Random random) |
Deprecated.
|
static QuaternionBasedTransform |
EuclidCoreRandomTools.nextQuaternionBasedTransform(java.util.Random random) |
Generates a random quaternion-based transform.
|
Modifier and Type | Method | Description |
---|---|---|
static void |
EuclidCoreTestTools.assertQuaternionBasedTransformEquals(java.lang.String messagePrefix,
QuaternionBasedTransform expected,
QuaternionBasedTransform actual,
double epsilon) |
Asserts on a per component basis that the two quaternion-based transforms are equal to an
epsilon . |
static void |
EuclidCoreTestTools.assertQuaternionBasedTransformEquals(java.lang.String messagePrefix,
QuaternionBasedTransform expected,
QuaternionBasedTransform actual,
double epsilon,
java.lang.String format) |
Asserts on a per component basis that the two quaternion-based transforms are equal to an
epsilon . |
static void |
EuclidCoreTestTools.assertQuaternionBasedTransformEquals(QuaternionBasedTransform expected,
QuaternionBasedTransform actual,
double epsilon) |
Asserts on a per component basis that the two quaternion-based transforms are equal to an
epsilon . |
static void |
EuclidCoreTestTools.assertQuaternionBasedTransformEqualsSmart(java.lang.String messagePrefix,
QuaternionBasedTransform expected,
QuaternionBasedTransform actual,
double epsilon) |
|
static void |
EuclidCoreTestTools.assertQuaternionBasedTransformEqualsSmart(java.lang.String messagePrefix,
QuaternionBasedTransform expected,
QuaternionBasedTransform actual,
double epsilon,
java.lang.String format) |
|
static void |
EuclidCoreTestTools.assertQuaternionBasedTransformEqualsSmart(QuaternionBasedTransform expected,
QuaternionBasedTransform actual,
double epsilon) |
|
static void |
EuclidCoreTestTools.assertQuaternionBasedTransformGeometricallyEquals(java.lang.String messagePrefix,
QuaternionBasedTransform expected,
QuaternionBasedTransform actual,
double epsilon) |
Asserts on a per component basis that the two quaternion-based transforms represent the same
geometry to an
epsilon . |
static void |
EuclidCoreTestTools.assertQuaternionBasedTransformGeometricallyEquals(java.lang.String messagePrefix,
QuaternionBasedTransform expected,
QuaternionBasedTransform actual,
double epsilon,
java.lang.String format) |
Asserts on a per component basis that the two quaternion-based transforms represent the same
geometry to an
epsilon . |
static void |
EuclidCoreTestTools.assertQuaternionBasedTransformGeometricallyEquals(QuaternionBasedTransform expected,
QuaternionBasedTransform actual,
double epsilon) |
Asserts on a per component basis that the two quaternion-based transforms represent the same
geometry to an
epsilon . |
static double |
TransformationTools.computeTransformedX(QuaternionBasedTransform quaternionBasedTransform,
boolean invert,
Point3DReadOnly pointOriginal) |
Computes and returns the x-coordinate resulting from the transformation of
pointOriginal
by quaternionBasedTransform . |
static double |
TransformationTools.computeTransformedX(QuaternionBasedTransform quaternionBasedTransform,
boolean invert,
Vector3DReadOnly vectorOriginal) |
Computes and returns the x-coordinate resulting from the transformation of
vectorOriginal
by quaternionBasedTransform . |
static double |
TransformationTools.computeTransformedY(QuaternionBasedTransform quaternionBasedTransform,
boolean invert,
Point3DReadOnly pointOriginal) |
Computes and returns the y-coordinate resulting from the transformation of
pointOriginal
by quaternionBasedTransform . |
static double |
TransformationTools.computeTransformedY(QuaternionBasedTransform quaternionBasedTransform,
boolean invert,
Vector3DReadOnly vectorOriginal) |
Computes and returns the y-coordinate resulting from the transformation of
vectorOriginal
by quaternionBasedTransform . |
static double |
TransformationTools.computeTransformedZ(QuaternionBasedTransform quaternionBasedTransform,
boolean invert,
Point3DReadOnly pointOriginal) |
Computes and returns the z-coordinate resulting from the transformation of
pointOriginal
by quaternionBasedTransform . |
static double |
TransformationTools.computeTransformedZ(QuaternionBasedTransform quaternionBasedTransform,
boolean invert,
Vector3DReadOnly vectorOriginal) |
Computes and returns the z-coordinate resulting from the transformation of
vectorOriginal
by quaternionBasedTransform . |
static java.lang.String |
EuclidCoreIOTools.getQuaternionBasedTransformString(java.lang.String format,
QuaternionBasedTransform quaternionBasedTransform) |
Gets a representative
String of quaternionBasedTransform given a specific format
to use. |
static java.lang.String |
EuclidCoreIOTools.getQuaternionBasedTransformString(QuaternionBasedTransform quaternionBasedTransform) |
Gets a representative
String of quaternionBasedTransform as follows: |
Modifier and Type | Method | Description |
---|---|---|
boolean |
QuaternionBasedTransform.epsilonEquals(QuaternionBasedTransform other,
double epsilon) |
Tests separately and on a per component basis if the rotation part and the translation part of
this transform and
other are equal to an epsilon . |
boolean |
QuaternionBasedTransform.equals(QuaternionBasedTransform other) |
Tests separately and on a per component basis if the rotation part and the translation part of
this transform and
other are exactly equal. |
boolean |
QuaternionBasedTransform.geometricallyEquals(QuaternionBasedTransform other,
double epsilon) |
Two quaternion based transforms are considered geometrically equal if both the rotation-scale
matrices and translation vectors are equal.
|
void |
QuaternionBasedTransform.interpolate(QuaternionBasedTransform other,
double alpha) |
Performs a linear interpolation from this transform to
other given the percentage
alpha . |
void |
QuaternionBasedTransform.interpolate(QuaternionBasedTransform firstTransform,
QuaternionBasedTransform secondTransform,
double alpha) |
Performs a linear interpolation from
firstTransform to secondTransform given the
percentage alpha . |
void |
AffineTransform.inverseTransform(QuaternionBasedTransform original,
QuaternionBasedTransform transformed) |
Performs the inverse of the transform on the given
original stores the result in
transformed . |
void |
QuaternionBasedTransform.inverseTransform(QuaternionBasedTransform original,
QuaternionBasedTransform transformed) |
Performs the inverse of the transform on the given
original stores the result in
transformed . |
void |
RigidBodyTransform.inverseTransform(QuaternionBasedTransform original,
QuaternionBasedTransform transformed) |
Performs the inverse of the transform on the given
original stores the result in
transformed . |
void |
AffineTransform.multiply(QuaternionBasedTransform quaternionBasedTransform) |
Performs the multiplication of this with the given
quaternionBasedTransform . |
void |
QuaternionBasedTransform.multiply(QuaternionBasedTransform other) |
Performs the multiplication of this transform with
other . |
void |
RigidBodyTransform.multiply(QuaternionBasedTransform quaternionBasedTransform) |
Performs the multiplication of this transform with
quaternionBasedTransform . |
void |
AffineTransform.multiplyInvertOther(QuaternionBasedTransform quaternionBasedTransform) |
Performs the multiplication of this transform with the inverse of
quaternionBasedTransform . |
void |
QuaternionBasedTransform.multiplyInvertOther(QuaternionBasedTransform other) |
Performs the multiplication of this transform with the inverse of
other . |
void |
RigidBodyTransform.multiplyInvertOther(QuaternionBasedTransform quaternionBasedTransform) |
Performs the multiplication of this transform with the inverse of
quaternionBasedTransform . |
void |
AffineTransform.multiplyInvertThis(QuaternionBasedTransform quaternionBasedTransform) |
Performs the multiplication of the inverse of this transform with
quaternionBasedTransform . |
void |
QuaternionBasedTransform.multiplyInvertThis(QuaternionBasedTransform other) |
Performs the multiplication of the inverse of this transform with
other . |
void |
RigidBodyTransform.multiplyInvertThis(QuaternionBasedTransform quaternionBasedTransform) |
Performs the multiplication of the inverse of this transform with
quaternionBasedTransform . |
void |
AffineTransform.preMultiply(QuaternionBasedTransform quaternionBasedTransform) |
Performs the multiplication of
rigidBodyTransform with this transform. |
void |
QuaternionBasedTransform.preMultiply(QuaternionBasedTransform other) |
Performs the multiplication of
other with this transform. |
void |
RigidBodyTransform.preMultiply(QuaternionBasedTransform quaternionBasedTransform) |
Performs the multiplication of
quaternionBasedTransform with this transform. |
void |
AffineTransform.preMultiplyInvertOther(QuaternionBasedTransform quaternionBasedTransform) |
Performs the multiplication of the inverse of
quaternionBasedTransform with this
transform. |
void |
QuaternionBasedTransform.preMultiplyInvertOther(QuaternionBasedTransform other) |
Performs the multiplication of the inverse of
other with this transform. |
void |
RigidBodyTransform.preMultiplyInvertOther(QuaternionBasedTransform quaternionBasedTransform) |
Performs the multiplication of the inverse of
quaternionBasedTransform with this
transform. |
void |
AffineTransform.preMultiplyInvertThis(QuaternionBasedTransform quaternionBasedTransform) |
Performs the multiplication of
quaternionBasedTransform with the inverse of this
transform. |
void |
QuaternionBasedTransform.preMultiplyInvertThis(QuaternionBasedTransform other) |
Performs the multiplication of
other with the inverse of this transform. |
void |
RigidBodyTransform.preMultiplyInvertThis(QuaternionBasedTransform quaternionBasedTransform) |
Performs the multiplication of
quaternionBasedTransform with the inverse of this
transform. |
void |
QuaternionBasedTransform.set(QuaternionBasedTransform other) |
Sets this quaternion-based transform to the given
other . |
void |
RigidBodyTransform.set(QuaternionBasedTransform quaternionBasedTransform) |
Sets this rigid-body transform to the given
quaternionBasedTransform . |
void |
AffineTransform.transform(QuaternionBasedTransform original,
QuaternionBasedTransform transformed) |
Transforms the given
original by this transform and stores the result in
transformed . |
void |
QuaternionBasedTransform.transform(QuaternionBasedTransform original,
QuaternionBasedTransform transformed) |
Transforms the given
original by this transform and stores the result in
transformed . |
void |
RigidBodyTransform.transform(QuaternionBasedTransform original,
QuaternionBasedTransform transformed) |
Transforms the given
original by this transform and stores the result in
transformed . |
Constructor | Description |
---|---|
QuaternionBasedTransform(QuaternionBasedTransform other) |
Creates a quaternion-based new transform and initializes it to
other . |
RigidBodyTransform(QuaternionBasedTransform quaternionBasedTransform) |
Creates a new rigid-body transform and sets it to
quaternionBasedTransform . |
Modifier and Type | Method | Description |
---|---|---|
default void |
Transform.inverseTransform(QuaternionBasedTransform quaternionBasedTransformToTransform) |
Performs the inverse of the transform on the given
quaternionBasedTransformToTransform . |
void |
Transform.inverseTransform(QuaternionBasedTransform original,
QuaternionBasedTransform transformed) |
Performs the inverse of the transform on the given
original stores the result in
transformed . |
default void |
Transform.transform(QuaternionBasedTransform quaternionBasedTransformToTransform) |
Transforms the given
quaternionBasedTransformToTransform by this transform. |
void |
Transform.transform(QuaternionBasedTransform original,
QuaternionBasedTransform transformed) |
Transforms the given
original by this transform and stores the result in
transformed . |