MeshLib C# Docs
Loading...
Searching...
No Matches
MR.Box_Matrix4b Class Reference

arbitrary 4x4 matrix Generated from class MR.Matrix4b. This is the non-const reference to the struct. More...

+ Inheritance diagram for MR.Box_Matrix4b:

Public Member Functions

unsafe Box_Matrix4b (Matrix4b other)
 Make a copy of a struct. (Even though we initially pass is_owning: false, we then use the copy constructor to produce an owning instance.)
 
unsafe Box_Matrix4b (ConstBox_Matrix4b _other)
 Generated copy constructor.
 
void Assign (ConstBox_Matrix4b _other)
 Generated copy assignment.
 
unsafe Box_Matrix4b ()
 Constructs an empty (default-constructed) instance.
 
unsafe Box_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 Box_Matrix4b (in MR.Matrix3b r, in MR.Vector3b t)
 construct from rotation matrix and translation vector Generated from constructor MR.Matrix4b.Matrix4b.
 
unsafe new ref bool call (int row, int col)
 Generated from method MR.Matrix4b.operator().
 
unsafe void setRotation (in MR.Matrix3b rot)
 Generated from method MR.Matrix4b.setRotation.
 
unsafe void setTranslation (in MR.Vector3b t)
 Generated from method MR.Matrix4b.setTranslation.
 
unsafe new MR.Misc.? Ref< bool > data ()
 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/=.
 
- Public Member Functions inherited from MR.ConstBox_Matrix4b
virtual void Dispose ()
 
unsafe ConstBox_Matrix4b (Matrix4b other)
 Make a copy of a struct. (Even though we initially pass is_owning: false, we then use the copy constructor to produce an owning instance.)
 
unsafe ConstBox_Matrix4b (ConstBox_Matrix4b _other)
 Generated copy constructor.
 
unsafe ConstBox_Matrix4b ()
 Constructs an empty (default-constructed) instance.
 
unsafe ConstBox_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 ConstBox_Matrix4b (in MR.Matrix3b r, in MR.Vector3b t)
 construct from rotation matrix and translation vector Generated from constructor MR.Matrix4b.Matrix4b.
 
unsafe bool call (int row, int col)
 element access Generated from method MR.Matrix4b.operator().
 
unsafe MR.Vector4b col (int i)
 column access Generated from method MR.Matrix4b.col.
 
unsafe bool trace ()
 computes trace of the matrix Generated from method MR.Matrix4b.trace.
 
unsafe bool normSq ()
 compute sum of squared matrix elements Generated from method MR.Matrix4b.normSq.
 
unsafe double norm ()
 Generated from method MR.Matrix4b.norm.
 
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.
 
unsafe bool det ()
 computes determinant of the matrix Generated from method MR.Matrix4b.det.
 
unsafe MR.Matrix4b transposed ()
 computes transposed matrix Generated from method MR.Matrix4b.transposed.
 
unsafe MR.Matrix3b getRotation ()
 Generated from method MR.Matrix4b.getRotation.
 
unsafe MR.Vector3b getTranslation ()
 Generated from method MR.Matrix4b.getTranslation.
 
unsafe? bool data ()
 Generated from method MR.Matrix4b.data.
 
bool Equals (MR.ConstBox_Matrix4b? b)
 
override bool Equals (object? other)
 

Properties

new ref MR.Vector4b x [get]
 rows, identity matrix by default
 
new ref MR.Vector4b y [get]
 
new ref MR.Vector4b z [get]
 
new ref MR.Vector4b w [get]
 
unsafe new ref MR.Vector4b this[int row] [get]
 Generated from method MR.Matrix4b.operator[].
 
- Properties inherited from MR.ConstBox_Matrix4b
ref readonly MR.Vector4b x [get]
 rows, identity matrix by default
 
ref readonly MR.Vector4b y [get]
 
ref readonly MR.Vector4b z [get]
 
ref readonly MR.Vector4b w [get]
 
unsafe ref readonly MR.Vector4b this[int row] [get]
 row access Generated from method MR.Matrix4b.operator[].
 

