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

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.)
 
virtual void Dispose ()
 
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

unsafe ref readonly Matrix4f _Ref [get]
 Get the underlying struct.
 
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[].
 
- Properties inherited from MR.Misc.Object< ConstBox_Matrix4f >
virtual bool _IsOwning [get]
 Returns true if this is an owning instance, and when disposed, will destroy the underlying C++ instance. If false, we assume that the underlying C++ instance will live long enough.
 

Additional Inherited Members

- Protected Attributes inherited from MR.Misc.Object< ConstBox_Matrix4f >
bool _IsOwningVal
 

Detailed Description

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


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