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

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

+ Inheritance diagram for MR.Box_Matrix2i64:

Public Member Functions

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

Properties

unsafe new ref Matrix2i64 _Ref [get]
 Get the underlying struct.
 
new ref MR.Vector2i64 x [get]
 rows, identity matrix by default
 
new ref MR.Vector2i64 y [get]
 
unsafe new ref MR.Vector2i64 this[int row] [get]
 Generated from method MR.Matrix2i64.operator[].
 
- Properties inherited from MR.ConstBox_Matrix2i64
unsafe ref readonly Matrix2i64 _Ref [get]
 Get the underlying struct.
 
ref readonly MR.Vector2i64 x [get]
 rows, identity matrix by default
 
ref readonly MR.Vector2i64 y [get]
 
unsafe ref readonly MR.Vector2i64 this[int row] [get]
 row access Generated from method MR.Matrix2i64.operator[].
 
- Properties inherited from MR.Misc.Object< ConstBox_Matrix2i64 >
virtual bool _IsOwning [get]
 Returns true if this is an owning instance, and when disposed, will destroy the underlying C++ instance. If false, we assume that the underlying C++ instance will live long enough.
 

Additional Inherited Members

- Static Public Member Functions inherited from MR.ConstBox_Matrix2i64
static implicit operator ConstBox_Matrix2i64 (Matrix2i64 other)
 Convert from a struct by copying it. Note that only ConstBox_Matrix2i64 has this conversion, Box_Matrix2i64 intentionally doesn't.
 
static MR.Matrix2i64 zero ()
 Generated from method MR.Matrix2i64.zero.
 
static MR.Matrix2i64 identity ()
 Generated from method MR.Matrix2i64.identity.
 
static MR.Matrix2i64 scale (long s)
 returns a matrix that scales uniformly Generated from method MR.Matrix2i64.scale.
 
static MR.Matrix2i64 scale (long sx, long sy)
 returns a matrix that has its own scale along each axis Generated from method MR.Matrix2i64.scale.
 
static unsafe MR.Matrix2i64 scale (in MR.Vector2i64 s)
 Generated from method MR.Matrix2i64.scale.
 
static unsafe MR.Matrix2i64 fromRows (in MR.Vector2i64 x, in MR.Vector2i64 y)
 constructs a matrix from its 2 rows Generated from method MR.Matrix2i64.fromRows.
 
static unsafe MR.Matrix2i64 fromColumns (in MR.Vector2i64 x, in MR.Vector2i64 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.Matrix2i64.fromColumns.
 
static unsafe bool operator== (MR.ConstBox_Matrix2i64 a, MR.ConstBox_Matrix2i64 b)
 Generated from function MR.operator==.
 
static unsafe bool operator!= (MR.ConstBox_Matrix2i64 a, MR.ConstBox_Matrix2i64 b)
 
static unsafe MR.Matrix2i64 operator+ (MR.ConstBox_Matrix2i64 a, in MR.Matrix2i64 b)
 Generated from function MR.operator+.
 
static unsafe MR.Matrix2i64 operator- (MR.ConstBox_Matrix2i64 a, in MR.Matrix2i64 b)
 Generated from function MR.operator-.
 
static unsafe MR.Matrix2i64 operator* (long a, MR.ConstBox_Matrix2i64 b)
 Generated from function MR.operator*.
 
static unsafe MR.Matrix2i64 operator* (MR.ConstBox_Matrix2i64 b, long a)
 Generated from function MR.operator*.
 
static unsafe MR.Matrix2i64 operator/ (ConstBox_Matrix2i64 b, long a)
 Generated from function MR.operator/.
 
static unsafe MR.Vector2i64 operator* (MR.ConstBox_Matrix2i64 a, in MR.Vector2i64 b)
 x = a * b Generated from function MR.operator*.
 
static unsafe MR.Matrix2i64 operator* (MR.ConstBox_Matrix2i64 a, in MR.Matrix2i64 b)
 product of two matrices Generated from function MR.operator*.
 
- Protected Member Functions inherited from MR.ConstBox_Matrix2i64
virtual unsafe void Dispose (bool disposing)
 
- Protected Attributes inherited from MR.Misc.Object< ConstBox_Matrix2i64 >
bool _IsOwningVal
 

Detailed Description

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


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