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

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

+ Inheritance diagram for MR.ConstBox_Matrix4d:

Classes

struct  _Underlying
 

Public Member Functions

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

Protected Member Functions

virtual unsafe void Dispose (bool disposing)
 

Properties

unsafe ref readonly Matrix4d _Ref [get]
 Get the underlying struct.
 
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[].
 
- Properties inherited from MR.Misc.Object< ConstBox_Matrix4d >
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_Matrix4d >
bool _IsOwningVal
 

Detailed Description

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


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