Component-wise add this
and other
.
Component-wise add this
and other
and store the result in dest
.
Get the current values of this
matrix and store them into
dest
.
Get the current values of this
matrix and store them into
dest
.
Set this matrix to the identity.
Invert the this
matrix and store the result in dest
.
Linearly interpolate this
and other
using the given interpolation factor t
and store the result in this
.
Linearly interpolate this
and other
using the given interpolation factor t
and store the result in dest
.
Set the value of the matrix element at column 0 and row 0.
Set the value of the matrix element at column 0 and row 1.
Set the value of the matrix element at column 1 and row 0.
Set the value of the matrix element at column 1 and row 1.
Multiply this matrix by the supplied right
matrix.
Multiply this matrix by the supplied right
matrix.
Multiply this matrix by the supplied right
matrix and store the result in dest
.
Multiply this matrix by the supplied right
matrix and store the result in dest
.
Component-wise multiply this
by other
.
Component-wise multiply this
by other
and store the result in dest
.
Pre-multiply this matrix by the supplied left
matrix and store the result in this
.
Pre-multiply this matrix by the supplied left
matrix and store the result in dest
.
Set this
matrix to its own normal matrix.
Compute a normal matrix from this
matrix and store it into dest
.
Compute a normal matrix from this
matrix and store it into dest
.
Apply rotation about the origin to this matrix by rotating the given amount of radians.
Apply rotation to this matrix by rotating the given amount of radians
and store the result in dest
.
Pre-multiply a rotation to this matrix by rotating the given amount of radians about the origin.
Pre-multiply a rotation to this matrix by rotating the given amount of radians
and store the result in dest
.
Set this matrix to a rotation matrix which rotates the given radians about the origin.
Matrix2d.scale(double xy)
Apply scaling to this matrix by uniformly scaling all base axes by the given xy
factor.
Matrix2d.scale(double x,
double y)
Apply scaling to this matrix by scaling the base axes by the given x and
y factors.
Apply scaling to this matrix by scaling the base axes by the given xy.x
and
xy.y
factors, respectively.
Apply scaling to this matrix by scaling the base axes by the given x and
y factors and store the result in dest
.
Apply scaling to this matrix by uniformly scaling all base axes by the given xy
factor
and store the result in 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
.
Pre-multiply scaling to this matrix by scaling the base axes by the given x and
y factors.
Pre-multiply scaling to this
matrix by scaling the base axes by the given x and
y factors and store the result in dest
.
Set this matrix to be a simple scale matrix, which scales all axes uniformly by the given factor.
Matrix2d.scaling(double x,
double y)
Set this matrix to be a simple scale matrix.
Set this matrix to be a simple scale matrix which scales the base axes by xy.x
and xy.y
respectively.
Set the values in this matrix based on the supplied double array.
Matrix2d.set(double m00,
double m01,
double m10,
double m11)
Set the values within this matrix to the supplied double values.
Matrix2d.set(int column,
int row,
double value)
Set the matrix element at the given column and row to the specified value.
Set the values of this matrix by reading 4 double values from the given
ByteBuffer
in column-major order,
starting at the specified absolute buffer position/index.
Set the values of this matrix by reading 4 double values from the given
DoubleBuffer
in column-major order,
starting at the specified absolute buffer position/index.
Set the values of this matrix by reading 4 double values from the given
ByteBuffer
in column-major order,
starting at its current position.
Set the values of this matrix by reading 4 double values from the given
DoubleBuffer
in column-major order,
starting at its current position.
Set the elements of this matrix to the ones in m
.
Set the elements of this matrix to the ones in m
.
Set the elements of this matrix to the upper left 2x2 of the given
Matrix3dc
.
Set the elements of this matrix to the upper left 2x2 of the given
Matrix3dc
.
Set the elements of this matrix to the left 2x2 submatrix of m
.
Set the elements of this matrix to the left 2x2 submatrix of m
.
Set the two columns of this matrix to the supplied vectors, respectively.
Matrix2d.setColumn(int column,
double x,
double y)
Set the column at the given column
index, starting with 0
.
Set the column at the given column
index, starting with 0
.
Set the values of this matrix by reading 4 double values from off-heap memory in column-major order,
starting at the given address.
Matrix2d.setRow(int row,
double x,
double y)
Set the row at the given row
index, starting with 0
.
Set the row at the given row
index, starting with 0
.
Component-wise subtract subtrahend
from this
.
Component-wise subtract subtrahend
from this
and store the result in dest
.
Exchange the values of this
matrix with the given other
matrix.
Transpose this
matrix and store the result in dest
.
Set all values within this matrix to zero.
Component-wise add this
and other
and store the result in dest
.
Get the current values of this
matrix and store them into
dest
.
Get the current values of this
matrix and store them into
dest
.
Invert the this
matrix and store the result in dest
.
Linearly interpolate this
and other
using the given interpolation factor t
and store the result in dest
.
Multiply this matrix by the supplied right
matrix and store the result in dest
.
Multiply this matrix by the supplied right
matrix and store the result in dest
.
Component-wise multiply this
by other
and store the result in dest
.
Pre-multiply this matrix by the supplied left
matrix and store the result in dest
.
Compute a normal matrix from this
matrix and store it into dest
.
Compute a normal matrix from this
matrix and store it into dest
.
Apply rotation to this matrix by rotating the given amount of radians
and store the result in dest
.
Pre-multiply a rotation to this matrix by rotating the given amount of radians
and store the result in dest
.
Apply scaling to this matrix by scaling the base axes by the given x and
y factors and store the result in dest
.
Apply scaling to this matrix by uniformly scaling all base axes by the given xy
factor
and store the result in 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
.
Pre-multiply scaling to this
matrix by scaling the base axes by the given x and
y factors and store the result in dest
.
Component-wise subtract subtrahend
from this
and store the result in dest
.
Exchange the values of this
matrix with the given other
matrix.
Transpose this
matrix and store the result in dest
.