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

Public Member Functions

 __init__ (self, *args, **kwargs)
int det (self)
SymMatrix2i inverse (self)
SymMatrix2i inverse (self, int det)
int normSq (self)
int trace (self)
int xx (self)
int xy (self)
int yy (self)

Static Public Member Functions

SymMatrix2i diagonal (int diagVal)
SymMatrix2i identity ()

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

Constructor & Destructor Documentation

◆ __init__()

mrmeshpy.ConstSymMatrix2i.__init__ ( self,
* args,
** kwargs )
__init__(*args, **kwargs)
Overloaded function.

1. __init__(self: meshlib.mrmeshpy.ConstSymMatrix2i) -> None

2. __init__(self: meshlib.mrmeshpy.ConstSymMatrix2i, arg0: meshlib.mrmeshpy.ConstSymMatrix2i) -> None

Implicit copy constructor.

3. __init__(self: meshlib.mrmeshpy.ConstSymMatrix2i, : meshlib.mrmeshpy.ConstSymMatrix2i) -> None

Member Function Documentation

◆ det()

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

◆ diagonal()

SymMatrix2i mrmeshpy.ConstSymMatrix2i.diagonal ( int diagVal)
static

◆ identity()

SymMatrix2i mrmeshpy.ConstSymMatrix2i.identity ( )
static

◆ inverse() [1/2]

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

◆ inverse() [2/2]

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

◆ normSq()

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

◆ trace()

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

◆ xx()

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

Reimplemented in mrmeshpy.SymMatrix2i, and mrmeshpy.SymMatrix2i.

◆ xy()

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

Reimplemented in mrmeshpy.SymMatrix2i, and mrmeshpy.SymMatrix2i.

◆ yy()

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

Reimplemented in mrmeshpy.SymMatrix2i, and mrmeshpy.SymMatrix2i.

Member Data Documentation

◆ _offsetof_xx

typing mrmeshpy.ConstSymMatrix2i._offsetof_xx = 0
staticprotected

◆ _offsetof_xy

typing mrmeshpy.ConstSymMatrix2i._offsetof_xy = 4
staticprotected

◆ _offsetof_yy

typing mrmeshpy.ConstSymMatrix2i._offsetof_yy = 8
staticprotected

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