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