public class Matrix4 extends GeneralMatrix implements XMatrix
Modifier and Type | Field and Description |
---|---|
static int |
SIZE
The matrix size, which is 4.
|
Constructor and Description |
---|
Matrix4()
Creates a new identity matrix.
|
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.
|
Matrix4(Matrix matrix)
Creates a new matrix initialized to the same value than the specified one.
|
Modifier and Type | Method and Description |
---|---|
Matrix4 |
clone()
Returns a clone of this matrix.
|
int |
getNumCol()
Returns the number of colmuns in this matrix, which is always 4 in this
implementation.
|
int |
getNumRow()
Returns the number of rows in this matrix, which is always 4 in this
implementation.
|
add, add, add, add, copySubMatrix, determinate, equals, equals, getColumn, getElement, getElements, getElements, getRow, hashCode, invert, invert, isAffine, isIdentity, isIdentity, load, load, mul, mul, mul, mul, multiply, negate, negate, set, setColumn, setElement, setIdentity, setRow, setSize, setZero, sub, sub, sub, sub, toAffineTransform2D, toString, transpose, transpose
add, add, add, add, determinate, equals, getColumn, getElement, getRow, invert, invert, isAffine, isIdentity, mul, mul, mul, mul, multiply, negate, negate, setColumn, setIdentity, setRow, setZero, sub, sub, sub, sub, transpose, transpose
isIdentity, setElement
public static final int SIZE
public 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)
public Matrix4(Matrix matrix)
public final int getNumRow()
public final int getNumCol()
public Matrix4 clone()
clone
in interface Matrix
clone
in class GeneralMatrix
Object.clone()
Copyright © 1996–2023 Geotools. All rights reserved.