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

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

+ Inheritance diagram for MR.Matrix3i:

Public Member Functions

 Matrix3i (Matrix3i _other)
 Generated copy constructor.
 
unsafe Matrix3i ()
 Constructs an empty (default-constructed) instance.
 
unsafe Matrix3i (in MR.Vector3i x, in MR.Vector3i y, in MR.Vector3i z)
 initializes matrix from its 3 rows Generated from constructor MR.Matrix3i.Matrix3i.
 
unsafe ref MR.Vector3i index (int row)
 Generated from method MR.Matrix3i.operator[].
 
readonly unsafe MR.Vector3i col (int i)
 column access Generated from method MR.Matrix3i.col.
 
readonly unsafe int trace ()
 computes trace of the matrix Generated from method MR.Matrix3i.trace.
 
readonly unsafe int normSq ()
 compute sum of squared matrix elements Generated from method MR.Matrix3i.normSq.
 
readonly unsafe double norm ()
 Generated from method MR.Matrix3i.norm.
 
readonly unsafe int det ()
 computes determinant of the matrix Generated from method MR.Matrix3i.det.
 
readonly unsafe MR.Matrix3i transposed ()
 computes transposed matrix Generated from method MR.Matrix3i.transposed.
 
unsafe ref MR.Matrix3i addAssign (in MR.Matrix3i b)
 Generated from function MR.operator+=.
 
unsafe ref MR.Matrix3i subAssign (in MR.Matrix3i b)
 Generated from function MR.operator-=.
 
unsafe ref MR.Matrix3i mulAssign (int b)
 Generated from function MR.operator*=.
 
unsafe ref MR.Matrix3i divAssign (int b)
 Generated from function MR.operator/=.
 
bool Equals (MR.Matrix3i b)
 
override bool Equals (object? other)
 

Static Public Member Functions

static implicit operator Matrix3i (ConstBox_Matrix3i other)
 Copy contents from a wrapper class to this struct.
 
static MR.Matrix3i zero ()
 Generated from method MR.Matrix3i.zero.
 
static MR.Matrix3i identity ()
 Generated from method MR.Matrix3i.identity.
 
static MR.Matrix3i scale (int s)
 returns a matrix that scales uniformly Generated from method MR.Matrix3i.scale.
 
static MR.Matrix3i scale (int sx, int sy, int sz)
 returns a matrix that has its own scale along each axis Generated from method MR.Matrix3i.scale.
 
static unsafe MR.Matrix3i scale (in MR.Vector3i s)
 Generated from method MR.Matrix3i.scale.
 
static unsafe MR.Matrix3i fromRows (in MR.Vector3i x, in MR.Vector3i y, in MR.Vector3i z)
 constructs a matrix from its 3 rows Generated from method MR.Matrix3i.fromRows.
 
