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

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

+ Inheritance diagram for MR.ConstBox_Matrix4b:

Classes

struct  _Underlying
 

Public Member Functions

virtual void Dispose ()
 
unsafe ConstBox_Matrix4b (Matrix4b 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_Matrix4b (ConstBox_Matrix4b _other)
 Generated copy constructor.
 
unsafe ConstBox_Matrix4b ()
 Constructs an empty (default-constructed) instance.
 
unsafe ConstBox_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 ConstBox_Matrix4b (in MR.Matrix3b r, in MR.Vector3b t)
 construct from rotation matrix and translation vector Generated from constructor MR.Matrix4b.Matrix4b.
 
unsafe bool call (int row, int col)
 element access Generated from method MR.Matrix4b.operator().
 
unsafe MR.Vector4b col (int i)
 column access Generated from method MR.Matrix4b.col.
 
unsafe bool trace ()
 computes trace of the matrix Generated from method MR.Matrix4b.trace.
 
unsafe bool normSq ()
 compute sum of squared matrix elements Generated from method MR.Matrix4b.normSq.
 
unsafe double norm ()
 Generated from method MR.Matrix4b.norm.
 
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.
 
unsafe bool det ()
 computes determinant of the matrix Generated from method MR.Matrix4b.det.
 
unsafe MR.Matrix4b transposed ()
 computes transposed matrix Generated from method MR.Matrix4b.transposed.
 
unsafe MR.Matrix3b getRotation ()
 Generated from method MR.Matrix4b.getRotation.
 
unsafe MR.Vector3b getTranslation ()
 Generated from method MR.Matrix4b.getTranslation.
 
unsafe? bool data ()
 Generated from method MR.Matrix4b.data.
 
bool Equals (MR.ConstBox_Matrix4b? b)
 
override bool Equals (object? other)
 

Static Public Member Functions

static implicit operator ConstBox_Matrix4b (Matrix4b other)
 Convert from a struct by copying it. Note that only ConstBox_Matrix4b has this conversion, Box_Matrix4b intentionally doesn't.
 
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.ConstBox_Matrix4b a, MR.ConstBox_Matrix4b b)
 Generated from function MR.operator==.
 
static unsafe bool operator!= (MR.ConstBox_Matrix4b a, MR.ConstBox_Matrix4b b)
 
static unsafe MR.Matrix4i operator+ (MR.ConstBox_Matrix4b a, in MR.Matrix4b b)
 Generated from function MR.operator+.
 
static unsafe MR.Matrix4i operator- (MR.ConstBox_Matrix4b a, in MR.Matrix4b b)
 Generated from function MR.operator-.
 
static unsafe MR.Matrix4i operator* (bool a, MR.ConstBox_Matrix4b b)
 Generated from function MR.operator*.
 
static unsafe MR.Matrix4i operator* (MR.ConstBox_Matrix4b b, bool a)
 Generated from function MR.operator*.
 
static unsafe MR.Matrix4i operator/ (ConstBox_Matrix4b b, bool a)
 Generated from function MR.operator/.
 
static unsafe MR.Vector4i operator* (MR.ConstBox_Matrix4b a, in MR.Vector4b b)
 x = a * b Generated from function MR.operator*.
 
static unsafe MR.Matrix4i operator* (MR.ConstBox_Matrix4b a, in MR.Matrix4b b)
 product of two matrices Generated from function MR.operator*.
 

Protected Member Functions

virtual unsafe void Dispose (bool disposing)
 

Properties

ref readonly MR.Vector4b x [get]
 rows, identity matrix by default
 
ref readonly MR.Vector4b y [get]
 
ref readonly MR.Vector4b z [get]
 
ref readonly MR.Vector4b w [get]
 
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 const reference to the struct.

Constructor & Destructor Documentation

◆ ConstBox_Matrix4b() [1/5]

