| Package | Description |
|---|---|
| org.joml |
Contains all classes of JOML.
|
| Modifier and Type | Method and Description |
|---|---|
Quaterniond |
Quaterniond.add(double x,
double y,
double z,
double w)
Add the quaternion
(x, y, z, w) to this quaternion. |
Quaterniond |
Quaterniond.add(double x,
double y,
double z,
double w,
Quaterniond dest) |
Quaterniond |
Quaterniondc.add(double x,
double y,
double z,
double w,
Quaterniond dest)
Add the quaternion
(x, y, z, w) to this quaternion and store the result in dest. |
Quaterniond |
Quaterniond.add(Quaterniondc q2)
Add
q2 to this quaternion. |
Quaterniond |
Quaterniond.add(Quaterniondc q2,
Quaterniond dest) |
Quaterniond |
Quaterniondc.add(Quaterniondc q2,
Quaterniond dest)
Add
q2 to this quaternion and store the result in dest. |
Quaterniond |
QuaterniondInterpolator.computeWeightedAverage(Quaterniond[] qs,
double[] weights,
int maxSvdIterations,
Quaterniond dest)
Compute the weighted average of all of the quaternions given in
qs using the specified interpolation factors weights, and store the result in dest. |
Quaterniond |
Quaterniond.conjugate()
Conjugate this quaternion.
|
Quaterniond |
Quaterniond.conjugate(Quaterniond dest) |
Quaterniond |
Quaterniondc.conjugate(Quaterniond dest)
Conjugate this quaternion and store the result in
dest. |
Quaterniond |
Quaterniond.difference(Quaterniondc other)
Compute the difference between
this and the other quaternion
and store the result in this. |
Quaterniond |
Quaterniond.difference(Quaterniondc other,
Quaterniond dest) |
Quaterniond |
Quaterniondc.difference(Quaterniondc other,
Quaterniond dest)
Compute the difference between
this and the other quaternion
and store the result in dest. |
Quaterniond |
Quaterniond.div(Quaterniondc b)
Divide
this quaternion by b. |
Quaterniond |
Quaterniond.div(Quaterniondc b,
Quaterniond dest) |
Quaterniond |
Quaterniondc.div(Quaterniondc b,
Quaterniond dest)
Divide
this quaternion by b and store the result in dest. |
Quaterniond |
Quaterniond.fromAxisAngleDeg(double axisX,
double axisY,
double axisZ,
double angle)
Set this quaternion to be a representation of the supplied axis and
angle (in degrees).
|
Quaterniond |
Quaterniond.fromAxisAngleDeg(Vector3dc axis,
double angle)
Set this quaternion to be a representation of the supplied axis and
angle (in degrees).
|
Quaterniond |
Quaterniond.fromAxisAngleRad(double axisX,
double axisY,
double axisZ,
double angle)
Set this quaternion to be a representation of the supplied axis and
angle (in radians).
|
Quaterniond |
Quaterniond.fromAxisAngleRad(Vector3dc axis,
double angle)
Set this quaternion to be a representation of the supplied axis and
angle (in radians).
|
Quaterniond |
Quaternionfc.get(Quaterniond dest)
Set the given
Quaterniond to the values of this. |
Quaterniond |
AxisAngle4f.get(Quaterniond q)
Set the given
Quaterniond to be equivalent to this AxisAngle4f rotation. |
Quaterniond |
AxisAngle4d.get(Quaterniond q)
Set the given
Quaterniond to be equivalent to this AxisAngle4d rotation. |
Quaterniond |
Quaterniond.get(Quaterniond dest)
Set the given
Quaterniond to the values of this. |
Quaterniond |
Quaterniondc.get(Quaterniond dest)
Set the given
Quaterniond to the values of this. |
Quaterniond |
Quaternionf.get(Quaterniond dest) |
Quaterniond |
Matrix4x3dc.getNormalizedRotation(Quaterniond dest)
Get the current values of
this matrix and store the represented rotation
into the given Quaterniond. |
Quaterniond |
Matrix4fc.getNormalizedRotation(Quaterniond dest)
Get the current values of
this matrix and store the represented rotation
into the given Quaterniond. |
Quaterniond |
Matrix4x3d.getNormalizedRotation(Quaterniond dest) |
Quaterniond |
Matrix3d.getNormalizedRotation(Quaterniond dest) |
Quaterniond |
Matrix4dc.getNormalizedRotation(Quaterniond dest)
Get the current values of
this matrix and store the represented rotation
into the given Quaterniond. |
Quaterniond |
Matrix4f.getNormalizedRotation(Quaterniond dest) |
Quaterniond |
Matrix3f.getNormalizedRotation(Quaterniond dest) |
Quaterniond |
Matrix4d.getNormalizedRotation(Quaterniond dest) |
Quaterniond |
Matrix3fc.getNormalizedRotation(Quaterniond dest)
Get the current values of
this matrix and store the represented rotation
into the given Quaterniond. |
Quaterniond |
Matrix4x3fc.getNormalizedRotation(Quaterniond dest)
Get the current values of
this matrix and store the represented rotation
into the given Quaterniond. |
Quaterniond |
Matrix3dc.getNormalizedRotation(Quaterniond dest)
Get the current values of
this matrix and store the represented rotation
into the given Quaterniond. |
Quaterniond |
Matrix4x3f.getNormalizedRotation(Quaterniond dest) |
Quaterniond |
Matrix4x3dc.getUnnormalizedRotation(Quaterniond dest)
Get the current values of
this matrix and store the represented rotation
into the given Quaterniond. |
Quaterniond |
Matrix4fc.getUnnormalizedRotation(Quaterniond dest)
Get the current values of
this matrix and store the represented rotation
into the given Quaterniond. |
Quaterniond |
Matrix4x3d.getUnnormalizedRotation(Quaterniond dest) |
Quaterniond |
Matrix3d.getUnnormalizedRotation(Quaterniond dest) |
Quaterniond |
Matrix4dc.getUnnormalizedRotation(Quaterniond dest)
Get the current values of
this matrix and store the represented rotation
into the given Quaterniond. |
Quaterniond |
Matrix4f.getUnnormalizedRotation(Quaterniond dest) |
Quaterniond |
Matrix3f.getUnnormalizedRotation(Quaterniond dest) |
Quaterniond |
Matrix4d.getUnnormalizedRotation(Quaterniond dest) |
Quaterniond |
Matrix3fc.getUnnormalizedRotation(Quaterniond dest)
Get the current values of
this matrix and store the represented rotation
into the given Quaterniond. |
Quaterniond |
Matrix4x3fc.getUnnormalizedRotation(Quaterniond dest)
Get the current values of
this matrix and store the represented rotation
into the given Quaterniond. |
Quaterniond |
Matrix3dc.getUnnormalizedRotation(Quaterniond dest)
Get the current values of
this matrix and store the represented rotation
into the given Quaterniond. |
Quaterniond |
Matrix4x3f.getUnnormalizedRotation(Quaterniond dest) |
Quaterniond |
Quaterniond.identity()
Set this quaternion to the identity.
|
Quaterniond |
Quaterniond.integrate(double dt,
double vx,
double vy,
double vz)
Integrate the rotation given by the angular velocity
(vx, vy, vz) around the x, y and z axis, respectively,
with respect to the given elapsed time delta dt and add the differentiate rotation to the rotation represented by this quaternion. |
Quaterniond |
Quaterniond.integrate(double dt,
double vx,
double vy,
double vz,
Quaterniond dest) |
Quaterniond |
Quaterniondc.integrate(double dt,
double vx,
double vy,
double vz,
Quaterniond dest)
Integrate the rotation given by the angular velocity
(vx, vy, vz) around the x, y and z axis, respectively,
with respect to the given elapsed time delta dt and add the differentiate rotation to the rotation represented by this quaternion
and store the result into dest. |
Quaterniond |
Quaterniond.invert()
Invert this quaternion and
normalize it. |
Quaterniond |
Quaterniond.invert(Quaterniond dest) |
Quaterniond |
Quaterniondc.invert(Quaterniond dest)
Invert this quaternion and store the
normalized result in dest. |
Quaterniond |
Quaterniond.lookAlong(double dirX,
double dirY,
double dirZ,
double upX,
double upY,
double upZ)
Apply a rotation to this quaternion that maps the given direction to the positive Z axis.
|
Quaterniond |
Quaterniond.lookAlong(double dirX,
double dirY,
double dirZ,
double upX,
double upY,
double upZ,
Quaterniond dest) |
Quaterniond |
Quaterniondc.lookAlong(double dirX,
double dirY,
double dirZ,
double upX,
double upY,
double upZ,
Quaterniond dest)
Apply a rotation to this quaternion that maps the given direction to the positive Z axis, and store the result in
dest. |
Quaterniond |
Quaterniond.lookAlong(Vector3dc dir,
Vector3dc up)
Apply a rotation to this quaternion that maps the given direction to the positive Z axis.
|
Quaterniond |
Quaterniond.lookAlong(Vector3dc dir,
Vector3dc up,
Quaterniond dest) |
Quaterniond |
Quaterniondc.lookAlong(Vector3dc dir,
Vector3dc up,
Quaterniond dest)
Apply a rotation to this quaternion that maps the given direction to the positive Z axis, and store the result in
dest. |
Quaterniond |
Quaterniond.mul(double qx,
double qy,
double qz,
double qw)
Multiply this quaternion by the quaternion represented via
(qx, qy, qz, qw). |
Quaterniond |
Quaterniond.mul(double qx,
double qy,
double qz,
double qw,
Quaterniond dest) |
Quaterniond |
Quaterniondc.mul(double qx,
double qy,
double qz,
double qw,
Quaterniond dest)
Multiply this quaternion by the quaternion represented via
(qx, qy, qz, qw) and store the result in dest. |
Quaterniond |
Quaterniond.mul(Quaterniondc q)
Multiply this quaternion by
q. |
Quaterniond |
Quaterniond.mul(Quaterniondc q,
Quaterniond dest) |
Quaterniond |
Quaterniondc.mul(Quaterniondc q,
Quaterniond dest)
Multiply this quaternion by
q and store the result in dest. |
Quaterniond |
Quaterniond.nlerp(Quaterniondc q,
double factor)
Compute a linear (non-spherical) interpolation of
this and the given quaternion q
and store the result in this. |
Quaterniond |
Quaterniond.nlerp(Quaterniondc q,
double factor,
Quaterniond dest) |
Quaterniond |
Quaterniondc.nlerp(Quaterniondc q,
double factor,
Quaterniond dest)
Compute a linear (non-spherical) interpolation of
this and the given quaternion q
and store the result in dest. |
static Quaterniond |
Quaterniond.nlerpIterative(Quaterniondc[] qs,
double[] weights,
double dotThreshold,
Quaterniond dest)
Interpolate between all of the quaternions given in
qs via iterative non-spherical linear interpolation using the
specified interpolation factors weights, and store the result in dest. |
Quaterniond |
Quaterniond.nlerpIterative(Quaterniondc q,
double alpha,
double dotThreshold)
Compute linear (non-spherical) interpolations of
this and the given quaternion q
iteratively and store the result in this. |
Quaterniond |
Quaterniond.nlerpIterative(Quaterniondc q,
double alpha,
double dotThreshold,
Quaterniond dest) |
Quaterniond |
Quaterniondc.nlerpIterative(Quaterniondc q,
double alpha,
double dotThreshold,
Quaterniond dest)
Compute linear (non-spherical) interpolations of
this and the given quaternion q
iteratively and store the result in dest. |
Quaterniond |
Quaterniond.normalize()
Normalize this quaternion.
|
Quaterniond |
Quaterniond.normalize(Quaterniond dest) |
Quaterniond |
Quaterniondc.normalize(Quaterniond dest)
Normalize this quaternion and store the result in
dest. |
Quaterniond |
Quaterniond.premul(double qx,
double qy,
double qz,
double qw)
Pre-multiply this quaternion by the quaternion represented via
(qx, qy, qz, qw). |
Quaterniond |
Quaterniond.premul(double qx,
double qy,
double qz,
double qw,
Quaterniond dest) |
Quaterniond |
Quaterniondc.premul(double qx,
double qy,
double qz,
double qw,
Quaterniond dest)
Pre-multiply this quaternion by the quaternion represented via
(qx, qy, qz, qw) and store the result in dest. |
Quaterniond |
Quaterniond.premul(Quaterniondc q)
Pre-multiply this quaternion by
q. |
Quaterniond |
Quaterniond.premul(Quaterniondc q,
Quaterniond dest) |
Quaterniond |
Quaterniondc.premul(Quaterniondc q,
Quaterniond dest)
Pre-multiply this quaternion by
q and store the result in dest. |
Quaterniond |
Quaterniond.rotateAxis(double angle,
double axisX,
double axisY,
double axisZ)
Apply a rotation to
this quaternion rotating the given radians about the specified axis. |
Quaterniond |
Quaterniond.rotateAxis(double angle,
double axisX,
double axisY,
double axisZ,
Quaterniond dest) |
Quaterniond |
Quaterniondc.rotateAxis(double angle,
double axisX,
double axisY,
double axisZ,
Quaterniond dest)
Apply a rotation to
this quaternion rotating the given radians about the specified axis
and store the result in dest. |
Quaterniond |
Quaterniond.rotateAxis(double angle,
Vector3dc axis)
Apply a rotation to
this quaternion rotating the given radians about the specified axis. |
Quaterniond |
Quaterniond.rotateAxis(double angle,
Vector3dc axis,
Quaterniond dest) |
Quaterniond |
Quaterniondc.rotateAxis(double angle,
Vector3dc axis,
Quaterniond dest)
Apply a rotation to
this quaternion rotating the given radians about the specified axis
and store the result in dest. |
Quaterniond |
Quaterniond.rotateLocalX(double angle)
Apply a rotation to
this quaternion rotating the given radians about the local x axis. |
Quaterniond |
Quaterniond.rotateLocalX(double angle,
Quaterniond dest) |
Quaterniond |
Quaterniondc.rotateLocalX(double angle,
Quaterniond dest)
Apply a rotation to
this quaternion rotating the given radians about the local x axis
and store the result in dest. |
Quaterniond |
Quaterniond.rotateLocalY(double angle)
Apply a rotation to
this quaternion rotating the given radians about the local y axis. |
Quaterniond |
Quaterniond.rotateLocalY(double angle,
Quaterniond dest) |
Quaterniond |
Quaterniondc.rotateLocalY(double angle,
Quaterniond dest)
Apply a rotation to
this quaternion rotating the given radians about the local y axis
and store the result in dest. |
Quaterniond |
Quaterniond.rotateLocalZ(double angle)
Apply a rotation to
this quaternion rotating the given radians about the local z axis. |
Quaterniond |
Quaterniond.rotateLocalZ(double angle,
Quaterniond dest) |
Quaterniond |
Quaterniondc.rotateLocalZ(double angle,
Quaterniond dest)
Apply a rotation to
this quaternion rotating the given radians about the local z axis
and store the result in dest. |
Quaterniond |
Quaterniond.rotateTo(double fromDirX,
double fromDirY,
double fromDirZ,
double toDirX,
double toDirY,
double toDirZ)
Apply a rotation to
this that rotates the fromDir vector to point along toDir. |
Quaterniond |
Quaterniond.rotateTo(double fromDirX,
double fromDirY,
double fromDirZ,
double toDirX,
double toDirY,
double toDirZ,
Quaterniond dest) |
Quaterniond |
Quaterniondc.rotateTo(double fromDirX,
double fromDirY,
double fromDirZ,
double toDirX,
double toDirY,
double toDirZ,
Quaterniond dest)
Apply a rotation to
this that rotates the fromDir vector to point along toDir and
store the result in dest. |
Quaterniond |
Quaterniond.rotateTo(Vector3dc fromDir,
Vector3dc toDir)
Apply a rotation to
this that rotates the fromDir vector to point along toDir. |
Quaterniond |
Quaterniond.rotateTo(Vector3dc fromDir,
Vector3dc toDir,
Quaterniond dest) |
Quaterniond |
Quaterniondc.rotateTo(Vector3dc fromDir,
Vector3dc toDir,
Quaterniond dest)
Apply a rotation to
this that rotates the fromDir vector to point along toDir and
store the result in dest. |
Quaterniond |
Quaterniond.rotateX(double angle)
Apply a rotation to
this quaternion rotating the given radians about the x axis. |
Quaterniond |
Quaterniond.rotateX(double angle,
Quaterniond dest) |
Quaterniond |
Quaterniondc.rotateX(double angle,
Quaterniond dest)
Apply a rotation to
this quaternion rotating the given radians about the x axis
and store the result in dest. |
Quaterniond |
Quaterniond.rotateXYZ(double angleX,
double angleY,
double angleZ)
Apply a rotation to
this quaternion rotating the given radians about the cartesian base unit axes,
called the euler angles using rotation sequence XYZ. |
Quaterniond |
Quaterniond.rotateXYZ(double angleX,
double angleY,
double angleZ,
Quaterniond dest) |
Quaterniond |
Quaterniondc.rotateXYZ(double angleX,
double angleY,
double angleZ,
Quaterniond dest)
Apply a rotation to
this quaternion rotating the given radians about the cartesian base unit axes,
called the euler angles using rotation sequence XYZ and store the result in dest. |
Quaterniond |
Quaterniond.rotateY(double angle)
Apply a rotation to
this quaternion rotating the given radians about the y axis. |
Quaterniond |
Quaterniond.rotateY(double angle,
Quaterniond dest) |
Quaterniond |
Quaterniondc.rotateY(double angle,
Quaterniond dest)
Apply a rotation to
this quaternion rotating the given radians about the y axis
and store the result in dest. |
Quaterniond |
Quaterniond.rotateYXZ(double angleZ,
double angleY,
double angleX)
Apply a rotation to
this quaternion rotating the given radians about the cartesian base unit axes,
called the euler angles, using the rotation sequence YXZ. |
Quaterniond |
Quaterniond.rotateYXZ(double angleY,
double angleX,
double angleZ,
Quaterniond dest) |
Quaterniond |
Quaterniondc.rotateYXZ(double angleY,
double angleX,
double angleZ,
Quaterniond dest)
Apply a rotation to
this quaternion rotating the given radians about the cartesian base unit axes,
called the euler angles, using the rotation sequence YXZ and store the result in dest. |
Quaterniond |
Quaterniond.rotateZ(double angle)
Apply a rotation to
this quaternion rotating the given radians about the z axis. |
Quaterniond |
Quaterniond.rotateZ(double angle,
Quaterniond dest) |
Quaterniond |
Quaterniondc.rotateZ(double angle,
Quaterniond dest)
Apply a rotation to
this quaternion rotating the given radians about the z axis
and store the result in dest. |
Quaterniond |
Quaterniond.rotateZYX(double angleZ,
double angleY,
double angleX)
Apply a rotation to
this quaternion rotating the given radians about the cartesian base unit axes,
called the euler angles, using the rotation sequence ZYX. |
Quaterniond |
Quaterniond.rotateZYX(double angleZ,
double angleY,
double angleX,
Quaterniond dest) |
Quaterniond |
Quaterniondc.rotateZYX(double angleZ,
double angleY,
double angleX,
Quaterniond dest)
Apply a rotation to
this quaternion rotating the given radians about the cartesian base unit axes,
called the euler angles, using the rotation sequence ZYX and store the result in dest. |
Quaterniond |
Quaterniond.rotationAxis(AxisAngle4f axisAngle)
Set this
Quaterniond to a rotation of the given angle in radians about the supplied
axis, all of which are specified via the AxisAngle4f. |
Quaterniond |
Quaterniond.rotationAxis(double angle,
double axisX,
double axisY,
double axisZ)
Set this quaternion to a rotation of the given angle in radians about the supplied axis.
|
Quaterniond |
Quaterniond.rotationTo(double fromDirX,
double fromDirY,
double fromDirZ,
double toDirX,
double toDirY,
double toDirZ)
Set
this quaternion to a rotation that rotates the fromDir vector to point along toDir. |
Quaterniond |
Vector3d.rotationTo(double toDirX,
double toDirY,
double toDirZ,
Quaterniond dest) |
Quaterniond |
Vector3dc.rotationTo(double toDirX,
double toDirY,
double toDirZ,
Quaterniond dest)
Compute the quaternion representing a rotation of
this vector to point along (toDirX, toDirY, toDirZ)
and store the result in dest. |
Quaterniond |
Vector3d.rotationTo(Vector3dc toDir,
Quaterniond dest) |
Quaterniond |
Vector3dc.rotationTo(Vector3dc toDir,
Quaterniond dest)
Compute the quaternion representing a rotation of
this vector to point along toDir
and store the result in dest. |
Quaterniond |
Quaterniond.rotationTo(Vector3dc fromDir,
Vector3dc toDir)
Set
this quaternion to a rotation that rotates the fromDir vector to point along toDir. |
Quaterniond |
Quaterniond.rotationX(double angle)
Set this quaternion to represent a rotation of the given radians about the x axis.
|
Quaterniond |
Quaterniond.rotationXYZ(double angleX,
double angleY,
double angleZ)
Set this quaternion from the supplied euler angles (in radians) with rotation order XYZ.
|
Quaterniond |
Quaterniond.rotationY(double angle)
Set this quaternion to represent a rotation of the given radians about the y axis.
|
Quaterniond |
Quaterniond.rotationYXZ(double angleY,
double angleX,
double angleZ)
Set this quaternion from the supplied euler angles (in radians) with rotation order YXZ.
|
Quaterniond |
Quaterniond.rotationZ(double angle)
Set this quaternion to represent a rotation of the given radians about the z axis.
|
Quaterniond |
Quaterniond.rotationZYX(double angleZ,
double angleY,
double angleX)
Set this quaternion from the supplied euler angles (in radians) with rotation order ZYX.
|
Quaterniond |
Quaterniond.scale(double factor)
Apply scaling to this quaternion, which results in any vector transformed by this quaternion to change
its length by the given
factor. |
Quaterniond |
Quaterniond.scale(double factor,
Quaterniond dest) |
Quaterniond |
Quaterniondc.scale(double factor,
Quaterniond dest)
Apply scaling to this quaternion, which results in any vector transformed by the quaternion to change
its length by the given
factor, and store the result in dest. |
Quaterniond |
Quaterniond.scaling(double factor)
Set this quaternion to represent scaling, which results in a transformed vector to change
its length by the given
factor. |
Quaterniond |
Quaterniond.set(AxisAngle4d axisAngle)
Set this
Quaterniond to be equivalent to the given
AxisAngle4d. |
Quaterniond |
Quaterniond.set(AxisAngle4f axisAngle)
Set this
Quaterniond to be equivalent to the given
AxisAngle4f. |
Quaterniond |
Quaterniond.set(double x,
double y,
double z,
double w)
Set this quaternion to the new values.
|
Quaterniond |
Quaterniond.set(Quaterniondc q)
Set this quaternion to be a copy of q.
|
Quaterniond |
Quaterniond.set(Quaternionfc q)
Set this quaternion to be a copy of q.
|
Quaterniond |
Quaterniond.setAngleAxis(double angle,
double x,
double y,
double z)
Set this quaternion to a rotation equivalent to the supplied axis and
angle (in radians).
|
Quaterniond |
Quaterniond.setAngleAxis(double angle,
Vector3dc axis)
Set this quaternion to be a representation of the supplied axis and
angle (in radians).
|
Quaterniond |
Quaterniond.setFromNormalized(Matrix3dc mat)
Set this quaternion to be a representation of the rotational component of the given matrix.
|
Quaterniond |
Quaterniond.setFromNormalized(Matrix3fc mat)
Set this quaternion to be a representation of the rotational component of the given matrix.
|
Quaterniond |
Quaterniond.setFromNormalized(Matrix4dc mat)
Set this quaternion to be a representation of the rotational component of the given matrix.
|
Quaterniond |
Quaterniond.setFromNormalized(Matrix4fc mat)
Set this quaternion to be a representation of the rotational component of the given matrix.
|
Quaterniond |
Quaterniond.setFromNormalized(Matrix4x3dc mat)
Set this quaternion to be a representation of the rotational component of the given matrix.
|
Quaterniond |
Quaterniond.setFromNormalized(Matrix4x3fc mat)
Set this quaternion to be a representation of the rotational component of the given matrix.
|
Quaterniond |
Quaterniond.setFromUnnormalized(Matrix3dc mat)
Set this quaternion to be a representation of the rotational component of the given matrix.
|
Quaterniond |
Quaterniond.setFromUnnormalized(Matrix3fc mat)
Set this quaternion to be a representation of the rotational component of the given matrix.
|
Quaterniond |
Quaterniond.setFromUnnormalized(Matrix4dc mat)
Set this quaternion to be a representation of the rotational component of the given matrix.
|
Quaterniond |
Quaterniond.setFromUnnormalized(Matrix4fc mat)
Set this quaternion to be a representation of the rotational component of the given matrix.
|
Quaterniond |
Quaterniond.setFromUnnormalized(Matrix4x3dc mat)
Set this quaternion to be a representation of the rotational component of the given matrix.
|
Quaterniond |
Quaterniond.setFromUnnormalized(Matrix4x3fc mat)
Set this quaternion to be a representation of the rotational component of the given matrix.
|
Quaterniond |
Quaterniond.slerp(Quaterniondc target,
double alpha)
|
Quaterniond |
Quaterniond.slerp(Quaterniondc target,
double alpha,
Quaterniond dest) |
Quaterniond |
Quaterniondc.slerp(Quaterniondc target,
double alpha,
Quaterniond dest)
|
| Modifier and Type | Method and Description |
|---|---|
Quaterniond |
Quaterniond.add(double x,
double y,
double z,
double w,
Quaterniond dest) |
Quaterniond |
Quaterniondc.add(double x,
double y,
double z,
double w,
Quaterniond dest)
Add the quaternion
(x, y, z, w) to this quaternion and store the result in dest. |
Quaterniond |
Quaterniond.add(Quaterniondc q2,
Quaterniond dest) |
Quaterniond |
Quaterniondc.add(Quaterniondc q2,
Quaterniond dest)
Add
q2 to this quaternion and store the result in dest. |
Quaterniond |
QuaterniondInterpolator.computeWeightedAverage(Quaterniond[] qs,
double[] weights,
int maxSvdIterations,
Quaterniond dest)
Compute the weighted average of all of the quaternions given in
qs using the specified interpolation factors weights, and store the result in dest. |
Quaterniond |
QuaterniondInterpolator.computeWeightedAverage(Quaterniond[] qs,
double[] weights,
int maxSvdIterations,
Quaterniond dest)
Compute the weighted average of all of the quaternions given in
qs using the specified interpolation factors weights, and store the result in dest. |
Quaterniond |
Quaterniond.conjugate(Quaterniond dest) |
Quaterniond |
Quaterniondc.conjugate(Quaterniond dest)
Conjugate this quaternion and store the result in
dest. |
Quaterniond |
Quaterniond.difference(Quaterniondc other,
Quaterniond dest) |
Quaterniond |
Quaterniondc.difference(Quaterniondc other,
Quaterniond dest)
Compute the difference between
this and the other quaternion
and store the result in dest. |
Quaterniond |
Quaterniond.div(Quaterniondc b,
Quaterniond dest) |
Quaterniond |
Quaterniondc.div(Quaterniondc b,
Quaterniond dest)
Divide
this quaternion by b and store the result in dest. |
Quaterniond |
Quaternionfc.get(Quaterniond dest)
Set the given
Quaterniond to the values of this. |
Quaterniond |
AxisAngle4f.get(Quaterniond q)
Set the given
Quaterniond to be equivalent to this AxisAngle4f rotation. |
Quaterniond |
AxisAngle4d.get(Quaterniond q)
Set the given
Quaterniond to be equivalent to this AxisAngle4d rotation. |
Quaterniond |
Quaterniond.get(Quaterniond dest)
Set the given
Quaterniond to the values of this. |
Quaterniond |
Quaterniondc.get(Quaterniond dest)
Set the given
Quaterniond to the values of this. |
Quaterniond |
Quaternionf.get(Quaterniond dest) |
Quaterniond |
Matrix4x3dc.getNormalizedRotation(Quaterniond dest)
Get the current values of
this matrix and store the represented rotation
into the given Quaterniond. |
Quaterniond |
Matrix4fc.getNormalizedRotation(Quaterniond dest)
Get the current values of
this matrix and store the represented rotation
into the given Quaterniond. |
Quaterniond |
Matrix4x3d.getNormalizedRotation(Quaterniond dest) |
Quaterniond |
Matrix3d.getNormalizedRotation(Quaterniond dest) |
Quaterniond |
Matrix4dc.getNormalizedRotation(Quaterniond dest)
Get the current values of
this matrix and store the represented rotation
into the given Quaterniond. |
Quaterniond |
Matrix4f.getNormalizedRotation(Quaterniond dest) |
Quaterniond |
Matrix3f.getNormalizedRotation(Quaterniond dest) |
Quaterniond |
Matrix4d.getNormalizedRotation(Quaterniond dest) |
Quaterniond |
Matrix3fc.getNormalizedRotation(Quaterniond dest)
Get the current values of
this matrix and store the represented rotation
into the given Quaterniond. |
Quaterniond |
Matrix4x3fc.getNormalizedRotation(Quaterniond dest)
Get the current values of
this matrix and store the represented rotation
into the given Quaterniond. |
Quaterniond |
Matrix3dc.getNormalizedRotation(Quaterniond dest)
Get the current values of
this matrix and store the represented rotation
into the given Quaterniond. |
Quaterniond |
Matrix4x3f.getNormalizedRotation(Quaterniond dest) |
Quaterniond |
Matrix4x3dc.getUnnormalizedRotation(Quaterniond dest)
Get the current values of
this matrix and store the represented rotation
into the given Quaterniond. |
Quaterniond |
Matrix4fc.getUnnormalizedRotation(Quaterniond dest)
Get the current values of
this matrix and store the represented rotation
into the given Quaterniond. |
Quaterniond |
Matrix4x3d.getUnnormalizedRotation(Quaterniond dest) |
Quaterniond |
Matrix3d.getUnnormalizedRotation(Quaterniond dest) |
Quaterniond |
Matrix4dc.getUnnormalizedRotation(Quaterniond dest)
Get the current values of
this matrix and store the represented rotation
into the given Quaterniond. |
Quaterniond |
Matrix4f.getUnnormalizedRotation(Quaterniond dest) |
Quaterniond |
Matrix3f.getUnnormalizedRotation(Quaterniond dest) |
Quaterniond |
Matrix4d.getUnnormalizedRotation(Quaterniond dest) |
Quaterniond |
Matrix3fc.getUnnormalizedRotation(Quaterniond dest)
Get the current values of
this matrix and store the represented rotation
into the given Quaterniond. |
Quaterniond |
Matrix4x3fc.getUnnormalizedRotation(Quaterniond dest)
Get the current values of
this matrix and store the represented rotation
into the given Quaterniond. |
Quaterniond |
Matrix3dc.getUnnormalizedRotation(Quaterniond dest)
Get the current values of
this matrix and store the represented rotation
into the given Quaterniond. |
Quaterniond |
Matrix4x3f.getUnnormalizedRotation(Quaterniond dest) |
Quaterniond |
Quaterniond.integrate(double dt,
double vx,
double vy,
double vz,
Quaterniond dest) |
Quaterniond |
Quaterniondc.integrate(double dt,
double vx,
double vy,
double vz,
Quaterniond dest)
Integrate the rotation given by the angular velocity
(vx, vy, vz) around the x, y and z axis, respectively,
with respect to the given elapsed time delta dt and add the differentiate rotation to the rotation represented by this quaternion
and store the result into dest. |
Quaterniond |
Quaterniond.invert(Quaterniond dest) |
Quaterniond |
Quaterniondc.invert(Quaterniond dest)
Invert this quaternion and store the
normalized result in dest. |
Quaterniond |
Quaterniond.lookAlong(double dirX,
double dirY,
double dirZ,
double upX,
double upY,
double upZ,
Quaterniond dest) |
Quaterniond |
Quaterniondc.lookAlong(double dirX,
double dirY,
double dirZ,
double upX,
double upY,
double upZ,
Quaterniond dest)
Apply a rotation to this quaternion that maps the given direction to the positive Z axis, and store the result in
dest. |
Quaterniond |
Quaterniond.lookAlong(Vector3dc dir,
Vector3dc up,
Quaterniond dest) |
Quaterniond |
Quaterniondc.lookAlong(Vector3dc dir,
Vector3dc up,
Quaterniond dest)
Apply a rotation to this quaternion that maps the given direction to the positive Z axis, and store the result in
dest. |
Quaterniond |
Quaterniond.mul(double qx,
double qy,
double qz,
double qw,
Quaterniond dest) |
Quaterniond |
Quaterniondc.mul(double qx,
double qy,
double qz,
double qw,
Quaterniond dest)
Multiply this quaternion by the quaternion represented via
(qx, qy, qz, qw) and store the result in dest. |
Quaterniond |
Quaterniond.mul(Quaterniondc q,
Quaterniond dest) |
Quaterniond |
Quaterniondc.mul(Quaterniondc q,
Quaterniond dest)
Multiply this quaternion by
q and store the result in dest. |
static Quaterniondc |
Quaterniond.nlerp(Quaterniond[] qs,
double[] weights,
Quaterniond dest)
Interpolate between all of the quaternions given in
qs via non-spherical linear interpolation using the
specified interpolation factors weights, and store the result in dest. |
static Quaterniondc |
Quaterniond.nlerp(Quaterniond[] qs,
double[] weights,
Quaterniond dest)
Interpolate between all of the quaternions given in
qs via non-spherical linear interpolation using the
specified interpolation factors weights, and store the result in dest. |
Quaterniond |
Quaterniond.nlerp(Quaterniondc q,
double factor,
Quaterniond dest) |
Quaterniond |
Quaterniondc.nlerp(Quaterniondc q,
double factor,
Quaterniond dest)
Compute a linear (non-spherical) interpolation of
this and the given quaternion q
and store the result in dest. |
static Quaterniond |
Quaterniond.nlerpIterative(Quaterniondc[] qs,
double[] weights,
double dotThreshold,
Quaterniond dest)
Interpolate between all of the quaternions given in
qs via iterative non-spherical linear interpolation using the
specified interpolation factors weights, and store the result in dest. |
Quaterniond |
Quaterniond.nlerpIterative(Quaterniondc q,
double alpha,
double dotThreshold,
Quaterniond dest) |
Quaterniond |
Quaterniondc.nlerpIterative(Quaterniondc q,
double alpha,
double dotThreshold,
Quaterniond dest)
Compute linear (non-spherical) interpolations of
this and the given quaternion q
iteratively and store the result in dest. |
Quaterniond |
Quaterniond.normalize(Quaterniond dest) |
Quaterniond |
Quaterniondc.normalize(Quaterniond dest)
Normalize this quaternion and store the result in
dest. |
Quaterniond |
Quaterniond.premul(double qx,
double qy,
double qz,
double qw,
Quaterniond dest) |
Quaterniond |
Quaterniondc.premul(double qx,
double qy,
double qz,
double qw,
Quaterniond dest)
Pre-multiply this quaternion by the quaternion represented via
(qx, qy, qz, qw) and store the result in dest. |
Quaterniond |
Quaterniond.premul(Quaterniondc q,
Quaterniond dest) |
Quaterniond |
Quaterniondc.premul(Quaterniondc q,
Quaterniond dest)
Pre-multiply this quaternion by
q and store the result in dest. |
Quaterniond |
Quaterniond.rotateAxis(double angle,
double axisX,
double axisY,
double axisZ,
Quaterniond dest) |
Quaterniond |
Quaterniondc.rotateAxis(double angle,
double axisX,
double axisY,
double axisZ,
Quaterniond dest)
Apply a rotation to
this quaternion rotating the given radians about the specified axis
and store the result in dest. |
Quaterniond |
Quaterniond.rotateAxis(double angle,
Vector3dc axis,
Quaterniond dest) |
Quaterniond |
Quaterniondc.rotateAxis(double angle,
Vector3dc axis,
Quaterniond dest)
Apply a rotation to
this quaternion rotating the given radians about the specified axis
and store the result in dest. |
Quaterniond |
Quaterniond.rotateLocalX(double angle,
Quaterniond dest) |
Quaterniond |
Quaterniondc.rotateLocalX(double angle,
Quaterniond dest)
Apply a rotation to
this quaternion rotating the given radians about the local x axis
and store the result in dest. |
Quaterniond |
Quaterniond.rotateLocalY(double angle,
Quaterniond dest) |
Quaterniond |
Quaterniondc.rotateLocalY(double angle,
Quaterniond dest)
Apply a rotation to
this quaternion rotating the given radians about the local y axis
and store the result in dest. |
Quaterniond |
Quaterniond.rotateLocalZ(double angle,
Quaterniond dest) |
Quaterniond |
Quaterniondc.rotateLocalZ(double angle,
Quaterniond dest)
Apply a rotation to
this quaternion rotating the given radians about the local z axis
and store the result in dest. |
Quaterniond |
Quaterniond.rotateTo(double fromDirX,
double fromDirY,
double fromDirZ,
double toDirX,
double toDirY,
double toDirZ,
Quaterniond dest) |
Quaterniond |
Quaterniondc.rotateTo(double fromDirX,
double fromDirY,
double fromDirZ,
double toDirX,
double toDirY,
double toDirZ,
Quaterniond dest)
Apply a rotation to
this that rotates the fromDir vector to point along toDir and
store the result in dest. |
Quaterniond |
Quaterniond.rotateTo(Vector3dc fromDir,
Vector3dc toDir,
Quaterniond dest) |
Quaterniond |
Quaterniondc.rotateTo(Vector3dc fromDir,
Vector3dc toDir,
Quaterniond dest)
Apply a rotation to
this that rotates the fromDir vector to point along toDir and
store the result in dest. |
Quaterniond |
Quaterniond.rotateX(double angle,
Quaterniond dest) |
Quaterniond |
Quaterniondc.rotateX(double angle,
Quaterniond dest)
Apply a rotation to
this quaternion rotating the given radians about the x axis
and store the result in dest. |
Quaterniond |
Quaterniond.rotateXYZ(double angleX,
double angleY,
double angleZ,
Quaterniond dest) |
Quaterniond |
Quaterniondc.rotateXYZ(double angleX,
double angleY,
double angleZ,
Quaterniond dest)
Apply a rotation to
this quaternion rotating the given radians about the cartesian base unit axes,
called the euler angles using rotation sequence XYZ and store the result in dest. |
Quaterniond |
Quaterniond.rotateY(double angle,
Quaterniond dest) |
Quaterniond |
Quaterniondc.rotateY(double angle,
Quaterniond dest)
Apply a rotation to
this quaternion rotating the given radians about the y axis
and store the result in dest. |
Quaterniond |
Quaterniond.rotateYXZ(double angleY,
double angleX,
double angleZ,
Quaterniond dest) |
Quaterniond |
Quaterniondc.rotateYXZ(double angleY,
double angleX,
double angleZ,
Quaterniond dest)
Apply a rotation to
this quaternion rotating the given radians about the cartesian base unit axes,
called the euler angles, using the rotation sequence YXZ and store the result in dest. |
Quaterniond |
Quaterniond.rotateZ(double angle,
Quaterniond dest) |
Quaterniond |
Quaterniondc.rotateZ(double angle,
Quaterniond dest)
Apply a rotation to
this quaternion rotating the given radians about the z axis
and store the result in dest. |
Quaterniond |
Quaterniond.rotateZYX(double angleZ,
double angleY,
double angleX,
Quaterniond dest) |
Quaterniond |
Quaterniondc.rotateZYX(double angleZ,
double angleY,
double angleX,
Quaterniond dest)
Apply a rotation to
this quaternion rotating the given radians about the cartesian base unit axes,
called the euler angles, using the rotation sequence ZYX and store the result in dest. |
Quaterniond |
Vector3d.rotationTo(double toDirX,
double toDirY,
double toDirZ,
Quaterniond dest) |
Quaterniond |
Vector3dc.rotationTo(double toDirX,
double toDirY,
double toDirZ,
Quaterniond dest)
Compute the quaternion representing a rotation of
this vector to point along (toDirX, toDirY, toDirZ)
and store the result in dest. |
Quaterniond |
Vector3d.rotationTo(Vector3dc toDir,
Quaterniond dest) |
Quaterniond |
Vector3dc.rotationTo(Vector3dc toDir,
Quaterniond dest)
Compute the quaternion representing a rotation of
this vector to point along toDir
and store the result in dest. |
Quaterniond |
Quaterniond.scale(double factor,
Quaterniond dest) |
Quaterniond |
Quaterniondc.scale(double factor,
Quaterniond dest)
Apply scaling to this quaternion, which results in any vector transformed by the quaternion to change
its length by the given
factor, and store the result in dest. |
static Quaterniondc |
Quaterniond.slerp(Quaterniond[] qs,
double[] weights,
Quaterniond dest)
Interpolate between all of the quaternions given in
qs via spherical linear interpolation using the specified interpolation factors weights,
and store the result in dest. |
static Quaterniondc |
Quaterniond.slerp(Quaterniond[] qs,
double[] weights,
Quaterniond dest)
Interpolate between all of the quaternions given in
qs via spherical linear interpolation using the specified interpolation factors weights,
and store the result in dest. |
Quaterniond |
Quaterniond.slerp(Quaterniondc target,
double alpha,
Quaterniond dest) |
Quaterniond |
Quaterniondc.slerp(Quaterniondc target,
double alpha,
Quaterniond dest)
|
Copyright © 2015–2019 JOML. All rights reserved.