Package | Description |
---|---|
us.ihmc.euclid.axisAngle | |
us.ihmc.euclid.axisAngle.interfaces | |
us.ihmc.euclid.rotationConversion | |
us.ihmc.euclid.tools | |
us.ihmc.euclid.transform |
Modifier and Type | Class | Description |
---|---|---|
class |
AxisAngle |
An
AxisAngle is used to represent a 3D orientation by a unitary axis of components (x, y,
z) and an angle of rotation usually expressed in radians. |
class |
AxisAngle32 |
An
AxisAngle is used to represent a 3D orientation by a unitary axis of components (x, y,
z) and an angle of rotation usually expressed in radians. |
Modifier and Type | Interface | Description |
---|---|---|
interface |
AxisAngleBasics |
Write and read interface for an axis-angle object.
|
Modifier and Type | Method | Description |
---|---|---|
default double |
AxisAngleReadOnly.distance(AxisAngleReadOnly other) |
Computes and returns the distance from this axis-angle to
other . |
default boolean |
AxisAngleReadOnly.epsilonEquals(AxisAngleReadOnly other,
double epsilon) |
Tests on a per component basis, if this axis-angle is equal to
other to an
epsilon . |
default boolean |
AxisAngleReadOnly.equals(AxisAngleReadOnly other) |
Tests on a per component basis, if this axis-angle is exactly equal to
other . |
default boolean |
AxisAngleReadOnly.geometricallyEquals(AxisAngleReadOnly other,
double epsilon) |
Tests if
this and other represent the same orientation to an epsilon . |
default void |
AxisAngleBasics.multiply(AxisAngleReadOnly other) |
Multiplies this axis-angle by
other . |
default void |
AxisAngleBasics.multiply(AxisAngleReadOnly aa1,
AxisAngleReadOnly aa2) |
Sets this axis-angle to the multiplication of
aa1 and aa2 . |
default void |
AxisAngleBasics.multiplyInvertBoth(AxisAngleReadOnly other) |
Sets this axis-angle to the multiplication of the inverse of
this and the inverse of
other . |
default void |
AxisAngleBasics.multiplyInvertOther(AxisAngleReadOnly other) |
Multiplies this axis-angle by the inverse of
other . |
default void |
AxisAngleBasics.multiplyInvertThis(AxisAngleReadOnly other) |
Sets this axis-angle to the multiplication of the inverse of
this and other . |
default void |
AxisAngleBasics.preMultiply(AxisAngleReadOnly other) |
Pre-multiplies this axis-angle by
other . |
default void |
AxisAngleBasics.preMultiplyInvertBoth(AxisAngleReadOnly other) |
Sets this axis-angle to the multiplication of the inverse of
other and the inverse of
this . |
default void |
AxisAngleBasics.preMultiplyInvertOther(AxisAngleReadOnly other) |
Sets this axis-angle to the multiplication of the inverse of
other and this . |
default void |
AxisAngleBasics.preMultiplyInvertThis(AxisAngleReadOnly other) |
Sets this axis-angle to the multiplication of
other and the inverse of this . |
default void |
AxisAngleBasics.set(AxisAngleReadOnly other) |
Sets this axis-angle to the same value as the given axis-angle
other . |
default void |
AxisAngleBasics.setAndNegate(AxisAngleReadOnly other) |
Sets this axis-angle to
other and then calls AxisAngleBasics.negate() . |
Modifier and Type | Method | Description |
---|---|---|
static double |
YawPitchRollConversion.computePitch(AxisAngleReadOnly axisAngle) |
Computes the pitch from an axis-angle.
|
static double |
YawPitchRollConversion.computeRoll(AxisAngleReadOnly axisAngle) |
Computes the roll from an axis-angle.
|
static double |
YawPitchRollConversion.computeYaw(AxisAngleReadOnly axisAngle) |
Computes the yaw from an axis-angle.
|
static void |
RotationMatrixConversion.convertAxisAngleToMatrix(AxisAngleReadOnly axisAngle,
RotationMatrix matrixToPack) |
Converts the given axis-angle into a rotation matrix.
|
static void |
QuaternionConversion.convertAxisAngleToQuaternion(AxisAngleReadOnly axisAngle,
QuaternionBasics quaternionToPack) |
Converts the given axis-angle into a quaternion.
|
static void |
RotationVectorConversion.convertAxisAngleToRotationVector(AxisAngleReadOnly axisAngle,
Vector3DBasics rotationVectorToPack) |
Converts the given axis-angle into a rotation vector.
|
static void |
YawPitchRollConversion.convertAxisAngleToYawPitchRoll(AxisAngleReadOnly axisAngle,
double[] yawPitchRollToPack) |
Converts the axis-angle into yaw-pitch-roll.
|
static void |
YawPitchRollConversion.convertAxisAngleToYawPitchRoll(AxisAngleReadOnly axisAngle,
Tuple3DBasics eulerAnglesToPack) |
Converts the axis-angle into yaw-pitch-roll.
|
Modifier and Type | Method | Description |
---|---|---|
static void |
AxisAngleTools.addTransform(AxisAngleReadOnly axisAngle,
Tuple3DReadOnly tupleOriginal,
Tuple3DBasics tupleTransformed) |
Transforms the tuple
tupleOriginal using axisAngle and adds the result to
tupleTransformed . |
static void |
AxisAngleTools.appendPitchRotation(AxisAngleReadOnly axisAngleOriginal,
double pitch,
AxisAngleBasics axisAngleToPack) |
Append a rotation about the y-axis to
axisAngleOriginal and stores the result in
axisAngleToPack . |
static void |
AxisAngleTools.appendRollRotation(AxisAngleReadOnly axisAngleOriginal,
double roll,
AxisAngleBasics axisAngleToPack) |
Append a rotation about the x-axis to
axisAngleOriginal and stores the result in
axisAngleToPack . |
static void |
AxisAngleTools.appendYawRotation(AxisAngleReadOnly axisAngleOriginal,
double yaw,
AxisAngleBasics axisAngleToPack) |
Append a rotation about the z-axis to
axisAngleOriginal and stores the result in
axisAngleToPack . |
static void |
EuclidCoreTestTools.assertAxisAngleContainsOnlyNaN(java.lang.String messagePrefix,
AxisAngleReadOnly axisAngleToAssert) |
Asserts that the given axis-angle contains only
Double.NaN . |
static void |
EuclidCoreTestTools.assertAxisAngleContainsOnlyNaN(AxisAngleReadOnly axisAngleToAssert) |
Asserts that the given axis-angle contains only
Double.NaN . |
static void |
EuclidCoreTestTools.assertAxisAngleEquals(java.lang.String messagePrefix,
AxisAngleReadOnly expected,
AxisAngleReadOnly actual,
double epsilon) |
Asserts on a per component basis if the two axis-angles are equal to an
epsilon . |
static void |
EuclidCoreTestTools.assertAxisAngleEquals(java.lang.String messagePrefix,
AxisAngleReadOnly expected,
AxisAngleReadOnly actual,
double epsilon,
java.lang.String format) |
Asserts on a per component basis if the two axis-angles are equal to an
epsilon . |
static void |
EuclidCoreTestTools.assertAxisAngleEquals(AxisAngleReadOnly expected,
AxisAngleReadOnly actual,
double epsilon) |
Asserts on a per component basis if the two axis-angles are equal to an
epsilon . |
static void |
EuclidCoreTestTools.assertAxisAngleEqualsSmart(java.lang.String messagePrefix,
AxisAngleReadOnly expected,
AxisAngleReadOnly actual,
double epsilon) |
|
static void |
EuclidCoreTestTools.assertAxisAngleEqualsSmart(java.lang.String messagePrefix,
AxisAngleReadOnly expected,
AxisAngleReadOnly actual,
double epsilon,
java.lang.String format) |
|
static void |
EuclidCoreTestTools.assertAxisAngleEqualsSmart(AxisAngleReadOnly expected,
AxisAngleReadOnly actual,
double epsilon) |
Deprecated.
|
static void |
EuclidCoreTestTools.assertAxisAngleGeometricallyEquals(java.lang.String messagePrefix,
AxisAngleReadOnly expected,
AxisAngleReadOnly actual,
double epsilon) |
Asserts on a per component basis if the two axis-angles represent the same geometry to an
epsilon . |
static void |
EuclidCoreTestTools.assertAxisAngleGeometricallyEquals(java.lang.String messagePrefix,
AxisAngleReadOnly expected,
AxisAngleReadOnly actual,
double epsilon,
java.lang.String format) |
Asserts on a per component basis if the two axis-angles represent the same geometry to an
epsilon . |
static void |
EuclidCoreTestTools.assertAxisAngleGeometricallyEquals(AxisAngleReadOnly expected,
AxisAngleReadOnly actual,
double epsilon) |
Asserts on a per component basis if the two axis-angles represent the same geometry to an
epsilon . |
static void |
EuclidCoreTestTools.assertAxisAngleIsSetToZero(java.lang.String messagePrefix,
AxisAngleReadOnly axisAngleToAssert) |
Assert that
AxisAngleBasics.setToZero() has just been called on the given axis-angle. |
static void |
EuclidCoreTestTools.assertAxisAngleIsSetToZero(AxisAngleReadOnly axisAngleToAssert) |
Assert that
AxisAngleBasics.setToZero() has just been called on the given axis-angle. |
static void |
EuclidCoreTestTools.assertAxisUnitary(java.lang.String messagePrefix,
AxisAngleReadOnly axisAngleToAssert,
double epsilon) |
Asserts that the length of the axis of the axis-angle is equal to
1.0 +/- epsilon . |
static void |
EuclidCoreTestTools.assertAxisUnitary(java.lang.String messagePrefix,
AxisAngleReadOnly axisAngleToAssert,
double epsilon,
java.lang.String format) |
Asserts that the length of the axis of the axis-angle is equal to
1.0 +/- epsilon . |
static void |
EuclidCoreTestTools.assertAxisUnitary(AxisAngleReadOnly axisAngleToAssert,
double epsilon) |
Asserts that the length of the axis of the axis-angle is equal to
1.0 +/- epsilon . |
static double |
AxisAngleTools.distance(AxisAngleReadOnly aa1,
AxisAngleReadOnly aa2) |
Computes and returns the distance between the two axis-angles
aa1 and aa2 . |
static java.lang.String |
EuclidCoreIOTools.getAxisAngleString(java.lang.String format,
AxisAngleReadOnly axisAngle) |
Gets a representative
String of axisAngle given a specific format to use. |
static java.lang.String |
EuclidCoreIOTools.getAxisAngleString(AxisAngleReadOnly axisAngle) |
Gets a representative
String of axisAngle as follows: |
static void |
AxisAngleTools.inverseTransform(AxisAngleReadOnly axisAngle,
Matrix3DReadOnly matrixOriginal,
Matrix3D matrixTransformed) |
Performs the inverse of the transform of the matrix
matrixOriginal using
axisAngle and stores the result in matrixTransformed . |
static void |
AxisAngleTools.inverseTransform(AxisAngleReadOnly axisAngle,
RotationMatrixReadOnly rotationMatrixOriginal,
RotationMatrix rotationMatrixTransformed) |
Performs the inverse of the transform of the rotation matrix
rotationMatrixOriginal using
axisAngle and stores the result in rotationMatrixTransformed . |
static void |
AxisAngleTools.inverseTransform(AxisAngleReadOnly axisAngle,
Tuple2DReadOnly tupleOriginal,
Tuple2DBasics tupleTransformed,
boolean checkIfTransformInXYPlane) |
Performs the inverse of the transform of the tuple
tupleOriginal using axisAngle
and stores the result in tupleTransformed . |
static void |
AxisAngleTools.inverseTransform(AxisAngleReadOnly axisAngle,
Tuple3DReadOnly tupleOriginal,
Tuple3DBasics tupleTransformed) |
Performs the inverse of the transform of the tuple
tupleOriginal using axisAngle
and stores the result in tupleTransformed . |
static void |
AxisAngleTools.inverseTransform(AxisAngleReadOnly axisAngle,
QuaternionReadOnly quaternionOriginal,
QuaternionBasics quaternionTransformed) |
Performs the inverse of the transform of the quaternion
quaternionOriginal using
axisAngle and stores the result in quaternionTransformed . |
static void |
AxisAngleTools.inverseTransform(AxisAngleReadOnly axisAngle,
Vector4DReadOnly vectorOriginal,
Vector4DBasics vectorTransformed) |
Performs the inverse of the transform of the vector
vectorOriginal using
axisAngle and stores the result in vectorTransformed . |
static void |
AxisAngleTools.multiply(AxisAngleReadOnly orientation1,
boolean inverse1,
Orientation3DReadOnly orientation2,
boolean inverse2,
AxisAngleBasics axisAngleToPack) |
Performs the multiplication of
orientation1 and orientation2 and stores the
result in axisAngleToPack . |
static void |
AxisAngleTools.multiply(AxisAngleReadOnly aa1,
AxisAngleReadOnly aa2,
AxisAngleBasics axisAngleToPack) |
Performs the multiplication of
aa1 and aa2 and stores the result in
axisAngleToPack . |
static void |
AxisAngleTools.multiply(Orientation3DReadOnly orientation1,
boolean inverse1,
AxisAngleReadOnly orientation2,
boolean inverse2,
AxisAngleBasics axisAngleToPack) |
Performs the multiplication of
orientation1 and orientation2 and stores the
result in axisAngleToPack . |
static void |
AxisAngleTools.multiplyInvertBoth(AxisAngleReadOnly aa1,
AxisAngleReadOnly aa2,
AxisAngleBasics axisAngleToPack) |
Performs the multiplication of the inverse of
aa1 and the inverse of aa2 and
stores the result in axisAngleToPack . |
static void |
AxisAngleTools.multiplyInvertLeft(AxisAngleReadOnly aa1,
AxisAngleReadOnly aa2,
AxisAngleBasics axisAngleToPack) |
Performs the multiplication of the inverse of
aa1 and aa2 and stores the result
in axisAngleToPack . |
static void |
AxisAngleTools.multiplyInvertRight(AxisAngleReadOnly aa1,
AxisAngleReadOnly aa2,
AxisAngleBasics axisAngleToPack) |
Performs the multiplication of
aa1 and the inverse of aa2 and stores the result
in axisAngleToPack . |
static void |
AxisAngleTools.prependPitchRotation(double pitch,
AxisAngleReadOnly axisAngleOriginal,
AxisAngleBasics axisAngleToPack) |
Prepend a rotation about the y-axis to
axisAngleOriginal and stores the result in
axisAngleToPack . |
static void |
AxisAngleTools.prependRollRotation(double roll,
AxisAngleReadOnly axisAngleOriginal,
AxisAngleBasics axisAngleToPack) |
Prepend a rotation about the x-axis to
axisAngleOriginal and stores the result in
axisAngleToPack . |
static void |
AxisAngleTools.prependYawRotation(double yaw,
AxisAngleReadOnly axisAngleOriginal,
AxisAngleBasics axisAngleToPack) |
Prepend a rotation about the z-axis to
axisAngleOriginal and stores the result in
axisAngleToPack . |
static void |
AxisAngleTools.transform(AxisAngleReadOnly axisAngle,
Matrix3DReadOnly matrixOriginal,
Matrix3D matrixTransformed) |
Transforms the matrix
matrixOriginal using axisAngle and stores the result in
matrixTransformed . |
static void |
AxisAngleTools.transform(AxisAngleReadOnly axisAngle,
RotationMatrixReadOnly rotationMatrixOriginal,
RotationMatrix rotationMatrixTransformed) |
Transforms the rotation matrix
rotationMatrixOriginal using axisAngle and stores
the result in rotationMatrixTransformed . |
static void |
AxisAngleTools.transform(AxisAngleReadOnly axisAngle,
Tuple2DReadOnly tupleOriginal,
Tuple2DBasics tupleTransformed,
boolean checkIfTransformInXYPlane) |
Transforms the tuple
tupleOriginal using axisAngle and stores the result in
tupleTransformed . |
static void |
AxisAngleTools.transform(AxisAngleReadOnly axisAngle,
Tuple3DReadOnly tupleOriginal,
Tuple3DBasics tupleTransformed) |
Transforms the tuple
tupleOriginal using axisAngle and stores the result in
tupleTransformed . |
static void |
AxisAngleTools.transform(AxisAngleReadOnly axisAngle,
QuaternionReadOnly quaternionOriginal,
QuaternionBasics quaternionTransformed) |
Transforms the quaternion
quaternionOriginal using axisAngle and stores the
result in quaternionTransformed . |
static void |
AxisAngleTools.transform(AxisAngleReadOnly axisAngle,
Vector4DReadOnly vectorOriginal,
Vector4DBasics vectorTransformed) |
Transforms the vector
vectorOriginal using axisAngle and stores the result in
vectorTransformed . |
Modifier and Type | Method | Description |
---|---|---|
void |
AffineTransform.set(AxisAngleReadOnly axisAngle,
double scaleX,
double scaleY,
double scaleZ,
Tuple3DReadOnly translation) |
Sets the rotation, scale, and translation parts of this transform separately.
|
void |
AffineTransform.set(AxisAngleReadOnly axisAngle,
double scale,
Tuple3DReadOnly translation) |
Sets the rotation, scale, and translation parts of this transform separately.
|
void |
AffineTransform.set(AxisAngleReadOnly axisAngle,
Tuple3DReadOnly scales,
Tuple3DReadOnly translation) |
Sets the rotation, scale, and translation parts of this transform separately.
|
void |
QuaternionBasedTransform.set(AxisAngleReadOnly axisAngle,
Tuple3DReadOnly translation) |
Sets this quaternion-based transform to the given axis-angle and translation.
|
void |
AffineTransform.setRotation(AxisAngleReadOnly axisAngle) |
Sets the rotation part of this transform to the given axis-angle.
|
void |
QuaternionBasedTransform.setRotation(AxisAngleReadOnly axisAngle) |
Sets the rotation part of this transform to the given axis-angle.
|
Constructor | Description |
---|---|
QuaternionBasedTransform(AxisAngleReadOnly axisAngle,
Tuple3DReadOnly translation) |
Creates a new quaternion-based transform and initializes it to the given axis-angle and
translation.
|