MeshLib C# Docs
Loading...
Searching...
No Matches
MR.Matrix4b Struct Reference

arbitrary 4x4 matrix Generated from class MR.Matrix4b. This is the by-value version of the struct. More...

+ Inheritance diagram for MR.Matrix4b:

Public Member Functions

 Matrix4b (Matrix4b _other)
 Generated copy constructor.
 
unsafe Matrix4b ()
 Constructs an empty (default-constructed) instance.
 
unsafe Matrix4b (in MR.Vector4b x, in MR.Vector4b y, in MR.Vector4b z, in MR.Vector4b w)
 initializes matrix from 4 row-vectors Generated from constructor MR.Matrix4b.Matrix4b.
 
unsafe Matrix4b (in MR.Matrix3b r, in MR.Vector3b t)
 construct from rotation matrix and translation vector Generated from constructor MR.Matrix4b.Matrix4b.
 
readonly unsafe bool call_Const (int row, int col)
 element access Generated from method MR.Matrix4b.operator().
 
unsafe ref bool call (int row, int col)
 Generated from method MR.Matrix4b.operator().
 
unsafe ref MR.Vector4b index (int row)
 Generated from method MR.Matrix4b.operator[].
 
readonly unsafe MR.Vector4b col (int i)
 column access Generated from method MR.Matrix4b.col.
 
readonly unsafe bool trace ()
 computes trace of the matrix Generated from method MR.Matrix4b.trace.
 
readonly unsafe bool normSq ()
 compute sum of squared matrix elements Generated from method MR.Matrix4b.normSq.
 
readonly unsafe double norm ()
 Generated from method MR.Matrix4b.norm.
 
readonly unsafe MR.Matrix3b submatrix3 (int i, int j)
 computes submatrix of the matrix with excluded i-th row and j-th column Generated from method MR.Matrix4b.submatrix3.
 
readonly unsafe bool det ()
 computes determinant of the matrix Generated from method MR.Matrix4b.det.
 
readonly unsafe MR.Matrix4b transposed ()
 computes transposed matrix Generated from method MR.Matrix4b.transposed.
 
readonly unsafe MR.Matrix3b getRotation ()
 Generated from method MR.Matrix4b.getRotation.
 
unsafe void setRotation (in MR.Matrix3b rot)
 Generated from method MR.Matrix4b.setRotation.
 
readonly unsafe MR.Vector3b getTranslation ()
 Generated from method MR.Matrix4b.getTranslation.
 
unsafe void setTranslation (in MR.Vector3b t)
 Generated from method MR.Matrix4b.setTranslation.
 
unsafe MR.Misc.? Ref< bool > data ()
 Generated from method MR.Matrix4b.data.
 
readonly unsafe? bool data_Const ()
 Generated from method MR.Matrix4b.data.
 
unsafe ref MR.Matrix4b addAssign (in MR.Matrix4b b)
 Generated from function MR.operator+=.
 
unsafe ref MR.Matrix4b subAssign (in MR.Matrix4b b)
 Generated from function MR.operator-=.
 
unsafe ref MR.Matrix4b mulAssign (bool b)
 Generated from function MR.operator*=.
 
unsafe ref MR.Matrix4b divAssign (bool b)
 Generated from function MR.operator/=.
 
bool Equals (MR.Matrix4b b)
 
override bool Equals (object? other)
 

Static Public Member Functions

static implicit operator Matrix4b (ConstBox_Matrix4b other)
 Copy contents from a wrapper class to this struct.
 
static MR.Matrix4b zero ()
 Generated from method MR.Matrix4b.zero.
 
static MR.Matrix4b identity ()
 Generated from method MR.Matrix4b.identity.
 
static MR.Matrix4b scale (bool s)
 returns a matrix that scales uniformly Generated from method MR.Matrix4b.scale.
 
static unsafe bool operator== (MR.Matrix4b a, MR.Matrix4b b)
 Generated from function MR.operator==.
 
static unsafe bool operator!= (MR.Matrix4b a, MR.Matrix4b b)
 
static unsafe MR.Matrix4i operator+ (MR.Matrix4b a, in MR.Matrix4b b)
 Generated from function MR.operator+.
 
static unsafe MR.Matrix4i operator- (MR.Matrix4b a, in MR.Matrix4b b)
 Generated from function MR.operator-.
 