Additional Inherited Members

- Static Public Member Functions inherited from MR.ConstBox_Matrix4b
static implicit operator ConstBox_Matrix4b (Matrix4b other)
 Convert from a struct by copying it. Note that only ConstBox_Matrix4b has this conversion, Box_Matrix4b intentionally doesn't.
 
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.ConstBox_Matrix4b a, MR.ConstBox_Matrix4b b)
 Generated from function MR.operator==.
 
static unsafe bool operator!= (MR.ConstBox_Matrix4b a, MR.ConstBox_Matrix4b b)
 
static unsafe MR.Matrix4i operator+ (MR.ConstBox_Matrix4b a, in MR.Matrix4b b)
 Generated from function MR.operator+.
 
static unsafe MR.Matrix4i operator- (MR.ConstBox_Matrix4b a, in MR.Matrix4b b)
 Generated from function MR.operator-.
 
static unsafe MR.Matrix4i operator* (bool a, MR.ConstBox_Matrix4b b)
 Generated from function MR.operator*.
 
static unsafe MR.Matrix4i operator* (MR.ConstBox_Matrix4b b, bool a)
 Generated from function MR.operator*.
 
static unsafe MR.Matrix4i operator/ (ConstBox_Matrix4b b, bool a)
 Generated from function MR.operator/.
 
static unsafe MR.Vector4i operator* (MR.ConstBox_Matrix4b a, in MR.Vector4b b)
 x = a * b Generated from function MR.operator*.
 
static unsafe MR.Matrix4i operator* (MR.ConstBox_Matrix4b a, in MR.Matrix4b b)
 product of two matrices Generated from function MR.operator*.
 
- Protected Member Functions inherited from MR.ConstBox_Matrix4b
virtual unsafe void Dispose (bool disposing)
 

Detailed Description

arbitrary 4x4 matrix Generated from class MR.Matrix4b. This is the non-const reference to the struct.

Constructor & Destructor Documentation

◆ Box_Matrix4b() [1/5]

unsafe MR.Box_Matrix4b.Box_Matrix4b ( Matrix4b other)
inline

Make a copy of a struct. (Even though we initially pass is_owning: false, we then use the copy constructor to produce an owning instance.)

◆ Box_Matrix4b() [2/5]

unsafe MR.Box_Matrix4b.Box_Matrix4b ( ConstBox_Matrix4b _other)
inline

Generated copy constructor.

◆ Box_Matrix4b() [3/5]

unsafe MR.Box_Matrix4b.Box_Matrix4b ( )
inline

Constructs an empty (default-constructed) instance.

◆ Box_Matrix4b() [4/5]

unsafe MR.Box_Matrix4b.Box_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.

◆ Box_Matrix4b() [5/5]

unsafe MR.Box_Matrix4b.Box_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.Box_Matrix4b.addAssign ( in MR.Matrix4b b)
inline

Generated from function MR.operator+=.

◆ Assign()

void MR.Box_Matrix4b.Assign ( ConstBox_Matrix4b _other)
inline

Generated copy assignment.

◆ call()

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

Generated from method MR.Matrix4b.operator().

◆ data()

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

Generated from method MR.Matrix4b.data.

◆ divAssign()

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

Generated from function MR.operator/=.

◆ mulAssign()

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

Generated from function MR.operator*=.

◆ setRotation()

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

Generated from method MR.Matrix4b.setRotation.

◆ setTranslation()

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

Generated from method MR.Matrix4b.setTranslation.

◆ subAssign()

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

Generated from function MR.operator-=.

Property Documentation

◆ this[int row]

unsafe new ref MR.Vector4b MR.Box_Matrix4b.this[int row]
get

Generated from method MR.Matrix4b.operator[].

◆ w

new ref MR.Vector4b MR.Box_Matrix4b.w
get

◆ x

new ref MR.Vector4b MR.Box_Matrix4b.x
get

rows, identity matrix by default

◆ y

new ref MR.Vector4b MR.Box_Matrix4b.y
get

◆ z

new ref MR.Vector4b MR.Box_Matrix4b.z
get

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