Class Matrix4
Object
GeneralMatrix
Matrix4
- All Implemented Interfaces:
Serializable
,Cloneable
,Matrix
,Cloneable
,XMatrix
- Since:
- 2.2
- Author:
- Martin Desruisseaux (IRD)
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMatrix4()
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.Creates a new matrix initialized to the same value than the specified one. -
Method Summary
Methods inherited from class GeneralMatrix
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
Methods inherited from interface Matrix
isIdentity, setElement
-
Field Details
-
SIZE
public static final int SIZEThe matrix size, which is 4.- See Also:
-
-
Constructor Details
-
Matrix4
public Matrix4()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) Creates a new matrix initialized to the specified values. -
Matrix4
-
-
Method Details
-
getNumRow
public final int getNumRow()Returns the number of rows in this matrix, which is always 4 in this implementation. -
getNumCol
public final int getNumCol()Returns the number of colmuns in this matrix, which is always 4 in this implementation. -
clone
Returns a clone of this matrix.
-