static unsafe MR.Matrix4i operator* (bool a, MR.Matrix4b b)
 Generated from function MR.operator*.
 
static unsafe MR.Matrix4i operator* (MR.Matrix4b b, bool a)
 Generated from function MR.operator*.
 
static MR.Matrix4i operator/ (MR.Matrix4b b, bool a)
 Generated from function MR.operator/.
 
static unsafe MR.Vector4i operator* (MR.Matrix4b a, in MR.Vector4b b)
 x = a * b Generated from function MR.operator*.
 
static unsafe MR.Matrix4i operator* (MR.Matrix4b a, in MR.Matrix4b b)
 product of two matrices Generated from function MR.operator*.
 

Public Attributes

MR.Vector4b x
 rows, identity matrix by default
 
MR.Vector4b y
 
MR.Vector4b z
 
MR.Vector4b w
 

Properties

readonly unsafe ref readonly MR.Vector4b this[int row] [get]
 row access Generated from method MR.Matrix4b.operator[].
 

Detailed Description

arbitrary 4x4 matrix Generated from class MR.Matrix4b. This is the by-value version of the struct.

Constructor & Destructor Documentation

◆ Matrix4b() [1/4]

MR.Matrix4b.Matrix4b ( Matrix4b _other)
inline

Generated copy constructor.

◆ Matrix4b() [2/4]

unsafe MR.Matrix4b.Matrix4b ( )
inline

Constructs an empty (default-constructed) instance.

◆ Matrix4b() [3/4]

unsafe MR.Matrix4b.Matrix4b ( in MR.Vector4b x,
in MR.Vector4b y,
in MR.Vector4b z,
in MR.Vector4b w )
inline

initializes matrix from 4 row-vectors Generated from constructor MR.Matrix4b.Matrix4b.

◆ Matrix4b() [4/4]

unsafe MR.Matrix4b.Matrix4b ( in MR.Matrix3b r,
in MR.Vector3b t )
inline

construct from rotation matrix and translation vector Generated from constructor MR.Matrix4b.Matrix4b.

Member Function Documentation

◆ addAssign()

unsafe ref MR.Matrix4b MR.Matrix4b.addAssign ( in MR.Matrix4b b)
inline

Generated from function MR.operator+=.

◆ call()

unsafe ref bool MR.Matrix4b.call ( int row,
int col )
inline

Generated from method MR.Matrix4b.operator().

◆ call_Const()

readonly unsafe bool MR.Matrix4b.call_Const ( int row,
int col )
inline

element access Generated from method MR.Matrix4b.operator().

◆ col()

readonly unsafe MR.Vector4b MR.Matrix4b.col ( int i)
inline

column access Generated from method MR.Matrix4b.col.

◆ data()

unsafe MR.Misc.? Ref< bool > MR.Matrix4b.data ( )
inline

Generated from method MR.Matrix4b.data.

◆ data_Const()

readonly unsafe? bool MR.Matrix4b.data_Const ( )
inline

Generated from method MR.Matrix4b.data.

◆ det()

readonly unsafe bool MR.Matrix4b.det ( )
inline

computes determinant of the matrix Generated from method MR.Matrix4b.det.

◆ divAssign()

unsafe ref MR.Matrix4b MR.Matrix4b.divAssign ( bool b)
inline

Generated from function MR.operator/=.

◆ Equals() [1/2]

bool MR.Matrix4b.Equals ( MR.Matrix4b b)
inline

◆ Equals() [2/2]

override bool MR.Matrix4b.Equals ( object? other)
inline

◆ getRotation()

readonly unsafe MR.Matrix3b MR.Matrix4b.getRotation ( )
inline

Generated from method MR.Matrix4b.getRotation.

◆ getTranslation()

readonly unsafe MR.Vector3b MR.Matrix4b.getTranslation ( )
inline

Generated from method MR.Matrix4b.getTranslation.

◆ identity()

static MR.Matrix4b MR.Matrix4b.identity ( )
inlinestatic

Generated from method MR.Matrix4b.identity.

◆ index()

unsafe ref MR.Vector4b MR.Matrix4b.index ( int row)
inline

Generated from method MR.Matrix4b.operator[].

◆ mulAssign()

unsafe ref MR.Matrix4b MR.Matrix4b.mulAssign ( bool b)
inline

