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
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.)
 
virtual void Dispose ()
 
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

unsafe new ref Matrix4i _Ref [get]
 Get the underlying struct.
 
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
unsafe ref readonly Matrix4i _Ref [get]
 Get the underlying struct.
 
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[].
 
- Properties inherited from MR.Misc.Object< ConstBox_Matrix4i >
virtual bool _IsOwning [get]
 Returns true if this is an owning instance, and when disposed, will destroy the underlying C++ instance. If false, we assume that the underlying C++ instance will live long enough.
 

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)
 
- Protected Attributes inherited from MR.Misc.Object< ConstBox_Matrix4i >
bool _IsOwningVal
 

Detailed Description

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


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