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

Public Member Functions

 __init__ (self, *args, **kwargs)
bool det (self)
SymMatrix2b inverse (self)
SymMatrix2b inverse (self, bool det)
bool normSq (self)
bool trace (self)
bool xx (self)
bool xy (self)
bool yy (self)

Static Public Member Functions

SymMatrix2b diagonal (bool diagVal)
SymMatrix2b identity ()

Static Protected Attributes

typing _offsetof_xx = 0
typing _offsetof_xy = 1
typing _offsetof_yy = 2

Detailed Description

Generated from:  MR::SymMatrix2b
Aliases:  Vector2_bool_SymMatrixType

symmetric 2x2 matrix

Constructor & Destructor Documentation

◆ __init__()

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

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

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

Implicit copy constructor.

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

Member Function Documentation

◆ det()

bool mrmeshpy.ConstSymMatrix2b.det ( self)
computes determinant of the matrix

◆ diagonal()

SymMatrix2b mrmeshpy.ConstSymMatrix2b.diagonal ( bool diagVal)
static

◆ identity()

SymMatrix2b mrmeshpy.ConstSymMatrix2b.identity ( )
static

◆ inverse() [1/2]

SymMatrix2b mrmeshpy.ConstSymMatrix2b.inverse ( self)
computes inverse matrix

◆ inverse() [2/2]

SymMatrix2b mrmeshpy.ConstSymMatrix2b.inverse ( self,
bool det )
computes inverse matrix given determinant of this

◆ normSq()

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

◆ trace()

bool mrmeshpy.ConstSymMatrix2b.trace ( self)
computes trace of the matrix

◆ xx()

bool mrmeshpy.ConstSymMatrix2b.xx ( self)
zero matrix by default

Reimplemented in mrmeshpy.SymMatrix2b, and mrmeshpy.SymMatrix2b.

◆ xy()

bool mrmeshpy.ConstSymMatrix2b.xy ( self)
zero matrix by default

Reimplemented in mrmeshpy.SymMatrix2b, and mrmeshpy.SymMatrix2b.

◆ yy()

bool mrmeshpy.ConstSymMatrix2b.yy ( self)
zero matrix by default

Reimplemented in mrmeshpy.SymMatrix2b, and mrmeshpy.SymMatrix2b.

Member Data Documentation

◆ _offsetof_xx

typing mrmeshpy.ConstSymMatrix2b._offsetof_xx = 0
staticprotected

◆ _offsetof_xy

typing mrmeshpy.ConstSymMatrix2b._offsetof_xy = 1
staticprotected

◆ _offsetof_yy

typing mrmeshpy.ConstSymMatrix2b._offsetof_yy = 2
staticprotected

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