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

arbitrary 3x3 matrix Generated from class MR.Matrix3f. This is the by-value version of the struct. More...

+ Inheritance diagram for MR.Matrix3f:

Public Member Functions

 Matrix3f (Matrix3f _other)
 Generated copy constructor.
 
unsafe Matrix3f ()
 Constructs an empty (default-constructed) instance.
 
unsafe 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 Matrix3f (in MR.Matrix3d m)
 Generated from constructor MR.Matrix3f.Matrix3f.
 
unsafe ref MR.Vector3f index (int row)
 Generated from method MR.Matrix3f.operator[].
 
readonly unsafe MR.Vector3f col (int i)
 column access Generated from method MR.Matrix3f.col.
 
readonly unsafe float trace ()
 computes trace of the matrix Generated from method MR.Matrix3f.trace.
 
readonly unsafe float normSq ()
 compute sum of squared matrix elements Generated from method MR.Matrix3f.normSq.
 
readonly unsafe float norm ()
 Generated from method MR.Matrix3f.norm.
 
readonly unsafe float det ()
 computes determinant of the matrix Generated from method MR.Matrix3f.det.
 
readonly unsafe MR.Matrix3f inverse ()
 computes inverse matrix Generated from method MR.Matrix3f.inverse.
 
readonly unsafe MR.Matrix3f transposed ()
 computes transposed matrix Generated from method MR.Matrix3f.transposed.
 
readonly 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.
 
readonly 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.
 
unsafe ref MR.Matrix3f addAssign (in MR.Matrix3f b)
 Generated from function MR.operator+=.
 
unsafe ref MR.Matrix3f subAssign (in MR.Matrix3f b)
 Generated from function MR.operator-=.
 
unsafe ref MR.Matrix3f mulAssign (float b)
 Generated from function MR.operator*=.
 
unsafe ref MR.Matrix3f divAssign (float b)
 Generated from function MR.operator/=.
 
bool Equals (MR.Matrix3f b)
 
override bool Equals (object? other)
 

Static Public Member Functions

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

Public Attributes

MR.Vector3f x
 rows, identity matrix by default
 
MR.Vector3f y
 
MR.Vector3f z
 

Properties

readonly unsafe ref readonly MR.Vector3f this[int row] [get]
 row access Generated from method MR.Matrix3f.operator[].
 

Detailed Description

arbitrary 3x3 matrix Generated from class MR.Matrix3f. This is the by-value version of the struct.


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