[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.Util.Matrix3D.-ctor

Matrix3D Constructor

Matrix3D(float, float, float, float, float, float, float, float, float, float, float, float)

Initializes a new instance of Matrix3D with the specified 3x3 matrix elements and translation components.

Declaration
public Matrix3D(float m11, float m12, float m13, float m21, float m22, float m23, float m31, float m32, float m33, float tx, float ty, float tz)
Public Sub New(m11 As Single, m12 As Single, m13 As Single, m21 As Single, m22 As Single, m23 As Single, m31 As Single, m32 As Single, m33 As Single, tx As Single, ty As Single, tz As Single)
Parameters
Type Name Description
float m11

Element at row 1, column 1 of the 3x3 linear matrix.

float m12

Element at row 1, column 2 of the 3x3 linear matrix.

float m13

Element at row 1, column 3 of the 3x3 linear matrix.

float m21

Element at row 2, column 1 of the 3x3 linear matrix.

float m22

Element at row 2, column 2 of the 3x3 linear matrix.

float m23

Element at row 2, column 3 of the 3x3 linear matrix.

float m31

Element at row 3, column 1 of the 3x3 linear matrix.

float m32

Element at row 3, column 2 of the 3x3 linear matrix.

float m33

Element at row 3, column 3 of the 3x3 linear matrix.

float tx

Translation component along the X axis.

float ty

Translation component along the Y axis.

float tz

Translation component along the Z axis.

Remarks

Matrix elements are stored in row-major order. A 3D point v is transformed by M * v + T, where M is the 3x3 matrix defined by m11..m33 and T is the translation vector (tx, ty, tz).

Matrix3D(float[])

Initializes a new instance of the Matrix3D struct.

Declaration
public Matrix3D(float[] values)
Public Sub New(values As Single())
Parameters
Type Name Description
float[] values

The values to assign to the components of the matrix. This must be an array with 12 elements.