static unsafe MR.Matrix3i fromColumns (in MR.Vector3i x, in MR.Vector3i y, in MR.Vector3i 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.Matrix3i.fromColumns.
 
static unsafe bool operator== (MR.Matrix3i a, MR.Matrix3i b)
 Generated from function MR.operator==.
 
static unsafe bool operator!= (MR.Matrix3i a, MR.Matrix3i b)
 
static unsafe MR.Matrix3i operator+ (MR.Matrix3i a, in MR.Matrix3i b)
 Generated from function MR.operator+.
 
static unsafe MR.Matrix3i operator- (MR.Matrix3i a, in MR.Matrix3i b)
 Generated from function MR.operator-.
 
static unsafe MR.Matrix3i operator* (int a, MR.Matrix3i b)
 Generated from function MR.operator*.
 
static unsafe MR.Matrix3i operator* (MR.Matrix3i b, int a)
 Generated from function MR.operator*.
 
static MR.Matrix3i operator/ (MR.Matrix3i b, int a)
 Generated from function MR.operator/.
 
static unsafe MR.Vector3i operator* (MR.Matrix3i a, in MR.Vector3i b)
 x = a * b Generated from function MR.operator*.
 
static unsafe MR.Matrix3i operator* (MR.Matrix3i a, in MR.Matrix3i b)
 product of two matrices Generated from function MR.operator*.
 

Public Attributes

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

Properties

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

Detailed Description

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

Constructor & Destructor Documentation

◆ Matrix3i() [1/3]

MR.Matrix3i.Matrix3i ( Matrix3i _other)
inline

Generated copy constructor.

◆ Matrix3i() [2/3]

unsafe MR.Matrix3i.Matrix3i ( )
inline

Constructs an empty (default-constructed) instance.

◆ Matrix3i() [3/3]

unsafe MR.Matrix3i.Matrix3i ( in MR.Vector3i x,
in MR.Vector3i y,
in MR.Vector3i z )
inline

initializes matrix from its 3 rows Generated from constructor MR.Matrix3i.Matrix3i.

Member Function Documentation

◆ addAssign()

unsafe ref MR.Matrix3i MR.Matrix3i.addAssign ( in MR.Matrix3i b)
inline

Generated from function MR.operator+=.

◆ col()

readonly unsafe MR.Vector3i MR.Matrix3i.col ( int i)
inline

column access Generated from method MR.Matrix3i.col.

◆ det()

readonly unsafe int MR.Matrix3i.det ( )
inline

computes determinant of the matrix Generated from method MR.Matrix3i.det.

◆ divAssign()

unsafe ref MR.Matrix3i MR.Matrix3i.divAssign ( int b)
inline

Generated from function MR.operator/=.

◆ Equals() [1/2]

bool MR.Matrix3i.Equals ( MR.Matrix3i b)
inline

◆ Equals() [2/2]

override bool MR.Matrix3i.Equals ( object? other)
inline

◆ fromColumns()

static unsafe MR.Matrix3i MR.Matrix3i.fromColumns ( in MR.Vector3i x,
in MR.Vector3i y,
in MR.Vector3i z )
inlinestatic

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.Matrix3i.fromColumns.

◆ fromRows()

static unsafe MR.Matrix3i MR.Matrix3i.fromRows ( in MR.Vector3i x,
in MR.Vector3i y,
in MR.Vector3i z )
inlinestatic

constructs a matrix from its 3 rows Generated from method MR.Matrix3i.fromRows.

◆ identity()

static MR.Matrix3i MR.Matrix3i.identity ( )
inlinestatic

Generated from method MR.Matrix3i.identity.

◆ index()

unsafe ref MR.Vector3i MR.Matrix3i.index ( int row)
inline

Generated from method MR.Matrix3i.operator[].

◆ mulAssign()

unsafe ref MR.Matrix3i MR.Matrix3i.mulAssign ( int b)
inline

Generated from function MR.operator*=.

◆ norm()

readonly unsafe double MR.Matrix3i.norm ( )
inline

Generated from method MR.Matrix3i.norm.

◆ normSq()

readonly unsafe int MR.Matrix3i.normSq ( )
inline

compute sum of squared matrix elements Generated from method MR.Matrix3i.normSq.

◆ operator Matrix3i()

static implicit MR.Matrix3i.operator Matrix3i ( ConstBox_Matrix3i other)
static

Copy contents from a wrapper class to this struct.

◆ operator!=()

static unsafe bool MR.Matrix3i.operator!= ( MR.Matrix3i a,
MR.Matrix3i b )
inlinestatic

◆ operator*() [1/4]

static unsafe MR.Matrix3i MR.Matrix3i.operator* ( int a,
MR.Matrix3i b )
inlinestatic

Generated from function MR.operator*.

◆ operator*() [2/4]

static unsafe MR.Matrix3i MR.Matrix3i.operator* ( MR.Matrix3i a,
in MR.Matrix3i b )
inlinestatic

product of two matrices Generated from function MR.operator*.

◆ operator*() [3/4]

static unsafe MR.Vector3i MR.Matrix3i.operator* ( MR.Matrix3i a,
in MR.Vector3i b )
inlinestatic

x = a * b Generated from function MR.operator*.

◆ operator*() [4/4]

static unsafe MR.Matrix3i MR.Matrix3i.operator* ( MR.Matrix3i b,
int a )
inlinestatic

Generated from function MR.operator*.

◆ operator+()

static unsafe MR.Matrix3i MR.Matrix3i.operator+ ( MR.Matrix3i a,
in MR.Matrix3i b )
inlinestatic

Generated from function MR.operator+.

◆ operator-()

static unsafe MR.Matrix3i MR.Matrix3i.operator- ( MR.Matrix3i a,
in MR.Matrix3i b )
inlinestatic

Generated from function MR.operator-.

◆ operator/()

static MR.Matrix3i MR.Matrix3i.operator/ ( MR.Matrix3i b,
int a )
inlinestatic

Generated from function MR.operator/.

◆ operator==()

static unsafe bool MR.Matrix3i.operator== ( MR.Matrix3i a,
MR.Matrix3i b )
inlinestatic

Generated from function MR.operator==.

◆ scale() [1/3]

static unsafe MR.Matrix3i MR.Matrix3i.scale ( in MR.Vector3i s)
inlinestatic

Generated from method MR.Matrix3i.scale.

◆ scale() [2/3]

static MR.Matrix3i MR.Matrix3i.scale ( int s)
inlinestatic

returns a matrix that scales uniformly Generated from method MR.Matrix3i.scale.

◆ scale() [3/3]

static MR.Matrix3i MR.Matrix3i.scale ( int sx,
int sy,
int sz )
inlinestatic

returns a matrix that has its own scale along each axis Generated from method MR.Matrix3i.scale.

◆ subAssign()

unsafe ref MR.Matrix3i MR.Matrix3i.subAssign ( in MR.Matrix3i b)
inline

Generated from function MR.operator-=.

◆ trace()

readonly unsafe int MR.Matrix3i.trace ( )
inline

computes trace of the matrix Generated from method MR.Matrix3i.trace.

◆ transposed()

readonly unsafe MR.Matrix3i MR.Matrix3i.transposed ( )
inline

computes transposed matrix Generated from method MR.Matrix3i.transposed.

◆ zero()

static MR.Matrix3i MR.Matrix3i.zero ( )
inlinestatic

Generated from method MR.Matrix3i.zero.

Member Data Documentation

◆ x

MR.Vector3i MR.Matrix3i.x

rows, identity matrix by default

◆ y

MR.Vector3i MR.Matrix3i.y

◆ z

MR.Vector3i MR.Matrix3i.z

Property Documentation

◆ this[int row]

readonly unsafe ref readonly MR.Vector3i MR.Matrix3i.this[int row]
get

row access Generated from method MR.Matrix3i.operator[].


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