Matrix3D.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)
ParameterTypeDescription
matrix3DArrayDouble[]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)
ParameterTypeDescription
matrixMatrix3DMatrix3D 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)
ParameterTypeDescription
aDoubleA matrix value.
bDoubleB matrix value.
cDoubleC matrix value.
dDoubleD matrix value.
eDoubleE matrix value.
fDoubleF matrix value.
gDoubleG matrix value.
hDoubleH matrix value.
iDoubleI matrix value.
txDoubleTX matrix value.
tyDoubleTY matrix value.
tzDoubleTZ matrix value.

Examples

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

See Also