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.


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