| org.geotools.referencing.operation.matrix.Matrix4
Matrix4 | public class Matrix4 extends Matrix4d implements XMatrix(Code) | | A matrix of fixed
×
size. This specialized matrix provides
better accuracy than
GeneralMatrix for matrix inversion and multiplication. It is used
primarily for supporting datum shifts.
since: 2.2 version: $Id: Matrix4.java 24493 2007-02-17 17:28:12Z desruisseaux $ author: Martin Desruisseaux |
Field Summary | |
final public static int | SIZE The matrix size, which is
. |
Constructor Summary | |
public | Matrix4() Creates a new identity matrix. | public | Matrix4(double m00, double m01, double m02, double m03, double m10, double m11, double m12, double m13, double m20, double m21, double m22, double m23, double m30, double m31, double m32, double m33) Creates a new matrix initialized to the specified values. | public | Matrix4(Matrix matrix) Creates a new matrix initialized to the same value than the specified one. |
Method Summary | |
final public int | getNumCol() Returns the number of colmuns in this matrix, which is always
in this implementation. | final public int | getNumRow() Returns the number of rows in this matrix, which is always
in this implementation. | final public boolean | isAffine() | final public boolean | isIdentity() | final public boolean | isIdentity(double tolerance) | final public void | multiply(Matrix matrix) | public String | toString() Returns a string representation of this matrix. |
SIZE | final public static int SIZE(Code) | | The matrix size, which is
.
|
Matrix4 | public Matrix4()(Code) | | Creates a new identity matrix.
|
Matrix4 | public Matrix4(double m00, double m01, double m02, double m03, double m10, double m11, double m12, double m13, double m20, double m21, double m22, double m23, double m30, double m31, double m32, double m33)(Code) | | Creates a new matrix initialized to the specified values.
|
Matrix4 | public Matrix4(Matrix matrix)(Code) | | Creates a new matrix initialized to the same value than the specified one.
The specified matrix size must be
×
.
|
getNumCol | final public int getNumCol()(Code) | | Returns the number of colmuns in this matrix, which is always
in this implementation.
|
getNumRow | final public int getNumRow()(Code) | | Returns the number of rows in this matrix, which is always
in this implementation.
|
isAffine | final public boolean isAffine()(Code) | | |
isIdentity | final public boolean isIdentity()(Code) | | |
isIdentity | final public boolean isIdentity(double tolerance)(Code) | | |
multiply | final public void multiply(Matrix matrix)(Code) | | |
toString | public String toString()(Code) | | Returns a string representation of this matrix. The returned string is implementation
dependent. It is usually provided for debugging purposes only.
|
|
|