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

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

+ Inheritance diagram for MR.ConstBox_Matrix2i:

Classes

struct  _Underlying
 

Public Member Functions

virtual void Dispose ()
 
unsafe ConstBox_Matrix2i (Matrix2i 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_Matrix2i (ConstBox_Matrix2i _other)
 Generated copy constructor.
 
unsafe ConstBox_Matrix2i ()
 Constructs an empty (default-constructed) instance.
 
unsafe ConstBox_Matrix2i (in MR.Vector2i x, in MR.Vector2i y)
 initializes matrix from its 2 rows Generated from constructor MR.Matrix2i.Matrix2i.
 
unsafe MR.Vector2i col (int i)
 column access Generated from method MR.Matrix2i.col.
 
unsafe int trace ()
 computes trace of the matrix Generated from method MR.Matrix2i.trace.
 
unsafe int normSq ()
 compute sum of squared matrix elements Generated from method MR.Matrix2i.normSq.
 
unsafe double norm ()
 Generated from method MR.Matrix2i.norm.
 
unsafe int det ()
 computes determinant of the matrix Generated from method MR.Matrix2i.det.
 
unsafe MR.Matrix2i transposed ()
 computes transposed matrix Generated from method MR.Matrix2i.transposed.
 
bool Equals (MR.ConstBox_Matrix2i? b)
 
override bool Equals (object? other)
 

Static Public Member Functions

static implicit operator ConstBox_Matrix2i (Matrix2i other)
 Convert from a struct by copying it. Note that only ConstBox_Matrix2i has this conversion, Box_Matrix2i intentionally doesn't.
 
static MR.Matrix2i zero ()
 Generated from method MR.Matrix2i.zero.
 
static MR.Matrix2i identity ()
 Generated from method MR.Matrix2i.identity.
 
static MR.Matrix2i scale (int s)
 returns a matrix that scales uniformly Generated from method MR.Matrix2i.scale.
 
static MR.Matrix2i scale (int sx, int sy)
 returns a matrix that has its own scale along each axis Generated from method MR.Matrix2i.scale.
 
static unsafe MR.Matrix2i scale (in MR.Vector2i s)
 Generated from method MR.Matrix2i.scale.
 
static unsafe MR.Matrix2i fromRows (in MR.Vector2i x, in MR.Vector2i y)
 constructs a matrix from its 2 rows Generated from method MR.Matrix2i.fromRows.
 
static unsafe MR.Matrix2i fromColumns (in MR.Vector2i x, in MR.Vector2i 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.Matrix2i.fromColumns.
 
static unsafe bool operator== (MR.ConstBox_Matrix2i a, MR.ConstBox_Matrix2i b)
 Generated from function MR.operator==.
 
static unsafe bool operator!= (MR.ConstBox_Matrix2i a, MR.ConstBox_Matrix2i b)
 
static unsafe MR.Matrix2i operator+ (MR.ConstBox_Matrix2i a, in MR.Matrix2i b)
 Generated from function MR.operator+.
 
static unsafe MR.Matrix2i operator- (MR.ConstBox_Matrix2i a, in MR.Matrix2i b)
 Generated from function MR.operator-.
 
static unsafe MR.Matrix2i operator* (int a, MR.ConstBox_Matrix2i b)
 Generated from function MR.operator*.
 
static unsafe MR.Matrix2i operator* (MR.ConstBox_Matrix2i b, int a)
 Generated from function MR.operator*.
 
static unsafe MR.Matrix2i operator/ (ConstBox_Matrix2i b, int a)
 Generated from function MR.operator/.
 
static unsafe MR.Vector2i operator* (MR.ConstBox_Matrix2i a, in MR.Vector2i b)
 x = a * b Generated from function MR.operator*.
 
static unsafe MR.Matrix2i operator* (MR.ConstBox_Matrix2i a, in MR.Matrix2i b)
 product of two matrices Generated from function MR.operator*.
 

Protected Member Functions

virtual unsafe void Dispose (bool disposing)
 

Properties

ref readonly MR.Vector2i x [get]
 rows, identity matrix by default
 
ref readonly MR.Vector2i y [get]
 
unsafe ref readonly MR.Vector2i this[int row] [get]
 row access Generated from method MR.Matrix2i.operator[].
 

Detailed Description

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

Constructor & Destructor Documentation

◆ ConstBox_Matrix2i() [1/4]

unsafe MR.ConstBox_Matrix2i.ConstBox_Matrix2i ( Matrix2i 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.)

◆ ConstBox_Matrix2i() [2/4]

unsafe MR.ConstBox_Matrix2i.ConstBox_Matrix2i ( ConstBox_Matrix2i _other)
inline

Generated copy constructor.

◆ ConstBox_Matrix2i() [3/4]

unsafe MR.ConstBox_Matrix2i.ConstBox_Matrix2i ( )
inline

Constructs an empty (default-constructed) instance.

◆ ConstBox_Matrix2i() [4/4]

unsafe MR.ConstBox_Matrix2i.ConstBox_Matrix2i ( in MR.Vector2i x,
in MR.Vector2i y )
inline

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

Member Function Documentation

◆ col()

unsafe MR.Vector2i MR.ConstBox_Matrix2i.col ( int i)
inline

column access Generated from method MR.Matrix2i.col.

◆ det()

unsafe int MR.ConstBox_Matrix2i.det ( )
inline

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

◆ Dispose() [1/2]

virtual void MR.ConstBox_Matrix2i.Dispose ( )
inlinevirtual

◆ Dispose() [2/2]

virtual unsafe void MR.ConstBox_Matrix2i.Dispose ( bool disposing)
inlineprotectedvirtual

◆ Equals() [1/2]

bool MR.ConstBox_Matrix2i.Equals ( MR.ConstBox_Matrix2i? b)
inline

◆ Equals() [2/2]

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

◆ fromColumns()

static unsafe MR.Matrix2i MR.ConstBox_Matrix2i.fromColumns ( in MR.Vector2i x,
in MR.Vector2i y )
inlinestatic

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

◆ fromRows()

static unsafe MR.Matrix2i MR.ConstBox_Matrix2i.fromRows ( in MR.Vector2i x,
in MR.Vector2i y )
inlinestatic

constructs a matrix from its 2 rows Generated from method MR.Matrix2i.fromRows.

◆ identity()

static MR.Matrix2i MR.ConstBox_Matrix2i.identity ( )
inlinestatic

Generated from method MR.Matrix2i.identity.

◆ norm()

unsafe double MR.ConstBox_Matrix2i.norm ( )
inline

Generated from method MR.Matrix2i.norm.

◆ normSq()

unsafe int MR.ConstBox_Matrix2i.normSq ( )
inline

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

◆ operator ConstBox_Matrix2i()

static implicit MR.ConstBox_Matrix2i.operator ConstBox_Matrix2i ( Matrix2i other)
inlinestatic

Convert from a struct by copying it. Note that only ConstBox_Matrix2i has this conversion, Box_Matrix2i intentionally doesn't.

◆ operator!=()

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

◆ operator*() [1/4]

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

Generated from function MR.operator*.

◆ operator*() [2/4]

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

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

◆ operator*() [3/4]

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

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

◆ operator*() [4/4]

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

Generated from function MR.operator*.

◆ operator+()

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

Generated from function MR.operator+.

◆ operator-()

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

Generated from function MR.operator-.

◆ operator/()

static unsafe MR.Matrix2i MR.ConstBox_Matrix2i.operator/ ( ConstBox_Matrix2i b,
int a )
inlinestatic

Generated from function MR.operator/.

◆ operator==()

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

Generated from function MR.operator==.

◆ scale() [1/3]

static unsafe MR.Matrix2i MR.ConstBox_Matrix2i.scale ( in MR.Vector2i s)
inlinestatic

Generated from method MR.Matrix2i.scale.

◆ scale() [2/3]

static MR.Matrix2i MR.ConstBox_Matrix2i.scale ( int s)
inlinestatic

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

◆ scale() [3/3]

static MR.Matrix2i MR.ConstBox_Matrix2i.scale ( int sx,
int sy )
inlinestatic

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

◆ trace()

unsafe int MR.ConstBox_Matrix2i.trace ( )
inline

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

◆ transposed()

unsafe MR.Matrix2i MR.ConstBox_Matrix2i.transposed ( )
inline

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

◆ zero()

static MR.Matrix2i MR.ConstBox_Matrix2i.zero ( )
inlinestatic

Generated from method MR.Matrix2i.zero.

Property Documentation

◆ this[int row]

unsafe ref readonly MR.Vector2i MR.ConstBox_Matrix2i.this[int row]
get

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

◆ x

ref readonly MR.Vector2i MR.ConstBox_Matrix2i.x
get

rows, identity matrix by default

◆ y

ref readonly MR.Vector2i MR.ConstBox_Matrix2i.y
get

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