Uses of Interface
org.joml.Quaterniondc
Packages that use Quaterniondc
-
Uses of Quaterniondc in org.joml
Classes in org.joml that implement QuaterniondcModifier and TypeClassDescriptionclassQuaternion of 4 double-precision floats which can represent rotation and uniform scaling.Methods in org.joml that return QuaterniondcModifier and TypeMethodDescriptionstatic QuaterniondcQuaterniond.nlerp(Quaterniond[] qs, double[] weights, Quaterniond dest) Interpolate between all of the quaternions given inqsvia non-spherical linear interpolation using the specified interpolation factorsweights, and store the result indest.static QuaterniondcQuaterniond.slerp(Quaterniond[] qs, double[] weights, Quaterniond dest) Interpolate between all of the quaternions given inqsvia spherical linear interpolation using the specified interpolation factorsweights, and store the result indest.Methods in org.joml with parameters of type QuaterniondcModifier and TypeMethodDescriptionQuaterniond.add(Quaterniondc q2) Addq2to this quaternion.Quaterniond.add(Quaterniondc q2, Quaterniond dest) Quaterniondc.add(Quaterniondc q2, Quaterniond dest) Addq2to this quaternion and store the result indest.Quaterniond.conjugateBy(Quaterniondc q) Conjugatethisby the given quaternionqby computingq * this * q^-1.Quaterniond.conjugateBy(Quaterniondc q, Quaterniond dest) Conjugatethisby the given quaternionqby computingq * this * q^-1and store the result intodest.Quaterniondc.conjugateBy(Quaterniondc q, Quaterniond dest) Conjugatethisby the given quaternionqby computingq * this * q^-1and store the result intodest.Quaterniond.difference(Quaterniondc other) Compute the difference betweenthisand theotherquaternion and store the result inthis.Quaterniond.difference(Quaterniondc other, Quaterniond dest) Quaterniondc.difference(Quaterniondc other, Quaterniond dest) Compute the difference betweenthisand theotherquaternion and store the result indest.Quaterniond.div(Quaterniondc b) Dividethisquaternion byb.Quaterniond.div(Quaterniondc b, Quaterniond dest) Quaterniondc.div(Quaterniondc b, Quaterniond dest) Dividethisquaternion byband store the result indest.doubleQuaterniond.dot(Quaterniondc otherQuat) doubleQuaterniondc.dot(Quaterniondc otherQuat) Return the dot product of thisQuaterniondandotherQuat.booleanQuaterniond.equals(Quaterniondc q, double delta) booleanQuaterniondc.equals(Quaterniondc q, double delta) Compare the quaternion components ofthisquaternion with the given quaternion using the givendeltaand return whether all of them are equal within a maximum difference ofdelta.Quaterniond.mul(Quaterniondc q) Multiply this quaternion byq.Quaterniond.mul(Quaterniondc q, Quaterniond dest) Quaterniondc.mul(Quaterniondc q, Quaterniond dest) Multiply this quaternion byqand store the result indest.Quaterniond.nlerp(Quaterniondc q, double factor) Compute a linear (non-spherical) interpolation ofthisand the given quaternionqand store the result inthis.Quaterniond.nlerp(Quaterniondc q, double factor, Quaterniond dest) Quaterniondc.nlerp(Quaterniondc q, double factor, Quaterniond dest) Compute a linear (non-spherical) interpolation ofthisand the given quaternionqand store the result indest.static QuaterniondQuaterniond.nlerpIterative(Quaterniondc[] qs, double[] weights, double dotThreshold, Quaterniond dest) Interpolate between all of the quaternions given inqsvia iterative non-spherical linear interpolation using the specified interpolation factorsweights, and store the result indest.Quaterniond.nlerpIterative(Quaterniondc q, double alpha, double dotThreshold) Compute linear (non-spherical) interpolations ofthisand the given quaternionqiteratively and store the result inthis.Quaterniond.nlerpIterative(Quaterniondc q, double alpha, double dotThreshold, Quaterniond dest) Quaterniondc.nlerpIterative(Quaterniondc q, double alpha, double dotThreshold, Quaterniond dest) Compute linear (non-spherical) interpolations ofthisand the given quaternionqiteratively and store the result indest.Quaterniond.premul(Quaterniondc q) Pre-multiply this quaternion byq.Quaterniond.premul(Quaterniondc q, Quaterniond dest) Quaterniondc.premul(Quaterniondc q, Quaterniond dest) Pre-multiply this quaternion byqand store the result indest.Matrix3d.reflect(Quaterniondc orientation) Apply a mirror/reflection transformation to this matrix that reflects about a plane specified via the plane orientation.Matrix3d.reflect(Quaterniondc orientation, Matrix3d dest) Matrix3dc.reflect(Quaterniondc orientation, Matrix3d dest) Apply a mirror/reflection transformation to this matrix that reflects through a plane specified via the plane orientation, and store the result indest.Matrix4d.reflect(Quaterniondc orientation, Vector3dc point) Apply a mirror/reflection transformation to this matrix that reflects about a plane specified via the plane orientation and a point on the plane.Matrix4d.reflect(Quaterniondc orientation, Vector3dc point, Matrix4d dest) Matrix4dc.reflect(Quaterniondc orientation, Vector3dc point, Matrix4d dest) Apply a mirror/reflection transformation to this matrix that reflects about a plane specified via the plane orientation and a point on the plane, and store the result indest.Matrix4x3d.reflect(Quaterniondc orientation, Vector3dc point) Apply a mirror/reflection transformation to this matrix that reflects about a plane specified via the plane orientation and a point on the plane.Matrix4x3d.reflect(Quaterniondc orientation, Vector3dc point, Matrix4x3d dest) Matrix4x3dc.reflect(Quaterniondc orientation, Vector3dc point, Matrix4x3d dest) Apply a mirror/reflection transformation to this matrix that reflects about a plane specified via the plane orientation and a point on the plane, and store the result indest.Matrix3d.reflection(Quaterniondc orientation) Set this matrix to a mirror/reflection transformation that reflects through a plane specified via the plane orientation.Matrix4d.reflection(Quaterniondc orientation, Vector3dc point) Set this matrix to a mirror/reflection transformation that reflects about a plane specified via the plane orientation and a point on the plane.Matrix4x3d.reflection(Quaterniondc orientation, Vector3dc point) Set this matrix to a mirror/reflection transformation that reflects about a plane specified via the plane orientation and a point on the plane.Matrix3d.rotate(Quaterniondc quat) Apply the rotation - and possibly scaling - transformation of the givenQuaterniondcto this matrix.Matrix3d.rotate(Quaterniondc quat, Matrix3d dest) Apply the rotation - and possibly scaling - transformation of the givenQuaterniondcto this matrix and store the result indest.Matrix3dc.rotate(Quaterniondc quat, Matrix3d dest) Apply the rotation - and possibly scaling - transformation of the givenQuaterniondcto this matrix and store the result indest.Matrix4d.rotate(Quaterniondc quat) Apply the rotation - and possibly scaling - transformation of the givenQuaterniondcto this matrix.Matrix4d.rotate(Quaterniondc quat, Matrix4d dest) Apply the rotation - and possibly scaling - transformation of the givenQuaterniondcto this matrix and store the result indest.Matrix4dc.rotate(Quaterniondc quat, Matrix4d dest) Apply the rotation - and possibly scaling - transformation of the givenQuaterniondcto this matrix and store the result indest.Matrix4x3d.rotate(Quaterniondc quat) Apply the rotation - and possibly scaling - transformation of the givenQuaterniondcto this matrix.Matrix4x3d.rotate(Quaterniondc quat, Matrix4x3d dest) Apply the rotation - and possibly scaling - transformation of the givenQuaterniondcto this matrix and store the result indest.Matrix4x3dc.rotate(Quaterniondc quat, Matrix4x3d dest) Apply the rotation - and possibly scaling - transformation of the givenQuaterniondcto this matrix and store the result indest.Vector3d.rotate(Quaterniondc quat) Rotate this vector by the given quaternionquatand store the result inthis.Vector3d.rotate(Quaterniondc quat, Vector3d dest) Vector3dc.rotate(Quaterniondc quat, Vector3d dest) Rotate this vector by the given quaternionquatand store the result indest.Vector4d.rotate(Quaterniondc quat) Transform this vector by the given quaternionquatand store the result inthis.Vector4d.rotate(Quaterniondc quat, Vector4d dest) Vector4dc.rotate(Quaterniondc quat, Vector4d dest) Transform this vector by the given quaternionquatand store the result indest.Matrix4d.rotateAffine(Quaterniondc quat) Apply the rotation - and possibly scaling - transformation of the givenQuaterniondcto this matrix.Matrix4d.rotateAffine(Quaterniondc quat, Matrix4d dest) Apply the rotation - and possibly scaling - transformation of the givenQuaterniondcto thisaffinematrix and store the result indest.Matrix4dc.rotateAffine(Quaterniondc quat, Matrix4d dest) Apply the rotation - and possibly scaling - transformation of the givenQuaterniondcto thisaffinematrix and store the result indest.Matrix4d.rotateAround(Quaterniondc quat, double ox, double oy, double oz) Apply the rotation transformation of the givenQuaterniondcto this matrix while using(ox, oy, oz)as the rotation origin.Matrix4d.rotateAround(Quaterniondc quat, double ox, double oy, double oz, Matrix4d dest) Matrix4dc.rotateAround(Quaterniondc quat, double ox, double oy, double oz, Matrix4d dest) Apply the rotation - and possibly scaling - transformation of the givenQuaterniondcto this matrix while using(ox, oy, oz)as the rotation origin, and store the result indest.Matrix4x3d.rotateAround(Quaterniondc quat, double ox, double oy, double oz) Apply the rotation transformation of the givenQuaterniondcto this matrix while using(ox, oy, oz)as the rotation origin.Matrix4x3d.rotateAround(Quaterniondc quat, double ox, double oy, double oz, Matrix4x3d dest) Matrix4x3dc.rotateAround(Quaterniondc quat, double ox, double oy, double oz, Matrix4x3d dest) Apply the rotation - and possibly scaling - transformation of the givenQuaterniondcto this matrix while using(ox, oy, oz)as the rotation origin, and store the result indest.Matrix4d.rotateAroundAffine(Quaterniondc quat, double ox, double oy, double oz, Matrix4d dest) Matrix4dc.rotateAroundAffine(Quaterniondc quat, double ox, double oy, double oz, Matrix4d dest) Apply the rotation - and possibly scaling - transformation of the givenQuaterniondcto thisaffinematrix while using(ox, oy, oz)as the rotation origin, and store the result indest.Matrix4d.rotateAroundLocal(Quaterniondc quat, double ox, double oy, double oz) Pre-multiply the rotation - and possibly scaling - transformation of the givenQuaterniondcto this matrix while using(ox, oy, oz)as the rotation origin.Matrix4d.rotateAroundLocal(Quaterniondc quat, double ox, double oy, double oz, Matrix4d dest) Matrix4dc.rotateAroundLocal(Quaterniondc quat, double ox, double oy, double oz, Matrix4d dest) Pre-multiply the rotation - and possibly scaling - transformation of the givenQuaterniondcto this matrix while using(ox, oy, oz)as the rotation origin, and store the result indest.Matrix3d.rotateLocal(Quaterniondc quat) Pre-multiply the rotation - and possibly scaling - transformation of the givenQuaterniondcto this matrix.Matrix3d.rotateLocal(Quaterniondc quat, Matrix3d dest) Pre-multiply the rotation - and possibly scaling - transformation of the givenQuaterniondcto this matrix and store the result indest.Matrix3dc.rotateLocal(Quaterniondc quat, Matrix3d dest) Pre-multiply the rotation - and possibly scaling - transformation of the givenQuaterniondcto this matrix and store the result indest.Matrix4d.rotateLocal(Quaterniondc quat) Pre-multiply the rotation - and possibly scaling - transformation of the givenQuaterniondcto this matrix.Matrix4d.rotateLocal(Quaterniondc quat, Matrix4d dest) Pre-multiply the rotation - and possibly scaling - transformation of the givenQuaterniondcto this matrix and store the result indest.Matrix4dc.rotateLocal(Quaterniondc quat, Matrix4d dest) Pre-multiply the rotation - and possibly scaling - transformation of the givenQuaterniondcto this matrix and store the result indest.Matrix4x3d.rotateLocal(Quaterniondc quat) Pre-multiply the rotation transformation of the givenQuaterniondcto this matrix.Matrix4x3d.rotateLocal(Quaterniondc quat, Matrix4x3d dest) Pre-multiply the rotation - and possibly scaling - transformation of the givenQuaterniondcto this matrix and store the result indest.Matrix4x3dc.rotateLocal(Quaterniondc quat, Matrix4x3d dest) Pre-multiply the rotation - and possibly scaling - transformation of the givenQuaterniondcto this matrix and store the result indest.Matrix4d.rotateTranslation(Quaterniondc quat, Matrix4d dest) Apply the rotation - and possibly scaling - transformation of the givenQuaterniondcto this matrix, which is assumed to only contain a translation, and store the result indest.Matrix4dc.rotateTranslation(Quaterniondc quat, Matrix4d dest) Apply the rotation - and possibly scaling - transformation of the givenQuaterniondcto this matrix, which is assumed to only contain a translation, and store the result indest.Matrix4x3d.rotateTranslation(Quaterniondc quat, Matrix4x3d dest) Apply the rotation - and possibly scaling - transformation of the givenQuaterniondcto this matrix, which is assumed to only contain a translation, and store the result indest.Matrix4x3dc.rotateTranslation(Quaterniondc quat, Matrix4x3d dest) Apply the rotation - and possibly scaling - transformation of the givenQuaterniondcto this matrix, which is assumed to only contain a translation, and store the result indest.Matrix3d.rotation(Quaterniondc quat) Set this matrix to the rotation - and possibly scaling - transformation of the givenQuaterniondc.Matrix4d.rotation(Quaterniondc quat) Set this matrix to the rotation - and possibly scaling - transformation of the givenQuaterniondc.Matrix4x3d.rotation(Quaterniondc quat) Set this matrix to the rotation - and possibly scaling - transformation of the givenQuaterniondc.Matrix4d.rotationAround(Quaterniondc quat, double ox, double oy, double oz) Set this matrix to a transformation composed of a rotation of the specifiedQuaterniondcwhile using(ox, oy, oz)as the rotation origin.Matrix4x3d.rotationAround(Quaterniondc quat, double ox, double oy, double oz) Set this matrix to a transformation composed of a rotation of the specifiedQuaterniondcwhile using(ox, oy, oz)as the rotation origin.AxisAngle4d.set(Quaterniondc q) Set thisAxisAngle4dto be equivalent to the givenQuaterniondc.AxisAngle4f.set(Quaterniondc q) Set thisAxisAngle4fto be equivalent to the givenQuaterniondc.Matrix3d.set(Quaterniondc q) Set this matrix to a rotation - and possibly scaling - equivalent to the given quaternion.Matrix3f.set(Quaterniondc q) Set this matrix to a rotation - and possibly scaling - equivalent to the given quaternion.Matrix4d.set(Quaterniondc q) Set this matrix to be equivalent to the rotation - and possibly scaling - specified by the givenQuaterniondc.Matrix4f.set(Quaterniondc q) Set this matrix to be equivalent to the rotation specified by the givenQuaterniondc.Matrix4x3d.set(Quaterniondc q) Set this matrix to be equivalent to the rotation - and possibly scaling - specified by the givenQuaterniondc.Matrix4x3f.set(Quaterniondc q) Set this matrix to be equivalent to the rotation - and possibly scaling - specified by the givenQuaterniondc.Quaterniond.set(Quaterniondc q) Set this quaternion to be a copy of q.Quaternionf.set(Quaterniondc q) Set this quaternion to be a copy ofq.Quaterniond.slerp(Quaterniondc target, double alpha) Quaterniond.slerp(Quaterniondc target, double alpha, Quaterniond dest) Quaterniondc.slerp(Quaterniondc target, double alpha, Quaterniond dest) Matrix4d.translationRotate(double tx, double ty, double tz, Quaterniondc quat) Setthismatrix toT * R, whereTis a translation by the given(tx, ty, tz)andRis a rotation - and possibly scaling - transformation specified by the given quaternion.Matrix4d.translationRotate(Vector3dc translation, Quaterniondc quat) Setthismatrix toT * R, whereTis the giventranslationandRis a rotation transformation specified by the given quaternion.Matrix4x3d.translationRotate(double tx, double ty, double tz, Quaterniondc quat) Setthismatrix toT * R, whereTis a translation by the given(tx, ty, tz)andRis a rotation transformation specified by the given quaternion.Matrix4x3d.translationRotate(Vector3dc translation, Quaterniondc quat) Setthismatrix toT * R, whereTis the giventranslationandRis a rotation transformation specified by the given quaternion.Matrix4x3d.translationRotateInvert(Vector3dc translation, Quaterniondc quat) Setthismatrix to(T * R)-1, whereTis the giventranslationandRis a rotation transformation specified by the given quaternion.Matrix4d.translationRotateScale(Vector3dc translation, Quaterniondc quat, double scale) Setthismatrix toT * R * S, whereTis the giventranslation,Ris a rotation transformation specified by the given quaternion, andSis a scaling transformation which scales all three axes byscale.Matrix4d.translationRotateScale(Vector3dc translation, Quaterniondc quat, Vector3dc scale) Setthismatrix toT * R * S, whereTis the giventranslation,Ris a rotation transformation specified by the given quaternion, andSis a scaling transformation which scales the axes byscale.Matrix4x3d.translationRotateScale(Vector3dc translation, Quaterniondc quat, Vector3dc scale) Setthismatrix toT * R * S, whereTis the giventranslation,Ris a rotation transformation specified by the given quaternion, andSis a scaling transformation which scales the axes byscale.Matrix4d.translationRotateScaleInvert(Vector3dc translation, Quaterniondc quat, double scale) Setthismatrix to(T * R * S)-1, whereTis the giventranslation,Ris a rotation transformation specified by the given quaternion, andSis a scaling transformation which scales all three axes byscale.Matrix4d.translationRotateScaleInvert(Vector3dc translation, Quaterniondc quat, Vector3dc scale) Setthismatrix to(T * R * S)-1, whereTis the giventranslation,Ris a rotation transformation specified by the given quaternion, andSis a scaling transformation which scales the axes byscale.Matrix4x3d.translationRotateScaleMul(Vector3dc translation, Quaterniondc quat, Vector3dc scale, Matrix4x3dc m) Setthismatrix toT * R * S * M, whereTis the giventranslation,Ris a rotation transformation specified by the given quaternion,Sis a scaling transformation which scales the axes byscale.Matrix4d.translationRotateScaleMulAffine(Vector3fc translation, Quaterniondc quat, Vector3fc scale, Matrix4d m) Setthismatrix toT * R * S * M, whereTis the giventranslation,Ris a rotation - and possibly scaling - transformation specified by the given quaternion,Sis a scaling transformation which scales the axes byscaleandMis anaffinematrix.Constructors in org.joml with parameters of type QuaterniondcModifierConstructorDescriptionCreate a newAxisAngle4dfrom the givenQuaterniondc.Quaterniond(Quaterniondc source) Create a newQuaterniondand initialize its components to the same values as the givenQuaterniondc.Quaternionf(Quaterniondc source) Create a newQuaternionfand initialize its components to the same values as the givenQuaterniondc.