unsafe MR.ConstBox_Matrix4b.ConstBox_Matrix4b ( Matrix4b 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_Matrix4b() [2/5]

unsafe MR.ConstBox_Matrix4b.ConstBox_Matrix4b ( ConstBox_Matrix4b _other)
inline

Generated copy constructor.

◆ ConstBox_Matrix4b() [3/5]

unsafe MR.ConstBox_Matrix4b.ConstBox_Matrix4b ( )
inline

Constructs an empty (default-constructed) instance.

◆ ConstBox_Matrix4b() [4/5]

unsafe MR.ConstBox_Matrix4b.ConstBox_Matrix4b ( in MR.Vector4b x,
in MR.Vector4b y,
in MR.Vector4b z,
in MR.Vector4b w )
inline

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

◆ ConstBox_Matrix4b() [5/5]

unsafe MR.ConstBox_Matrix4b.ConstBox_Matrix4b ( in MR.Matrix3b r,
in MR.Vector3b t )
inline

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

Member Function Documentation

◆ call()

unsafe bool MR.ConstBox_Matrix4b.call ( int row,
int col )
inline

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

◆ col()

unsafe MR.Vector4b MR.ConstBox_Matrix4b.col ( int i)
inline

column access Generated from method MR.Matrix4b.col.

◆ data()

unsafe? bool MR.ConstBox_Matrix4b.data ( )
inline

Generated from method MR.Matrix4b.data.

◆ det()

unsafe bool MR.ConstBox_Matrix4b.det ( )
inline

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

◆ Dispose() [1/2]

virtual void MR.ConstBox_Matrix4b.Dispose ( )
inlinevirtual

◆ Dispose() [2/2]

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

◆ Equals() [1/2]

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

◆ Equals() [2/2]

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

◆ getRotation()

unsafe MR.Matrix3b MR.ConstBox_Matrix4b.getRotation ( )
inline

Generated from method MR.Matrix4b.getRotation.

◆ getTranslation()

unsafe MR.Vector3b MR.ConstBox_Matrix4b.getTranslation ( )
inline

Generated from method MR.Matrix4b.getTranslation.

◆ identity()

static MR.Matrix4b MR.ConstBox_Matrix4b.identity ( )
inlinestatic

Generated from method MR.Matrix4b.identity.

◆ norm()

unsafe double MR.ConstBox_Matrix4b.norm ( )
inline

Generated from method MR.Matrix4b.norm.

◆ normSq()

unsafe bool MR.ConstBox_Matrix4b.normSq ( )
inline

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

◆ operator ConstBox_Matrix4b()

static implicit MR.ConstBox_Matrix4b.operator ConstBox_Matrix4b ( Matrix4b other)
inlinestatic

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

◆ operator!=()

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

◆ operator*() [1/4]

static unsafe MR.Matrix4i MR.ConstBox_Matrix4b.operator* ( bool a,
MR.ConstBox_Matrix4b b )
inlinestatic

Generated from function MR.operator*.

◆ operator*() [2/4]

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

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

◆ operator*() [3/4]

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

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

◆ operator*() [4/4]

static unsafe MR.Matrix4i MR.ConstBox_Matrix4b.operator* ( MR.ConstBox_Matrix4b b,
bool a )
inlinestatic

Generated from function MR.operator*.

◆ operator+()

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

Generated from function MR.operator+.

◆ operator-()

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

Generated from function MR.operator-.

◆ operator/()

static unsafe MR.Matrix4i MR.ConstBox_Matrix4b.operator/ ( ConstBox_Matrix4b b,
bool a )
inlinestatic

Generated from function MR.operator/.

◆ operator==()

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

Generated from function MR.operator==.

◆ scale()

static MR.Matrix4b MR.ConstBox_Matrix4b.scale ( bool s)
inlinestatic

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

◆ submatrix3()

unsafe MR.Matrix3b MR.ConstBox_Matrix4b.submatrix3 ( int i,
int j )
inline

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

◆ trace()

unsafe bool MR.ConstBox_Matrix4b.trace ( )
inline

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

◆ transposed()

unsafe MR.Matrix4b MR.ConstBox_Matrix4b.transposed ( )
inline

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

◆ zero()

static MR.Matrix4b MR.ConstBox_Matrix4b.zero ( )
inlinestatic

Generated from method MR.Matrix4b.zero.

Property Documentation

◆ this[int row]

unsafe ref readonly MR.Vector4b MR.ConstBox_Matrix4b.this[int row]
get

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

◆ w

ref readonly MR.Vector4b MR.ConstBox_Matrix4b.w
get

◆ x

ref readonly MR.Vector4b MR.ConstBox_Matrix4b.x
get

rows, identity matrix by default

◆ y

ref readonly MR.Vector4b MR.ConstBox_Matrix4b.y
get

◆ z

ref readonly MR.Vector4b MR.ConstBox_Matrix4b.z
get

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