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

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

+ Inheritance diagram for MR.ConstBox_Matrix3b:

Classes

struct  _Underlying
 

Public Member Functions

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

Static Public Member Functions

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

Protected Member Functions

virtual unsafe void Dispose (bool disposing)
 

Properties

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

Detailed Description

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

Constructor & Destructor Documentation

◆ ConstBox_Matrix3b() [1/4]

unsafe MR.ConstBox_Matrix3b.ConstBox_Matrix3b ( Matrix3b 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_Matrix3b() [2/4]

unsafe MR.ConstBox_Matrix3b.ConstBox_Matrix3b ( ConstBox_Matrix3b _other)
inline

Generated copy constructor.

◆ ConstBox_Matrix3b() [3/4]

unsafe MR.ConstBox_Matrix3b.ConstBox_Matrix3b ( )
inline

Constructs an empty (default-constructed) instance.

◆ ConstBox_Matrix3b() [4/4]

unsafe MR.ConstBox_Matrix3b.ConstBox_Matrix3b ( in MR.Vector3b x,
in MR.Vector3b y,
in MR.Vector3b z )
inline

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

Member Function Documentation

◆ col()

unsafe MR.Vector3b MR.ConstBox_Matrix3b.col ( int i)
inline

column access Generated from method MR.Matrix3b.col.

◆ det()

unsafe bool MR.ConstBox_Matrix3b.det ( )
inline

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

◆ Dispose() [1/2]

virtual void MR.ConstBox_Matrix3b.Dispose ( )
inlinevirtual

◆ Dispose() [2/2]

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

◆ Equals() [1/2]

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

◆ Equals() [2/2]

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

◆ fromColumns()

static unsafe MR.Matrix3b MR.ConstBox_Matrix3b.fromColumns ( in MR.Vector3b x,
in MR.Vector3b y,
in MR.Vector3b 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.Matrix3b.fromColumns.

◆ fromRows()

static unsafe MR.Matrix3b MR.ConstBox_Matrix3b.fromRows ( in MR.Vector3b x,
in MR.Vector3b y,
in MR.Vector3b z )
inlinestatic

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

◆ identity()

static MR.Matrix3b MR.ConstBox_Matrix3b.identity ( )
inlinestatic

Generated from method MR.Matrix3b.identity.

◆ norm()

unsafe double MR.ConstBox_Matrix3b.norm ( )
inline

Generated from method MR.Matrix3b.norm.

◆ normSq()

unsafe bool MR.ConstBox_Matrix3b.normSq ( )
inline

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

◆ operator ConstBox_Matrix3b()

static implicit MR.ConstBox_Matrix3b.operator ConstBox_Matrix3b ( Matrix3b other)
inlinestatic

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

◆ operator!=()

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

◆ operator*() [1/4]

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

Generated from function MR.operator*.

◆ operator*() [2/4]

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

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

◆ operator*() [3/4]

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

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

◆ operator*() [4/4]

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

Generated from function MR.operator*.

◆ operator+()

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

Generated from function MR.operator+.

◆ operator-()

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

Generated from function MR.operator-.

◆ operator/()

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

Generated from function MR.operator/.

◆ operator==()

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

Generated from function MR.operator==.

◆ scale() [1/3]

static MR.Matrix3b MR.ConstBox_Matrix3b.scale ( bool s)
inlinestatic

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

◆ scale() [2/3]

static MR.Matrix3b MR.ConstBox_Matrix3b.scale ( bool sx,
bool sy,
bool sz )
inlinestatic

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

◆ scale() [3/3]

static unsafe MR.Matrix3b MR.ConstBox_Matrix3b.scale ( in MR.Vector3b s)
inlinestatic

Generated from method MR.Matrix3b.scale.

◆ trace()

unsafe bool MR.ConstBox_Matrix3b.trace ( )
inline

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

◆ transposed()

unsafe MR.Matrix3b MR.ConstBox_Matrix3b.transposed ( )
inline

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

◆ zero()

static MR.Matrix3b MR.ConstBox_Matrix3b.zero ( )
inlinestatic

Generated from method MR.Matrix3b.zero.

Property Documentation

◆ this[int row]

unsafe ref readonly MR.Vector3b MR.ConstBox_Matrix3b.this[int row]
get

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

◆ x

ref readonly MR.Vector3b MR.ConstBox_Matrix3b.x
get

rows, identity matrix by default

◆ y

ref readonly MR.Vector3b MR.ConstBox_Matrix3b.y
get

◆ z

ref readonly MR.Vector3b MR.ConstBox_Matrix3b.z
get

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