Package | Description |
---|---|
us.ihmc.euclid.tools | |
us.ihmc.euclid.transform | |
us.ihmc.euclid.transform.interfaces |
Modifier and Type | Method | Description |
---|---|---|
static RigidBodyTransform |
EuclidCoreRandomTools.generateRandomRigidBodyTransform(java.util.Random random) |
Deprecated.
|
static RigidBodyTransform |
EuclidCoreRandomTools.generateRandomRigidBodyTransform2D(java.util.Random random) |
Deprecated.
|
static RigidBodyTransform |
EuclidCoreRandomTools.nextRigidBodyTransform(java.util.Random random) |
Generates a random rigid-body transform.
|
static RigidBodyTransform |
EuclidCoreRandomTools.nextRigidBodyTransform2D(java.util.Random random) |
Generates a random rigid-body transform with the rotation part being a transform in the XY
plane.
|
Modifier and Type | Method | Description |
---|---|---|
static void |
EuclidCoreTestTools.assertRigidBodyTransformEquals(java.lang.String messagePrefix,
RigidBodyTransform expected,
RigidBodyTransform actual,
double epsilon) |
Asserts on a per component basis that the two given rigid-body transform are equal to an
epsilon . |
static void |
EuclidCoreTestTools.assertRigidBodyTransformEquals(java.lang.String messagePrefix,
RigidBodyTransform expected,
RigidBodyTransform actual,
double epsilon,
java.lang.String format) |
Asserts on a per component basis that the two given rigid-body transform are equal to an
epsilon . |
static void |
EuclidCoreTestTools.assertRigidBodyTransformEquals(RigidBodyTransform expected,
RigidBodyTransform actual,
double epsilon) |
Asserts on a per component basis that the two given rigid-body transform are equal to an
epsilon . |
static void |
EuclidCoreTestTools.assertRigidBodyTransformGeometricallyEquals(java.lang.String messagePrefix,
RigidBodyTransform expected,
RigidBodyTransform actual,
double epsilon) |
Asserts on a per component basis that the two given rigid-body transform represent the same
geometry to an
epsilon . |
static void |
EuclidCoreTestTools.assertRigidBodyTransformGeometricallyEquals(java.lang.String messagePrefix,
RigidBodyTransform expected,
RigidBodyTransform actual,
double epsilon,
java.lang.String format) |
Asserts on a per component basis that the two given rigid-body transform represent the same
geometry to an
epsilon . |
static void |
EuclidCoreTestTools.assertRigidBodyTransformGeometricallyEquals(RigidBodyTransform expected,
RigidBodyTransform actual,
double epsilon) |
Asserts on a per component basis that the two given rigid-body transform represent the same
geometry to an
epsilon . |
static double |
TransformationTools.computeTransformedX(RigidBodyTransform rigidBodyTransform,
boolean invert,
Point3DReadOnly pointOriginal) |
Computes and returns the x-coordinate resulting from the transformation of
pointOriginal
by rigidBodyTransform . |
static double |
TransformationTools.computeTransformedX(RigidBodyTransform rigidBodyTransform,
boolean invert,
Vector3DReadOnly vectorOriginal) |
Computes and returns the x-coordinate resulting from the transformation of
vectorOriginal
by rigidBodyTransform . |
static double |
TransformationTools.computeTransformedY(RigidBodyTransform rigidBodyTransform,
boolean invert,
Point3DReadOnly pointOriginal) |
Computes and returns the y-coordinate resulting from the transformation of
pointOriginal
by rigidBodyTransform . |
static double |
TransformationTools.computeTransformedY(RigidBodyTransform rigidBodyTransform,
boolean invert,
Vector3DReadOnly vectorOriginal) |
Computes and returns the y-coordinate resulting from the transformation of
vectorOriginal
by rigidBodyTransform . |
static double |
TransformationTools.computeTransformedZ(RigidBodyTransform rigidBodyTransform,
boolean invert,
Point3DReadOnly pointOriginal) |
Computes and returns the z-coordinate resulting from the transformation of
pointOriginal
by rigidBodyTransform . |
static double |
TransformationTools.computeTransformedZ(RigidBodyTransform rigidBodyTransform,
boolean invert,
Vector3DReadOnly vectorOriginal) |
Computes and returns the z-coordinate resulting from the transformation of
vectorOriginal
by rigidBodyTransform . |
static java.lang.String |
EuclidCoreIOTools.getRigidBodyTransformString(java.lang.String format,
RigidBodyTransform rigidBodyTransform) |
Gets a representative
String of rigidBodyTransform given a specific format to
use. |
static java.lang.String |
EuclidCoreIOTools.getRigidBodyTransformString(RigidBodyTransform rigidBodyTransform) |
Gets a representative
String of rigidBodyTransform as follows: |
Modifier and Type | Method | Description |
---|---|---|
boolean |
RigidBodyTransform.epsilonEquals(RigidBodyTransform 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 |
RigidBodyTransform.equals(RigidBodyTransform 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 |
RigidBodyTransform.geometricallyEquals(RigidBodyTransform other,
double epsilon) |
Two rigid body transforms are considered geometrically equal if both the rotation matrices and
translation vectors are equal.
|
void |
AffineTransform.getRigidBodyTransform(RigidBodyTransform rigidBodyTransformToPack) |
Packs the rotation and translation parts of this transform in the given rigid-body transform.
|
void |
AffineTransform.inverseTransform(RigidBodyTransform original,
RigidBodyTransform transformed) |
Performs the inverse of the transform on the given
original and stores the result in
transformed . |
void |
QuaternionBasedTransform.inverseTransform(RigidBodyTransform original,
RigidBodyTransform transformed) |
Performs the inverse of the transform on the given
original and stores the result in
transformed . |
void |
RigidBodyTransform.inverseTransform(RigidBodyTransform original,
RigidBodyTransform transformed) |
Performs the inverse of the transform on the given
original and stores the result in
transformed . |
void |
AffineTransform.multiply(RigidBodyTransform rigidBodyTransform) |
Performs the multiplication of this with the given
rigidBodyTransform . |
void |
QuaternionBasedTransform.multiply(RigidBodyTransform rigidBodyTransform) |
Performs the multiplication of this transform with
rigidBodyTransform . |
void |
RigidBodyTransform.multiply(RigidBodyTransform other) |
Performs the multiplication of this transform with
other . |
void |
AffineTransform.multiplyInvertOther(RigidBodyTransform rigidBodyTransform) |
Performs the multiplication of this with the inverse of the given
rigidBodyTransform . |
void |
QuaternionBasedTransform.multiplyInvertOther(RigidBodyTransform rigidBodyTransform) |
Performs the multiplication of this transform with the inverse of
rigidBodyTransform . |
void |
RigidBodyTransform.multiplyInvertOther(RigidBodyTransform other) |
Performs the multiplication of this transform with the inverse of
other . |
void |
AffineTransform.multiplyInvertThis(RigidBodyTransform rigidBodyTransform) |
Performs the multiplication of the inverse of this with the given
rigidBodyTransform . |
void |
QuaternionBasedTransform.multiplyInvertThis(RigidBodyTransform rigidBodyTransform) |
Performs the multiplication of the inverse of this transform with
rigidBodyTransform . |
void |
RigidBodyTransform.multiplyInvertThis(RigidBodyTransform other) |
Performs the multiplication of the inverse of this transform with
other . |
void |
AffineTransform.preMultiply(RigidBodyTransform rigidBodyTransform) |
Performs the multiplication of
rigidBodyTransform with this transform. |
void |
QuaternionBasedTransform.preMultiply(RigidBodyTransform rigidBodyTransform) |
Performs the multiplication of
rigidBodyTransform with this transform. |
void |
RigidBodyTransform.preMultiply(RigidBodyTransform other) |
Performs the multiplication of
other with this transform. |
void |
AffineTransform.preMultiplyInvertOther(RigidBodyTransform rigidBodyTransform) |
Performs the multiplication of the inverse of
rigidBodyTransform with this transform. |
void |
QuaternionBasedTransform.preMultiplyInvertOther(RigidBodyTransform rigidBodyTransform) |
Performs the multiplication of the inverse of
rigidBodyTransform with this transform. |
void |
RigidBodyTransform.preMultiplyInvertOther(RigidBodyTransform other) |
Performs the multiplication of the inverse of
other with this transform. |
void |
AffineTransform.preMultiplyInvertThis(RigidBodyTransform rigidBodyTransform) |
Performs the multiplication of
rigidBodyTransform with the inverse of this transform. |
void |
QuaternionBasedTransform.preMultiplyInvertThis(RigidBodyTransform rigidBodyTransform) |
Performs the multiplication of
rigidBodyTransform with the inverse of this transform. |
void |
RigidBodyTransform.preMultiplyInvertThis(RigidBodyTransform other) |
Performs the multiplication of
other with the inverse of this transform. |
void |
AffineTransform.set(RigidBodyTransform rigidBodyTransform) |
Sets this affine transform to the given rigid-body transform.
|
void |
QuaternionBasedTransform.set(RigidBodyTransform rigidBodyTransform) |
Sets this quaternion-based transform to the given rigid-body transform.
|
void |
RigidBodyTransform.set(RigidBodyTransform other) |
Sets this rigid-body transform to
other . |
void |
RigidBodyTransform.setAndInvert(RigidBodyTransform other) |
Sets this rigid-body transform to
other and then inverts it. |
void |
AffineTransform.transform(RigidBodyTransform original,
RigidBodyTransform transformed) |
Transforms the given
original by this transform and stores the result in
transformed . |
void |
QuaternionBasedTransform.transform(RigidBodyTransform original,
RigidBodyTransform transformed) |
Transforms the given
original by this transform and stores the result in
transformed . |
void |
RigidBodyTransform.transform(RigidBodyTransform original,
RigidBodyTransform transformed) |
Transforms the given
original by this transform and stores the result in
transformed . |
Constructor | Description |
---|---|
AffineTransform(RigidBodyTransform rigidBodyTransform) |
Creates a new affine transform and sets it to
rigidBodyTransform . |
QuaternionBasedTransform(RigidBodyTransform rigidBodyTransform) |
Creates a new quaternion-based transform and initializes to the given rigid-body transform.
|
RigidBodyTransform(RigidBodyTransform other) |
Creates a new rigid-body transform and sets it to
other . |
Modifier and Type | Method | Description |
---|---|---|
default void |
Transform.inverseTransform(RigidBodyTransform rigidBodyTransformToTransform) |
Performs the inverse of the transform on the given
rigidBodyTransformToTransform . |
void |
Transform.inverseTransform(RigidBodyTransform original,
RigidBodyTransform transformed) |
Performs the inverse of the transform on the given
original and stores the result in
transformed . |
default void |
Transform.transform(RigidBodyTransform rigidBodyTransformToTransform) |
Transforms the given
rigidBodyTransformToTransform by this transform. |
void |
Transform.transform(RigidBodyTransform original,
RigidBodyTransform transformed) |
Transforms the given
original by this transform and stores the result in
transformed . |