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

Public Member Functions

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

Static Public Member Functions

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

Additional Inherited Members

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

Detailed Description

Generated from:  MR::Matrix2f
Aliases:  AffineXf_Vector2f_M, Vector2_float_MatrixType

arbitrary 2x2 matrix

Constructor & Destructor Documentation

◆ __init__() [1/4]

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

◆ __init__() [2/4]

None mrmeshpy.Matrix2f.__init__ ( self)

◆ __init__() [3/4]

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

◆ __init__() [4/4]

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

Member Function Documentation

◆ __getitem__() [1/2]

ConstVector2f mrmeshpy.Matrix2f.__getitem__ ( ConstMatrix2f self,
int row )
row access

◆ __getitem__() [2/2]

Vector2f mrmeshpy.Matrix2f.__getitem__ ( self,
int row )

◆ __iadd__()

Matrix2f mrmeshpy.Matrix2f.__iadd__ ( self,
ConstMatrix2f b )

◆ __imul__()

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

◆ __isub__()

Matrix2f mrmeshpy.Matrix2f.__isub__ ( self,
ConstMatrix2f b )

◆ __itruediv__()

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

◆ __rrshift__()

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

◆ __setitem__()

None mrmeshpy.Matrix2f.__setitem__ ( self,
int arg0,
ConstVector2f arg1 )

◆ assign()

Matrix2f mrmeshpy.Matrix2f.assign ( self,
ConstMatrix2f other )

◆ x() [1/2]

Vector2f mrmeshpy.Matrix2f.x ( self)
rows, identity matrix by default

Reimplemented from mrmeshpy.ConstMatrix2f.

◆ x() [2/2]

None mrmeshpy.Matrix2f.x ( self,
ConstVector2f arg1 )
rows, identity matrix by default

Reimplemented from mrmeshpy.ConstMatrix2f.

◆ y() [1/2]

Vector2f mrmeshpy.Matrix2f.y ( self)

Reimplemented from mrmeshpy.ConstMatrix2f.

◆ y() [2/2]

None mrmeshpy.Matrix2f.y ( self,
ConstVector2f arg1 )

Reimplemented from mrmeshpy.ConstMatrix2f.


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