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

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

+ Inheritance diagram for MR.ConstBox_Matrix4f:

Classes

struct  _Underlying
 

Public Member Functions

virtual void Dispose ()
 
unsafe ConstBox_Matrix4f (Matrix4f 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_Matrix4f (ConstBox_Matrix4f _other)
 Generated copy constructor.
 
unsafe ConstBox_Matrix4f ()
 Constructs an empty (default-constructed) instance.
 
unsafe ConstBox_Matrix4f (in MR.Vector4f x, in MR.Vector4f y, in MR.Vector4f z, in MR.Vector4f w)
 initializes matrix from 4 row-vectors Generated from constructor MR.Matrix4f.Matrix4f.
 
unsafe ConstBox_Matrix4f (in MR.Matrix3f r, in MR.Vector3f t)
 construct from rotation matrix and translation vector Generated from constructor MR.Matrix4f.Matrix4f.
 
unsafe ConstBox_Matrix4f (in MR.AffineXf3f xf)
 Generated from constructor MR.Matrix4f.Matrix4f.
 
unsafe float call (int row, int col)
 element access Generated from method MR.Matrix4f.operator().
 
unsafe MR.Vector4f col (int i)
 column access Generated from method MR.Matrix4f.col.
 
unsafe float trace ()
 computes trace of the matrix Generated from method MR.Matrix4f.trace.
 
unsafe float normSq ()
 compute sum of squared matrix elements Generated from method MR.Matrix4f.normSq.
 
unsafe float norm ()
 Generated from method MR.Matrix4f.norm.
 
unsafe MR.Matrix3f submatrix3 (int i, int j)
 computes submatrix of the matrix with excluded i-th row and j-th column Generated from method MR.Matrix4f.submatrix3.
 
unsafe float det ()
 computes determinant of the matrix Generated from method MR.Matrix4f.det.
 
unsafe MR.Matrix4f inverse ()
 computes inverse matrix Generated from method MR.Matrix4f.inverse.
 
unsafe MR.Matrix4f transposed ()
 computes transposed matrix Generated from method MR.Matrix4f.transposed.
 
unsafe MR.Matrix3f getRotation ()
 Generated from method MR.Matrix4f.getRotation.
 
unsafe MR.Vector3f getTranslation ()
 Generated from method MR.Matrix4f.getTranslation.
 
unsafe? float data ()
 Generated from method MR.Matrix4f.data.
 
unsafe MR.Vector3f call (in MR.Vector3f b)
 converts 3d-vector b in 4d-vector (b,1), multiplies matrix on it, and assuming the result is in homogeneous coordinates returns it as 3d-vector Generated from method MR.Matrix4f.operator().
 
bool Equals (MR.ConstBox_Matrix4f? b)
 
override bool Equals (object? other)
 

Static Public Member Functions

static implicit operator ConstBox_Matrix4f (Matrix4f other)
 Convert from a struct by copying it. Note that only ConstBox_Matrix4f has this conversion, Box_Matrix4f intentionally doesn't.
 
static unsafe implicit operator ConstBox_Matrix4f (in MR.AffineXf3f xf)
 Generated from constructor MR.Matrix4f.Matrix4f.
 
static unsafe implicit operator MR.AffineXf3f (MR.ConstBox_Matrix4f _this)
 Generated from conversion operator MR.Matrix4f.operator MR.AffineXf3f.
 
static MR.Matrix4f zero ()
 Generated from method MR.Matrix4f.zero.
 
static MR.Matrix4f identity ()
 Generated from method MR.Matrix4f.identity.
 
static MR.Matrix4f scale (float s)
 returns a matrix that scales uniformly Generated from method MR.Matrix4f.scale.
 
static unsafe bool operator== (MR.ConstBox_Matrix4f a, MR.ConstBox_Matrix4f b)
 Generated from function MR.operator==.
 
static unsafe bool operator!= (MR.ConstBox_Matrix4f a, MR.ConstBox_Matrix4f b)
 
static unsafe MR.Matrix4f operator+ (MR.ConstBox_Matrix4f a, in MR.Matrix4f b)
 Generated from function MR.operator+.
 
static unsafe MR.Matrix4f operator- (MR.ConstBox_Matrix4f a, in MR.Matrix4f b)
 Generated from function MR.operator-.
 
static unsafe MR.Matrix4f operator* (float a, MR.ConstBox_Matrix4f b)
 Generated from function MR.operator*.
 
static unsafe MR.Matrix4f operator* (MR.ConstBox_Matrix4f b, float a)
 Generated from function MR.operator*.
 
static unsafe MR.Matrix4f operator/ (ConstBox_Matrix4f b, float a)
 Generated from function MR.operator/.
 
static unsafe MR.Vector4f operator* (MR.ConstBox_Matrix4f a, in MR.Vector4f b)
 x = a * b Generated from function MR.operator*.
 
static unsafe MR.Matrix4f operator* (MR.ConstBox_Matrix4f a, in MR.Matrix4f b)
 product of two matrices Generated from function MR.operator*.
 

Protected Member Functions

virtual unsafe void Dispose (bool disposing)
 

Properties

ref readonly MR.Vector4f x [get]
 rows, identity matrix by default
 
ref readonly MR.Vector4f y [get]
 
ref readonly MR.Vector4f z [get]
 
ref readonly MR.Vector4f w [get]
 
unsafe ref readonly MR.Vector4f this[int row] [get]
 row access Generated from method MR.Matrix4f.operator[].
 

Detailed Description

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

Constructor & Destructor Documentation

◆ ConstBox_Matrix4f() [1/6]

unsafe MR.ConstBox_Matrix4f.ConstBox_Matrix4f ( Matrix4f 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_Matrix4f() [2/6]

unsafe MR.ConstBox_Matrix4f.ConstBox_Matrix4f ( ConstBox_Matrix4f _other)
inline

Generated copy constructor.

◆ ConstBox_Matrix4f() [3/6]

unsafe MR.ConstBox_Matrix4f.ConstBox_Matrix4f ( )
inline

Constructs an empty (default-constructed) instance.

◆ ConstBox_Matrix4f() [4/6]

unsafe MR.ConstBox_Matrix4f.ConstBox_Matrix4f ( in MR.Vector4f x,
in MR.Vector4f y,
in MR.Vector4f z,
in MR.Vector4f w )
inline

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

◆ ConstBox_Matrix4f() [5/6]

unsafe MR.ConstBox_Matrix4f.ConstBox_Matrix4f ( in MR.Matrix3f r,
in MR.Vector3f t )
inline

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

◆ ConstBox_Matrix4f() [6/6]

unsafe MR.ConstBox_Matrix4f.ConstBox_Matrix4f ( in MR.AffineXf3f xf)
inline

Generated from constructor MR.Matrix4f.Matrix4f.

Member Function Documentation

◆ call() [1/2]

unsafe MR.Vector3f MR.ConstBox_Matrix4f.call ( in MR.Vector3f b)
inline

converts 3d-vector b in 4d-vector (b,1), multiplies matrix on it, and assuming the result is in homogeneous coordinates returns it as 3d-vector Generated from method MR.Matrix4f.operator().

◆ call() [2/2]

unsafe float MR.ConstBox_Matrix4f.call ( int row,
int col )
inline

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

◆ col()

unsafe MR.Vector4f MR.ConstBox_Matrix4f.col ( int i)
inline

column access Generated from method MR.Matrix4f.col.

◆ data()

unsafe? float MR.ConstBox_Matrix4f.data ( )
inline

Generated from method MR.Matrix4f.data.

◆ det()

unsafe float MR.ConstBox_Matrix4f.det ( )
inline

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

◆ Dispose() [1/2]

virtual void MR.ConstBox_Matrix4f.Dispose ( )
inlinevirtual

◆ Dispose() [2/2]

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

◆ Equals() [1/2]

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

◆ Equals() [2/2]

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

◆ getRotation()

unsafe MR.Matrix3f MR.ConstBox_Matrix4f.getRotation ( )
inline

Generated from method MR.Matrix4f.getRotation.

◆ getTranslation()

unsafe MR.Vector3f MR.ConstBox_Matrix4f.getTranslation ( )
inline

Generated from method MR.Matrix4f.getTranslation.

◆ identity()

static MR.Matrix4f MR.ConstBox_Matrix4f.identity ( )
inlinestatic

Generated from method MR.Matrix4f.identity.

◆ inverse()

unsafe MR.Matrix4f MR.ConstBox_Matrix4f.inverse ( )
inline

computes inverse matrix Generated from method MR.Matrix4f.inverse.

◆ norm()

unsafe float MR.ConstBox_Matrix4f.norm ( )
inline

Generated from method MR.Matrix4f.norm.

◆ normSq()

unsafe float MR.ConstBox_Matrix4f.normSq ( )
inline

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

◆ operator ConstBox_Matrix4f() [1/2]

static unsafe implicit MR.ConstBox_Matrix4f.operator ConstBox_Matrix4f ( in MR.AffineXf3f xf)
inlinestatic

Generated from constructor MR.Matrix4f.Matrix4f.

◆ operator ConstBox_Matrix4f() [2/2]

static implicit MR.ConstBox_Matrix4f.operator ConstBox_Matrix4f ( Matrix4f other)
inlinestatic

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

◆ operator MR.AffineXf3f()

static unsafe implicit MR.ConstBox_Matrix4f.operator MR.AffineXf3f ( MR.ConstBox_Matrix4f _this)
inlinestatic

Generated from conversion operator MR.Matrix4f.operator MR.AffineXf3f.

◆ operator!=()

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

◆ operator*() [1/4]

static unsafe MR.Matrix4f MR.ConstBox_Matrix4f.operator* ( float a,
MR.ConstBox_Matrix4f b )
inlinestatic

Generated from function MR.operator*.

◆ operator*() [2/4]

static unsafe MR.Matrix4f MR.ConstBox_Matrix4f.operator* ( MR.ConstBox_Matrix4f a,
in MR.Matrix4f b )
inlinestatic

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

◆ operator*() [3/4]

static unsafe MR.Vector4f MR.ConstBox_Matrix4f.operator* ( MR.ConstBox_Matrix4f a,
in MR.Vector4f b )
inlinestatic

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

◆ operator*() [4/4]

static unsafe MR.Matrix4f MR.ConstBox_Matrix4f.operator* ( MR.ConstBox_Matrix4f b,
float a )
inlinestatic

Generated from function MR.operator*.

◆ operator+()

static unsafe MR.Matrix4f MR.ConstBox_Matrix4f.operator+ ( MR.ConstBox_Matrix4f a,
in MR.Matrix4f b )
inlinestatic

Generated from function MR.operator+.

◆ operator-()

static unsafe MR.Matrix4f MR.ConstBox_Matrix4f.operator- ( MR.ConstBox_Matrix4f a,
in MR.Matrix4f b )
inlinestatic

Generated from function MR.operator-.

◆ operator/()

static unsafe MR.Matrix4f MR.ConstBox_Matrix4f.operator/ ( ConstBox_Matrix4f b,
float a )
inlinestatic

Generated from function MR.operator/.

◆ operator==()

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

Generated from function MR.operator==.

◆ scale()

static MR.Matrix4f MR.ConstBox_Matrix4f.scale ( float s)
inlinestatic

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

◆ submatrix3()

unsafe MR.Matrix3f MR.ConstBox_Matrix4f.submatrix3 ( int i,
int j )
inline

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

◆ trace()

unsafe float MR.ConstBox_Matrix4f.trace ( )
inline

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

◆ transposed()

unsafe MR.Matrix4f MR.ConstBox_Matrix4f.transposed ( )
inline

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

◆ zero()

static MR.Matrix4f MR.ConstBox_Matrix4f.zero ( )
inlinestatic

Generated from method MR.Matrix4f.zero.

Property Documentation

◆ this[int row]

unsafe ref readonly MR.Vector4f MR.ConstBox_Matrix4f.this[int row]
get

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

◆ w

ref readonly MR.Vector4f MR.ConstBox_Matrix4f.w
get

◆ x

ref readonly MR.Vector4f MR.ConstBox_Matrix4f.x
get

rows, identity matrix by default

◆ y

ref readonly MR.Vector4f MR.ConstBox_Matrix4f.y
get

◆ z

ref readonly MR.Vector4f MR.ConstBox_Matrix4f.z
get

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