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

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

+ Inheritance diagram for MR.Box_Matrix4i:

Public Member Functions

unsafe Box_Matrix4i (Matrix4i 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_Matrix4i (ConstBox_Matrix4i _other)
 Generated copy constructor.
 
void Assign (ConstBox_Matrix4i _other)
 Generated copy assignment.
 
unsafe Box_Matrix4i ()
 Constructs an empty (default-constructed) instance.
 
unsafe Box_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 Box_Matrix4i (in MR.Matrix3i r, in MR.Vector3i t)
 construct from rotation matrix and translation vector Generated from constructor MR.Matrix4i.Matrix4i.
 
unsafe new ref int call (int row, int col)
 Generated from method MR.Matrix4i.operator().
 
unsafe void setRotation (in MR.Matrix3i rot)
 Generated from method MR.Matrix4i.setRotation.
 
unsafe void setTranslation (in MR.Vector3i t)
 Generated from method MR.Matrix4i.setTranslation.
 
unsafe new MR.Misc.? Ref< int > data ()
 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/=.
 
- Public Member Functions inherited from MR.ConstBox_Matrix4i
virtual void Dispose ()
 
unsafe ConstBox_Matrix4i (Matrix4i 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_Matrix4i (ConstBox_Matrix4i _other)
 Generated copy constructor.
 
unsafe ConstBox_Matrix4i ()
 Constructs an empty (default-constructed) instance.
 
unsafe ConstBox_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 ConstBox_Matrix4i (in MR.Matrix3i r, in MR.Vector3i t)
 construct from rotation matrix and translation vector Generated from constructor MR.Matrix4i.Matrix4i.
 
unsafe int call (int row, int col)
 element access Generated from method MR.Matrix4i.operator().
 
unsafe MR.Vector4i col (int i)
 column access Generated from method MR.Matrix4i.col.
 
unsafe int trace ()
 computes trace of the matrix Generated from method MR.Matrix4i.trace.
 
unsafe int normSq ()
 compute sum of squared matrix elements Generated from method MR.Matrix4i.normSq.
 
unsafe double norm ()
 Generated from method MR.Matrix4i.norm.
 
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.
 
unsafe int det ()
 computes determinant of the matrix Generated from method MR.Matrix4i.det.
 
unsafe MR.Matrix4i transposed ()
 computes transposed matrix Generated from method MR.Matrix4i.transposed.
 
unsafe MR.Matrix3i getRotation ()
 Generated from method MR.Matrix4i.getRotation.
 
unsafe MR.Vector3i getTranslation ()
 Generated from method MR.Matrix4i.getTranslation.
 
unsafe? int data ()
 Generated from method MR.Matrix4i.data.
 
bool Equals (MR.ConstBox_Matrix4i? b)
 
override bool Equals (object? other)
 

Properties

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

Additional Inherited Members

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

Detailed Description

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

Constructor & Destructor Documentation

◆ Box_Matrix4i() [1/5]

unsafe MR.Box_Matrix4i.Box_Matrix4i ( Matrix4i 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_Matrix4i() [2/5]

unsafe MR.Box_Matrix4i.Box_Matrix4i ( ConstBox_Matrix4i _other)
inline

Generated copy constructor.

◆ Box_Matrix4i() [3/5]

unsafe MR.Box_Matrix4i.Box_Matrix4i ( )
inline

Constructs an empty (default-constructed) instance.

◆ Box_Matrix4i() [4/5]

unsafe MR.Box_Matrix4i.Box_Matrix4i ( in MR.Vector4i x,
in MR.Vector4i y,
in MR.Vector4i z,
in MR.Vector4i w )
inline

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

◆ Box_Matrix4i() [5/5]

unsafe MR.Box_Matrix4i.Box_Matrix4i ( in MR.Matrix3i r,
in MR.Vector3i t )
inline

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

Member Function Documentation

◆ addAssign()

unsafe ref MR.Matrix4i MR.Box_Matrix4i.addAssign ( in MR.Matrix4i b)
inline

Generated from function MR.operator+=.

◆ Assign()

void MR.Box_Matrix4i.Assign ( ConstBox_Matrix4i _other)
inline

Generated copy assignment.

◆ call()

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

Generated from method MR.Matrix4i.operator().

◆ data()

unsafe new MR.Misc.? Ref< int > MR.Box_Matrix4i.data ( )
inline

Generated from method MR.Matrix4i.data.

◆ divAssign()

unsafe ref MR.Matrix4i MR.Box_Matrix4i.divAssign ( int b)
inline

Generated from function MR.operator/=.

◆ mulAssign()

unsafe ref MR.Matrix4i MR.Box_Matrix4i.mulAssign ( int b)
inline

Generated from function MR.operator*=.

◆ setRotation()

unsafe void MR.Box_Matrix4i.setRotation ( in MR.Matrix3i rot)
inline

Generated from method MR.Matrix4i.setRotation.

◆ setTranslation()

unsafe void MR.Box_Matrix4i.setTranslation ( in MR.Vector3i t)
inline

Generated from method MR.Matrix4i.setTranslation.

◆ subAssign()

unsafe ref MR.Matrix4i MR.Box_Matrix4i.subAssign ( in MR.Matrix4i b)
inline

Generated from function MR.operator-=.

Property Documentation

◆ this[int row]

unsafe new ref MR.Vector4i MR.Box_Matrix4i.this[int row]
get

Generated from method MR.Matrix4i.operator[].

◆ w

new ref MR.Vector4i MR.Box_Matrix4i.w
get

◆ x

new ref MR.Vector4i MR.Box_Matrix4i.x
get

rows, identity matrix by default

◆ y

new ref MR.Vector4i MR.Box_Matrix4i.y
get

◆ z

new ref MR.Vector4i MR.Box_Matrix4i.z
get

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