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

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

+ Inheritance diagram for MR.ConstBox_Matrix4i:

Classes

struct  _Underlying
 

Public Member Functions

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)
 

Static Public Member Functions

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

virtual unsafe void Dispose (bool disposing)
 

Properties

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[].
 

Detailed Description

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

Constructor & Destructor Documentation

◆ ConstBox_Matrix4i() [1/5]

unsafe MR.ConstBox_Matrix4i.ConstBox_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.)

◆ ConstBox_Matrix4i() [2/5]

unsafe MR.ConstBox_Matrix4i.ConstBox_Matrix4i ( ConstBox_Matrix4i _other)
inline

Generated copy constructor.

◆ ConstBox_Matrix4i() [3/5]

unsafe MR.ConstBox_Matrix4i.ConstBox_Matrix4i ( )
inline

Constructs an empty (default-constructed) instance.

◆ ConstBox_Matrix4i() [4/5]

unsafe MR.ConstBox_Matrix4i.ConstBox_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.

◆ ConstBox_Matrix4i() [5/5]

unsafe MR.ConstBox_Matrix4i.ConstBox_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

◆ call()

unsafe int MR.ConstBox_Matrix4i.call ( int row,
int col )
inline

element access Generated from method MR.Matrix4i.operator().

◆ col()

unsafe MR.Vector4i MR.ConstBox_Matrix4i.col ( int i)
inline

column access Generated from method MR.Matrix4i.col.

◆ data()

unsafe? int MR.ConstBox_Matrix4i.data ( )
inline

Generated from method MR.Matrix4i.data.

◆ det()

unsafe int MR.ConstBox_Matrix4i.det ( )
inline

computes determinant of the matrix Generated from method MR.Matrix4i.det.

◆ Dispose() [1/2]

virtual void MR.ConstBox_Matrix4i.Dispose ( )
inlinevirtual

◆ Dispose() [2/2]

virtual unsafe void MR.ConstBox_Matrix4i.Dispose ( bool disposing)
inlineprotectedvirtual

◆ Equals() [1/2]

bool MR.ConstBox_Matrix4i.Equals ( MR.ConstBox_Matrix4i? b)
inline

◆ Equals() [2/2]

override bool MR.ConstBox_Matrix4i.Equals ( object? other)
inline

◆ getRotation()

unsafe MR.Matrix3i MR.ConstBox_Matrix4i.getRotation ( )
inline

Generated from method MR.Matrix4i.getRotation.

◆ getTranslation()

unsafe MR.Vector3i MR.ConstBox_Matrix4i.getTranslation ( )
inline

Generated from method MR.Matrix4i.getTranslation.

◆ identity()

static MR.Matrix4i MR.ConstBox_Matrix4i.identity ( )
inlinestatic

Generated from method MR.Matrix4i.identity.

◆ norm()

unsafe double MR.ConstBox_Matrix4i.norm ( )
inline

Generated from method MR.Matrix4i.norm.

◆ normSq()

unsafe int MR.ConstBox_Matrix4i.normSq ( )
inline

compute sum of squared matrix elements Generated from method MR.Matrix4i.normSq.

◆ operator ConstBox_Matrix4i()

static implicit MR.ConstBox_Matrix4i.operator ConstBox_Matrix4i ( Matrix4i other)
inlinestatic

Convert from a struct by copying it. Note that only ConstBox_Matrix4i has this conversion, Box_Matrix4i intentionally doesn't.

◆ operator!=()

static unsafe bool MR.ConstBox_Matrix4i.operator!= ( MR.ConstBox_Matrix4i a,
MR.ConstBox_Matrix4i b )
inlinestatic

◆ operator*() [1/4]

static unsafe MR.Matrix4i MR.ConstBox_Matrix4i.operator* ( int a,
MR.ConstBox_Matrix4i b )
inlinestatic

Generated from function MR.operator*.

◆ operator*() [2/4]

static unsafe MR.Matrix4i MR.ConstBox_Matrix4i.operator* ( MR.ConstBox_Matrix4i a,
in MR.Matrix4i b )
inlinestatic

product of two matrices Generated from function MR.operator*.

◆ operator*() [3/4]

static unsafe MR.Vector4i MR.ConstBox_Matrix4i.operator* ( MR.ConstBox_Matrix4i a,
in MR.Vector4i b )
inlinestatic

x = a * b Generated from function MR.operator*.

◆ operator*() [4/4]

static unsafe MR.Matrix4i MR.ConstBox_Matrix4i.operator* ( MR.ConstBox_Matrix4i b,
int a )
inlinestatic

Generated from function MR.operator*.

◆ operator+()

static unsafe MR.Matrix4i MR.ConstBox_Matrix4i.operator+ ( MR.ConstBox_Matrix4i a,
in MR.Matrix4i b )
inlinestatic

Generated from function MR.operator+.

◆ operator-()

static unsafe MR.Matrix4i MR.ConstBox_Matrix4i.operator- ( MR.ConstBox_Matrix4i a,
in MR.Matrix4i b )
inlinestatic

Generated from function MR.operator-.

◆ operator/()

static unsafe MR.Matrix4i MR.ConstBox_Matrix4i.operator/ ( ConstBox_Matrix4i b,
int a )
inlinestatic

Generated from function MR.operator/.

◆ operator==()

static unsafe bool MR.ConstBox_Matrix4i.operator== ( MR.ConstBox_Matrix4i a,
MR.ConstBox_Matrix4i b )
inlinestatic

Generated from function MR.operator==.

◆ scale()

static MR.Matrix4i MR.ConstBox_Matrix4i.scale ( int s)
inlinestatic

returns a matrix that scales uniformly Generated from method MR.Matrix4i.scale.

◆ submatrix3()

unsafe MR.Matrix3i MR.ConstBox_Matrix4i.submatrix3 ( int i,
int j )
inline

computes submatrix of the matrix with excluded i-th row and j-th column Generated from method MR.Matrix4i.submatrix3.

◆ trace()

unsafe int MR.ConstBox_Matrix4i.trace ( )
inline

computes trace of the matrix Generated from method MR.Matrix4i.trace.

◆ transposed()

unsafe MR.Matrix4i MR.ConstBox_Matrix4i.transposed ( )
inline

computes transposed matrix Generated from method MR.Matrix4i.transposed.

◆ zero()

static MR.Matrix4i MR.ConstBox_Matrix4i.zero ( )
inlinestatic

Generated from method MR.Matrix4i.zero.

Property Documentation

◆ this[int row]

unsafe ref readonly MR.Vector4i MR.ConstBox_Matrix4i.this[int row]
get

row access Generated from method MR.Matrix4i.operator[].

◆ w

ref readonly MR.Vector4i MR.ConstBox_Matrix4i.w
get

◆ x

ref readonly MR.Vector4i MR.ConstBox_Matrix4i.x
get

rows, identity matrix by default

◆ y

ref readonly MR.Vector4i MR.ConstBox_Matrix4i.y
get

◆ z

ref readonly MR.Vector4i MR.ConstBox_Matrix4i.z
get

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