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

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

+ Inheritance diagram for MR.Matrix4f:

Public Member Functions

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

Static Public Member Functions

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

Public Attributes

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

Properties

readonly 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 by-value version of the struct.


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