Uses of Class
org.joml.Matrix2d
Packages that use Matrix2d
- 
Uses of Matrix2d in org.joml
Modifier and TypeMethodDescriptionComponent-wise addthisandother.Component-wise addthisandotherand store the result indest.Get the current values ofthismatrix and store them intodest.Get the current values ofthismatrix and store them intodest.Matrix2d.identity()Set this matrix to the identity.Matrix2d.invert()Invert this matrix.Invert thethismatrix and store the result indest.Linearly interpolatethisandotherusing the given interpolation factortand store the result inthis.Linearly interpolatethisandotherusing the given interpolation factortand store the result indest.Matrix2d.m00(double m00) Set the value of the matrix element at column 0 and row 0.Matrix2d.m01(double m01) Set the value of the matrix element at column 0 and row 1.Matrix2d.m10(double m10) Set the value of the matrix element at column 1 and row 0.Matrix2d.m11(double m11) Set the value of the matrix element at column 1 and row 1.Multiply this matrix by the suppliedrightmatrix.Multiply this matrix by the suppliedrightmatrix.Multiply this matrix by the suppliedrightmatrix and store the result indest.Multiply this matrix by the suppliedrightmatrix and store the result indest.Matrix2d.mulComponentWise(Matrix2dc other) Component-wise multiplythisbyother.Matrix2d.mulComponentWise(Matrix2dc other, Matrix2d dest) Matrix2dc.mulComponentWise(Matrix2dc other, Matrix2d dest) Component-wise multiplythisbyotherand store the result indest.Pre-multiply this matrix by the suppliedleftmatrix and store the result inthis.Pre-multiply this matrix by the suppliedleftmatrix and store the result indest.Matrix2d.normal()Setthismatrix to its own normal matrix.Compute a normal matrix fromthismatrix and store it intodest.Compute a normal matrix fromthismatrix and store it intodest.Matrix2d.rotate(double angle) 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 indest.Matrix2d.rotateLocal(double angle) Pre-multiply a rotation to this matrix by rotating the given amount of radians about the origin.Matrix2d.rotateLocal(double angle, Matrix2d dest) Matrix2dc.rotateLocal(double ang, Matrix2d dest) Pre-multiply a rotation to this matrix by rotating the given amount of radians and store the result indest.Matrix2d.rotation(double angle) 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 givenxyfactor.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 givenxy.xandxy.yfactors, respectively.Apply scaling to this matrix by scaling the base axes by the given x and y factors and store the result indest.Apply scaling to this matrix by uniformly scaling all base axes by the givenxyfactor and store the result indest.Apply scaling tothismatrix by scaling the base axes by the givenxy.xandxy.yfactors, respectively and store the result indest.Matrix2d.scaleLocal(double x, double y) Pre-multiply scaling to this matrix by scaling the base axes by the given x and y factors.Matrix2d.scaleLocal(double x, double y, Matrix2d dest) Matrix2dc.scaleLocal(double x, double y, Matrix2d dest) Pre-multiply scaling tothismatrix by scaling the base axes by the given x and y factors and store the result indest.Matrix2d.scaling(double factor) 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 byxy.xandxy.yrespectively.Matrix2d.set(double[] m) 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.Matrix2d.set(int index, ByteBuffer buffer) Set the values of this matrix by reading 4 double values from the givenByteBufferin column-major order, starting at the specified absolute buffer position/index.Matrix2d.set(int index, DoubleBuffer buffer) Set the values of this matrix by reading 4 double values from the givenDoubleBufferin column-major order, starting at the specified absolute buffer position/index.Matrix2d.set(ByteBuffer buffer) Set the values of this matrix by reading 4 double values from the givenByteBufferin column-major order, starting at its current position.Matrix2d.set(DoubleBuffer buffer) Set the values of this matrix by reading 4 double values from the givenDoubleBufferin column-major order, starting at its current position.Set the elements of this matrix to the ones inm.Set the elements of this matrix to the ones inm.Set the elements of this matrix to the upper left 2x2 of the givenMatrix3dc.Set the elements of this matrix to the upper left 2x2 of the givenMatrix3dc.Matrix2d.set(Matrix3x2dc m) Set the elements of this matrix to the left 2x2 submatrix ofm.Matrix2d.set(Matrix3x2fc m) Set the elements of this matrix to the left 2x2 submatrix ofm.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 givencolumnindex, starting with0.Set the column at the givencolumnindex, starting with0.Matrix2d.setFromAddress(long address) 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 givenrowindex, starting with0.Set the row at the givenrowindex, starting with0.Component-wise subtractsubtrahendfromthis.Component-wise subtractsubtrahendfromthisand store the result indest.Exchange the values ofthismatrix with the givenothermatrix.Matrix2d.transpose()Transpose this matrix.Transposethismatrix and store the result indest.Matrix2d.zero()Set all values within this matrix to zero.Modifier and TypeMethodDescriptionComponent-wise addthisandotherand store the result indest.Get the current values ofthismatrix and store them intodest.Get the current values ofthismatrix and store them intodest.Invert thethismatrix and store the result indest.Linearly interpolatethisandotherusing the given interpolation factortand store the result indest.Multiply this matrix by the suppliedrightmatrix and store the result indest.Multiply this matrix by the suppliedrightmatrix and store the result indest.Matrix2d.mulComponentWise(Matrix2dc other, Matrix2d dest) Matrix2dc.mulComponentWise(Matrix2dc other, Matrix2d dest) Component-wise multiplythisbyotherand store the result indest.Pre-multiply this matrix by the suppliedleftmatrix and store the result indest.Compute a normal matrix fromthismatrix and store it intodest.Compute a normal matrix fromthismatrix and store it intodest.Apply rotation to this matrix by rotating the given amount of radians and store the result indest.Matrix2d.rotateLocal(double angle, Matrix2d dest) Matrix2dc.rotateLocal(double ang, Matrix2d dest) Pre-multiply a rotation to this matrix by rotating the given amount of radians and store the result indest.Apply scaling to this matrix by scaling the base axes by the given x and y factors and store the result indest.Apply scaling to this matrix by uniformly scaling all base axes by the givenxyfactor and store the result indest.Apply scaling tothismatrix by scaling the base axes by the givenxy.xandxy.yfactors, respectively and store the result indest.Matrix2d.scaleLocal(double x, double y, Matrix2d dest) Matrix2dc.scaleLocal(double x, double y, Matrix2d dest) Pre-multiply scaling tothismatrix by scaling the base axes by the given x and y factors and store the result indest.Component-wise subtractsubtrahendfromthisand store the result indest.Exchange the values ofthismatrix with the givenothermatrix.Transposethismatrix and store the result indest.