MeshLib Python Docs
Loading...
Searching...
No Matches
Inheritance diagram for mrmeshpy.Matrix2i:

Public Member Functions

Vector2i __getitem__ (self, int row)
ConstVector2i __getitem__ (ConstMatrix2i self, int row)
Matrix2i __iadd__ (self, ConstMatrix2i b)
Matrix2i __imul__ (self, int b)
None __init__ (self)
None __init__ (self, ConstVector2i x, ConstVector2i y)
None __init__ (self, Matrix2i arg0)
Matrix2i __isub__ (self, ConstMatrix2i b)
Matrix2i __itruediv__ (self, int b)
typing.Any __rrshift__ (self, typing.Any mat)
None __setitem__ (self, int arg0, ConstVector2i arg1)
Matrix2i assign (self, ConstMatrix2i other)
Vector2i x (self)
None x (self, ConstVector2i arg1)
Vector2i y (self)
None y (self, ConstVector2i arg1)
Public Member Functions inherited from mrmeshpy.ConstMatrix2i
Matrix2i __add__ (self, ConstMatrix2i b)
bool __eq__ (self, ConstMatrix2i b)
ConstVector2i __getitem__ (self, int row)
 __init__ (self, *args, **kwargs)
Matrix2i __mul__ (self, int a)
Vector2i __mul__ (self, ConstVector2i b)
Matrix2i __mul__ (self, ConstMatrix2i b)
bool __ne__ (self, ConstMatrix2i b)
str __repr__ (self)
typing.Any __rlshift__ (self, typing.Any mat)
Matrix2i __rmul__ (self, int b)
Matrix2i __sub__ (self, ConstMatrix2i b)
Matrix2i __truediv__ (self, int a)
Vector2i col (self, int i)
int det (self)
float norm (self)
int normSq (self)
int trace (self)
Matrix2i transposed (self)

Static Public Member Functions

None __init__ (*args, **kwargs)
Static Public Member Functions inherited from mrmeshpy.ConstMatrix2i
Matrix2i fromColumns (ConstVector2i x, ConstVector2i y)
Matrix2i fromRows (ConstVector2i x, ConstVector2i y)
Matrix2i identity ()
Matrix2i scale (int s)
Matrix2i scale (int sx, int sy)
Matrix2i scale (ConstVector2i s)
Matrix2i zero ()

Additional Inherited Members

Static Protected Attributes inherited from mrmeshpy.ConstMatrix2i
typing _offsetof_x = 0
typing _offsetof_y = 8

Detailed Description

Generated from:  MR::Matrix2i
Aliases:  Vector2_int_MatrixType

arbitrary 2x2 matrix

Constructor & Destructor Documentation

◆ __init__() [1/4]

None mrmeshpy.Matrix2i.__init__ ( * args,
** kwargs )
static

◆ __init__() [2/4]

None mrmeshpy.Matrix2i.__init__ ( self)

◆ __init__() [3/4]

None mrmeshpy.Matrix2i.__init__ ( self,
ConstVector2i x,
ConstVector2i y )
initializes matrix from its 2 rows

◆ __init__() [4/4]

None mrmeshpy.Matrix2i.__init__ ( self,
Matrix2i arg0 )
Implicit copy constructor.

Member Function Documentation

◆ __getitem__() [1/2]

ConstVector2i mrmeshpy.Matrix2i.__getitem__ ( ConstMatrix2i self,
int row )
row access

◆ __getitem__() [2/2]

Vector2i mrmeshpy.Matrix2i.__getitem__ ( self,
int row )

◆ __iadd__()

Matrix2i mrmeshpy.Matrix2i.__iadd__ ( self,
ConstMatrix2i b )

◆ __imul__()

Matrix2i mrmeshpy.Matrix2i.__imul__ ( self,
int b )

◆ __isub__()

Matrix2i mrmeshpy.Matrix2i.__isub__ ( self,
ConstMatrix2i b )

◆ __itruediv__()

Matrix2i mrmeshpy.Matrix2i.__itruediv__ ( self,
int b )

◆ __rrshift__()

typing.Any mrmeshpy.Matrix2i.__rrshift__ ( self,
typing.Any mat )

◆ __setitem__()

None mrmeshpy.Matrix2i.__setitem__ ( self,
int arg0,
ConstVector2i arg1 )

◆ assign()

Matrix2i mrmeshpy.Matrix2i.assign ( self,
ConstMatrix2i other )

◆ x() [1/2]

Vector2i mrmeshpy.Matrix2i.x ( self)
rows, identity matrix by default

Reimplemented from mrmeshpy.ConstMatrix2i.

◆ x() [2/2]

None mrmeshpy.Matrix2i.x ( self,
ConstVector2i arg1 )
rows, identity matrix by default

Reimplemented from mrmeshpy.ConstMatrix2i.

◆ y() [1/2]

Vector2i mrmeshpy.Matrix2i.y ( self)

Reimplemented from mrmeshpy.ConstMatrix2i.

◆ y() [2/2]

None mrmeshpy.Matrix2i.y ( self,
ConstVector2i arg1 )

Reimplemented from mrmeshpy.ConstMatrix2i.


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