Uses of Interface
org.joml.Vector4dc
Packages that use Vector4dc
-
Uses of Vector4dc in org.joml
Modifier and TypeClassDescriptionclassContains the definition of a Vector comprising 4 doubles and associated transformations.Modifier and TypeMethodDescriptionVector4d.getToAddress(long address) Vector4dc.getToAddress(long address) Store this vector at the given off-heap memory address.Modifier and TypeMethodDescriptionAdd the supplied vector to this one.Add the supplied vector to this one and store the result indest.doubledoubleReturn the angle between this vector and the supplied vector.doubledoubleReturn the cosine of the angle between this vector and the supplied vector.doubledoubleReturn the distance between this Vector andv.doubleVector4d.distanceSquared(Vector4dc v) doubleVector4dc.distanceSquared(Vector4dc v) Return the square of the distance between this vector andv.doubledoubleCompute the dot product (inner product) of this vector andv.booleanbooleanCompare the vector components ofthisvector with the given vector using the givendeltaand return whether all of them are equal within a maximum difference ofdelta.Add the component-wise multiplication ofa * bto this vector.Add the component-wise multiplication ofa * bto this vector.Add the component-wise multiplication ofa * bto this vector and store the result indest.Add the component-wise multiplication ofa * bto this vector and store the result indest.Compute a hermite interpolation betweenthisvector and its associated tangentt0and the given vectorvwith its tangentt1and store the result indest.Linearly interpolatethisandotherusing the given interpolation factortand store the result inthis.Linearly interpolatethisandotherusing the given interpolation factortand store the result indest.Set the components of this vector to be the component-wise maximum of this and the other vector.Set the components ofdestto be the component-wise maximum of this and the other vector.Set the components of this vector to be the component-wise minimum of this and the other vector.Set the components ofdestto be the component-wise minimum of this and the other vector.Add the component-wise multiplication ofthis * atoband store the result inthis.Add the component-wise multiplication ofthis * atoband store the result inthis.Add the component-wise multiplication ofthis * atoband store the result indest.Add the component-wise multiplication ofthis * atoband store the result indest.Set thisVector4dto the values of the givenv.Set thisVector4fto the values of the givenv.Set thisVector4ito the values of v usingRoundingMode.TRUNCATErounding.Set thisVector4ito the values of v using the givenRoundingMode.Set the column at the givencolumnindex, starting with0.Set the row at the givenrowindex, starting with0.Set the row at the givenrowindex, starting with0.Apply a projection transformation to this matrix that projects onto the plane specified via the general plane equationx*a + y*b + z*c + d = 0as if casting a shadow from a given light position/directionlight.Apply a projection transformation to this matrix that projects onto the plane specified via the general plane equationx*a + y*b + z*c + d = 0as if casting a shadow from a given light position/directionlightand store the result indest.Apply a projection transformation to this matrix that projects onto the plane with the general plane equationy = 0as if casting a shadow from a given light position/directionlightand store the result indest.Apply a projection transformation to this matrix that projects onto the plane specified via the general plane equationx*a + y*b + z*c + d = 0as if casting a shadow from a given light position/directionlight.Matrix4x3d.shadow(Vector4dc light, double a, double b, double c, double d, Matrix4x3d dest) Matrix4x3d.shadow(Vector4dc light, Matrix4x3dc planeTransform) Apply a projection transformation to this matrix that projects onto the plane with the general plane equationy = 0as if casting a shadow from a given light position/directionlight.Matrix4x3d.shadow(Vector4dc light, Matrix4x3dc planeTransform, Matrix4x3d dest) Matrix4x3dc.shadow(Vector4dc light, double a, double b, double c, double d, Matrix4x3d dest) Apply a projection transformation to this matrix that projects onto the plane specified via the general plane equationx*a + y*b + z*c + d = 0as if casting a shadow from a given light position/directionlightand store the result indest.Matrix4x3dc.shadow(Vector4dc light, Matrix4x3dc planeTransform, Matrix4x3d dest) Apply a projection transformation to this matrix that projects onto the plane with the general plane equationy = 0as if casting a shadow from a given light position/directionlightand store the result indest.Vector4d.smoothStep(Vector4dc v, double t, Vector4d dest) Vector4dc.smoothStep(Vector4dc v, double t, Vector4d dest) Compute a smooth-step (i.e.Subtract the supplied vector from this one.Subtract the supplied vector from this one and store the result indest.Subtract the supplied vector from this one and store the result indest.Transform the given vector by the rotation transformation described by thisAxisAngle4dand store the result indest.Transform/multiply the given vector by this matrix and store the result indest.Transform/multiply the given vector by this matrix and store the result indest.Transform the given vector by this quaternion and store the result indest.Transform the given vector by this quaternion and store the result indest.Matrix4d.transformAffine(Vector4dc v, Vector4d dest) Matrix4dc.transformAffine(Vector4dc v, Vector4d dest) Transform/multiply the given 4D-vector by assuming thatthismatrix represents anaffinetransformation (i.e.Quaterniond.transformInverse(Vector4dc vec, Vector4d dest) Quaterniondc.transformInverse(Vector4dc vec, Vector4d dest) Transform the given vector by the inverse of this quaternion and store the result indest.Quaternionf.transformInverse(Vector4dc vec, Vector4d dest) Quaternionfc.transformInverse(Vector4dc vec, Vector4d dest) Transform the given vector by the inverse of this quaternion and store the result indest.Quaterniond.transformInverseUnit(Vector4dc vec, Vector4d dest) Quaterniondc.transformInverseUnit(Vector4dc vec, Vector4d dest) Transform the given vector by the inverse of this unit quaternion and store the result indest.Quaternionf.transformInverseUnit(Vector4dc vec, Vector4d dest) Quaternionfc.transformInverseUnit(Vector4dc vec, Vector4d dest) Transform the given vector by the inverse of this unit quaternion and store the result indest.Matrix4d.transformProject(Vector4dc v, Vector3d dest) Matrix4d.transformProject(Vector4dc v, Vector4d dest) Matrix4dc.transformProject(Vector4dc v, Vector3d dest) Transform/multiply the given vector by this matrix, perform perspective divide and store thex,yandzcomponents of the result indest.Matrix4dc.transformProject(Vector4dc v, Vector4d dest) Transform/multiply the given vector by this matrix, perform perspective divide and store the result indest.Matrix4d.transformTranspose(Vector4dc v, Vector4d dest) Matrix4dc.transformTranspose(Vector4dc v, Vector4d dest) Transform/multiply the given vector by the transpose of this matrix and store the result indest.Quaterniond.transformUnit(Vector4dc vec, Vector4d dest) Quaterniondc.transformUnit(Vector4dc vec, Vector4d dest) Transform the given vector by this unit quaternion and store the result indest.Quaternionf.transformUnit(Vector4dc vec, Vector4d dest) Quaternionfc.transformUnit(Vector4dc vec, Vector4d dest) Transform the given vector by this unit quaternion and store the result indest.