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

arbitrary 2x2 matrix Generated from class MR.Matrix2b. This is the non-const reference to the struct. More...

+ Inheritance diagram for MR.Box_Matrix2b:

Public Member Functions

unsafe Box_Matrix2b (Matrix2b 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_Matrix2b (ConstBox_Matrix2b _other)
 Generated copy constructor.
 
void Assign (ConstBox_Matrix2b _other)
 Generated copy assignment.
 
unsafe Box_Matrix2b ()
 Constructs an empty (default-constructed) instance.
 
unsafe Box_Matrix2b (in MR.Vector2b x, in MR.Vector2b y)
 initializes matrix from its 2 rows Generated from constructor MR.Matrix2b.Matrix2b.
 
unsafe ref MR.Matrix2b addAssign (in MR.Matrix2b b)
 Generated from function MR.operator+=.
 
unsafe ref MR.Matrix2b subAssign (in MR.Matrix2b b)
 Generated from function MR.operator-=.
 
unsafe ref MR.Matrix2b mulAssign (bool b)
 Generated from function MR.operator*=.
 
unsafe ref MR.Matrix2b divAssign (bool b)
 Generated from function MR.operator/=.
 
- Public Member Functions inherited from MR.ConstBox_Matrix2b
virtual void Dispose ()
 
unsafe ConstBox_Matrix2b (Matrix2b 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 ConstBox_Matrix2b (ConstBox_Matrix2b _other)
 Generated copy constructor.
 
unsafe ConstBox_Matrix2b ()
 Constructs an empty (default-constructed) instance.
 
unsafe ConstBox_Matrix2b (in MR.Vector2b x, in MR.Vector2b y)
 initializes matrix from its 2 rows Generated from constructor MR.Matrix2b.Matrix2b.
 
unsafe MR.Vector2b col (int i)
 column access Generated from method MR.Matrix2b.col.
 
unsafe bool trace ()
 computes trace of the matrix Generated from method MR.Matrix2b.trace.
 
unsafe bool normSq ()
 compute sum of squared matrix elements Generated from method MR.Matrix2b.normSq.
 
unsafe double norm ()
 Generated from method MR.Matrix2b.norm.
 
unsafe bool det ()
 computes determinant of the matrix Generated from method MR.Matrix2b.det.
 
unsafe MR.Matrix2b transposed ()
 computes transposed matrix Generated from method MR.Matrix2b.transposed.
 
bool Equals (MR.ConstBox_Matrix2b? b)
 
override bool Equals (object? other)
 

Properties

new ref MR.Vector2b x [get]
 rows, identity matrix by default
 
new ref MR.Vector2b y [get]
 
unsafe new ref MR.Vector2b this[int row] [get]
 Generated from method MR.Matrix2b.operator[].
 
- Properties inherited from MR.ConstBox_Matrix2b
ref readonly MR.Vector2b x [get]
 rows, identity matrix by default
 
ref readonly MR.Vector2b y [get]
 
unsafe ref readonly MR.Vector2b this[int row] [get]
 row access Generated from method MR.Matrix2b.operator[].
 

Additional Inherited Members

- Static Public Member Functions inherited from MR.ConstBox_Matrix2b
static implicit operator ConstBox_Matrix2b (Matrix2b other)
 Convert from a struct by copying it. Note that only ConstBox_Matrix2b has this conversion, Box_Matrix2b intentionally doesn't.
 
static MR.Matrix2b zero ()
 Generated from method MR.Matrix2b.zero.
 
static MR.Matrix2b identity ()
 Generated from method MR.Matrix2b.identity.
 
static MR.Matrix2b scale (bool s)
 returns a matrix that scales uniformly Generated from method MR.Matrix2b.scale.
 
static MR.Matrix2b scale (bool sx, bool sy)
 returns a matrix that has its own scale along each axis Generated from method MR.Matrix2b.scale.
 
static unsafe MR.Matrix2b scale (in MR.Vector2b s)
 Generated from method MR.Matrix2b.scale.
 
static unsafe MR.Matrix2b fromRows (in MR.Vector2b x, in MR.Vector2b y)
 constructs a matrix from its 2 rows Generated from method MR.Matrix2b.fromRows.
 
static unsafe MR.Matrix2b fromColumns (in MR.Vector2b x, in MR.Vector2b y)
 constructs a matrix from its 2 columns; use this method to get the matrix that transforms basis vectors ( plusX, plusY ) into vectors ( x, y ) respectively Generated from method MR.Matrix2b.fromColumns.
 
static unsafe bool operator== (MR.ConstBox_Matrix2b a, MR.ConstBox_Matrix2b b)
 Generated from function MR.operator==.
 
static unsafe bool operator!= (MR.ConstBox_Matrix2b a, MR.ConstBox_Matrix2b b)
 
static unsafe MR.Matrix2i operator+ (MR.ConstBox_Matrix2b a, in MR.Matrix2b b)
 Generated from function MR.operator+.
 
static unsafe MR.Matrix2i operator- (MR.ConstBox_Matrix2b a, in MR.Matrix2b b)
 Generated from function MR.operator-.
 
static unsafe MR.Matrix2i operator* (bool a, MR.ConstBox_Matrix2b b)
 Generated from function MR.operator*.
 
static unsafe MR.Matrix2i operator* (MR.ConstBox_Matrix2b b, bool a)
 Generated from function MR.operator*.
 
static unsafe MR.Matrix2i operator/ (ConstBox_Matrix2b b, bool a)
 Generated from function MR.operator/.
 
static unsafe MR.Vector2i operator* (MR.ConstBox_Matrix2b a, in MR.Vector2b b)
 x = a * b Generated from function MR.operator*.
 
static unsafe MR.Matrix2i operator* (MR.ConstBox_Matrix2b a, in MR.Matrix2b b)
 product of two matrices Generated from function MR.operator*.
 
- Protected Member Functions inherited from MR.ConstBox_Matrix2b
virtual unsafe void Dispose (bool disposing)
 

Detailed Description

arbitrary 2x2 matrix Generated from class MR.Matrix2b. This is the non-const reference to the struct.

Constructor & Destructor Documentation

◆ Box_Matrix2b() [1/4]

unsafe MR.Box_Matrix2b.Box_Matrix2b ( Matrix2b other)
inline

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.)

◆ Box_Matrix2b() [2/4]

unsafe MR.Box_Matrix2b.Box_Matrix2b ( ConstBox_Matrix2b _other)
inline

Generated copy constructor.

◆ Box_Matrix2b() [3/4]

unsafe MR.Box_Matrix2b.Box_Matrix2b ( )
inline

Constructs an empty (default-constructed) instance.

◆ Box_Matrix2b() [4/4]

unsafe MR.Box_Matrix2b.Box_Matrix2b ( in MR.Vector2b x,
in MR.Vector2b y )
inline

initializes matrix from its 2 rows Generated from constructor MR.Matrix2b.Matrix2b.

Member Function Documentation

◆ addAssign()

unsafe ref MR.Matrix2b MR.Box_Matrix2b.addAssign ( in MR.Matrix2b b)
inline

Generated from function MR.operator+=.

◆ Assign()

void MR.Box_Matrix2b.Assign ( ConstBox_Matrix2b _other)
inline

Generated copy assignment.

◆ divAssign()

unsafe ref MR.Matrix2b MR.Box_Matrix2b.divAssign ( bool b)
inline

Generated from function MR.operator/=.

◆ mulAssign()

unsafe ref MR.Matrix2b MR.Box_Matrix2b.mulAssign ( bool b)
inline

Generated from function MR.operator*=.

◆ subAssign()

unsafe ref MR.Matrix2b MR.Box_Matrix2b.subAssign ( in MR.Matrix2b b)
inline

Generated from function MR.operator-=.

Property Documentation

◆ this[int row]

unsafe new ref MR.Vector2b MR.Box_Matrix2b.this[int row]
get

Generated from method MR.Matrix2b.operator[].

◆ x

new ref MR.Vector2b MR.Box_Matrix2b.x
get

rows, identity matrix by default

◆ y

new ref MR.Vector2b MR.Box_Matrix2b.y
get

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