public interface FrameQuaternionReadOnly extends FrameTuple4DReadOnly, us.ihmc.euclid.tuple4D.interfaces.QuaternionReadOnly
In addition to representing a QuaternionReadOnly
, a ReferenceFrame
is associated
to a FrameQuaternionReadOnly
. This allows, for instance, to enforce, at runtime, that
operations on quaternions occur in the same coordinate system. Also, via the method
FrameChangeable.changeFrame(ReferenceFrame)
, one can easily calculates the value of a quaternion in
different reference frames.
Because a FrameQuaternionReadOnly
extends QuaternionReadOnly
, it is compatible
with methods only requiring QuaternionReadOnly
. However, these methods do NOT assert that
the operation occur in the proper coordinate system. Use this feature carefully and always prefer
using methods requiring FrameQuaternionReadOnly
.
Modifier and Type | Method and Description |
---|---|
default void |
addTransform(FixedFrameTuple3DBasics tupleToTransform)
Transforms the given tuple by this orientation and adds the result to the tuple.
|
default void |
addTransform(FrameTuple3DReadOnly tupleOriginal,
FixedFrameTuple3DBasics tupleTransformed)
Transforms the tuple
tupleOriginal by this orientation and adds the result to
tupleTransformed . |
default void |
addTransform(FrameTuple3DReadOnly tupleOriginal,
FrameTuple3DBasics tupleTransformed)
Transforms the tuple
tupleOriginal by this orientation and adds the result to
tupleTransformed . |
default void |
addTransform(FrameTuple3DReadOnly tupleOriginal,
us.ihmc.euclid.tuple3D.interfaces.Tuple3DBasics tupleTransformed)
Transforms the tuple
tupleOriginal by this orientation and adds the result to
tupleTransformed . |
default void |
addTransform(us.ihmc.euclid.tuple3D.interfaces.Tuple3DReadOnly tupleOriginal,
FixedFrameTuple3DBasics tupleTransformed)
Transforms the tuple
tupleOriginal by this orientation and adds the result to
tupleTransformed . |
default void |
addTransform(us.ihmc.euclid.tuple3D.interfaces.Tuple3DReadOnly tupleOriginal,
FrameTuple3DBasics tupleTransformed)
Transforms the tuple
tupleOriginal by this orientation and adds the result to
tupleTransformed . |
default double |
distance(FrameQuaternionReadOnly other)
Computes and returns the distance from this quaternion to
other . |
default double |
distancePrecise(FrameQuaternionReadOnly other)
Computes and returns the distance from this quaternion to
other . |
default boolean |
geometricallyEquals(FrameQuaternionReadOnly other,
double epsilon)
Compares
this to other to determine if the two frame quaternions are
geometrically similar, i.e. |
default void |
get(FixedFrameQuaternionBasics quaternionToPack)
Packs this quaternion in the given
quaternionToPack . |
default void |
get(FrameQuaternionBasics quaternionToPack)
Packs this quaternion in the given
quaternionToPack . |
default void |
getEuler(FixedFrameTuple3DBasics eulerAnglesToPack)
Computes and packs the orientation described by this quaternion as the Euler angles.
|
default void |
getEuler(FrameTuple3DBasics eulerAnglesToPack)
Computes and packs the orientation described by this quaternion as the Euler angles.
|
default void |
getRotationVector(FixedFrameVector3DBasics rotationVectorToPack)
Computes and packs the orientation described by this quaternion as a rotation vector.
|
default void |
getRotationVector(FrameVector3DBasics rotationVectorToPack)
Computes and packs the orientation described by this quaternion as a rotation vector.
|
default void |
inverseTransform(FixedFrameQuaternionBasics quaternionToTransform)
Performs the inverse of the transform to the given quaternion
quaternionToTransform . |
default void |
inverseTransform(FixedFrameTuple2DBasics tupleToTransform)
Performs the inverse of the transform to the given tuple
tupleToTransform . |
default void |
inverseTransform(FixedFrameTuple2DBasics tupleToTransform,
boolean checkIfTransformInXYPlane)
Performs the inverse of the transform to the given tuple
tupleToTransform . |
default void |
inverseTransform(FixedFrameTuple3DBasics tupleToTransform)
Performs the inverse of the transform to the given tuple
tupleToTransform . |
default void |
inverseTransform(FixedFrameVector4DBasics vectorToTransform)
Performs the inverse of the transform to the vector part the given 4D vector by this quaternion.
|
default void |
inverseTransform(FrameQuaternionReadOnly quaternionOriginal,
FixedFrameQuaternionBasics quaternionTransformed)
Performs the inverse of the transform to the given quaternion
quaternionOriginal by this
quaternion and stores the result in quaternionTransformed . |
default void |
inverseTransform(FrameQuaternionReadOnly quaternionOriginal,
FrameQuaternionBasics quaternionTransformed)
Performs the inverse of the transform to the given quaternion
quaternionOriginal by this
quaternion and stores the result in quaternionTransformed . |
default void |
inverseTransform(FrameQuaternionReadOnly quaternionOriginal,
us.ihmc.euclid.tuple4D.interfaces.QuaternionBasics quaternionTransformed)
Performs the inverse of the transform to the given quaternion
quaternionOriginal by this
quaternion and stores the result in quaternionTransformed . |
default void |
inverseTransform(FrameTuple2DReadOnly tupleOriginal,
FixedFrameTuple2DBasics tupleTransformed)
Performs the inverse of the transform to the given tuple
tupleOriginal and stores the
result in tupleTransformed . |
default void |
inverseTransform(FrameTuple2DReadOnly tupleOriginal,
FixedFrameTuple2DBasics tupleTransformed,
boolean checkIfTransformInXYPlane)
Performs the inverse of the transform to the given tuple
tupleOriginal and stores the
result in tupleTransformed . |
default void |
inverseTransform(FrameTuple2DReadOnly tupleOriginal,
FrameTuple2DBasics tupleTransformed)
Performs the inverse of the transform to the given tuple
tupleOriginal and stores the
result in tupleTransformed . |
default void |
inverseTransform(FrameTuple2DReadOnly tupleOriginal,
FrameTuple2DBasics tupleTransformed,
boolean checkIfTransformInXYPlane)
Performs the inverse of the transform to the given tuple
tupleOriginal and stores the
result in tupleTransformed . |
default void |
inverseTransform(FrameTuple2DReadOnly tupleOriginal,
us.ihmc.euclid.tuple2D.interfaces.Tuple2DBasics tupleTransformed)
Performs the inverse of the transform to the given tuple
tupleOriginal and stores the
result in tupleTransformed . |
default void |
inverseTransform(FrameTuple2DReadOnly tupleOriginal,
us.ihmc.euclid.tuple2D.interfaces.Tuple2DBasics tupleTransformed,
boolean checkIfTransformInXYPlane)
Performs the inverse of the transform to the given tuple
tupleOriginal and stores the
result in tupleTransformed . |
default void |
inverseTransform(FrameTuple3DReadOnly tupleOriginal,
FixedFrameTuple3DBasics tupleTransformed)
Performs the inverse of the transform to the given tuple
tupleOriginal and stores the
result in tupleTransformed . |
default void |
inverseTransform(FrameTuple3DReadOnly tupleOriginal,
FrameTuple3DBasics tupleTransformed)
Performs the inverse of the transform to the given tuple
tupleOriginal and stores the
result in tupleTransformed . |
default void |
inverseTransform(FrameTuple3DReadOnly tupleOriginal,
us.ihmc.euclid.tuple3D.interfaces.Tuple3DBasics tupleTransformed)
Performs the inverse of the transform to the given tuple
tupleOriginal by this quaternion
and stores the result in tupleTransformed . |
default void |
inverseTransform(FrameVector4DReadOnly vectorOriginal,
FixedFrameVector4DBasics vectorTransformed)
Performs the inverse of the transform to the vector part the given 4D vector
vectorOriginal by this quaternion and stores the result in vectorTransformed . |
default void |
inverseTransform(FrameVector4DReadOnly vectorOriginal,
FrameVector4DBasics vectorTransformed)
Performs the inverse of the transform to the vector part the given 4D vector
vectorOriginal by this quaternion and stores the result in vectorTransformed . |
default void |
inverseTransform(FrameVector4DReadOnly vectorOriginal,
us.ihmc.euclid.tuple4D.interfaces.Vector4DBasics vectorTransformed)
Performs the inverse of the transform to the vector part the given 4D vector
vectorOriginal by this quaternion and stores the result in vectorTransformed . |
default void |
inverseTransform(us.ihmc.euclid.tuple4D.interfaces.QuaternionReadOnly quaternionOriginal,
FixedFrameQuaternionBasics quaternionTransformed)
Performs the inverse of the transform to the given quaternion
quaternionOriginal by this
quaternion and stores the result in quaternionTransformed . |
default void |
inverseTransform(us.ihmc.euclid.tuple4D.interfaces.QuaternionReadOnly quaternionOriginal,
FrameQuaternionBasics quaternionTransformed)
Performs the inverse of the transform to the given quaternion
quaternionOriginal by this
quaternion and stores the result in quaternionTransformed . |
default void |
inverseTransform(us.ihmc.euclid.tuple2D.interfaces.Tuple2DReadOnly tupleOriginal,
FixedFrameTuple2DBasics tupleTransformed)
Performs the inverse of the transform to the given tuple
tupleOriginal and stores the
result in tupleTransformed . |
default void |
inverseTransform(us.ihmc.euclid.tuple2D.interfaces.Tuple2DReadOnly tupleOriginal,
FixedFrameTuple2DBasics tupleTransformed,
boolean checkIfTransformInXYPlane)
Performs the inverse of the transform to the given tuple
tupleOriginal and stores the
result in tupleTransformed . |
default void |
inverseTransform(us.ihmc.euclid.tuple2D.interfaces.Tuple2DReadOnly tupleOriginal,
FrameTuple2DBasics tupleTransformed)
Performs the inverse of the transform to the given tuple
tupleOriginal and stores the
result in tupleTransformed . |
default void |
inverseTransform(us.ihmc.euclid.tuple2D.interfaces.Tuple2DReadOnly tupleOriginal,
FrameTuple2DBasics tupleTransformed,
boolean checkIfTransformInXYPlane)
Performs the inverse of the transform to the given tuple
tupleOriginal and stores the
result in tupleTransformed . |
default void |
inverseTransform(us.ihmc.euclid.tuple3D.interfaces.Tuple3DReadOnly tupleOriginal,
FixedFrameTuple3DBasics tupleTransformed)
Performs the inverse of the transform to the given tuple
tupleOriginal by this quaternion
and stores the result in tupleTransformed . |
default void |
inverseTransform(us.ihmc.euclid.tuple3D.interfaces.Tuple3DReadOnly tupleOriginal,
FrameTuple3DBasics tupleTransformed)
Performs the inverse of the transform to the given tuple
tupleOriginal by this quaternion
and stores the result in tupleTransformed . |
default void |
inverseTransform(us.ihmc.euclid.tuple4D.interfaces.Vector4DReadOnly vectorOriginal,
FixedFrameVector4DBasics vectorTransformed)
Performs the inverse of the transform to the vector part the given 4D vector
vectorOriginal by this quaternion and stores the result in vectorTransformed . |
default void |
inverseTransform(us.ihmc.euclid.tuple4D.interfaces.Vector4DReadOnly vectorOriginal,
FrameVector4DBasics vectorTransformed)
Performs the inverse of the transform to the vector part the given 4D vector
vectorOriginal by this quaternion and stores the result in vectorTransformed . |
default void |
transform(FixedFrameQuaternionBasics quaternionToTransform)
Transforms the given quaternion by this quaternion.
|
default void |
transform(FixedFrameTuple2DBasics tupleToTransform)
Transforms the given tuple
tupleToTransform by this quaternion. |
default void |
transform(FixedFrameTuple2DBasics tupleToTransform,
boolean checkIfTransformInXYPlane)
Transforms the given tuple
tupleToTransform by this quaternion. |
default void |
transform(FixedFrameTuple3DBasics tupleToTransform)
Transforms the given tuple
tupleToTransform . |
default void |
transform(FixedFrameVector4DBasics vectorToTransform)
Transforms the vector part of the given 4D vector.
|
default void |
transform(FrameQuaternionReadOnly quaternionOriginal,
FixedFrameQuaternionBasics quaternionTransformed)
Transforms the given quaternion
quaternionOriginal and stores the result into
quaternionTransformed . |
default void |
transform(FrameQuaternionReadOnly quaternionOriginal,
FrameQuaternionBasics quaternionTransformed)
Transforms the given quaternion
quaternionOriginal and stores the result into
quaternionTransformed . |
default void |
transform(FrameQuaternionReadOnly quaternionOriginal,
us.ihmc.euclid.tuple4D.interfaces.QuaternionBasics quaternionTransformed)
Transforms the given quaternion
quaternionOriginal and stores the result into
quaternionTransformed . |
default void |
transform(FrameTuple2DReadOnly tupleOriginal,
FixedFrameTuple2DBasics tupleTransformed)
Transforms the given tuple
tupleOriginal by this quaternion and stores the result in
tupleTransformed . |
default void |
transform(FrameTuple2DReadOnly tupleOriginal,
FixedFrameTuple2DBasics tupleTransformed,
boolean checkIfTransformInXYPlane)
Transforms the given tuple
tupleOriginal by this quaternion and stores the result in
tupleTransformed . |
default void |
transform(FrameTuple2DReadOnly tupleOriginal,
FrameTuple2DBasics tupleTransformed)
Transforms the given tuple
tupleOriginal by this quaternion and stores the result in
tupleTransformed . |
default void |
transform(FrameTuple2DReadOnly tupleOriginal,
FrameTuple2DBasics tupleTransformed,
boolean checkIfTransformInXYPlane)
Transforms the given tuple
tupleOriginal by this quaternion and stores the result in
tupleTransformed . |
default void |
transform(FrameTuple2DReadOnly tupleOriginal,
us.ihmc.euclid.tuple2D.interfaces.Tuple2DBasics tupleTransformed)
Transforms the given tuple
tupleOriginal by this quaternion and stores the result in
tupleTransformed . |
default void |
transform(FrameTuple2DReadOnly tupleOriginal,
us.ihmc.euclid.tuple2D.interfaces.Tuple2DBasics tupleTransformed,
boolean checkIfTransformInXYPlane)
Transforms the given tuple
tupleOriginal by this quaternion and stores the result in
tupleTransformed . |
default void |
transform(FrameTuple3DReadOnly tupleOriginal,
FixedFrameTuple3DBasics tupleTransformed)
Transforms the given tuple
tupleOriginal by this quaternion and stores the result in
tupleTransformed . |
default void |
transform(FrameTuple3DReadOnly tupleOriginal,
FrameTuple3DBasics tupleTransformed)
Transforms the given tuple
tupleOriginal by this quaternion and stores the result in
tupleTransformed . |
default void |
transform(FrameTuple3DReadOnly tupleOriginal,
us.ihmc.euclid.tuple3D.interfaces.Tuple3DBasics tupleTransformed)
Transforms the given tuple
tupleOriginal by this quaternion and stores the result in
tupleTransformed . |
default void |
transform(FrameVector4DReadOnly vectorOriginal,
FixedFrameVector4DBasics vectorTransformed)
Transforms the vector part of the given 4D vector
vectorOriginal and stores the result
into vectorTransformed . |
default void |
transform(FrameVector4DReadOnly vectorOriginal,
FrameVector4DBasics vectorTransformed)
Transforms the vector part of the given 4D vector
vectorOriginal and stores the result
into vectorTransformed . |
default void |
transform(FrameVector4DReadOnly vectorOriginal,
us.ihmc.euclid.tuple4D.interfaces.Vector4DBasics vectorTransformed)
Transforms the vector part of the given 4D vector
vectorOriginal and stores the result
into vectorTransformed . |
default void |
transform(us.ihmc.euclid.tuple4D.interfaces.QuaternionReadOnly quaternionOriginal,
FixedFrameQuaternionBasics quaternionTransformed)
Transforms the given quaternion
quaternionOriginal and stores the result into
quaternionTransformed . |
default void |
transform(us.ihmc.euclid.tuple4D.interfaces.QuaternionReadOnly quaternionOriginal,
FrameQuaternionBasics quaternionTransformed)
Transforms the given quaternion
quaternionOriginal and stores the result into
quaternionTransformed . |
default void |
transform(us.ihmc.euclid.tuple2D.interfaces.Tuple2DReadOnly tupleOriginal,
FixedFrameTuple2DBasics tupleTransformed)
Transforms the given tuple
tupleOriginal by this quaternion and stores the result in
tupleTransformed . |
default void |
transform(us.ihmc.euclid.tuple2D.interfaces.Tuple2DReadOnly tupleOriginal,
FixedFrameTuple2DBasics tupleTransformed,
boolean checkIfTransformInXYPlane)
Transforms the given tuple
tupleOriginal by this quaternion and stores the result in
tupleTransformed . |
default void |
transform(us.ihmc.euclid.tuple2D.interfaces.Tuple2DReadOnly tupleOriginal,
FrameTuple2DBasics tupleTransformed)
Transforms the given tuple
tupleOriginal by this quaternion and stores the result in
tupleTransformed . |
default void |
transform(us.ihmc.euclid.tuple2D.interfaces.Tuple2DReadOnly tupleOriginal,
FrameTuple2DBasics tupleTransformed,
boolean checkIfTransformInXYPlane)
Transforms the given tuple
tupleOriginal by this quaternion and stores the result in
tupleTransformed . |
default void |
transform(us.ihmc.euclid.tuple3D.interfaces.Tuple3DReadOnly tupleOriginal,
FixedFrameTuple3DBasics tupleTransformed)
Transforms the given tuple
tupleOriginal by this quaternion and stores the result in
tupleTransformed . |
default void |
transform(us.ihmc.euclid.tuple3D.interfaces.Tuple3DReadOnly tupleOriginal,
FrameTuple3DBasics tupleTransformed)
Transforms the given tuple
tupleOriginal by this quaternion and stores the result in
tupleTransformed . |
default void |
transform(us.ihmc.euclid.tuple4D.interfaces.Vector4DReadOnly vectorOriginal,
FixedFrameVector4DBasics vectorTransformed)
Transforms the vector part of the given 4D vector
vectorOriginal and stores the result
into vectorTransformed . |
default void |
transform(us.ihmc.euclid.tuple4D.interfaces.Vector4DReadOnly vectorOriginal,
FrameVector4DBasics vectorTransformed)
Transforms the vector part of the given 4D vector
vectorOriginal and stores the result
into vectorTransformed . |
dot, epsilonEquals, equals
checkReferenceFrameMatch, checkReferenceFrameMatch, getReferenceFrame
addTransform, checkIfIsZOnly, checkIfUnitary, checkIfUnitary, distance, distancePrecise, geometricallyEquals, get, get, get, getAngle, getEuler, getPitch, getRoll, getRotationVector, getYaw, getYawPitchRoll, inverseTransform, inverseTransform, inverseTransform, inverseTransform, isOrientation2D, isUnitary, isZOnly, norm, transform, transform, transform, transform
containsNaN, dot, epsilonEquals, equals, get, get, get, get, get, get, get, getElement, getElement32, getS, getS32, getX, getX32, getY, getY32, getZ, getZ32, normSquared
addTransform, checkIfOrientation2D, checkIfOrientation2D, inverseTransform, inverseTransform, inverseTransform, inverseTransform, inverseTransform, inverseTransform, inverseTransform, inverseTransform, inverseTransform, inverseTransform, inverseTransform, inverseTransform, isOrientation2D, toStringAsYawPitchRoll, transform, transform, transform, transform, transform, transform, transform, transform, transform, transform, transform, transform
default double distance(FrameQuaternionReadOnly other)
other
.other
- the other quaternion to measure the distance. Not modified.ReferenceFrameMismatchException
- if reference frame of this
and other
do
not match.default double distancePrecise(FrameQuaternionReadOnly other)
other
.
This method is equivalent to QuaternionReadOnly.distance(QuaternionReadOnly)
but is more accurate when
computing the distance between two quaternions that are very close. Note that it is also more
expensive.
other
- the other quaternion to measure the distance. Not modified.ReferenceFrameMismatchException
- if reference frame of this
and other
do
not match.default void get(FixedFrameQuaternionBasics quaternionToPack)
quaternionToPack
.quaternionToPack
- the quaternion in which this quaternion is stored. Modified.ReferenceFrameMismatchException
- if reference frame of this
and quaternionToPack
do
not match.default void get(FrameQuaternionBasics quaternionToPack)
quaternionToPack
.quaternionToPack
- the quaternion in which this quaternion is stored. Modified.default void getRotationVector(FixedFrameVector3DBasics rotationVectorToPack)
WARNING: a rotation vector is different from a yaw-pitch-roll or Euler angles representation. A rotation vector is equivalent to the axis of an axis-angle that is multiplied by the angle of the same axis-angle.
rotationVectorToPack
- the vector in which the rotation vector is stored. Modified.ReferenceFrameMismatchException
- if reference frame of this
and
rotationVectorToPack
do not match.default void getRotationVector(FrameVector3DBasics rotationVectorToPack)
WARNING: a rotation vector is different from a yaw-pitch-roll or Euler angles representation. A rotation vector is equivalent to the axis of an axis-angle that is multiplied by the angle of the same axis-angle.
rotationVectorToPack
- the vector in which the rotation vector is stored. Modified.default void getEuler(FixedFrameTuple3DBasics eulerAnglesToPack)
WARNING: the Euler angles or yaw-pitch-roll representation is sensitive to gimbal lock and is sometimes undefined.
eulerAnglesToPack
- the tuple in which the Euler angles are stored. Modified.ReferenceFrameMismatchException
- if reference frame of this
and
eulerAnglesToPack
do not match.default void getEuler(FrameTuple3DBasics eulerAnglesToPack)
WARNING: the Euler angles or yaw-pitch-roll representation is sensitive to gimbal lock and is sometimes undefined.
eulerAnglesToPack
- the tuple in which the Euler angles are stored. Modified.default void transform(FixedFrameTuple3DBasics tupleToTransform)
tupleToTransform
.
tupleToTransform = quaternion * tupleToTransform * quaternion-1
tupleToTransform
- the tuple to transform. Modified.ReferenceFrameMismatchException
- if reference frame of this
and
tupleToTransform
do not match.default void transform(FrameTuple3DReadOnly tupleOriginal, us.ihmc.euclid.tuple3D.interfaces.Tuple3DBasics tupleTransformed)
tupleOriginal
by this quaternion and stores the result in
tupleTransformed
.
tupleTransformed = quaternion * tupleOriginal * quaternion-1
tupleOriginal
- the tuple to transform. Not modified.tupleTransformed
- the tuple to store the result. Modified.ReferenceFrameMismatchException
- if reference frame of this
and
tupleOriginal
do not match.default void transform(us.ihmc.euclid.tuple3D.interfaces.Tuple3DReadOnly tupleOriginal, FixedFrameTuple3DBasics tupleTransformed)
tupleOriginal
by this quaternion and stores the result in
tupleTransformed
.
tupleTransformed = quaternion * tupleOriginal * quaternion-1
tupleOriginal
- the tuple to transform. Not modified.tupleTransformed
- the tuple to store the result. Modified.ReferenceFrameMismatchException
- if reference frame of this
and
tupleTransformed
do not match.default void transform(us.ihmc.euclid.tuple3D.interfaces.Tuple3DReadOnly tupleOriginal, FrameTuple3DBasics tupleTransformed)
tupleOriginal
by this quaternion and stores the result in
tupleTransformed
.
tupleTransformed = quaternion * tupleOriginal * quaternion-1
tupleOriginal
- the tuple to transform. Not modified.tupleTransformed
- the tuple to store the result. Modified.default void transform(FrameTuple3DReadOnly tupleOriginal, FixedFrameTuple3DBasics tupleTransformed)
tupleOriginal
by this quaternion and stores the result in
tupleTransformed
.
tupleTransformed = quaternion * tupleOriginal * quaternion-1
tupleOriginal
- the tuple to transform. Not modified.tupleTransformed
- the tuple to store the result. Modified.ReferenceFrameMismatchException
- if reference frame of this
,
tupleOriginal
, and tupleTransformed
do not match.default void transform(FrameTuple3DReadOnly tupleOriginal, FrameTuple3DBasics tupleTransformed)
tupleOriginal
by this quaternion and stores the result in
tupleTransformed
.
tupleTransformed = quaternion * tupleOriginal * quaternion-1
tupleOriginal
- the tuple to transform. Not modified.tupleTransformed
- the tuple to store the result. Modified.ReferenceFrameMismatchException
- if reference frame of this
and
tupleOriginal
do not match.default void addTransform(FixedFrameTuple3DBasics tupleToTransform)
If the given tuple is expressed in the local frame described by this orientation, then the tuple is transformed such that it is, after this method is called, expressed in the base frame in which this orientation is expressed.
tupleToTransform
- the 3D tuple to be transformed. Modified.ReferenceFrameMismatchException
- if reference frame of this
and
tupleTransformed
do not match.default void addTransform(FrameTuple3DReadOnly tupleOriginal, us.ihmc.euclid.tuple3D.interfaces.Tuple3DBasics tupleTransformed)
tupleOriginal
by this orientation and adds the result to
tupleTransformed
.
If the given tuple is expressed in the local frame described by this orientation, then the tuple is transformed such that it is, after this method is called, expressed in the base frame in which this orientation is expressed.
tupleOriginal
- the original value of the tuple to be transformed. Not modified.tupleTransformed
- the result of the original tuple after transformation. Modified.ReferenceFrameMismatchException
- if reference frame of this
and
tupleOriginal
do not match.default void addTransform(us.ihmc.euclid.tuple3D.interfaces.Tuple3DReadOnly tupleOriginal, FixedFrameTuple3DBasics tupleTransformed)
tupleOriginal
by this orientation and adds the result to
tupleTransformed
.
If the given tuple is expressed in the local frame described by this orientation, then the tuple is transformed such that it is, after this method is called, expressed in the base frame in which this orientation is expressed.
tupleOriginal
- the original value of the tuple to be transformed. Not modified.tupleTransformed
- the result of the original tuple after transformation. Modified.ReferenceFrameMismatchException
- if reference frame of this
and
tupleTransformed
do not match.default void addTransform(us.ihmc.euclid.tuple3D.interfaces.Tuple3DReadOnly tupleOriginal, FrameTuple3DBasics tupleTransformed)
tupleOriginal
by this orientation and adds the result to
tupleTransformed
.
If the given tuple is expressed in the local frame described by this orientation, then the tuple is transformed such that it is, after this method is called, expressed in the base frame in which this orientation is expressed.
tupleOriginal
- the original value of the tuple to be transformed. Not modified.tupleTransformed
- the result of the original tuple after transformation. Modified.default void addTransform(FrameTuple3DReadOnly tupleOriginal, FixedFrameTuple3DBasics tupleTransformed)
tupleOriginal
by this orientation and adds the result to
tupleTransformed
.
If the given tuple is expressed in the local frame described by this orientation, then the tuple is transformed such that it is, after this method is called, expressed in the base frame in which this orientation is expressed.
tupleOriginal
- the original value of the tuple to be transformed. Not modified.tupleTransformed
- the result of the original tuple after transformation. Modified.ReferenceFrameMismatchException
- if reference frame of this
,
tupleOriginal
, and tupleTransformed
do not match.default void addTransform(FrameTuple3DReadOnly tupleOriginal, FrameTuple3DBasics tupleTransformed)
tupleOriginal
by this orientation and adds the result to
tupleTransformed
.
If the given tuple is expressed in the local frame described by this orientation, then the tuple is transformed such that it is, after this method is called, expressed in the base frame in which this orientation is expressed.
tupleOriginal
- the original value of the tuple to be transformed. Not modified.tupleTransformed
- the result of the original tuple after transformation. Modified.ReferenceFrameMismatchException
- if reference frame of this
and
tupleOriginal
do not match.default void transform(FixedFrameTuple2DBasics tupleToTransform)
tupleToTransform
by this quaternion.
tupleToTransform = quaternion * tupleToTransform * quaternion-1
tupleToTransform
- the tuple to transform. Modified.us.ihmc.euclid.exceptions.NotAMatrix2DException
- if this quaternion does not represent a transformation in the XY
plane.ReferenceFrameMismatchException
- if reference frame of this
and
tupleToTransform
do not match.default void transform(FrameTuple2DReadOnly tupleOriginal, us.ihmc.euclid.tuple2D.interfaces.Tuple2DBasics tupleTransformed)
tupleOriginal
by this quaternion and stores the result in
tupleTransformed
.
tupleTransformed = quaternion * tupleOriginal * quaternion-1
tupleOriginal
- the tuple to transform. Not modified.tupleTransformed
- the tuple to store the result. Modified.us.ihmc.euclid.exceptions.NotAMatrix2DException
- if checkIfTransformInXYPlane == true
and this matrix does
not represent a transformation in the XY plane.ReferenceFrameMismatchException
- if reference frame of this
and
tupleOriginal
do not match.default void transform(us.ihmc.euclid.tuple2D.interfaces.Tuple2DReadOnly tupleOriginal, FixedFrameTuple2DBasics tupleTransformed)
tupleOriginal
by this quaternion and stores the result in
tupleTransformed
.
tupleTransformed = quaternion * tupleOriginal * quaternion-1
tupleOriginal
- the tuple to transform. Not modified.tupleTransformed
- the tuple to store the result. Modified.us.ihmc.euclid.exceptions.NotAMatrix2DException
- if this quaternion does not represent a transformation in the XY
plane.ReferenceFrameMismatchException
- if reference frame of this
and
tupleTransformed
do not match.default void transform(us.ihmc.euclid.tuple2D.interfaces.Tuple2DReadOnly tupleOriginal, FrameTuple2DBasics tupleTransformed)
tupleOriginal
by this quaternion and stores the result in
tupleTransformed
.
tupleTransformed = quaternion * tupleOriginal * quaternion-1
tupleOriginal
- the tuple to transform. Not modified.tupleTransformed
- the tuple to store the result. Modified.us.ihmc.euclid.exceptions.NotAMatrix2DException
- if this quaternion does not represent a transformation in the XY
plane.default void transform(FrameTuple2DReadOnly tupleOriginal, FixedFrameTuple2DBasics tupleTransformed)
tupleOriginal
by this quaternion and stores the result in
tupleTransformed
.
tupleTransformed = quaternion * tupleOriginal * quaternion-1
tupleOriginal
- the tuple to transform. Not modified.tupleTransformed
- the tuple to store the result. Modified.us.ihmc.euclid.exceptions.NotAMatrix2DException
- if this quaternion does not represent a transformation in the XY
plane.ReferenceFrameMismatchException
- if reference frame of this
,
tupleOriginal
, tupleTransformed
do not match.default void transform(FrameTuple2DReadOnly tupleOriginal, FrameTuple2DBasics tupleTransformed)
tupleOriginal
by this quaternion and stores the result in
tupleTransformed
.
tupleTransformed = quaternion * tupleOriginal * quaternion-1
tupleOriginal
- the tuple to transform. Not modified.tupleTransformed
- the tuple to store the result. Modified.us.ihmc.euclid.exceptions.NotAMatrix2DException
- if this quaternion does not represent a transformation in the XY
plane.ReferenceFrameMismatchException
- if reference frame of this
and
tupleOriginal
do not match.default void transform(FixedFrameTuple2DBasics tupleToTransform, boolean checkIfTransformInXYPlane)
tupleToTransform
by this quaternion.
tupleToTransform = quaternion * tupleToTransform * quaternion-1
tupleToTransform
- the tuple to transform. Modified.checkIfTransformInXYPlane
- whether this method should assert that this quaternion
represents a transformation in the XY plane.us.ihmc.euclid.exceptions.NotAMatrix2DException
- if checkIfTransformInXYPlane == true
and this quaternion
does not represent a transformation in the XY plane.ReferenceFrameMismatchException
- if reference frame of this
and
tupleToTransform
do not match.default void transform(FrameTuple2DReadOnly tupleOriginal, us.ihmc.euclid.tuple2D.interfaces.Tuple2DBasics tupleTransformed, boolean checkIfTransformInXYPlane)
tupleOriginal
by this quaternion and stores the result in
tupleTransformed
.
tupleTransformed = quaternion * tupleOriginal * quaternion-1
tupleOriginal
- the tuple to transform. Not modified.tupleTransformed
- the tuple to store the result. Modified.checkIfTransformInXYPlane
- whether this method should assert that this quaternion
represents a transformation in the XY plane.us.ihmc.euclid.exceptions.NotAMatrix2DException
- if checkIfTransformInXYPlane == true
and this matrix does
not represent a transformation in the XY plane.ReferenceFrameMismatchException
- if reference frame of this
and
tupleOriginal
do not match.default void transform(us.ihmc.euclid.tuple2D.interfaces.Tuple2DReadOnly tupleOriginal, FixedFrameTuple2DBasics tupleTransformed, boolean checkIfTransformInXYPlane)
tupleOriginal
by this quaternion and stores the result in
tupleTransformed
.
tupleTransformed = quaternion * tupleOriginal * quaternion-1
tupleOriginal
- the tuple to transform. Not modified.tupleTransformed
- the tuple to store the result. Modified.checkIfTransformInXYPlane
- whether this method should assert that this quaternion
represents a transformation in the XY plane.us.ihmc.euclid.exceptions.NotAMatrix2DException
- if checkIfTransformInXYPlane == true
and this quaternion
does not represent a transformation in the XY plane.ReferenceFrameMismatchException
- if reference frame of this
,
tupleOriginal
, and tupleTransformed
do not match.default void transform(us.ihmc.euclid.tuple2D.interfaces.Tuple2DReadOnly tupleOriginal, FrameTuple2DBasics tupleTransformed, boolean checkIfTransformInXYPlane)
tupleOriginal
by this quaternion and stores the result in
tupleTransformed
.
tupleTransformed = quaternion * tupleOriginal * quaternion-1
tupleOriginal
- the tuple to transform. Not modified.tupleTransformed
- the tuple to store the result. Modified.checkIfTransformInXYPlane
- whether this method should assert that this quaternion
represents a transformation in the XY plane.us.ihmc.euclid.exceptions.NotAMatrix2DException
- if checkIfTransformInXYPlane == true
and this quaternion
does not represent a transformation in the XY plane.ReferenceFrameMismatchException
- if reference frame of this
and
tupleOriginal
do not match.default void transform(FrameTuple2DReadOnly tupleOriginal, FixedFrameTuple2DBasics tupleTransformed, boolean checkIfTransformInXYPlane)
tupleOriginal
by this quaternion and stores the result in
tupleTransformed
.
tupleTransformed = quaternion * tupleOriginal * quaternion-1
tupleOriginal
- the tuple to transform. Not modified.tupleTransformed
- the tuple to store the result. Modified.checkIfTransformInXYPlane
- whether this method should assert that this quaternion
represents a transformation in the XY plane.us.ihmc.euclid.exceptions.NotAMatrix2DException
- if checkIfTransformInXYPlane == true
and this quaternion
does not represent a transformation in the XY plane.ReferenceFrameMismatchException
- if reference frame of this
,
tupleOriginal
, tupleTransformed
do not match.default void transform(FrameTuple2DReadOnly tupleOriginal, FrameTuple2DBasics tupleTransformed, boolean checkIfTransformInXYPlane)
tupleOriginal
by this quaternion and stores the result in
tupleTransformed
.
tupleTransformed = quaternion * tupleOriginal * quaternion-1
tupleOriginal
- the tuple to transform. Not modified.tupleTransformed
- the tuple to store the result. Modified.checkIfTransformInXYPlane
- whether this method should assert that this quaternion
represents a transformation in the XY plane.us.ihmc.euclid.exceptions.NotAMatrix2DException
- if checkIfTransformInXYPlane == true
and this quaternion
does not represent a transformation in the XY plane.ReferenceFrameMismatchException
- if reference frame of this
and
tupleOriginal
do not match.default void transform(FixedFrameQuaternionBasics quaternionToTransform)
quaternionToTransform = this * quaternionToTransform
quaternionToTransform
- the quaternion to transform. Modified.ReferenceFrameMismatchException
- if reference frame of this
and
quaternionToTransform
do not match.default void transform(FrameQuaternionReadOnly quaternionOriginal, us.ihmc.euclid.tuple4D.interfaces.QuaternionBasics quaternionTransformed)
quaternionOriginal
and stores the result into
quaternionTransformed
.
quaternionTransformed = this * quaternionOriginal
quaternionOriginal
- the quaternion to transform. Not modified.quaternionTransformed
- the quaternion in which the result is stored. Modified.ReferenceFrameMismatchException
- if reference frame of this
and
quaternionOriginal
do not match.default void transform(us.ihmc.euclid.tuple4D.interfaces.QuaternionReadOnly quaternionOriginal, FixedFrameQuaternionBasics quaternionTransformed)
quaternionOriginal
and stores the result into
quaternionTransformed
.
quaternionTransformed = this * quaternionOriginal
quaternionOriginal
- the quaternion to transform. Not modified.quaternionTransformed
- the quaternion in which the result is stored. Modified.ReferenceFrameMismatchException
- if reference frame of this
and
quaternionTransformed
do not match.default void transform(us.ihmc.euclid.tuple4D.interfaces.QuaternionReadOnly quaternionOriginal, FrameQuaternionBasics quaternionTransformed)
quaternionOriginal
and stores the result into
quaternionTransformed
.
quaternionTransformed = this * quaternionOriginal
quaternionOriginal
- the quaternion to transform. Not modified.quaternionTransformed
- the quaternion in which the result is stored. Modified.default void transform(FrameQuaternionReadOnly quaternionOriginal, FixedFrameQuaternionBasics quaternionTransformed)
quaternionOriginal
and stores the result into
quaternionTransformed
.
quaternionTransformed = this * quaternionOriginal
quaternionOriginal
- the quaternion to transform. Not modified.quaternionTransformed
- the quaternion in which the result is stored. Modified.ReferenceFrameMismatchException
- if reference frame of this
,
quaternionOriginal
, and quaternionTransformed
do not match.default void transform(FrameQuaternionReadOnly quaternionOriginal, FrameQuaternionBasics quaternionTransformed)
quaternionOriginal
and stores the result into
quaternionTransformed
.
quaternionTransformed = this * quaternionOriginal
quaternionOriginal
- the quaternion to transform. Not modified.quaternionTransformed
- the quaternion in which the result is stored. Modified.ReferenceFrameMismatchException
- if reference frame of this
and
quaternionOriginal
do not match.default void transform(FixedFrameVector4DBasics vectorToTransform)
vectorToTransform.s = vectorToTransform.s
vectorToTransform.xyz = this * vectorToTransform.xyz * this-1
vectorToTransform
- the vector to transform. Modified.ReferenceFrameMismatchException
- if reference frame of this
and
vectorToTransform
do not match.default void transform(FrameVector4DReadOnly vectorOriginal, us.ihmc.euclid.tuple4D.interfaces.Vector4DBasics vectorTransformed)
vectorOriginal
and stores the result
into vectorTransformed
.
vectorTransformed.s = vectorOriginal.s
vectorTransformed.xyz = this * vectorOriginal.xyz * this-1
vectorOriginal
- the vector to transform. Not modified.vectorTransformed
- the vector in which the result is stored. Modified.ReferenceFrameMismatchException
- if reference frame of this
and
vectorOriginal
do not match.default void transform(us.ihmc.euclid.tuple4D.interfaces.Vector4DReadOnly vectorOriginal, FixedFrameVector4DBasics vectorTransformed)
vectorOriginal
and stores the result
into vectorTransformed
.
vectorTransformed.s = vectorOriginal.s
vectorTransformed.xyz = this * vectorOriginal.xyz * this-1
vectorOriginal
- the vector to transform. Not modified.vectorTransformed
- the vector in which the result is stored. Modified.ReferenceFrameMismatchException
- if reference frame of this
and
vectorTransformed
do not match.default void transform(us.ihmc.euclid.tuple4D.interfaces.Vector4DReadOnly vectorOriginal, FrameVector4DBasics vectorTransformed)
vectorOriginal
and stores the result
into vectorTransformed
.
vectorTransformed.s = vectorOriginal.s
vectorTransformed.xyz = this * vectorOriginal.xyz * this-1
vectorOriginal
- the vector to transform. Not modified.vectorTransformed
- the vector in which the result is stored. Modified.default void transform(FrameVector4DReadOnly vectorOriginal, FixedFrameVector4DBasics vectorTransformed)
vectorOriginal
and stores the result
into vectorTransformed
.
vectorTransformed.s = vectorOriginal.s
vectorTransformed.xyz = this * vectorOriginal.xyz * this-1
vectorOriginal
- the vector to transform. Not modified.vectorTransformed
- the vector in which the result is stored. Modified.ReferenceFrameMismatchException
- if reference frame of this
,
vectorOriginal
, and vectorTransformed
do not match.default void transform(FrameVector4DReadOnly vectorOriginal, FrameVector4DBasics vectorTransformed)
vectorOriginal
and stores the result
into vectorTransformed
.
vectorTransformed.s = vectorOriginal.s
vectorTransformed.xyz = this * vectorOriginal.xyz * this-1
vectorOriginal
- the vector to transform. Not modified.vectorTransformed
- the vector in which the result is stored. Modified.ReferenceFrameMismatchException
- if reference frame of this
and
vectorOriginal
do not match.default void inverseTransform(FixedFrameTuple3DBasics tupleToTransform)
tupleToTransform
.
tupleToTransform = this-1 * tupleToTransform * this
tupleToTransform
- the tuple to transform. Modified.ReferenceFrameMismatchException
- if reference frame of this
and
tupleToTransform
do not match.default void inverseTransform(FrameTuple3DReadOnly tupleOriginal, us.ihmc.euclid.tuple3D.interfaces.Tuple3DBasics tupleTransformed)
tupleOriginal
by this quaternion
and stores the result in tupleTransformed
.
tupleTransformed = this-1 * tupleOriginal * this
tupleOriginal
- the tuple to transform. Not modified.tupleTransformed
- the tuple to store the result. Modified.ReferenceFrameMismatchException
- if reference frame of this
and
tupleOriginal
do not match.default void inverseTransform(us.ihmc.euclid.tuple3D.interfaces.Tuple3DReadOnly tupleOriginal, FixedFrameTuple3DBasics tupleTransformed)
tupleOriginal
by this quaternion
and stores the result in tupleTransformed
.
tupleTransformed = this-1 * tupleOriginal * this
tupleOriginal
- the tuple to transform. Not modified.tupleTransformed
- the tuple to store the result. Modified.ReferenceFrameMismatchException
- if reference frame of this
and
tupleTransformed
do not match.default void inverseTransform(us.ihmc.euclid.tuple3D.interfaces.Tuple3DReadOnly tupleOriginal, FrameTuple3DBasics tupleTransformed)
tupleOriginal
by this quaternion
and stores the result in tupleTransformed
.
tupleTransformed = this-1 * tupleOriginal * this
tupleOriginal
- the tuple to transform. Not modified.tupleTransformed
- the tuple to store the result. Modified.default void inverseTransform(FrameTuple3DReadOnly tupleOriginal, FixedFrameTuple3DBasics tupleTransformed)
tupleOriginal
and stores the
result in tupleTransformed
.
tupleTransformed = this-1 * tupleOriginal * this
tupleOriginal
- the tuple to transform. Not modified.tupleTransformed
- the tuple to store the result. Modified.ReferenceFrameMismatchException
- if reference frame of this
,
tupleOriginal
, and tupleTransformed
do not match.default void inverseTransform(FrameTuple3DReadOnly tupleOriginal, FrameTuple3DBasics tupleTransformed)
tupleOriginal
and stores the
result in tupleTransformed
.
tupleTransformed = this-1 * tupleOriginal * this
tupleOriginal
- the tuple to transform. Not modified.tupleTransformed
- the tuple to store the result. Modified.ReferenceFrameMismatchException
- if reference frame of this
and
tupleOriginal
do not match.default void inverseTransform(FixedFrameTuple2DBasics tupleToTransform)
tupleToTransform
.
tupleToTransform = this-1 * tupleToTransform * this
tupleToTransform
- the tuple to transform. Modified.us.ihmc.euclid.exceptions.NotAMatrix2DException
- if this quaternion does not represent a transformation in the XY
plane.ReferenceFrameMismatchException
- if reference frame of this
and
tupleToTransform
do not match.default void inverseTransform(FrameTuple2DReadOnly tupleOriginal, us.ihmc.euclid.tuple2D.interfaces.Tuple2DBasics tupleTransformed)
tupleOriginal
and stores the
result in tupleTransformed
.
tupleTransformed = this-1 * tupleOriginal * this
tupleOriginal
- the tuple to transform. Not modified.tupleTransformed
- the tuple to store the result. Modified.us.ihmc.euclid.exceptions.NotAMatrix2DException
- if this quaternion does not represent a transformation in the XY
plane.ReferenceFrameMismatchException
- if reference frame of this
and
tupleOriginal
do not match.default void inverseTransform(FrameTuple2DReadOnly tupleOriginal, FixedFrameTuple2DBasics tupleTransformed)
tupleOriginal
and stores the
result in tupleTransformed
.
tupleTransformed = this-1 * tupleOriginal * this
tupleOriginal
- the tuple to transform. Not modified.tupleTransformed
- the tuple to store the result. Modified.us.ihmc.euclid.exceptions.NotAMatrix2DException
- if this quaternion does not represent a transformation in the XY
plane.ReferenceFrameMismatchException
- if reference frame of this
,
tupleOriginal
, and tupleTransformed
do not match.default void inverseTransform(FrameTuple2DReadOnly tupleOriginal, FrameTuple2DBasics tupleTransformed)
tupleOriginal
and stores the
result in tupleTransformed
.
tupleTransformed = this-1 * tupleOriginal * this
tupleOriginal
- the tuple to transform. Not modified.tupleTransformed
- the tuple to store the result. Modified.us.ihmc.euclid.exceptions.NotAMatrix2DException
- if this quaternion does not represent a transformation in the XY
plane.ReferenceFrameMismatchException
- if reference frame of this
and
tupleOriginal
do not match.default void inverseTransform(us.ihmc.euclid.tuple2D.interfaces.Tuple2DReadOnly tupleOriginal, FixedFrameTuple2DBasics tupleTransformed)
tupleOriginal
and stores the
result in tupleTransformed
.
tupleTransformed = this-1 * tupleOriginal * this
tupleOriginal
- the tuple to transform. Not modified.tupleTransformed
- the tuple to store the result. Modified.us.ihmc.euclid.exceptions.NotAMatrix2DException
- if this quaternion does not represent a transformation in the XY
plane.ReferenceFrameMismatchException
- if reference frame of this
and
tupleTransformed
do not match.default void inverseTransform(us.ihmc.euclid.tuple2D.interfaces.Tuple2DReadOnly tupleOriginal, FrameTuple2DBasics tupleTransformed)
tupleOriginal
and stores the
result in tupleTransformed
.
tupleTransformed = this-1 * tupleOriginal * this
tupleOriginal
- the tuple to transform. Not modified.tupleTransformed
- the tuple to store the result. Modified.us.ihmc.euclid.exceptions.NotAMatrix2DException
- if this quaternion does not represent a transformation in the XY
plane.default void inverseTransform(FixedFrameTuple2DBasics tupleToTransform, boolean checkIfTransformInXYPlane)
tupleToTransform
.
tupleToTransform = this-1 * tupleToTransform * this
tupleToTransform
- the tuple to transform. Modified.checkIfTransformInXYPlane
- whether this method should assert that this quaternion
represents a transformation in the XY plane.us.ihmc.euclid.exceptions.NotAMatrix2DException
- if checkIfTransformInXYPlane == true
and this quaternion
does not represent a transformation in the XY plane.ReferenceFrameMismatchException
- if reference frame of this
and
tupleToTransform
do not match.default void inverseTransform(us.ihmc.euclid.tuple2D.interfaces.Tuple2DReadOnly tupleOriginal, FixedFrameTuple2DBasics tupleTransformed, boolean checkIfTransformInXYPlane)
tupleOriginal
and stores the
result in tupleTransformed
.
tupleTransformed = this-1 * tupleOriginal * this
tupleOriginal
- the tuple to transform. Not modified.tupleTransformed
- the tuple to store the result. Modified.checkIfTransformInXYPlane
- whether this method should assert that this quaternion
represents a transformation in the XY plane.us.ihmc.euclid.exceptions.NotAMatrix2DException
- if checkIfTransformInXYPlane == true
and this quaternion
does not represent a transformation in the XY plane.ReferenceFrameMismatchException
- if reference frame of this
and
tupleTransformed
do not match.default void inverseTransform(us.ihmc.euclid.tuple2D.interfaces.Tuple2DReadOnly tupleOriginal, FrameTuple2DBasics tupleTransformed, boolean checkIfTransformInXYPlane)
tupleOriginal
and stores the
result in tupleTransformed
.
tupleTransformed = this-1 * tupleOriginal * this
tupleOriginal
- the tuple to transform. Not modified.tupleTransformed
- the tuple to store the result. Modified.checkIfTransformInXYPlane
- whether this method should assert that this quaternion
represents a transformation in the XY plane.us.ihmc.euclid.exceptions.NotAMatrix2DException
- if checkIfTransformInXYPlane == true
and this quaternion
does not represent a transformation in the XY plane.default void inverseTransform(FrameTuple2DReadOnly tupleOriginal, FixedFrameTuple2DBasics tupleTransformed, boolean checkIfTransformInXYPlane)
tupleOriginal
and stores the
result in tupleTransformed
.
tupleTransformed = this-1 * tupleOriginal * this
tupleOriginal
- the tuple to transform. Not modified.tupleTransformed
- the tuple to store the result. Modified.checkIfTransformInXYPlane
- whether this method should assert that this quaternion
represents a transformation in the XY plane.us.ihmc.euclid.exceptions.NotAMatrix2DException
- if checkIfTransformInXYPlane == true
and this quaternion
does not represent a transformation in the XY plane.ReferenceFrameMismatchException
- if reference frame of this
,
tupleOriginal
, and tupleTransformed
do not match.default void inverseTransform(FrameTuple2DReadOnly tupleOriginal, FrameTuple2DBasics tupleTransformed, boolean checkIfTransformInXYPlane)
tupleOriginal
and stores the
result in tupleTransformed
.
tupleTransformed = this-1 * tupleOriginal * this
tupleOriginal
- the tuple to transform. Not modified.tupleTransformed
- the tuple to store the result. Modified.checkIfTransformInXYPlane
- whether this method should assert that this quaternion
represents a transformation in the XY plane.us.ihmc.euclid.exceptions.NotAMatrix2DException
- if checkIfTransformInXYPlane == true
and this quaternion
does not represent a transformation in the XY plane.ReferenceFrameMismatchException
- if reference frame of this
and
tupleOriginal
do not match.default void inverseTransform(FrameTuple2DReadOnly tupleOriginal, us.ihmc.euclid.tuple2D.interfaces.Tuple2DBasics tupleTransformed, boolean checkIfTransformInXYPlane)
tupleOriginal
and stores the
result in tupleTransformed
.
tupleTransformed = this-1 * tupleOriginal * this
tupleOriginal
- the tuple to transform. Not modified.tupleTransformed
- the tuple to store the result. Modified.checkIfTransformInXYPlane
- whether this method should assert that this quaternion
represents a transformation in the XY plane.us.ihmc.euclid.exceptions.NotAMatrix2DException
- if checkIfTransformInXYPlane == true
and this quaternion
does not represent a transformation in the XY plane.ReferenceFrameMismatchException
- if reference frame of this
and
tupleOriginal
do not match.default void inverseTransform(FixedFrameQuaternionBasics quaternionToTransform)
quaternionToTransform
.
quaternionToTransform = this-1 * quaternionToTransform * this
quaternionToTransform
- the quaternion to transform. Not modified.ReferenceFrameMismatchException
- if reference frame of this
and
quaternionToTransform
do not match.default void inverseTransform(FrameQuaternionReadOnly quaternionOriginal, us.ihmc.euclid.tuple4D.interfaces.QuaternionBasics quaternionTransformed)
quaternionOriginal
by this
quaternion and stores the result in quaternionTransformed
.
quaternionTransformed = this-1 * quaternionOriginal * this
quaternionOriginal
- the quaternion to transform. Not modified.quaternionTransformed
- the quaternion to store the result. Modified.ReferenceFrameMismatchException
- if reference frame of this
and
quaternionOriginal
do not match.default void inverseTransform(us.ihmc.euclid.tuple4D.interfaces.QuaternionReadOnly quaternionOriginal, FixedFrameQuaternionBasics quaternionTransformed)
quaternionOriginal
by this
quaternion and stores the result in quaternionTransformed
.
quaternionTransformed = this-1 * quaternionOriginal * this
quaternionOriginal
- the quaternion to transform. Not modified.quaternionTransformed
- the quaternion to store the result. Modified.ReferenceFrameMismatchException
- if reference frame of this
and
quaternionTransformed
do not match.default void inverseTransform(us.ihmc.euclid.tuple4D.interfaces.QuaternionReadOnly quaternionOriginal, FrameQuaternionBasics quaternionTransformed)
quaternionOriginal
by this
quaternion and stores the result in quaternionTransformed
.
quaternionTransformed = this-1 * quaternionOriginal * this
quaternionOriginal
- the quaternion to transform. Not modified.quaternionTransformed
- the quaternion to store the result. Modified.default void inverseTransform(FrameQuaternionReadOnly quaternionOriginal, FixedFrameQuaternionBasics quaternionTransformed)
quaternionOriginal
by this
quaternion and stores the result in quaternionTransformed
.
quaternionTransformed = this-1 * quaternionOriginal * this
quaternionOriginal
- the quaternion to transform. Not modified.quaternionTransformed
- the quaternion to store the result. Modified.ReferenceFrameMismatchException
- if reference frame of this
,
quaternionOriginal
, and quaternionTransformed
do not match.default void inverseTransform(FrameQuaternionReadOnly quaternionOriginal, FrameQuaternionBasics quaternionTransformed)
quaternionOriginal
by this
quaternion and stores the result in quaternionTransformed
.
quaternionTransformed = this-1 * quaternionOriginal * this
quaternionOriginal
- the quaternion to transform. Not modified.quaternionTransformed
- the quaternion to store the result. Modified.ReferenceFrameMismatchException
- if reference frame of this
and
quaternionOriginal
do not match.default void inverseTransform(FixedFrameVector4DBasics vectorToTransform)
vectorToTransform.s = vectorToTransform.s
vectorToTransform.xyz = this-1 * vectorToTransform.xyz * this
vectorToTransform
- the vector to transform. Modified.ReferenceFrameMismatchException
- if reference frame of this
and
vectorToTransform
do not match.default void inverseTransform(FrameVector4DReadOnly vectorOriginal, us.ihmc.euclid.tuple4D.interfaces.Vector4DBasics vectorTransformed)
vectorOriginal
by this quaternion and stores the result in vectorTransformed
.
vectorTransformed.s = vectorOriginal.s
vectorTransformed.xyz = this-1 * vectorOriginal.xyz * this
vectorOriginal
- the vector to transform. Not modified.vectorTransformed
- the vector in which the result is stored. Modified.ReferenceFrameMismatchException
- if reference frame of this
and
vectorOriginal
do not match.default void inverseTransform(us.ihmc.euclid.tuple4D.interfaces.Vector4DReadOnly vectorOriginal, FixedFrameVector4DBasics vectorTransformed)
vectorOriginal
by this quaternion and stores the result in vectorTransformed
.
vectorTransformed.s = vectorOriginal.s
vectorTransformed.xyz = this-1 * vectorOriginal.xyz * this
vectorOriginal
- the vector to transform. Not modified.vectorTransformed
- the vector in which the result is stored. Modified.ReferenceFrameMismatchException
- if reference frame of this
and
vectorTransformed
do not match.default void inverseTransform(us.ihmc.euclid.tuple4D.interfaces.Vector4DReadOnly vectorOriginal, FrameVector4DBasics vectorTransformed)
vectorOriginal
by this quaternion and stores the result in vectorTransformed
.
vectorTransformed.s = vectorOriginal.s
vectorTransformed.xyz = this-1 * vectorOriginal.xyz * this
vectorOriginal
- the vector to transform. Not modified.vectorTransformed
- the vector in which the result is stored. Modified.default void inverseTransform(FrameVector4DReadOnly vectorOriginal, FixedFrameVector4DBasics vectorTransformed)
vectorOriginal
by this quaternion and stores the result in vectorTransformed
.
vectorTransformed.s = vectorOriginal.s
vectorTransformed.xyz = this-1 * vectorOriginal.xyz * this
vectorOriginal
- the vector to transform. Not modified.vectorTransformed
- the vector in which the result is stored. Modified.ReferenceFrameMismatchException
- if reference frame of this
,
vectorOriginal
, and vectorTransformed
do not match.default void inverseTransform(FrameVector4DReadOnly vectorOriginal, FrameVector4DBasics vectorTransformed)
vectorOriginal
by this quaternion and stores the result in vectorTransformed
.
vectorTransformed.s = vectorOriginal.s
vectorTransformed.xyz = this-1 * vectorOriginal.xyz * this
vectorOriginal
- the vector to transform. Not modified.vectorTransformed
- the vector in which the result is stored. Modified.ReferenceFrameMismatchException
- if reference frame of this
and
vectorOriginal
do not match.default boolean geometricallyEquals(FrameQuaternionReadOnly other, double epsilon)
this
to other
to determine if the two frame quaternions are
geometrically similar, i.e. the magnitude of their difference is less than or equal to
epsilon
.other
- the frame quaternion to compare to. Not modified.epsilon
- the tolerance of the comparison.true
if the two frame quaternions represent the same geometry, false
otherwise.ReferenceFrameMismatchException
- if other
is not expressed in the same reference
frame as this
.