| org.geotools.referencing.operation.matrix.Matrix3
Matrix3 | public class Matrix3 extends Matrix3d implements XMatrix(Code) | | A matrix of fixed
×
size. This specialized matrix provides
better accuracy than
GeneralMatrix for matrix inversion and multiplication.
since: 2.2 version: $Id: Matrix3.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 | Matrix3() Creates a new identity matrix. | public | Matrix3(double m00, double m01, double m02, double m10, double m11, double m12, double m20, double m21, double m22) Creates a new matrix initialized to the specified values. | public | Matrix3(AffineTransform transform) Constructs a 3×3 matrix from the specified affine transform. | public | Matrix3(Matrix matrix) Creates a new matrix initialized to the same value than the specified one. |
Method Summary | |
public boolean | equalsAffine(AffineTransform transform) Returns
true if this matrix is equals to the specified affine transform. | 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 boolean | isNaN() Returns
true if at least one value is
NaN . | final public void | multiply(Matrix matrix) | public void | setMatrix(AffineTransform transform) Sets this matrix to the specified affine transform. | public String | toString() Returns a string representation of this matrix. |
SIZE | final public static int SIZE(Code) | | The matrix size, which is
.
|
Matrix3 | public Matrix3()(Code) | | Creates a new identity matrix.
|
Matrix3 | public Matrix3(double m00, double m01, double m02, double m10, double m11, double m12, double m20, double m21, double m22)(Code) | | Creates a new matrix initialized to the specified values.
|
Matrix3 | public Matrix3(AffineTransform transform)(Code) | | Constructs a 3×3 matrix from the specified affine transform.
|
Matrix3 | public Matrix3(Matrix matrix)(Code) | | Creates a new matrix initialized to the same value than the specified one.
The specified matrix size must be
×
.
|
equalsAffine | public boolean equalsAffine(AffineTransform transform)(Code) | | Returns
true if this matrix is equals to the specified affine transform.
since: 2.3 |
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) | | |
isNaN | final public boolean isNaN()(Code) | | Returns
true if at least one value is
NaN .
since: 2.3 |
multiply | final public void multiply(Matrix matrix)(Code) | | |
setMatrix | public void setMatrix(AffineTransform transform)(Code) | | Sets this matrix to the specified affine transform.
since: 2.3 |
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.
|
|
|