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

Classes

class  ConstQR
class  QR

Public Member Functions

Matrix3i __add__ (self, ConstMatrix3_unsigned_char b)
bool __eq__ (self, ConstMatrix3_unsigned_char b)
ConstVector3_unsigned_char __getitem__ (self, int row)
 __init__ (self, *args, **kwargs)
Matrix3i __mul__ (self, int a)
Vector3i __mul__ (self, ConstVector3_unsigned_char b)
Matrix3i __mul__ (self, ConstMatrix3_unsigned_char b)
bool __ne__ (self, ConstMatrix3_unsigned_char b)
str __repr__ (self)
typing.Any __rlshift__ (self, typing.Any mat)
Matrix3i __rmul__ (self, int b)
Matrix3i __sub__ (self, ConstMatrix3_unsigned_char b)
Matrix3i __truediv__ (self, int a)
Vector3_unsigned_char col (self, int i)
int det (self)
float norm (self)
int normSq (self)
int trace (self)
Matrix3_unsigned_char transposed (self)
ConstVector3_unsigned_char x (self)
ConstVector3_unsigned_char y (self)
ConstVector3_unsigned_char z (self)

Static Public Member Functions

Matrix3_unsigned_char fromColumns (ConstVector3_unsigned_char x, ConstVector3_unsigned_char y, ConstVector3_unsigned_char z)
Matrix3_unsigned_char fromRows (ConstVector3_unsigned_char x, ConstVector3_unsigned_char y, ConstVector3_unsigned_char z)
Matrix3_unsigned_char identity ()
Matrix3_unsigned_char scale (int s)
Matrix3_unsigned_char scale (int sx, int sy, int sz)
Matrix3_unsigned_char scale (ConstVector3_unsigned_char s)
Matrix3_unsigned_char zero ()

Static Public Attributes

 ConstVectorType = ConstVector3_unsigned_char
 VectorType = Vector3_unsigned_char

Static Protected Attributes

typing _offsetof_x = 0
typing _offsetof_y = 3
typing _offsetof_z = 6

Detailed Description

Generated from:  MR::Matrix3<unsigned char>
Aliases:  Vector3_unsigned_char.MatrixType

arbitrary 3x3 matrix

Constructor & Destructor Documentation

◆ __init__()

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

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

2. __init__(self: meshlib.mrmeshpy.ConstMatrix3_unsigned_char, x: meshlib.mrmeshpy.ConstVector3_unsigned_char, y: meshlib.mrmeshpy.ConstVector3_unsigned_char, z: meshlib.mrmeshpy.ConstVector3_unsigned_char) -> None

initializes matrix from its 3 rows

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

Implicit copy constructor.

4. __init__(self: meshlib.mrmeshpy.ConstMatrix3_unsigned_char, : meshlib.mrmeshpy.ConstMatrix3_unsigned_char) -> None

Member Function Documentation

◆ __add__()

Matrix3i mrmeshpy.ConstMatrix3_unsigned_char.__add__ ( self,
ConstMatrix3_unsigned_char b )
NOTE: We use `std::declval()` in the operators below because libclang 18 in our binding generator is bugged and chokes on decltyping `a.x` and such. TODO fix this when we update libclang.

◆ __eq__()

bool mrmeshpy.ConstMatrix3_unsigned_char.__eq__ ( self,
ConstMatrix3_unsigned_char b )

◆ __getitem__()

ConstVector3_unsigned_char mrmeshpy.ConstMatrix3_unsigned_char.__getitem__ ( self,
int row )
row access

◆ __mul__() [1/3]

Matrix3i mrmeshpy.ConstMatrix3_unsigned_char.__mul__ ( self,
ConstMatrix3_unsigned_char b )
product of two matrices

◆ __mul__() [2/3]

Vector3i mrmeshpy.ConstMatrix3_unsigned_char.__mul__ ( self,
ConstVector3_unsigned_char b )
x = a * b

◆ __mul__() [3/3]

Matrix3i mrmeshpy.ConstMatrix3_unsigned_char.__mul__ ( self,
int a )

◆ __ne__()

