MeshLib C# Docs
Loading...
Searching...
No Matches
MR.Matrix4d Struct Reference

arbitrary 4x4 matrix Generated from class MR.Matrix4d. This is the by-value version of the struct. More...

+ Inheritance diagram for MR.Matrix4d:

Public Member Functions

 Matrix4d (Matrix4d _other)
 Generated copy constructor.
 
unsafe Matrix4d ()
 Constructs an empty (default-constructed) instance.
 
unsafe 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 Matrix4d (in MR.Matrix3d r, in MR.Vector3d t)
 construct from rotation matrix and translation vector Generated from constructor MR.Matrix4d.Matrix4d.
 
unsafe Matrix4d (in MR.AffineXf3d xf)
 Generated from constructor MR.Matrix4d.Matrix4d.
 
readonly unsafe double call_Const (int row, int col)
 element access Generated from method MR.Matrix4d.operator().
 
unsafe ref double call (int row, int col)
 Generated from method MR.Matrix4d.operator().
 
unsafe ref MR.Vector4d index (int row)
 Generated from method MR.Matrix4d.operator[].
 
readonly unsafe MR.Vector4d col (int i)
 column access Generated from method MR.Matrix4d.col.
 
readonly unsafe double trace ()
 computes trace of the matrix Generated from method MR.Matrix4d.trace.
 
readonly unsafe double normSq ()
 compute sum of squared matrix elements Generated from method MR.Matrix4d.normSq.
 
readonly unsafe double norm ()
 Generated from method MR.Matrix4d.norm.
 
readonly 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.
 
readonly unsafe double det ()
 computes determinant of the matrix Generated from method MR.Matrix4d.det.
 
readonly unsafe MR.Matrix4d inverse ()
 computes inverse matrix Generated from method MR.Matrix4d.inverse.
 
readonly unsafe MR.Matrix4d transposed ()
 computes transposed matrix Generated from method MR.Matrix4d.transposed.
 
readonly unsafe MR.Matrix3d getRotation ()
 Generated from method MR.Matrix4d.getRotation.
 
unsafe void setRotation (in MR.Matrix3d rot)
 Generated from method MR.Matrix4d.setRotation.
 
readonly unsafe MR.Vector3d getTranslation ()
 Generated from method MR.Matrix4d.getTranslation.
 
unsafe void setTranslation (in MR.Vector3d t)
 Generated from method MR.Matrix4d.setTranslation.
 
unsafe MR.Misc.? Ref< double > data ()
 Generated from method MR.Matrix4d.data.
 
readonly unsafe? double data_Const ()
 Generated from method MR.Matrix4d.data.
 
readonly 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().
 
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/=.
 
bool Equals (MR.Matrix4d b)
 
override bool Equals (object? other)
 

Static Public Member Functions

static implicit operator Matrix4d (ConstBox_Matrix4d other)
 Copy contents from a wrapper class to this struct.
 
static unsafe implicit operator Matrix4d (in MR.AffineXf3d xf)
 Generated from constructor MR.Matrix4d.Matrix4d.
 
static unsafe implicit operator MR.AffineXf3d (MR.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.Matrix4d a, MR.Matrix4d b)
 Generated from function MR.operator==.
 
static unsafe bool operator!= (MR.Matrix4d a, MR.Matrix4d b)
 
static unsafe MR.Matrix4d operator+ (MR.Matrix4d a, in MR.Matrix4d b)
 Generated from function MR.operator+.
 
static unsafe MR.Matrix4d operator- (MR.Matrix4d a, in MR.Matrix4d b)
 Generated from function MR.operator-.
 
static unsafe MR.Matrix4d operator* (double a, MR.Matrix4d b)
 Generated from function MR.operator*.
 
static unsafe MR.Matrix4d operator* (MR.Matrix4d b, double a)
 Generated from function MR.operator*.
 
static MR.Matrix4d operator/ (MR.Matrix4d b, double a)
 Generated from function MR.operator/.
 
static unsafe MR.Vector4d operator* (MR.Matrix4d a, in MR.Vector4d b)
 x = a * b Generated from function MR.operator*.
 
static unsafe MR.Matrix4d operator* (MR.Matrix4d a, in MR.Matrix4d b)
 product of two matrices Generated from function MR.operator*.
 

Public Attributes

MR.Vector4d x
 rows, identity matrix by default
 
MR.Vector4d y
 
MR.Vector4d z
 
MR.Vector4d w
 

Properties

readonly unsafe ref readonly MR.Vector4d this[int row] [get]
 row access Generated from method MR.Matrix4d.operator[].
 

Detailed Description

arbitrary 4x4 matrix Generated from class MR.Matrix4d. This is the by-value version of the struct.


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