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

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

+ Inheritance diagram for MR.Matrix4i:

Public Member Functions

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

Static Public Member Functions

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

Public Attributes

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

Properties

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

Detailed Description

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


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