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

Public Member Functions

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

Static Public Member Functions

None __init__ (*args, **kwargs)
Static Public Member Functions inherited from mrmeshpy.ConstMatrix2d
Matrix2d fromColumns (ConstVector2d x, ConstVector2d y)
Matrix2d fromRows (ConstVector2d x, ConstVector2d y)
Matrix2d identity ()
Matrix2d rotation (float angle)
Matrix2d rotation (ConstVector2d from_, ConstVector2d to)
Matrix2d scale (float s)
Matrix2d scale (float sx, float sy)
Matrix2d scale (ConstVector2d s)
Matrix2d zero ()

Additional Inherited Members

Static Protected Attributes inherited from mrmeshpy.ConstMatrix2d
typing _offsetof_x = 0
typing _offsetof_y = 16

Detailed Description

Generated from:  MR::Matrix2d
Aliases:  AffineXf_Vector2d_M, Vector2_double_MatrixType

arbitrary 2x2 matrix

Constructor & Destructor Documentation

◆ __init__() [1/4]

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

◆ __init__() [2/4]

None mrmeshpy.Matrix2d.__init__ ( self)

◆ __init__() [3/4]

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

◆ __init__() [4/4]

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

Member Function Documentation

◆ __getitem__() [1/2]

ConstVector2d mrmeshpy.Matrix2d.__getitem__ ( ConstMatrix2d self,
int row )
row access

◆ __getitem__() [2/2]

Vector2d mrmeshpy.Matrix2d.__getitem__ ( self,
int row )

◆ __iadd__()

Matrix2d mrmeshpy.Matrix2d.__iadd__ ( self,
ConstMatrix2d b )

◆ __imul__()

Matrix2d mrmeshpy.Matrix2d.__imul__ ( self,
float b )

◆ __isub__()

Matrix2d mrmeshpy.Matrix2d.__isub__ ( self,
ConstMatrix2d b )

◆ __itruediv__()

Matrix2d mrmeshpy.Matrix2d.__itruediv__ ( self,
float b )

◆ __rrshift__()

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

◆ __setitem__()

None mrmeshpy.Matrix2d.__setitem__ ( self,
int arg0,
ConstVector2d arg1 )

◆ assign()

Matrix2d mrmeshpy.Matrix2d.assign ( self,
ConstMatrix2d other )

◆ x() [1/2]

Vector2d mrmeshpy.Matrix2d.x ( self)
rows, identity matrix by default

Reimplemented from mrmeshpy.ConstMatrix2d.

◆ x() [2/2]

None mrmeshpy.Matrix2d.x ( self,
ConstVector2d arg1 )
rows, identity matrix by default

Reimplemented from mrmeshpy.ConstMatrix2d.

◆ y() [1/2]

Vector2d mrmeshpy.Matrix2d.y ( self)

Reimplemented from mrmeshpy.ConstMatrix2d.

◆ y() [2/2]

None mrmeshpy.Matrix2d.y ( self,
ConstVector2d arg1 )

Reimplemented from mrmeshpy.ConstMatrix2d.


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