Modifier and Type | Method | Description |
---|---|---|
default void |
AxisAngleReadOnly.get(RotationMatrix rotationMatrixToPack) |
Converts, if necessary, and packs this orientation into a 3-by-3 rotation matrix.
|
Modifier and Type | Method | Description |
---|---|---|
RotationMatrix |
RotationScaleMatrix.getRotationMatrix() |
Returns the reference to the rotation matrix used to compose this rotation-scale matrix.
|
Modifier and Type | Method | Description |
---|---|---|
boolean |
RotationMatrix.epsilonEquals(RotationMatrix other,
double epsilon) |
Tests on a per coefficient basis if this matrix is equal to the given
other to an
epsilon . |
boolean |
RotationMatrix.geometricallyEquals(RotationMatrix other,
double epsilon) |
Tests if
this and other represent the same orientation to an epsilon . |
void |
RotationMatrix.set(RotationMatrix other) |
Sets this rotation matrix to equal the given one
other . |
Modifier and Type | Method | Description |
---|---|---|
default void |
RotationMatrixReadOnly.get(RotationMatrix rotationMatrixToPack) |
Converts, if necessary, and packs this orientation into a 3-by-3 rotation matrix.
|
default void |
RotationScaleMatrixReadOnly.inverseTransform(RotationMatrixReadOnly matrixOriginal,
RotationMatrix matrixTransformed) |
Transforms the given rotation matrix
matrixOriginal by the rotation part of this
rotation-scale matrix and stores the result in matrixTransformed . |
default void |
RotationScaleMatrixReadOnly.inverseTransform(RotationMatrix matrixToTransform) |
Performs the inverse of the transform to the given rotation matrix by the rotation part of this
rotation-scale matrix.
|
default void |
RotationScaleMatrixReadOnly.transform(RotationMatrixReadOnly matrixOriginal,
RotationMatrix matrixTransformed) |
Transforms the given rotation matrix
matrixOriginal by the rotation part of this
rotation-scale matrix and stores the result in matrixTransformed . |
default void |
RotationScaleMatrixReadOnly.transform(RotationMatrix matrixToTransform) |
Transforms the given rotation matrix by the rotation part of this rotation-scale matrix.
|
Modifier and Type | Method | Description |
---|---|---|
void |
Orientation3DReadOnly.get(RotationMatrix rotationMatrixToPack) |
Converts, if necessary, and packs this orientation into a 3-by-3 rotation matrix.
|
default void |
Orientation3DReadOnly.inverseTransform(RotationMatrixReadOnly matrixOriginal,
RotationMatrix matrixTransformed) |
Performs the inverse of the transform to the given
matrixOriginal and stores the result
in matrixTransformed . |
default void |
Orientation3DReadOnly.inverseTransform(RotationMatrix matrixToTransform) |
Performs the inverse of the transform to the given rotation matrix by this orientation.
|
default void |
Orientation3DReadOnly.transform(RotationMatrixReadOnly matrixOriginal,
RotationMatrix matrixTransformed) |
Transforms the given
matrixOriginal and stores the result in matrixTransformed . |
default void |
Orientation3DReadOnly.transform(RotationMatrix matrixToTransform) |
Transforms the given rotation matrix by this orientation.
|
Modifier and Type | Method | Description |
---|---|---|
static void |
RotationMatrixConversion.computePitchMatrix(double pitch,
RotationMatrix matrixToPack) |
Sets the given rotation matrix to represent a counter clockwise rotation around the y-axis of an
angle
pitch . |
static void |
RotationMatrixConversion.computeRollMatrix(double roll,
RotationMatrix matrixToPack) |
Sets the given rotation matrix to represent a counter clockwise rotation around the x-axis of an
angle
roll . |
static void |
RotationMatrixConversion.computeYawMatrix(double yaw,
RotationMatrix matrixToPack) |
Sets the given rotation matrix to represent a counter clockwise rotation around the z-axis of an
angle
yaw . |
static void |
RotationMatrixConversion.convertAxisAngleToMatrix(double ux,
double uy,
double uz,
double angle,
RotationMatrix matrixToPack) |
Converts the given axis-angle into a rotation matrix.
|
static void |
RotationMatrixConversion.convertAxisAngleToMatrix(AxisAngleReadOnly axisAngle,
RotationMatrix matrixToPack) |
Converts the given axis-angle into a rotation matrix.
|
static void |
RotationMatrixConversion.convertQuaternionToMatrix(double qx,
double qy,
double qz,
double qs,
RotationMatrix matrixToPack) |
Converts the given quaternion into a rotation matrix.
|
static void |
RotationMatrixConversion.convertQuaternionToMatrix(QuaternionReadOnly quaternion,
RotationMatrix matrixToPack) |
Converts the given quaternion into a rotation matrix.
|
static void |
RotationMatrixConversion.convertRotationVectorToMatrix(double rx,
double ry,
double rz,
RotationMatrix matrixToPack) |
Converts the given rotation vector into a rotation matrix.
|
static void |
RotationMatrixConversion.convertRotationVectorToMatrix(Vector3DReadOnly rotationVector,
RotationMatrix matrixToPack) |
Converts the given rotation vector into a rotation matrix.
|
static void |
RotationMatrixConversion.convertYawPitchRollToMatrix(double[] yawPitchRoll,
RotationMatrix matrixToPack) |
Converts the given yaw-pitch-roll angles into a rotation matrix.
|
static void |
RotationMatrixConversion.convertYawPitchRollToMatrix(double yaw,
double pitch,
double roll,
RotationMatrix matrixToPack) |
Converts the given yaw-pitch-roll angles into a rotation matrix.
|
Modifier and Type | Method | Description |
---|---|---|
static RotationMatrix |
EuclidCoreRandomTools.generateRandomRotationMatrix(java.util.Random random) |
Deprecated.
Use
EuclidCoreRandomTools.nextRotationMatrix(Random) instead |
static RotationMatrix |
EuclidCoreRandomTools.generateRandomRotationMatrix(java.util.Random random,
double minMaxAngle) |
Deprecated.
|
static RotationMatrix |
EuclidCoreRandomTools.nextRotationMatrix(java.util.Random random) |
Generates a random rotation matrix uniformly distributed on the unit sphere and describes an
rotation angle in [-pi; pi].
|
static RotationMatrix |
EuclidCoreRandomTools.nextRotationMatrix(java.util.Random random,
double minMaxAngle) |
Generates a random rotation matrix uniformly distributed on the unit sphere and describes an
rotation angle in [-
minMaxAngle ; minMaxAngle ]. |
Modifier and Type | Method | Description |
---|---|---|
static void |
RotationMatrixTools.appendPitchRotation(RotationMatrixReadOnly matrixOriginal,
double pitch,
RotationMatrix matrixToPack) |
Append a rotation about the y-axis to
matrixOriginal and stores the result in
matrixToPack . |
static void |
RotationMatrixTools.appendRollRotation(RotationMatrixReadOnly matrixOriginal,
double roll,
RotationMatrix matrixToPack) |
Append a rotation about the x-axis to
matrixOriginal and stores the result in
matrixToPack . |
static void |
RotationMatrixTools.appendYawRotation(RotationMatrixReadOnly matrixOriginal,
double yaw,
RotationMatrix matrixToPack) |
Append a rotation about the z-axis to
matrixOriginal and stores the result in
matrixToPack . |
static void |
RotationMatrixTools.interpolate(RotationMatrixReadOnly r0,
RotationMatrixReadOnly rf,
double alpha,
RotationMatrix matrixToPack) |
Performs a linear interpolation in SO(3) from
r0 to rf given the percentage
alpha . |
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 |
QuaternionTools.inverseTransform(QuaternionReadOnly quaternion,
RotationMatrixReadOnly rotationMatrixOriginal,
RotationMatrix rotationMatrixTransformed) |
Performs the inverse of the transform of the rotation matrix
rotationMatrixOriginal using
quaternion and stores the result in rotationMatrixTransformed . |
static void |
RotationMatrixTools.multiply(RotationMatrixReadOnly orientation1,
boolean inverse1,
Orientation3DReadOnly orientation2,
boolean inverse2,
RotationMatrix matrixToPack) |
Performs the multiplication of
orientation1 and orientation2 and stores the
result in matrixToPack . |
static void |
RotationMatrixTools.multiply(RotationMatrixReadOnly m1,
RotationMatrixReadOnly m2,
RotationMatrix matrixToPack) |
Performs the multiplication:
m1 * m2 and stores the result in
matrixToPack . |
static void |
RotationMatrixTools.multiply(Orientation3DReadOnly orientation1,
boolean inverse1,
RotationMatrixReadOnly orientation2,
boolean inverse2,
RotationMatrix matrixToPack) |
Performs the multiplication of
orientation1 and orientation2 and stores the
result in matrixToPack . |
static void |
RotationMatrixTools.multiply(Orientation3DReadOnly orientation1,
boolean inverse1,
Orientation3DReadOnly orientation2,
boolean inverse2,
RotationMatrix matrixToPack) |
Performs the multiplication of
orientation1 and orientation2 and stores the
result in matrixToPack . |
static void |
RotationMatrixTools.multiplyTransposeBoth(RotationMatrixReadOnly m1,
RotationMatrixReadOnly m2,
RotationMatrix matrixToPack) |
Performs the multiplication:
m1 T * m2 T and stores the
result in matrixToPack . |
static void |
RotationMatrixTools.multiplyTransposeLeft(RotationMatrixReadOnly m1,
RotationMatrixReadOnly m2,
RotationMatrix matrixToPack) |
Performs the multiplication:
m1 T * m2 and stores the result in
matrixToPack . |
static void |
RotationMatrixTools.multiplyTransposeRight(RotationMatrixReadOnly m1,
RotationMatrixReadOnly m2,
RotationMatrix matrixToPack) |
Performs the multiplication:
m1 * m2 T and stores the result in
matrixToPack . |
static void |
RotationMatrixTools.prependPitchRotation(double pitch,
RotationMatrixReadOnly matrixOriginal,
RotationMatrix matrixToPack) |
Prepend a rotation about the y-axis to
matrixOriginal and stores the result in
matrixToPack . |
static void |
RotationMatrixTools.prependRollRotation(double roll,
RotationMatrixReadOnly matrixOriginal,
RotationMatrix matrixToPack) |
Prepend a rotation about the x-axis to
matrixOriginal and stores the result in
matrixToPack . |
static void |
RotationMatrixTools.prependYawRotation(double yaw,
RotationMatrixReadOnly matrixOriginal,
RotationMatrix matrixToPack) |
Prepend a rotation about the z-axis to
matrixOriginal and stores the result in
matrixToPack . |
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 |
QuaternionTools.transform(QuaternionReadOnly quaternion,
RotationMatrixReadOnly rotationMatrixOriginal,
RotationMatrix rotationMatrixTransformed) |
Transforms the rotation matrix
rotationMatrixOriginal using quaternion and stores
the result in rotationMatrixTransformed . |
Modifier and Type | Method | Description |
---|---|---|
void |
QuaternionBasedTransform.get(RotationMatrix rotationMarixToPack,
Tuple3DBasics translationToPack) |
Packs the quaternion and translation of this quaternion-based transform.
|
void |
RigidBodyTransform.get(RotationMatrix rotationMarixToPack,
Tuple3DBasics translationToPack) |
Packs the rotation matrix and translation vector of this rigid-body transform.
|
void |
AffineTransform.getRotation(RotationMatrix rotationMatrixToPack) |
Packs the rotation part of this affine transform.
|
void |
QuaternionBasedTransform.getRotation(RotationMatrix rotationMatrixToPack) |
Packs the rotation part of this affine transform.
|
void |
RigidBodyTransform.getRotation(RotationMatrix rotationMatrixToPack) |
Packs the rotation part of this rigid-body transform.
|
void |
AffineTransform.inverseTransform(RotationMatrixReadOnly matrixOriginal,
RotationMatrix matrixTransformed) |
Performs the inverse of the transform on the given matrix
matrixOriginal and stores
the result in matrixTransformed . |
void |
QuaternionBasedTransform.inverseTransform(RotationMatrixReadOnly matrixOriginal,
RotationMatrix matrixTransformed) |
Performs the inverse of the transform on the given matrix
matrixOriginal and stores
the result in matrixTransformed . |
void |
RigidBodyTransform.inverseTransform(RotationMatrixReadOnly matrixOriginal,
RotationMatrix matrixTransformed) |
Performs the inverse of the transform on the given matrix
matrixOriginal and stores
the result in matrixTransformed . |
void |
AffineTransform.transform(RotationMatrixReadOnly matrixOriginal,
RotationMatrix matrixTransformed) |
Transforms the given
matrixOriginal by this transform and stores the result in
matrixTransformed . |
void |
QuaternionBasedTransform.transform(RotationMatrixReadOnly matrixOriginal,
RotationMatrix matrixTransformed) |
Transforms the given
matrixOriginal by this transform and stores the result in
matrixTransformed . |
void |
RigidBodyTransform.transform(RotationMatrixReadOnly matrixOriginal,
RotationMatrix matrixTransformed) |
Transforms the given
matrixOriginal by this transform and stores the result in
matrixTransformed . |
Modifier and Type | Method | Description |
---|---|---|
void |
Transform.inverseTransform(RotationMatrixReadOnly matrixOriginal,
RotationMatrix matrixTransformed) |
Performs the inverse of the transform on the given matrix
matrixOriginal and stores
the result in matrixTransformed . |
default void |
Transform.inverseTransform(RotationMatrix matrixToTransform) |
Performs the inverse of the transform on the given rotation matrix
matrixToTransform . |
void |
Transform.transform(RotationMatrixReadOnly matrixOriginal,
RotationMatrix matrixTransformed) |
Transforms the given
matrixOriginal by this transform and stores the result in
matrixTransformed . |
default void |
Transform.transform(RotationMatrix matrixToTransform) |
Transforms the given
rotationMatrix by this transform. |
Modifier and Type | Method | Description |
---|---|---|
default void |
QuaternionReadOnly.get(RotationMatrix rotationMatrixToPack) |
Converts, if necessary, and packs this orientation into a 3-by-3 rotation matrix.
|