Anark Core SDK
Loading...
Searching...
No Matches
Anark.CoreSdkApi.Math.ISdkMatrix4X4 Interface Reference

A 3D transformation matrix that maps a point in 3D space to a potentially different point in 3D space. There are two different conventions: 'column vectors' or 'row vectors' and the 4x4 matrices in each case are the transpose of the other convention. This uses a 'row-vector' convention where the matrix is multiplied on the right of the vector , e.g. v' = vM In our representation, the X,Y,Z translation components are located on the bottom row M41, M42, M43. More...

Inheritance diagram for Anark.CoreSdkApi.Math.ISdkMatrix4X4:
Anark.CoreSdkApi.Math.SdkMatrix4X4

Public Member Functions

double[] ToDoubles ()
 Convert matrix to an array of doubles.
ISdkMatrix4X4 AddTranslation (double translationX, double translationY, double translationZ)
 Adds a translation to the current transform matrix and returns the result as a new matrix.

Properties

double M11 [get]
 Gets the row 1, column 1 value.
double M12 [get]
 Gets the row 1, column 2 value.
double M13 [get]
 Gets the row 1, column 3 value.
double M14 [get]
 Gets the row 1, column 4 value.
double M21 [get]
 Gets the row 2, column 1 value.
double M22 [get]
 Gets the row 2, column 2 value.
double M23 [get]
 Gets the row 2, column 3 value.
double M24 [get]
 Gets the row 2, column 4 value.
double M31 [get]
 Gets the row 3, column 1 value.
double M32 [get]
 Gets the row 3, column 2 value.
double M33 [get]
 Gets the row 3, column 3 value.
double M34 [get]
 Gets the row 3, column 4 value.
double M41 [get]
 Gets the row 4, column 1 value.
double M42 [get]
 Gets the row 4, column 2 value.
double M43 [get]
 Gets the row 4, column 3 value.
double M44 [get]
 Gets the row 4, column 4 value.

Detailed Description

A 3D transformation matrix that maps a point in 3D space to a potentially different point in 3D space. There are two different conventions: 'column vectors' or 'row vectors' and the 4x4 matrices in each case are the transpose of the other convention. This uses a 'row-vector' convention where the matrix is multiplied on the right of the vector , e.g. v' = vM In our representation, the X,Y,Z translation components are located on the bottom row M41, M42, M43.

Member Function Documentation

◆ AddTranslation()

ISdkMatrix4X4 Anark.CoreSdkApi.Math.ISdkMatrix4X4.AddTranslation ( double translationX,
double translationY,
double translationZ )

Adds a translation to the current transform matrix and returns the result as a new matrix.

Parameters
translationXX translation
translationYY translation
translationZZ translation
Returns
A new matrix with the sum of the existing translation and new translation.

Implemented in Anark.CoreSdkApi.Math.SdkMatrix4X4.

◆ ToDoubles()

double[] Anark.CoreSdkApi.Math.ISdkMatrix4X4.ToDoubles ( )

Convert matrix to an array of doubles.

Returns
An array of type double containing all 16 values, row-wise, of the matrix.

Implemented in Anark.CoreSdkApi.Math.SdkMatrix4X4.

Property Documentation

◆ M11

double Anark.CoreSdkApi.Math.ISdkMatrix4X4.M11
get

Gets the row 1, column 1 value.

Implemented in Anark.CoreSdkApi.Math.SdkMatrix4X4.

◆ M12

double Anark.CoreSdkApi.Math.ISdkMatrix4X4.M12
get

Gets the row 1, column 2 value.

Implemented in Anark.CoreSdkApi.Math.SdkMatrix4X4.

◆ M13

double Anark.CoreSdkApi.Math.ISdkMatrix4X4.M13
get

Gets the row 1, column 3 value.

Implemented in Anark.CoreSdkApi.Math.SdkMatrix4X4.

◆ M14

double Anark.CoreSdkApi.Math.ISdkMatrix4X4.M14
get

Gets the row 1, column 4 value.

Implemented in Anark.CoreSdkApi.Math.SdkMatrix4X4.

◆ M21

double Anark.CoreSdkApi.Math.ISdkMatrix4X4.M21
get

Gets the row 2, column 1 value.

Implemented in Anark.CoreSdkApi.Math.SdkMatrix4X4.

◆ M22

double Anark.CoreSdkApi.Math.ISdkMatrix4X4.M22
get

Gets the row 2, column 2 value.

Implemented in Anark.CoreSdkApi.Math.SdkMatrix4X4.

◆ M23

double Anark.CoreSdkApi.Math.ISdkMatrix4X4.M23
get

Gets the row 2, column 3 value.

Implemented in Anark.CoreSdkApi.Math.SdkMatrix4X4.

◆ M24

double Anark.CoreSdkApi.Math.ISdkMatrix4X4.M24
get

Gets the row 2, column 4 value.

Implemented in Anark.CoreSdkApi.Math.SdkMatrix4X4.

◆ M31

double Anark.CoreSdkApi.Math.ISdkMatrix4X4.M31
get

Gets the row 3, column 1 value.

Implemented in Anark.CoreSdkApi.Math.SdkMatrix4X4.

◆ M32

double Anark.CoreSdkApi.Math.ISdkMatrix4X4.M32
get

Gets the row 3, column 2 value.

Implemented in Anark.CoreSdkApi.Math.SdkMatrix4X4.

◆ M33

double Anark.CoreSdkApi.Math.ISdkMatrix4X4.M33
get

Gets the row 3, column 3 value.

Implemented in Anark.CoreSdkApi.Math.SdkMatrix4X4.

◆ M34

double Anark.CoreSdkApi.Math.ISdkMatrix4X4.M34
get

Gets the row 3, column 4 value.

Implemented in Anark.CoreSdkApi.Math.SdkMatrix4X4.

◆ M41

double Anark.CoreSdkApi.Math.ISdkMatrix4X4.M41
get

Gets the row 4, column 1 value.

Implemented in Anark.CoreSdkApi.Math.SdkMatrix4X4.

◆ M42

double Anark.CoreSdkApi.Math.ISdkMatrix4X4.M42
get

Gets the row 4, column 2 value.

Implemented in Anark.CoreSdkApi.Math.SdkMatrix4X4.

◆ M43

double Anark.CoreSdkApi.Math.ISdkMatrix4X4.M43
get

Gets the row 4, column 3 value.

Implemented in Anark.CoreSdkApi.Math.SdkMatrix4X4.

◆ M44

double Anark.CoreSdkApi.Math.ISdkMatrix4X4.M44
get

Gets the row 4, column 4 value.

Implemented in Anark.CoreSdkApi.Math.SdkMatrix4X4.