bool mrmeshpy.ConstMatrix3_unsigned_char.__ne__ ( self,
ConstMatrix3_unsigned_char b )

◆ __repr__()

str mrmeshpy.ConstMatrix3_unsigned_char.__repr__ ( self)

◆ __rlshift__()

typing.Any mrmeshpy.ConstMatrix3_unsigned_char.__rlshift__ ( self,
typing.Any mat )

◆ __rmul__()

Matrix3i mrmeshpy.ConstMatrix3_unsigned_char.__rmul__ ( self,
int b )

◆ __sub__()

Matrix3i mrmeshpy.ConstMatrix3_unsigned_char.__sub__ ( self,
ConstMatrix3_unsigned_char b )

◆ __truediv__()

Matrix3i mrmeshpy.ConstMatrix3_unsigned_char.__truediv__ ( self,
int a )

◆ col()

Vector3_unsigned_char mrmeshpy.ConstMatrix3_unsigned_char.col ( self,
int i )
column access

◆ det()

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

◆ fromColumns()

Matrix3_unsigned_char mrmeshpy.ConstMatrix3_unsigned_char.fromColumns ( ConstVector3_unsigned_char x,
ConstVector3_unsigned_char y,
ConstVector3_unsigned_char z )
static
constructs a matrix from its 3 columns;
use this method to get the matrix that transforms basis vectors ( plusX, plusY, plusZ ) into vectors ( x, y, z ) respectively

◆ fromRows()

Matrix3_unsigned_char mrmeshpy.ConstMatrix3_unsigned_char.fromRows ( ConstVector3_unsigned_char x,
ConstVector3_unsigned_char y,
ConstVector3_unsigned_char z )
static
constructs a matrix from its 3 rows

◆ identity()

Matrix3_unsigned_char mrmeshpy.ConstMatrix3_unsigned_char.identity ( )
static

◆ norm()

float mrmeshpy.ConstMatrix3_unsigned_char.norm ( self)

◆ normSq()

int mrmeshpy.ConstMatrix3_unsigned_char.normSq ( self)
compute sum of squared matrix elements

◆ scale() [1/3]

Matrix3_unsigned_char mrmeshpy.ConstMatrix3_unsigned_char.scale ( ConstVector3_unsigned_char s)
static

◆ scale() [2/3]

Matrix3_unsigned_char mrmeshpy.ConstMatrix3_unsigned_char.scale ( int s)
static
returns a matrix that scales uniformly

◆ scale() [3/3]

Matrix3_unsigned_char mrmeshpy.ConstMatrix3_unsigned_char.scale ( int sx,
int sy,
int sz )
static
returns a matrix that has its own scale along each axis

◆ trace()

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

◆ transposed()

Matrix3_unsigned_char mrmeshpy.ConstMatrix3_unsigned_char.transposed ( self)
computes transposed matrix

◆ x()

ConstVector3_unsigned_char mrmeshpy.ConstMatrix3_unsigned_char.x ( self)
rows, identity matrix by default

Reimplemented in mrmeshpy.Matrix3_unsigned_char, and mrmeshpy.Matrix3_unsigned_char.

◆ y()

ConstVector3_unsigned_char mrmeshpy.ConstMatrix3_unsigned_char.y ( self)

◆ z()

ConstVector3_unsigned_char mrmeshpy.ConstMatrix3_unsigned_char.z ( self)

◆ zero()

Matrix3_unsigned_char mrmeshpy.ConstMatrix3_unsigned_char.zero ( )
static

Member Data Documentation

◆ _offsetof_x

typing mrmeshpy.ConstMatrix3_unsigned_char._offsetof_x = 0
staticprotected

◆ _offsetof_y

typing mrmeshpy.ConstMatrix3_unsigned_char._offsetof_y = 3
staticprotected

◆ _offsetof_z

typing mrmeshpy.ConstMatrix3_unsigned_char._offsetof_z = 6
staticprotected

◆ ConstVectorType

mrmeshpy.ConstMatrix3_unsigned_char.ConstVectorType = ConstVector3_unsigned_char
static

◆ VectorType

mrmeshpy.ConstMatrix3_unsigned_char.VectorType = Vector3_unsigned_char
static

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