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

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

+ Inheritance diagram for MR.Box_Matrix4d:

Public Member Functions

unsafe Box_Matrix4d (Matrix4d 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_Matrix4d (ConstBox_Matrix4d _other)
 Generated copy constructor.
 
void Assign (ConstBox_Matrix4d _other)
 Generated copy assignment.
 
unsafe Box_Matrix4d ()
 Constructs an empty (default-constructed) instance.
 
unsafe Box_Matrix4d (in MR.Vector4d x, in MR.Vector4d y, in MR.Vector4d z, in MR.Vector4d w)
 initializes matrix from 4 row-vectors Generated from constructor MR.Matrix4d.Matrix4d.
 
unsafe Box_Matrix4d (in MR.Matrix3d r, in MR.Vector3d t)
 construct from rotation matrix and translation vector Generated from constructor MR.Matrix4d.Matrix4d.
 
unsafe Box_Matrix4d (in MR.AffineXf3d xf)
 Generated from constructor MR.Matrix4d.Matrix4d.
 
unsafe new ref double call (int row, int col)
 Generated from method MR.Matrix4d.operator().
 
unsafe void setRotation (in MR.Matrix3d rot)
 Generated from method MR.Matrix4d.setRotation.
 
unsafe void setTranslation (in MR.Vector3d t)
 Generated from method MR.Matrix4d.setTranslation.
 
unsafe new MR.Misc.? Ref< double > data ()
 Generated from method MR.Matrix4d.data.
 
unsafe ref MR.Matrix4d addAssign (in MR.Matrix4d b)
 Generated from function MR.operator+=.
 
unsafe ref MR.Matrix4d subAssign (in MR.Matrix4d b)
 Generated from function MR.operator-=.
 
unsafe ref MR.Matrix4d mulAssign (double b)
 Generated from function MR.operator*=.
 
unsafe ref MR.Matrix4d divAssign (double b)
 Generated from function MR.operator/=.
 
- Public Member Functions inherited from MR.ConstBox_Matrix4d
virtual void Dispose ()
 
unsafe ConstBox_Matrix4d (Matrix4d 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_Matrix4d (ConstBox_Matrix4d _other)
 Generated copy constructor.
 
unsafe ConstBox_Matrix4d ()
 Constructs an empty (default-constructed) instance.
 
unsafe ConstBox_Matrix4d (in MR.Vector4d x, in MR.Vector4d y, in MR.Vector4d z, in MR.Vector4d w)
 initializes matrix from 4 row-vectors Generated from constructor MR.Matrix4d.Matrix4d.
 
unsafe ConstBox_Matrix4d (in MR.Matrix3d r, in MR.Vector3d t)
 construct from rotation matrix and translation vector Generated from constructor MR.Matrix4d.Matrix4d.
 
unsafe ConstBox_Matrix4d (in MR.AffineXf3d xf)
 Generated from constructor MR.Matrix4d.Matrix4d.
 
unsafe double call (int row, int col)
 element access Generated from method MR.Matrix4d.operator().
 
unsafe MR.Vector4d col (int i)
 column access Generated from method MR.Matrix4d.col.
 
unsafe double trace ()
 computes trace of the matrix Generated from method MR.Matrix4d.trace.
 
unsafe double normSq ()
 compute sum of squared matrix elements Generated from method MR.Matrix4d.normSq.
 
unsafe double norm ()
 Generated from method MR.Matrix4d.norm.
 
unsafe MR.Matrix3d submatrix3 (int i, int j)
 computes submatrix of the matrix with excluded i-th row and j-th column Generated from method MR.Matrix4d.submatrix3.
 
unsafe double det ()
 computes determinant of the matrix Generated from method MR.Matrix4d.det.
 
unsafe MR.Matrix4d inverse ()
 computes inverse matrix Generated from method MR.Matrix4d.inverse.
 
unsafe MR.Matrix4d transposed ()
 computes transposed matrix Generated from method MR.Matrix4d.transposed.
 
unsafe MR.Matrix3d getRotation ()
 Generated from method MR.Matrix4d.getRotation.
 
unsafe MR.Vector3d getTranslation ()
 Generated from method MR.Matrix4d.getTranslation.
 
unsafe? double data ()
 Generated from method MR.Matrix4d.data.
 
unsafe MR.Vector3d call (in MR.Vector3d 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.Matrix4d.operator().
 
bool Equals (MR.ConstBox_Matrix4d? b)
 
override bool Equals (object? other)
 

Static Public Member Functions

static unsafe implicit operator Box_Matrix4d (in MR.AffineXf3d xf)
 Generated from constructor MR.Matrix4d.Matrix4d.
 
- Static Public Member Functions inherited from MR.ConstBox_Matrix4d
static implicit operator ConstBox_Matrix4d (Matrix4d other)
 Convert from a struct by copying it. Note that only ConstBox_Matrix4d has this conversion, Box_Matrix4d intentionally doesn't.
 
static unsafe implicit operator ConstBox_Matrix4d (in MR.AffineXf3d xf)
 Generated from constructor MR.Matrix4d.Matrix4d.
 
static unsafe implicit operator MR.AffineXf3d (MR.ConstBox_Matrix4d _this)
 Generated from conversion operator MR.Matrix4d.operator MR.AffineXf3d.
 
static MR.Matrix4d zero ()
 Generated from method MR.Matrix4d.zero.
 
static MR.Matrix4d identity ()
 Generated from method MR.Matrix4d.identity.
 
static MR.Matrix4d scale (double s)
 returns a matrix that scales uniformly Generated from method MR.Matrix4d.scale.
 
static unsafe bool operator== (MR.ConstBox_Matrix4d a, MR.ConstBox_Matrix4d b)
 Generated from function MR.operator==.
 
static unsafe bool operator!= (MR.ConstBox_Matrix4d a, MR.ConstBox_Matrix4d b)
 
static unsafe MR.Matrix4d operator+ (MR.ConstBox_Matrix4d a, in MR.Matrix4d b)
 Generated from function MR.operator+.
 
static unsafe MR.Matrix4d operator- (MR.ConstBox_Matrix4d a, in MR.Matrix4d b)
 Generated from function MR.operator-.
 
static unsafe MR.Matrix4d operator* (double a, MR.ConstBox_Matrix4d b)
 Generated from function MR.operator*.
 
static unsafe MR.Matrix4d operator* (MR.ConstBox_Matrix4d b, double a)
 Generated from function MR.operator*.
 
static unsafe MR.Matrix4d operator/ (ConstBox_Matrix4d b, double a)
 Generated from function MR.operator/.
 
static unsafe MR.Vector4d operator* (MR.ConstBox_Matrix4d a, in MR.Vector4d b)
 x = a * b Generated from function MR.operator*.
 
static unsafe MR.Matrix4d operator* (MR.ConstBox_Matrix4d a, in MR.Matrix4d b)
 product of two matrices Generated from function MR.operator*.
 

Properties

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

Additional Inherited Members

- Protected Member Functions inherited from MR.ConstBox_Matrix4d
virtual unsafe void Dispose (bool disposing)
 

Detailed Description

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

Constructor & Destructor Documentation

◆ Box_Matrix4d() [1/6]

unsafe MR.Box_Matrix4d.Box_Matrix4d ( Matrix4d 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_Matrix4d() [2/6]

unsafe MR.Box_Matrix4d.Box_Matrix4d ( ConstBox_Matrix4d _other)
inline

Generated copy constructor.

◆ Box_Matrix4d() [3/6]

unsafe MR.Box_Matrix4d.Box_Matrix4d ( )
inline

Constructs an empty (default-constructed) instance.

◆ Box_Matrix4d() [4/6]

unsafe MR.Box_Matrix4d.Box_Matrix4d ( in MR.Vector4d x,
in MR.Vector4d y,
in MR.Vector4d z,
in MR.Vector4d w )
inline

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

◆ Box_Matrix4d() [5/6]

unsafe MR.Box_Matrix4d.Box_Matrix4d ( in MR.Matrix3d r,
in MR.Vector3d t )
inline

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

◆ Box_Matrix4d() [6/6]

unsafe MR.Box_Matrix4d.Box_Matrix4d ( in MR.AffineXf3d xf)
inline

Generated from constructor MR.Matrix4d.Matrix4d.

Member Function Documentation

◆ addAssign()

unsafe ref MR.Matrix4d MR.Box_Matrix4d.addAssign ( in MR.Matrix4d b)
inline

Generated from function MR.operator+=.

◆ Assign()

void MR.Box_Matrix4d.Assign ( ConstBox_Matrix4d _other)
inline

Generated copy assignment.

◆ call()

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

Generated from method MR.Matrix4d.operator().

◆ data()

unsafe new MR.Misc.? Ref< double > MR.Box_Matrix4d.data ( )
inline

Generated from method MR.Matrix4d.data.

◆ divAssign()

unsafe ref MR.Matrix4d MR.Box_Matrix4d.divAssign ( double b)
inline

Generated from function MR.operator/=.

◆ mulAssign()

unsafe ref MR.Matrix4d MR.Box_Matrix4d.mulAssign ( double b)
inline

Generated from function MR.operator*=.

◆ operator Box_Matrix4d()

static unsafe implicit MR.Box_Matrix4d.operator Box_Matrix4d ( in MR.AffineXf3d xf)
inlinestatic

Generated from constructor MR.Matrix4d.Matrix4d.

◆ setRotation()

unsafe void MR.Box_Matrix4d.setRotation ( in MR.Matrix3d rot)
inline

Generated from method MR.Matrix4d.setRotation.

◆ setTranslation()

unsafe void MR.Box_Matrix4d.setTranslation ( in MR.Vector3d t)
inline

Generated from method MR.Matrix4d.setTranslation.

◆ subAssign()

unsafe ref MR.Matrix4d MR.Box_Matrix4d.subAssign ( in MR.Matrix4d b)
inline

Generated from function MR.operator-=.

Property Documentation

◆ this[int row]

unsafe new ref MR.Vector4d MR.Box_Matrix4d.this[int row]
get

Generated from method MR.Matrix4d.operator[].

◆ w

new ref MR.Vector4d MR.Box_Matrix4d.w
get

◆ x

new ref MR.Vector4d MR.Box_Matrix4d.x
get

rows, identity matrix by default

◆ y

new ref MR.Vector4d MR.Box_Matrix4d.y
get

◆ z

new ref MR.Vector4d MR.Box_Matrix4d.z
get

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