Matrix3D

Matrix3D()

Constructor creates standard 1 to 1 matrix: [ A B C D E F G H I Tx Ty Tz] = [ 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0 , 0]

public Matrix3D()

Examples

Matrix3D m = new Matrix3D();

See Also


Matrix3D(double[])

Constructor accepts a matrix with following array representation: [ A B C D E F G H I Tx Ty Tz]

public Matrix3D(double[] matrix3DArray)
Parameter Type Description
matrix3DArray Double[] Matrix data array.

Examples

double[] c = new double[] { 1, 0, 0, 1, 10, 20, 1, 0, 0, 17, 40, 13 };
Matrix3D m = new Matrix3D(c);

See Also


Matrix3D(Matrix3D)

Constructor accepts a matrix to create a copy

public Matrix3D(Matrix3D matrix)
Parameter Type Description
matrix Matrix3D Matrix3D object.

See Also


Matrix3D(double, double, double, double, double, double, double, double, double, double, double, double)

Initializes transformation matrix with specified coefficients.

public Matrix3D(double a, double b, double c, double d, double e, double f, double g, double h, 
    double i, double tx, double ty, double tz)
Parameter Type Description
a Double A matrix value.
b Double B matrix value.
c Double C matrix value.
d Double D matrix value.
e Double E matrix value.
f Double F matrix value.
g Double G matrix value.
h Double H matrix value.
i Double I matrix value.
tx Double TX matrix value.
ty Double TY matrix value.
tz Double TZ matrix value.

Examples

Matrix m = new Matrix(1, 0, 0, 1, 3, 3);

See Also