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

Public Member Functions

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

Static Public Member Functions

Matrix3b fromColumns (ConstVector3b x, ConstVector3b y, ConstVector3b z)
Matrix3b fromRows (ConstVector3b x, ConstVector3b y, ConstVector3b z)
Matrix3b identity ()
Matrix3b scale (bool s)
Matrix3b scale (bool sx, bool sy, bool sz)
Matrix3b scale (ConstVector3b s)
Matrix3b zero ()

Static Protected Attributes

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

Detailed Description

Generated from:  MR::Matrix3b
Aliases:  Vector3_bool_MatrixType

arbitrary 3x3 matrix

Constructor & Destructor Documentation

◆ __init__()

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

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

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

initializes matrix from its 3 rows

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

Implicit copy constructor.

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

Member Function Documentation

◆ __add__()

Matrix3i mrmeshpy.ConstMatrix3b.__add__ ( self,
ConstMatrix3b 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.ConstMatrix3b.__eq__ ( self,
ConstMatrix3b b )

◆ __getitem__()

ConstVector3b mrmeshpy.ConstMatrix3b.__getitem__ ( self,
int row )
row access

◆ __mul__() [1/3]

Matrix3i mrmeshpy.ConstMatrix3b.__mul__ ( self,
bool a )

◆ __mul__() [2/3]

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

◆ __mul__() [3/3]

Vector3i mrmeshpy.ConstMatrix3b.__mul__ ( self,
ConstVector3b b )
x = a * b

◆ __ne__()

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

◆ __repr__()

str mrmeshpy.ConstMatrix3b.__repr__ ( self)

◆ __rlshift__()

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

◆ __rmul__()

Matrix3i mrmeshpy.ConstMatrix3b.__rmul__ ( self,
bool b )

◆ __sub__()

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

◆ __truediv__()

Matrix3i mrmeshpy.ConstMatrix3b.__truediv__ ( self,
bool a )

◆ col()

Vector3b mrmeshpy.ConstMatrix3b.col ( self,
int i )
column access

◆ det()

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

◆ fromColumns()

Matrix3b mrmeshpy.ConstMatrix3b.fromColumns ( ConstVector3b x,
ConstVector3b y,
ConstVector3b 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()

Matrix3b mrmeshpy.ConstMatrix3b.fromRows ( ConstVector3b x,
ConstVector3b y,
ConstVector3b z )
static
constructs a matrix from its 3 rows

◆ identity()

Matrix3b mrmeshpy.ConstMatrix3b.identity ( )
static

◆ norm()

float mrmeshpy.ConstMatrix3b.norm ( self)

◆ normSq()

bool mrmeshpy.ConstMatrix3b.normSq ( self)
compute sum of squared matrix elements

◆ scale() [1/3]

Matrix3b mrmeshpy.ConstMatrix3b.scale ( bool s)
static
returns a matrix that scales uniformly

◆ scale() [2/3]

Matrix3b mrmeshpy.ConstMatrix3b.scale ( bool sx,
bool sy,
bool sz )
static
returns a matrix that has its own scale along each axis

◆ scale() [3/3]

Matrix3b mrmeshpy.ConstMatrix3b.scale ( ConstVector3b s)
static

◆ trace()

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

◆ transposed()

Matrix3b mrmeshpy.ConstMatrix3b.transposed ( self)
computes transposed matrix

◆ x()

ConstVector3b mrmeshpy.ConstMatrix3b.x ( self)
rows, identity matrix by default

Reimplemented in mrmeshpy.Matrix3b, and mrmeshpy.Matrix3b.

◆ y()

ConstVector3b mrmeshpy.ConstMatrix3b.y ( self)

Reimplemented in mrmeshpy.Matrix3b, and mrmeshpy.Matrix3b.

◆ z()

ConstVector3b mrmeshpy.ConstMatrix3b.z ( self)

Reimplemented in mrmeshpy.Matrix3b, and mrmeshpy.Matrix3b.

◆ zero()

Matrix3b mrmeshpy.ConstMatrix3b.zero ( )
static

Member Data Documentation

◆ _offsetof_x

typing mrmeshpy.ConstMatrix3b._offsetof_x = 0
staticprotected

◆ _offsetof_y

typing mrmeshpy.ConstMatrix3b._offsetof_y = 3
staticprotected

◆ _offsetof_z

typing mrmeshpy.ConstMatrix3b._offsetof_z = 6
staticprotected

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