Matrix3D

Matrix3D class

Class represents transformation matrix.

The Matrix3D type exposes the following members:

Constructors

NameDescription
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]
Matrix3D(matrix_3d_array)Initializes a new instance of the Matrix3D class
Matrix3D(matrix)Initializes a new instance of the Matrix3D class
Matrix3D(a, b, c, d, e, f, g, h, i, tx, ty, tz)Initializes a new instance of the Matrix3D class

Properties

NameDescription
aA member of the transformation matrix.
bB member of the transformation matrix.
cC member of the transformation matrix.
dD member of the transformation matrix.
eE member of the transformation matrix.
fF member of the transformation matrix.
gG member of the transformation matrix.
hH member of the transformation matrix.
iI member of the transformation matrix.
txTx member of the transformation matrix.
tyTy member of the transformation matrix.
tzTz member of the transformation matrix.

Methods

NameDescription
get_angle(rotation)Transaltes rotation into angle (degrees)
add(other)Adds matrix to other matrix.

See Also