Vector2d |
Vector2d.add(Vector2dc v) |
Add v to this vector.
|
Vector2d |
Vector2d.add(Vector2dc v,
Vector2d dest) |
|
Vector2d |
Vector2dc.add(Vector2dc v,
Vector2d dest) |
Add v to this vector and store the result in dest.
|
double |
Vector2d.angle(Vector2dc v) |
|
double |
Vector2dc.angle(Vector2dc v) |
Return the angle between this vector and the supplied vector.
|
double |
Vector2d.distance(Vector2dc v) |
|
double |
Vector2dc.distance(Vector2dc v) |
Return the distance between this and v.
|
double |
Vector2d.distanceSquared(Vector2dc v) |
|
double |
Vector2dc.distanceSquared(Vector2dc v) |
Return the distance squared between this and v.
|
Vector2d |
Vector2d.div(Vector2dc v,
Vector2d dest) |
|
Vector2d |
Vector2dc.div(Vector2dc v,
Vector2d dest) |
Divide this by v component-wise and store the result into dest.
|
double |
Vector2d.dot(Vector2dc v) |
|
double |
Vector2dc.dot(Vector2dc v) |
Return the dot product of this vector and v.
|
boolean |
Vector2d.equals(Vector2dc v,
double delta) |
|
boolean |
Vector2dc.equals(Vector2dc v,
double delta) |
Compare the vector components of this vector with the given vector using the given delta
and return whether all of them are equal within a maximum difference of delta.
|
Vector2d |
Vector2d.fma(double a,
Vector2dc b) |
Add the component-wise multiplication of a * b to this vector.
|
Vector2d |
Vector2d.fma(double a,
Vector2dc b,
Vector2d dest) |
|
Vector2d |
Vector2d.fma(Vector2dc a,
Vector2dc b) |
Add the component-wise multiplication of a * b to this vector.
|
Vector2d |
Vector2d.fma(Vector2dc a,
Vector2dc b,
Vector2d dest) |
|
Vector2d |
Vector2dc.fma(double a,
Vector2dc b,
Vector2d dest) |
Add the component-wise multiplication of a * b to this vector
and store the result in dest.
|
Vector2d |
Vector2dc.fma(Vector2dc a,
Vector2dc b,
Vector2d dest) |
Add the component-wise multiplication of a * b to this vector
and store the result in dest.
|
Vector2d |
Vector2d.lerp(Vector2dc other,
double t) |
Linearly interpolate this and other using the given interpolation factor t
and store the result in this.
|
Vector2d |
Vector2d.lerp(Vector2dc other,
double t,
Vector2d dest) |
|
Vector2d |
Vector2dc.lerp(Vector2dc other,
double t,
Vector2d dest) |
Linearly interpolate this and other using the given interpolation factor t
and store the result in dest.
|
Vector2d |
Vector2d.max(Vector2dc v) |
Set the components of this vector to be the component-wise maximum of this and the other vector.
|
Vector2d |
Vector2d.max(Vector2dc v,
Vector2d dest) |
|
Vector2d |
Vector2dc.max(Vector2dc v,
Vector2d dest) |
Set the components of dest to be the component-wise maximum of this and the other vector.
|
Vector2d |
Vector2d.min(Vector2dc v) |
Set the components of this vector to be the component-wise minimum of this and the other vector.
|
Vector2d |
Vector2d.min(Vector2dc v,
Vector2d dest) |
|
Vector2d |
Vector2dc.min(Vector2dc v,
Vector2d dest) |
Set the components of dest to be the component-wise minimum of this and the other vector.
|
Vector2d |
Vector2d.mul(Vector2dc v) |
Multiply this Vector2d component-wise by another Vector2d.
|
Vector2d |
Vector2d.mul(Vector2dc v,
Vector2d dest) |
|
Vector2d |
Vector2dc.mul(Vector2dc v,
Vector2d dest) |
Multiply this Vector2d component-wise by another Vector2d and store the result in dest.
|
Matrix3x2d |
Matrix3x2d.rotateTo(Vector2dc fromDir,
Vector2dc toDir) |
Apply a rotation transformation to this matrix that rotates the given normalized fromDir direction vector
to point along the normalized toDir.
|
Matrix3x2d |
Matrix3x2d.rotateTo(Vector2dc fromDir,
Vector2dc toDir,
Matrix3x2d dest) |
Apply a rotation transformation to this matrix that rotates the given normalized fromDir direction vector
to point along the normalized toDir, and store the result in dest.
|
Matrix3x2d |
Matrix3x2dc.rotateTo(Vector2dc fromDir,
Vector2dc toDir,
Matrix3x2d dest) |
Apply a rotation transformation to this matrix that rotates the given normalized fromDir direction vector
to point along the normalized toDir, and store the result in dest.
|
Matrix2d |
Matrix2d.scale(Vector2dc xy) |
Apply scaling to this matrix by scaling the base axes by the given xy.x and
xy.y factors, respectively.
|
Matrix2d |
Matrix2d.scale(Vector2dc xy,
Matrix2d dest) |
|
Matrix2d |
Matrix2dc.scale(Vector2dc xy,
Matrix2d dest) |
Apply scaling to this matrix by scaling the base axes by the given xy.x and
xy.y factors, respectively and store the result in dest.
|
Matrix3x2d |
Matrix3x2d.scale(Vector2dc xy) |
Apply scaling to this matrix by scaling the base axes by the given xy factors.
|
Matrix3x2d |
Matrix3x2d.scale(Vector2dc xy,
Matrix3x2d dest) |
Apply scaling to this matrix by scaling the base axes by the given xy factors
and store the result in dest.
|
Matrix3x2d |
Matrix3x2dc.scale(Vector2dc xy,
Matrix3x2d dest) |
Apply scaling to this matrix by scaling the base axes by the given xy factors
and store the result in dest.
|
Matrix2d |
Matrix2d.scaling(Vector2dc xy) |
Set this matrix to be a simple scale matrix which scales the base axes by xy.x and xy.y respectively.
|
Matrix2d |
Matrix2d.set(Vector2dc col0,
Vector2dc col1) |
Set the two columns of this matrix to the supplied vectors, respectively.
|
Vector2d |
Vector2d.set(Vector2dc v) |
|
Vector2f |
Vector2f.set(Vector2dc v) |
|
Vector2i |
Vector2i.set(Vector2dc v) |
|
Vector2i |
Vector2i.set(Vector2dc v,
int mode) |
|
Vector3d |
Vector3d.set(Vector2dc v,
double z) |
Set the first two components from the given v
and the z component from the given z
|
Vector3f |
Vector3f.set(Vector2dc v,
float z) |
Set the first two components from the given v
and the z component from the given z
|
Vector4d |
Vector4d.set(Vector2dc v,
double z,
double w) |
Set the x and y components from the given v
and the z and w components to the given z and w.
|
Matrix2d |
Matrix2d.setColumn(int column,
Vector2dc src) |
Set the column at the given column index, starting with 0.
|
Matrix2d |
Matrix2d.setRow(int row,
Vector2dc src) |
Set the row at the given row index, starting with 0.
|
Matrix3x2d |
Matrix3x2d.setTranslation(Vector2dc offset) |
Set only the translation components of this matrix (m20, m21) to the given values (offset.x, offset.y).
|
Vector2d |
Vector2d.sub(Vector2dc v) |
Subtract v from this vector.
|
Vector2d |
Vector2d.sub(Vector2dc v,
Vector2d dest) |
|
Vector2d |
Vector2dc.sub(Vector2dc v,
Vector2d dest) |
Subtract v from this vector and store the result in dest.
|
Vector2d |
Matrix2d.transform(Vector2dc v,
Vector2d dest) |
|
Vector2d |
Matrix2dc.transform(Vector2dc v,
Vector2d dest) |
Transform the given vector by this matrix and store the result in dest.
|
Vector2d |
Matrix3x2d.transformDirection(Vector2dc v,
Vector2d dest) |
Transform/multiply the given 2D-vector, as if it was a 3D-vector with z=0, by
this matrix and store the result in dest.
|
Vector2d |
Matrix3x2dc.transformDirection(Vector2dc v,
Vector2d dest) |
Transform/multiply the given 2D-vector, as if it was a 3D-vector with z=0, by
this matrix and store the result in dest.
|
Vector2d |
Matrix3x2d.transformPosition(Vector2dc v,
Vector2d dest) |
Transform/multiply the given 2D-vector, as if it was a 3D-vector with z=1, by
this matrix and store the result in dest.
|
Vector2d |
Matrix3x2dc.transformPosition(Vector2dc v,
Vector2d dest) |
Transform/multiply the given 2D-vector, as if it was a 3D-vector with z=1, by
this matrix and store the result in dest.
|
Vector2d |
Matrix2d.transformTranspose(Vector2dc v,
Vector2d dest) |
|
Vector2d |
Matrix2dc.transformTranspose(Vector2dc v,
Vector2d dest) |
Transform the given vector by the transpose of this matrix and store the result in dest.
|
Matrix3x2d |
Matrix3x2d.translate(Vector2dc offset) |
Apply a translation to this matrix by translating by the given number of units in x and y.
|
Matrix3x2d |
Matrix3x2d.translate(Vector2dc offset,
Matrix3x2d dest) |
Apply a translation to this matrix by translating by the given number of units in x and y, and
store the result in dest.
|
Matrix3x2d |
Matrix3x2dc.translate(Vector2dc offset,
Matrix3x2d dest) |
Apply a translation to this matrix by translating by the given number of units in x and y, and
store the result in dest.
|
Matrix3x2d |
Matrix3x2d.translateLocal(Vector2dc offset) |
Pre-multiply a translation to this matrix by translating by the given number of
units in x and y.
|
Matrix3x2d |
Matrix3x2d.translateLocal(Vector2dc offset,
Matrix3x2d dest) |
Pre-multiply a translation to this matrix by translating by the given number of
units in x and y and store the result in dest.
|
Matrix3x2d |
Matrix3x2dc.translateLocal(Vector2dc offset,
Matrix3x2d dest) |
Pre-multiply a translation to this matrix by translating by the given number of
units in x and y and store the result in dest.
|
Matrix3x2d |
Matrix3x2d.translation(Vector2dc offset) |
Set this matrix to be a simple translation matrix in a two-dimensional coordinate system.
|
Matrix4d |
Matrix4d.unprojectInvRay(Vector2dc winCoords,
int[] viewport,
Vector3d originDest,
Vector3d dirDest) |
|
Matrix4d |
Matrix4dc.unprojectInvRay(Vector2dc winCoords,
int[] viewport,
Vector3d originDest,
Vector3d dirDest) |
Unproject the given window coordinates winCoords by this matrix using the specified viewport
and compute the origin and the direction of the resulting ray which starts at NDC z = -1.0 and goes through NDC z = +1.0.
|
Matrix4d |
Matrix4d.unprojectRay(Vector2dc winCoords,
int[] viewport,
Vector3d originDest,
Vector3d dirDest) |
|
Matrix4d |
Matrix4dc.unprojectRay(Vector2dc winCoords,
int[] viewport,
Vector3d originDest,
Vector3d dirDest) |
Unproject the given 2D window coordinates winCoords by this matrix using the specified viewport
and compute the origin and the direction of the resulting ray which starts at NDC z = -1.0 and goes through NDC z = +1.0.
|