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

arbitrary 3x3 matrix Generated from class MR.Matrix3d. This is the non-const reference to the struct. More...

+ Inheritance diagram for MR.Box_Matrix3d:

Public Member Functions

unsafe Box_Matrix3d (Matrix3d 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_Matrix3d (ConstBox_Matrix3d _other)
 Generated copy constructor.
 
void Assign (ConstBox_Matrix3d _other)
 Generated copy assignment.
 
unsafe Box_Matrix3d ()
 Constructs an empty (default-constructed) instance.
 
unsafe Box_Matrix3d (in MR.Vector3d x, in MR.Vector3d y, in MR.Vector3d z)
 initializes matrix from its 3 rows Generated from constructor MR.Matrix3d.Matrix3d.
 
unsafe ref MR.Matrix3d addAssign (in MR.Matrix3d b)
 Generated from function MR.operator+=.
 
unsafe ref MR.Matrix3d subAssign (in MR.Matrix3d b)
 Generated from function MR.operator-=.
 
unsafe ref MR.Matrix3d mulAssign (double b)
 Generated from function MR.operator*=.
 
unsafe ref MR.Matrix3d divAssign (double b)
 Generated from function MR.operator/=.
 
- Public Member Functions inherited from MR.ConstBox_Matrix3d
unsafe ConstBox_Matrix3d (Matrix3d 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_Matrix3d (ConstBox_Matrix3d _other)
 Generated copy constructor.
 
unsafe ConstBox_Matrix3d ()
 Constructs an empty (default-constructed) instance.
 
unsafe ConstBox_Matrix3d (in MR.Vector3d x, in MR.Vector3d y, in MR.Vector3d z)
 initializes matrix from its 3 rows Generated from constructor MR.Matrix3d.Matrix3d.
 
unsafe MR.Vector3d col (int i)
 column access Generated from method MR.Matrix3d.col.
 
unsafe double trace ()
 computes trace of the matrix Generated from method MR.Matrix3d.trace.
 
unsafe double normSq ()
 compute sum of squared matrix elements Generated from method MR.Matrix3d.normSq.
 
unsafe double norm ()
 Generated from method MR.Matrix3d.norm.
 
unsafe double det ()
 computes determinant of the matrix Generated from method MR.Matrix3d.det.
 
unsafe MR.Matrix3d inverse ()
 computes inverse matrix Generated from method MR.Matrix3d.inverse.
 
unsafe MR.Matrix3d transposed ()
 computes transposed matrix Generated from method MR.Matrix3d.transposed.
 
unsafe MR.Vector3d toEulerAngles ()
 returns 3 Euler angles, assuming this is a rotation matrix composed as follows: R=R(z)*R(y)*R(x) Generated from method MR.Matrix3d.toEulerAngles.
 
unsafe MR.Matrix3_Double.QR qr ()
 decompose this matrix on the product Q*R, where Q is orthogonal and R is upper triangular Generated from method MR.Matrix3d.qr.
 
bool Equals (MR.ConstBox_Matrix3d? b)
 
override bool Equals (object? other)
 

Properties

unsafe new ref Matrix3d _Ref [get]
 Get the underlying struct.
 
new ref MR.Vector3d x [get]
 rows, identity matrix by default
 
new ref MR.Vector3d y [get]
 
new ref MR.Vector3d z [get]
 
unsafe new ref MR.Vector3d this[int row] [get]
 Generated from method MR.Matrix3d.operator[].
 
- Properties inherited from MR.ConstBox_Matrix3d
unsafe ref readonly Matrix3d _Ref [get]
 Get the underlying struct.
 
ref readonly MR.Vector3d x [get]
 rows, identity matrix by default
 
ref readonly MR.Vector3d y [get]
 
ref readonly MR.Vector3d z [get]
 
unsafe ref readonly MR.Vector3d this[int row] [get]
 row access Generated from method MR.Matrix3d.operator[].
 
- Properties inherited from MR.Misc.Object< ConstBox_Matrix3d >
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

- Static Public Member Functions inherited from MR.ConstBox_Matrix3d
static implicit operator ConstBox_Matrix3d (Matrix3d other)
 Convert from a struct by copying it. Note that only ConstBox_Matrix3d has this conversion, Box_Matrix3d intentionally doesn't.
 
static MR.Matrix3d zero ()
 Generated from method MR.Matrix3d.zero.
 
static MR.Matrix3d identity ()
 Generated from method MR.Matrix3d.identity.
 
static MR.Matrix3d scale (double s)
 returns a matrix that scales uniformly Generated from method MR.Matrix3d.scale.
 
static MR.Matrix3d scale (double sx, double sy, double sz)
 returns a matrix that has its own scale along each axis Generated from method MR.Matrix3d.scale.
 
static unsafe MR.Matrix3d scale (in MR.Vector3d s)
 Generated from method MR.Matrix3d.scale.
 
static unsafe MR.Matrix3d rotation (in MR.Vector3d axis, double angle)
 creates matrix representing rotation around given axis on given angle Generated from method MR.Matrix3d.rotation.
 
static unsafe MR.Matrix3d rotation (in MR.Vector3d from, in MR.Vector3d to)
 creates matrix representing rotation that after application to (from) makes (to) vector Generated from method MR.Matrix3d.rotation.
 
static unsafe MR.Matrix3d rotationFromEuler (in MR.Vector3d eulerAngles)
 creates matrix representing rotation from 3 Euler angles: R=R(z)*R(y)*R(x) see more https://en.wikipedia.org/wiki/Euler_angles#Conventions_by_intrinsic_rotations Generated from method MR.Matrix3d.rotationFromEuler.
 
static unsafe MR.Matrix3d approximateLinearRotationMatrixFromEuler (in MR.Vector3d eulerAngles)
 returns linear by angles approximation of the rotation matrix, which is close to true rotation matrix for small angles Generated from method MR.Matrix3d.approximateLinearRotationMatrixFromEuler.
 
static unsafe MR.Matrix3d fromRows (in MR.Vector3d x, in MR.Vector3d y, in MR.Vector3d z)
 constructs a matrix from its 3 rows Generated from method MR.Matrix3d.fromRows.
 
static unsafe MR.Matrix3d fromColumns (in MR.Vector3d x, in MR.Vector3d y, in MR.Vector3d z)
 constructs a matrix from its 3 columns; use this method to get the matrix that transforms basis vectors ( plusX, plusY, plusZ ) into vectors ( x, y, z ) respectively Generated from method MR.Matrix3d.fromColumns.
 
static unsafe bool operator== (MR.ConstBox_Matrix3d a, MR.ConstBox_Matrix3d b)
 Generated from function MR.operator==.
 
static unsafe bool operator!= (MR.ConstBox_Matrix3d a, MR.ConstBox_Matrix3d b)
 
static unsafe MR.Matrix3d operator+ (MR.ConstBox_Matrix3d a, in MR.Matrix3d b)
 Generated from function MR.operator+.
 
static unsafe MR.Matrix3d operator- (MR.ConstBox_Matrix3d a, in MR.Matrix3d b)
 Generated from function MR.operator-.
 
static unsafe MR.Matrix3d operator* (double a, MR.ConstBox_Matrix3d b)
 Generated from function MR.operator*.
 
static unsafe MR.Matrix3d operator* (MR.ConstBox_Matrix3d b, double a)
 Generated from function MR.operator*.
 
static unsafe MR.Matrix3d operator/ (ConstBox_Matrix3d b, double a)
 Generated from function MR.operator/.
 
static unsafe MR.Vector3d operator* (MR.ConstBox_Matrix3d a, in MR.Vector3d b)
 x = a * b Generated from function MR.operator*.
 
static unsafe MR.Matrix3d operator* (MR.ConstBox_Matrix3d a, in MR.Matrix3d b)
 product of two matrices Generated from function MR.operator*.
 
- Protected Member Functions inherited from MR.ConstBox_Matrix3d
virtual unsafe void Dispose (bool disposing)
 
- Protected Attributes inherited from MR.Misc.Object< ConstBox_Matrix3d >
bool _IsOwningVal
 

Detailed Description

arbitrary 3x3 matrix Generated from class MR.Matrix3d. This is the non-const reference to the struct.


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