MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.SymMatrix2i Class Reference

Public Member Functions

SymMatrix2i __iadd__ (self, SymMatrix2i b)
 
SymMatrix2i __imatmul__ (self, int b)
 
None __init__ (self)
 
SymMatrix2i __isub__ (self, SymMatrix2i b)
 
SymMatrix2i __itruediv__ (self, int b)
 
int det (self)
 
SymMatrix2i inverse (self)
 
SymMatrix2i inverse (self, int det)
 
int normSq (self)
 
int trace (self)
 
int xx (self)
 
None xx (self, int arg1)
 
int xy (self)
 
None xy (self, int arg1)
 
int yy (self)
 
None yy (self, int arg1)
 

Static Public Member Functions

None __init__ (*args, **kwargs)
 
SymMatrix2i diagonal (int diagVal)
 
SymMatrix2i identity ()
 
SymMatrix2i operator (*args, **kwargs)
 
SymMatrix2i operator (*args, **kwargs)
 

Static Protected Attributes

typing _offsetof_xx = 0
 
typing _offsetof_xy = 4
 
typing _offsetof_yy = 8
 

Detailed Description

Generated from:  MR::SymMatrix2i
Aliases:  Vector2_int_SymMatrixType

symmetric 2x2 matrix
\\ingroup MatrixGroup

Constructor & Destructor Documentation

◆ __init__() [1/2]

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

◆ __init__() [2/2]

None mrmeshpy.SymMatrix2i.__init__ ( self)

Member Function Documentation

◆ __iadd__()

SymMatrix2i mrmeshpy.SymMatrix2i.__iadd__ ( self,
SymMatrix2i b )

◆ __imatmul__()

SymMatrix2i mrmeshpy.SymMatrix2i.__imatmul__ ( self,
int b )

◆ __isub__()

SymMatrix2i mrmeshpy.SymMatrix2i.__isub__ ( self,
SymMatrix2i b )

◆ __itruediv__()

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

◆ det()

int mrmeshpy.SymMatrix2i.det ( self)
computes determinant of the matrix

◆ diagonal()

SymMatrix2i mrmeshpy.SymMatrix2i.diagonal ( int diagVal)
static

◆ identity()

SymMatrix2i mrmeshpy.SymMatrix2i.identity ( )
static

◆ inverse() [1/2]

SymMatrix2i mrmeshpy.SymMatrix2i.inverse ( self)
computes inverse matrix

◆ inverse() [2/2]

SymMatrix2i mrmeshpy.SymMatrix2i.inverse ( self,
int det )
computes inverse matrix given determinant of this

◆ normSq()

int mrmeshpy.SymMatrix2i.normSq ( self)
computes the squared norm of the matrix, which is equal to the sum of 4 squared elements

◆ operator() [1/2]

SymMatrix2i mrmeshpy.SymMatrix2i.operator ( * args,
** kwargs )
static

◆ operator() [2/2]

SymMatrix2i mrmeshpy.SymMatrix2i.operator ( * args,
** kwargs )
static

◆ trace()

int mrmeshpy.SymMatrix2i.trace ( self)
computes trace of the matrix

◆ xx() [1/2]

int mrmeshpy.SymMatrix2i.xx ( self)
zero matrix by default

◆ xx() [2/2]

None mrmeshpy.SymMatrix2i.xx ( self,
int arg1 )

◆ xy() [1/2]

int mrmeshpy.SymMatrix2i.xy ( self)
zero matrix by default

◆ xy() [2/2]

None mrmeshpy.SymMatrix2i.xy ( self,
int arg1 )

◆ yy() [1/2]

int mrmeshpy.SymMatrix2i.yy ( self)
zero matrix by default

◆ yy() [2/2]

None mrmeshpy.SymMatrix2i.yy ( self,
int arg1 )

Member Data Documentation

◆ _offsetof_xx

typing mrmeshpy.SymMatrix2i._offsetof_xx = 0
staticprotected

◆ _offsetof_xy

typing mrmeshpy.SymMatrix2i._offsetof_xy = 4
staticprotected

◆ _offsetof_yy

typing mrmeshpy.SymMatrix2i._offsetof_yy = 8
staticprotected

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