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

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

+ Inheritance diagram for MR.ConstBox_Matrix3f:

Classes

struct  _Underlying
 

Public Member Functions

unsafe ConstBox_Matrix3f (Matrix3f 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_Matrix3f (ConstBox_Matrix3f _other)
 Generated copy constructor.
 
unsafe ConstBox_Matrix3f ()
 Constructs an empty (default-constructed) instance.
 
unsafe ConstBox_Matrix3f (in MR.Vector3f x, in MR.Vector3f y, in MR.Vector3f z)
 initializes matrix from its 3 rows Generated from constructor MR.Matrix3f.Matrix3f.
 
unsafe ConstBox_Matrix3f (in MR.Matrix3d m)
 Generated from constructor MR.Matrix3f.Matrix3f.
 
unsafe MR.Vector3f col (int i)
 column access Generated from method MR.Matrix3f.col.
 
unsafe float trace ()
 computes trace of the matrix Generated from method MR.Matrix3f.trace.
 
unsafe float normSq ()
 compute sum of squared matrix elements Generated from method MR.Matrix3f.normSq.
 
unsafe float norm ()
 Generated from method MR.Matrix3f.norm.
 
unsafe float det ()
 computes determinant of the matrix Generated from method MR.Matrix3f.det.
 
unsafe MR.Matrix3f inverse ()
 computes inverse matrix Generated from method MR.Matrix3f.inverse.
 
unsafe MR.Matrix3f transposed ()
 computes transposed matrix Generated from method MR.Matrix3f.transposed.
 
unsafe MR.Vector3f 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.Matrix3f.toEulerAngles.
 
unsafe MR.Matrix3_Float.QR qr ()
 decompose this matrix on the product Q*R, where Q is orthogonal and R is upper triangular Generated from method MR.Matrix3f.qr.
 
bool Equals (MR.ConstBox_Matrix3f? b)
 
override bool Equals (object? other)
 

Static Public Member Functions

static implicit operator ConstBox_Matrix3f (Matrix3f other)
 Convert from a struct by copying it. Note that only ConstBox_Matrix3f has this conversion, Box_Matrix3f intentionally doesn't.
 
static MR.Matrix3f zero ()
 Generated from method MR.Matrix3f.zero.
 
static MR.Matrix3f identity ()
 Generated from method MR.Matrix3f.identity.
 
static MR.Matrix3f scale (float s)
 returns a matrix that scales uniformly Generated from method MR.Matrix3f.scale.
 
static MR.Matrix3f scale (float sx, float sy, float sz)
 returns a matrix that has its own scale along each axis Generated from method MR.Matrix3f.scale.
 
static unsafe MR.Matrix3f scale (in MR.Vector3f s)
 Generated from method MR.Matrix3f.scale.
 
static unsafe MR.Matrix3f rotation (in MR.Vector3f axis, float angle)
 creates matrix representing rotation around given axis on given angle Generated from method MR.Matrix3f.rotation.
 
static unsafe MR.Matrix3f rotation (in MR.Vector3f from, in MR.Vector3f to)
 creates matrix representing rotation that after application to (from) makes (to) vector Generated from method MR.Matrix3f.rotation.
 
static unsafe MR.Matrix3f rotationFromEuler (in MR.Vector3f 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.Matrix3f.rotationFromEuler.
 
static unsafe MR.Matrix3f approximateLinearRotationMatrixFromEuler (in MR.Vector3f eulerAngles)
 returns linear by angles approximation of the rotation matrix, which is close to true rotation matrix for small angles Generated from method MR.Matrix3f.approximateLinearRotationMatrixFromEuler.
 
static unsafe MR.Matrix3f fromRows (in MR.Vector3f x, in MR.Vector3f y, in MR.Vector3f z)
 constructs a matrix from its 3 rows Generated from method MR.Matrix3f.fromRows.
 
static unsafe MR.Matrix3f fromColumns (in MR.Vector3f x, in MR.Vector3f y, in MR.Vector3f 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.Matrix3f.fromColumns.
 
static unsafe bool operator== (MR.ConstBox_Matrix3f a, MR.ConstBox_Matrix3f b)
 Generated from function MR.operator==.
 
static unsafe bool operator!= (MR.ConstBox_Matrix3f a, MR.ConstBox_Matrix3f b)
 
static unsafe MR.Matrix3f operator+ (MR.ConstBox_Matrix3f a, in MR.Matrix3f b)
 Generated from function MR.operator+.
 
static unsafe MR.Matrix3f operator- (MR.ConstBox_Matrix3f a, in MR.Matrix3f b)
 Generated from function MR.operator-.
 
static unsafe MR.Matrix3f operator* (float a, MR.ConstBox_Matrix3f b)
 Generated from function MR.operator*.
 
static unsafe MR.Matrix3f operator* (MR.ConstBox_Matrix3f b, float a)
 Generated from function MR.operator*.
 
static unsafe MR.Matrix3f operator/ (ConstBox_Matrix3f b, float a)
 Generated from function MR.operator/.
 
static unsafe MR.Vector3f operator* (MR.ConstBox_Matrix3f a, in MR.Vector3f b)
 x = a * b Generated from function MR.operator*.
 
static unsafe MR.Matrix3f operator* (MR.ConstBox_Matrix3f a, in MR.Matrix3f b)
 product of two matrices Generated from function MR.operator*.
 

Protected Member Functions

virtual unsafe void Dispose (bool disposing)
 

Properties

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

Detailed Description

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


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