IOLink C# 1.11.0
Loading...
Searching...
No Matches
IOLink.Matrix4f Class Reference

An arithmetic square matrix. More...

Inheritance diagram for IOLink.Matrix4f:

Public Member Functions

 Matrix4f (global::System.IntPtr cPtr, bool cMemoryOwn)
 
void Dispose ()
 
 Matrix4f (params float[] init)
 
override bool Equals (object obj)
 
 Matrix4f ()
 Default constructor. Object will have indeterminate values.
 
float At (uint row, uint column)
 Access an element of the matrix.
 
void SetAt (uint row, uint column, float value)
 Set an element of the matrix.
 
void TransposeInPlace ()
 Transpose the matrix in place.
 
Matrix4f Transpose ()
 Return the transposed matrix.
 
Matrix4f Inverse ()
 
string ToString ()
 Return a string representation of the matrix.
 

Static Public Member Functions

static global::System.Runtime.InteropServices.HandleRef getCPtr (Matrix4f obj)
 
static global::System.Runtime.InteropServices.HandleRef swigRelease (Matrix4f obj)
 
static bool operator== (Matrix4f m1, Matrix4f m2)
 
static bool operator!= (Matrix4f m1, Matrix4f m2)
 
static Matrix4f operator+ (Matrix4f m1, Matrix4f m2)
 
static Matrix4f operator- (Matrix4f m1, Matrix4f m2)
 
static Matrix4f operator* (Matrix4f v, float value)
 
static Matrix4f operator* (float value, Matrix4f v)
 
static Matrix4f operator* (Matrix4f lhs, Matrix4f rhs)
 
static Vector4f operator* (Matrix4f lhs, Vector4f rhs)
 
static Matrix4f operator/ (Matrix4f v, float value)
 
static Matrix4f Identity ()
 Return an identity matrix.
 
static Matrix4f Uniform (float value)
 Initialize an uniform matrix with an unique value.
 

Protected Member Functions

virtual void Dispose (bool disposing)
 

Protected Attributes

bool swigCMemOwn
 

Detailed Description

An arithmetic square matrix.

Do not use this class directly, only uses its aliases.

Member Function Documentation

◆ At()

float IOLink.Matrix4f.At ( uint  row,
uint  column 
)
inline

Access an element of the matrix.

Parameters
columnThe column of the element
rowThe row of the element

◆ Inverse()

Matrix4f IOLink.Matrix4f.Inverse ( )
inline

Return the inverse matrix.

Calling this method on a non-invertable matrix will cause undefined behaviour.

◆ SetAt()

void IOLink.Matrix4f.SetAt ( uint  row,
uint  column,
float  value 
)
inline

Set an element of the matrix.

Parameters
columnThe column of the element
rowThe row of the element
valueThe value to assign to the element

◆ Uniform()

static Matrix4f IOLink.Matrix4f.Uniform ( float  value)
inlinestatic

Initialize an uniform matrix with an unique value.

Parameters
valueThe value to assign to each element of the matrix

The documentation for this class was generated from the following file: