Vector2d |
Vector2d.absolute() |
Set this vector's components to their respective absolute values.
|
Vector2d |
Vector2d.absolute(Vector2d dest) |
|
Vector2d |
Vector2dc.absolute(Vector2d dest) |
Compute the absolute of each of this vector's components
and store the result into dest.
|
Vector2d |
Vector2d.add(double x,
double y) |
Add (x, y) to this vector.
|
Vector2d |
Vector2d.add(double x,
double y,
Vector2d dest) |
|
Vector2d |
Vector2d.add(Vector2dc v) |
Add v to this vector.
|
Vector2d |
Vector2d.add(Vector2dc v,
Vector2d dest) |
|
Vector2d |
Vector2d.add(Vector2fc v) |
Add v to this vector.
|
Vector2d |
Vector2d.add(Vector2fc v,
Vector2d dest) |
|
Vector2d |
Vector2dc.add(double x,
double y,
Vector2d dest) |
Add (x, y) to this vector and store the result in dest.
|
Vector2d |
Vector2dc.add(Vector2dc v,
Vector2d dest) |
Add v to this vector and store the result in dest.
|
Vector2d |
Vector2dc.add(Vector2fc v,
Vector2d dest) |
Add v to this vector and store the result in dest.
|
Vector2d |
Vector2d.ceil() |
Set each component of this vector to the smallest (closest to negative
infinity) double value that is greater than or equal to that
component and is equal to a mathematical integer.
|
Vector2d |
Vector2d.ceil(Vector2d dest) |
|
Vector2d |
Vector2dc.ceil(Vector2d dest) |
Compute for each component of this vector the smallest (closest to negative
infinity) double value that is greater than or equal to that
component and is equal to a mathematical integer and store the result in
dest.
|
static Vector2d |
Interpolationd.dFdxLinear(double v0X,
double v0Y,
double f0X,
double f0Y,
double v1X,
double v1Y,
double f1X,
double f1Y,
double v2X,
double v2Y,
double f2X,
double f2Y,
Vector2d dest) |
Compute the first-order derivative of a linear two-dimensional function f with respect to X
and store the result in dest.
|
static Vector2d |
Interpolationd.dFdyLinear(double v0X,
double v0Y,
double f0X,
double f0Y,
double v1X,
double v1Y,
double f1X,
double f1Y,
double v2X,
double v2Y,
double f2X,
double f2Y,
Vector2d dest) |
Compute the first-order derivative of a linear two-dimensional function f with respect to Y
and store the result in dest.
|
Vector2d |
Vector2d.div(double scalar) |
Divide this Vector2d by the given scalar value.
|
Vector2d |
Vector2d.div(double x,
double y) |
Divide the components of this Vector2d by the given scalar values and store the result in this.
|
Vector2d |
Vector2d.div(double x,
double y,
Vector2d dest) |
|
Vector2d |
Vector2d.div(double scalar,
Vector2d dest) |
|
Vector2d |
Vector2d.div(Vector2d v) |
Divide this Vector2d component-wise by another Vector2dc.
|
Vector2d |
Vector2d.div(Vector2dc v,
Vector2d dest) |
|
Vector2d |
Vector2d.div(Vector2fc v) |
Divide this Vector3d component-wise by another Vector2fc.
|
Vector2d |
Vector2d.div(Vector2fc v,
Vector2d dest) |
|
Vector2d |
Vector2dc.div(double x,
double y,
Vector2d dest) |
Divide the components of this Vector3f by the given scalar values and store the result in dest.
|
Vector2d |
Vector2dc.div(double scalar,
Vector2d dest) |
Divide this Vector2d by the given scalar value and store the result in dest.
|
Vector2d |
Vector2dc.div(Vector2dc v,
Vector2d dest) |
Divide this by v component-wise and store the result into dest.
|
Vector2d |
Vector2dc.div(Vector2fc v,
Vector2d dest) |
Divide this Vector2d component-wise by another Vector2f and store the result in dest.
|
Vector2d |
Vector2d.floor() |
Set each component of this vector to the largest (closest to positive
infinity) double value that is less than or equal to that
component and is equal to a mathematical integer.
|
Vector2d |
Vector2d.floor(Vector2d dest) |
|
Vector2d |
Vector2dc.floor(Vector2d dest) |
Compute for each component of this vector the largest (closest to positive
infinity) double value that is less than or equal to that
component and is equal to a mathematical integer and store the result in
dest.
|
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.get(Vector2d dest) |
|
Vector2d |
Vector2dc.get(Vector2d dest) |
Set the components of the given vector dest to those of this vector.
|
Vector2d |
Vector2f.get(Vector2d dest) |
|
Vector2d |
Vector2fc.get(Vector2d dest) |
Set the components of the given vector dest to those of this vector.
|
Vector2d |
Matrix2d.getColumn(int column,
Vector2d dest) |
|
Vector2d |
Matrix2dc.getColumn(int column,
Vector2d dest) |
Get the column at the given column index, starting with 0.
|
Vector2d |
Matrix2d.getRow(int row,
Vector2d dest) |
|
Vector2d |
Matrix2dc.getRow(int row,
Vector2d dest) |
Get the row at the given row index, starting with 0.
|
Vector2d |
Matrix2d.getScale(Vector2d dest) |
|
Vector2d |
Matrix2dc.getScale(Vector2d dest) |
Get the scaling factors of this matrix for the three base axes.
|
static Vector2d |
Interpolationd.interpolateTriangle(double v0X,
double v0Y,
double f0X,
double f0Y,
double v1X,
double v1Y,
double f1X,
double f1Y,
double v2X,
double v2Y,
double f2X,
double f2Y,
double x,
double y,
Vector2d dest) |
Bilinearly interpolate the two-dimensional vector f over the given triangle 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(double scalar) |
Multiply the components of this vector by the given scalar.
|
Vector2d |
Vector2d.mul(double x,
double y) |
Multiply the components of this Vector2d by the given scalar values and store the result in this.
|
Vector2d |
Vector2d.mul(double x,
double y,
Vector2d dest) |
|
Vector2d |
Vector2d.mul(double scalar,
Vector2d dest) |
|
Vector2d |
Vector2d.mul(Matrix2dc mat) |
Multiply the given matrix mat with this Vector2d.
|
Vector2d |
Vector2d.mul(Matrix2dc mat,
Vector2d dest) |
|
Vector2d |
Vector2d.mul(Matrix2fc mat) |
Multiply the given matrix mat with this Vector2d.
|
Vector2d |
Vector2d.mul(Matrix2fc mat,
Vector2d dest) |
|
Vector2d |
Vector2d.mul(Vector2dc v) |
Multiply this Vector2d component-wise by another Vector2d.
|
Vector2d |
Vector2d.mul(Vector2dc v,
Vector2d dest) |
|
Vector2d |
Vector2dc.mul(double x,
double y,
Vector2d dest) |
Multiply the components of this Vector2d by the given scalar values and store the result in dest.
|
Vector2d |
Vector2dc.mul(double scalar,
Vector2d dest) |
Multiply the components of this vector by the given scalar and store the result in dest.
|
Vector2d |
Vector2dc.mul(Matrix2dc mat,
Vector2d dest) |
Multiply the given matrix mat with this and store the
result in dest.
|
Vector2d |
Vector2dc.mul(Matrix2fc mat,
Vector2d dest) |
Multiply the given matrix mat with this and store the
result in dest.
|
Vector2d |
Vector2dc.mul(Vector2dc v,
Vector2d dest) |
Multiply this Vector2d component-wise by another Vector2d and store the result in dest.
|
Vector2d |
Vector2d.mulDirection(Matrix3x2dc mat) |
Multiply the given 3x2 matrix mat with this.
|
Vector2d |
Vector2d.mulDirection(Matrix3x2dc mat,
Vector2d dest) |
|
Vector2d |
Vector2dc.mulDirection(Matrix3x2dc mat,
Vector2d dest) |
Multiply the given 3x2 matrix mat with this and store the
result in dest.
|
Vector2d |
Vector2d.mulPosition(Matrix3x2dc mat) |
Multiply the given 3x2 matrix mat with this.
|
Vector2d |
Vector2d.mulPosition(Matrix3x2dc mat,
Vector2d dest) |
|
Vector2d |
Vector2dc.mulPosition(Matrix3x2dc mat,
Vector2d dest) |
Multiply the given 3x2 matrix mat with this and store the
result in dest.
|
Vector2d |
Vector2d.mulTranspose(Matrix2dc mat) |
Multiply the transpose of the given matrix with this Vector2d and store the result in this.
|
Vector2d |
Vector2d.mulTranspose(Matrix2dc mat,
Vector2d dest) |
|
Vector2d |
Vector2d.mulTranspose(Matrix2fc mat) |
Multiply the transpose of the given matrix with this Vector2d and store the result in this.
|
Vector2d |
Vector2d.mulTranspose(Matrix2fc mat,
Vector2d dest) |
|
Vector2d |
Vector2dc.mulTranspose(Matrix2dc mat,
Vector2d dest) |
Multiply the transpose of the given matrix with this Vector2f and store the result in dest.
|
Vector2d |
Vector2dc.mulTranspose(Matrix2fc mat,
Vector2d dest) |
Multiply the transpose of the given matrix with this Vector2f and store the result in dest.
|
Vector2d |
Vector2d.negate() |
Negate this vector.
|
Vector2d |
Vector2d.negate(Vector2d dest) |
|
Vector2d |
Vector2dc.negate(Vector2d dest) |
Negate this vector and store the result in dest.
|
Vector2d |
Vector2d.normalize() |
Normalize this vector.
|
Vector2d |
Vector2d.normalize(double length) |
Scale this vector to have the given length.
|
Vector2d |
Vector2d.normalize(double length,
Vector2d dest) |
|
Vector2d |
Vector2d.normalize(Vector2d dest) |
|
Vector2d |
Vector2dc.normalize(double length,
Vector2d dest) |
Scale this vector to have the given length and store the result in dest.
|
Vector2d |
Vector2dc.normalize(Vector2d dest) |
Normalize this vector and store the result in dest.
|
Vector2d |
Matrix2d.normalizedPositiveX(Vector2d dir) |
|
Vector2d |
Matrix2dc.normalizedPositiveX(Vector2d dest) |
Obtain the direction of +X before the transformation represented by this orthogonal matrix is applied.
|
Vector2d |
Matrix3x2d.normalizedPositiveX(Vector2d dir) |
|
Vector2d |
Matrix3x2dc.normalizedPositiveX(Vector2d dir) |
Obtain the direction of +X before the transformation represented by this orthogonal matrix is applied.
|
Vector2d |
Matrix2d.normalizedPositiveY(Vector2d dir) |
|
Vector2d |
Matrix2dc.normalizedPositiveY(Vector2d dest) |
Obtain the direction of +Y before the transformation represented by this orthogonal matrix is applied.
|
Vector2d |
Matrix3x2d.normalizedPositiveY(Vector2d dir) |
|
Vector2d |
Matrix3x2dc.normalizedPositiveY(Vector2d dir) |
Obtain the direction of +Y before the transformation represented by this orthogonal matrix is applied.
|
Vector2d |
Matrix3x2d.origin(Vector2d origin) |
Obtain the position that gets transformed to the origin by this matrix.
|
Vector2d |
Matrix3x2dc.origin(Vector2d origin) |
Obtain the position that gets transformed to the origin by this matrix.
|
Vector2d |
Vector2d.perpendicular() |
Set this vector to be one of its perpendicular vectors.
|
Vector2d |
Matrix2d.positiveX(Vector2d dir) |
|
Vector2d |
Matrix2dc.positiveX(Vector2d dest) |
Obtain the direction of +X before the transformation represented by this matrix is applied.
|
Vector2d |
Matrix3x2d.positiveX(Vector2d dir) |
|
Vector2d |
Matrix3x2dc.positiveX(Vector2d dir) |
Obtain the direction of +X before the transformation represented by this matrix is applied.
|
Vector2d |
Matrix2d.positiveY(Vector2d dir) |
|
Vector2d |
Matrix2dc.positiveY(Vector2d dest) |
Obtain the direction of +Y before the transformation represented by this matrix is applied.
|
Vector2d |
Matrix3x2d.positiveY(Vector2d dir) |
|
Vector2d |
Matrix3x2dc.positiveY(Vector2d dir) |
Obtain the direction of +Y before the transformation represented by this matrix is applied.
|
Vector2d |
Vector2d.round() |
Set each component of this vector to the closest double that is equal to
a mathematical integer, with ties rounding to positive infinity.
|
Vector2d |
Vector2d.round(Vector2d dest) |
|
Vector2d |
Vector2dc.round(Vector2d dest) |
Compute for each component of this vector the closest double that is equal to
a mathematical integer, with ties rounding to positive infinity and store
the result in dest.
|
Vector2d |
Vector2d.set(double d) |
Set the x and y components to the supplied value.
|
Vector2d |
Vector2d.set(double[] xy) |
Set the two components of this vector to the first two elements of the given array.
|
Vector2d |
Vector2d.set(double x,
double y) |
Set the x and y components to the supplied values.
|
Vector2d |
Vector2d.set(float[] xy) |
Set the two components of this vector to the first two elements of the given array.
|
Vector2d |
Vector2d.set(int index,
ByteBuffer buffer) |
Read this vector from the supplied ByteBuffer starting at the specified
absolute buffer position/index.
|
Vector2d |
Vector2d.set(int index,
DoubleBuffer buffer) |
Read this vector from the supplied DoubleBuffer starting at the specified
absolute buffer position/index.
|
Vector2d |
Vector2d.set(ByteBuffer buffer) |
|
Vector2d |
Vector2d.set(DoubleBuffer buffer) |
|
Vector2d |
Vector2d.set(Vector2dc v) |
|
Vector2d |
Vector2d.set(Vector2fc v) |
|
Vector2d |
Vector2d.set(Vector2ic v) |
|
Vector2d |
Vector2d.setComponent(int component,
double value) |
Set the value of the specified component of this vector.
|
Vector2d |
Vector2d.sub(double x,
double y) |
Subtract (x, y) from this vector.
|
Vector2d |
Vector2d.sub(double x,
double y,
Vector2d dest) |
|
Vector2d |
Vector2d.sub(Vector2dc v) |
Subtract v from this vector.
|
Vector2d |
Vector2d.sub(Vector2dc v,
Vector2d dest) |
|
Vector2d |
Vector2d.sub(Vector2fc v) |
Subtract v from this vector.
|
Vector2d |
Vector2d.sub(Vector2fc v,
Vector2d dest) |
|
Vector2d |
Vector2dc.sub(double x,
double y,
Vector2d dest) |
Subtract (x, y) from this vector and store the result in dest.
|
Vector2d |
Vector2dc.sub(Vector2dc v,
Vector2d dest) |
Subtract v from this vector and store the result in dest.
|
Vector2d |
Vector2dc.sub(Vector2fc v,
Vector2d dest) |
Subtract v from this vector and store the result in dest.
|
Vector2d |
Matrix2d.transform(double x,
double y,
Vector2d dest) |
|
Vector2d |
Matrix2d.transform(Vector2d v) |
|
Vector2d |
Matrix2d.transform(Vector2dc v,
Vector2d dest) |
|
Vector2d |
Matrix2dc.transform(double x,
double y,
Vector2d dest) |
Transform the vector (x, y) by this matrix and store the result in dest.
|
Vector2d |
Matrix2dc.transform(Vector2d v) |
Transform the given vector by this matrix.
|
Vector2d |
Matrix2dc.transform(Vector2dc v,
Vector2d dest) |
Transform the given vector by this matrix and store the result in dest.
|
Vector2d |
Matrix3x2d.transformDirection(double x,
double y,
Vector2d dest) |
Transform/multiply the given 2D-vector (x, y), as if it was a 3D-vector with z=0, by
this matrix and store the result in dest.
|
Vector2d |
Matrix3x2d.transformDirection(Vector2d v) |
Transform/multiply the given 2D-vector, as if it was a 3D-vector with z=0, by
this matrix and store the result in that vector.
|
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(double x,
double y,
Vector2d dest) |
Transform/multiply the given 2D-vector (x, y), as if it was a 3D-vector with z=0, by
this matrix and store the result in dest.
|
Vector2d |
Matrix3x2dc.transformDirection(Vector2d v) |
Transform/multiply the given 2D-vector, as if it was a 3D-vector with z=0, by
this matrix and store the result in that vector.
|
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(double x,
double y,
Vector2d dest) |
Transform/multiply the given 2D-vector (x, y), as if it was a 3D-vector with z=1, by
this matrix and store the result in dest.
|
Vector2d |
Matrix3x2d.transformPosition(Vector2d v) |
Transform/multiply the given 2D-vector, as if it was a 3D-vector with z=1, by
this matrix and store the result in that vector.
|
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(double x,
double y,
Vector2d dest) |
Transform/multiply the given 2D-vector (x, y), as if it was a 3D-vector with z=1, by
this matrix and store the result in dest.
|
Vector2d |
Matrix3x2dc.transformPosition(Vector2d v) |
Transform/multiply the given 2D-vector, as if it was a 3D-vector with z=1, by
this matrix and store the result in that vector.
|
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(double x,
double y,
Vector2d dest) |
|
Vector2d |
Matrix2d.transformTranspose(Vector2d v) |
|
Vector2d |
Matrix2d.transformTranspose(Vector2dc v,
Vector2d dest) |
|
Vector2d |
Matrix2dc.transformTranspose(double x,
double y,
Vector2d dest) |
Transform the vector (x, y) by the transpose of this matrix and store the result in dest.
|
Vector2d |
Matrix2dc.transformTranspose(Vector2d v) |
Transform the given vector by the transpose of this matrix.
|
Vector2d |
Matrix2dc.transformTranspose(Vector2dc v,
Vector2d dest) |
Transform the given vector by the transpose of this matrix and store the result in dest.
|
Vector2d |
Matrix3x2d.unproject(double winX,
double winY,
int[] viewport,
Vector2d dest) |
Unproject the given window coordinates (winX, winY) by this matrix using the specified viewport.
|
Vector2d |
Matrix3x2dc.unproject(double winX,
double winY,
int[] viewport,
Vector2d dest) |
Unproject the given window coordinates (winX, winY) by this matrix using the specified viewport.
|
Vector2d |
Matrix3x2d.unprojectInv(double winX,
double winY,
int[] viewport,
Vector2d dest) |
Unproject the given window coordinates (winX, winY) by this matrix using the specified viewport.
|
Vector2d |
Matrix3x2dc.unprojectInv(double winX,
double winY,
int[] viewport,
Vector2d dest) |
Unproject the given window coordinates (winX, winY) by this matrix using the specified viewport.
|
Vector2d |
Vector2d.zero() |
Set all components to zero.
|