Generated from function MR.operator*=.

◆ norm()

readonly unsafe double MR.Matrix4b.norm ( )
inline

Generated from method MR.Matrix4b.norm.

◆ normSq()

readonly unsafe bool MR.Matrix4b.normSq ( )
inline

compute sum of squared matrix elements Generated from method MR.Matrix4b.normSq.

◆ operator Matrix4b()

static implicit MR.Matrix4b.operator Matrix4b ( ConstBox_Matrix4b other)
static

Copy contents from a wrapper class to this struct.

◆ operator!=()

static unsafe bool MR.Matrix4b.operator!= ( MR.Matrix4b a,
MR.Matrix4b b )
inlinestatic

◆ operator*() [1/4]

static unsafe MR.Matrix4i MR.Matrix4b.operator* ( bool a,
MR.Matrix4b b )
inlinestatic

Generated from function MR.operator*.

◆ operator*() [2/4]

static unsafe MR.Matrix4i MR.Matrix4b.operator* ( MR.Matrix4b a,
in MR.Matrix4b b )
inlinestatic

product of two matrices Generated from function MR.operator*.

◆ operator*() [3/4]

static unsafe MR.Vector4i MR.Matrix4b.operator* ( MR.Matrix4b a,
in MR.Vector4b b )
inlinestatic

x = a * b Generated from function MR.operator*.

◆ operator*() [4/4]

static unsafe MR.Matrix4i MR.Matrix4b.operator* ( MR.Matrix4b b,
bool a )
inlinestatic

Generated from function MR.operator*.

◆ operator+()

static unsafe MR.Matrix4i MR.Matrix4b.operator+ ( MR.Matrix4b a,
in MR.Matrix4b b )
inlinestatic

Generated from function MR.operator+.

◆ operator-()

static unsafe MR.Matrix4i MR.Matrix4b.operator- ( MR.Matrix4b a,
in MR.Matrix4b b )
inlinestatic

Generated from function MR.operator-.

◆ operator/()

static MR.Matrix4i MR.Matrix4b.operator/ ( MR.Matrix4b b,
bool a )
inlinestatic

Generated from function MR.operator/.

◆ operator==()

static unsafe bool MR.Matrix4b.operator== ( MR.Matrix4b a,
MR.Matrix4b b )
inlinestatic

Generated from function MR.operator==.

◆ scale()

static MR.Matrix4b MR.Matrix4b.scale ( bool s)
inlinestatic

returns a matrix that scales uniformly Generated from method MR.Matrix4b.scale.

◆ setRotation()

unsafe void MR.Matrix4b.setRotation ( in MR.Matrix3b rot)
inline

Generated from method MR.Matrix4b.setRotation.

◆ setTranslation()

unsafe void MR.Matrix4b.setTranslation ( in MR.Vector3b t)
inline

Generated from method MR.Matrix4b.setTranslation.

◆ subAssign()

unsafe ref MR.Matrix4b MR.Matrix4b.subAssign ( in MR.Matrix4b b)
inline

Generated from function MR.operator-=.

◆ submatrix3()

readonly unsafe MR.Matrix3b MR.Matrix4b.submatrix3 ( int i,
int j )
inline

computes submatrix of the matrix with excluded i-th row and j-th column Generated from method MR.Matrix4b.submatrix3.

◆ trace()

readonly unsafe bool MR.Matrix4b.trace ( )
inline

computes trace of the matrix Generated from method MR.Matrix4b.trace.

◆ transposed()

readonly unsafe MR.Matrix4b MR.Matrix4b.transposed ( )
inline

computes transposed matrix Generated from method MR.Matrix4b.transposed.

◆ zero()

static MR.Matrix4b MR.Matrix4b.zero ( )
inlinestatic

Generated from method MR.Matrix4b.zero.

Member Data Documentation

◆ w

MR.Vector4b MR.Matrix4b.w

◆ x

MR.Vector4b MR.Matrix4b.x

rows, identity matrix by default

◆ y

MR.Vector4b MR.Matrix4b.y

◆ z

MR.Vector4b MR.Matrix4b.z

Property Documentation

◆ this[int row]

readonly unsafe ref readonly MR.Vector4b MR.Matrix4b.this[int row]
get

row access Generated from method MR.Matrix4b.operator[].


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