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

Public Member Functions

Matrix4i64 __add__ (self, ConstMatrix4i64 b)
int __call__ (self, int row, int col)
bool __eq__ (self, ConstMatrix4i64 b)
ConstVector4i64 __getitem__ (self, int row)
 __init__ (self, *args, **kwargs)
Matrix4i64 __mul__ (self, int a)
Vector4i64 __mul__ (self, ConstVector4i64 b)
Matrix4i64 __mul__ (self, ConstMatrix4i64 b)
bool __ne__ (self, ConstMatrix4i64 b)
str __repr__ (self)
typing.Any __rlshift__ (self, typing.Any mat)
Matrix4i64 __rmul__ (self, int b)
Matrix4i64 __sub__ (self, ConstMatrix4i64 b)
Matrix4i64 __truediv__ (self, int a)
Vector4i64 col (self, int i)
int data (self)
int det (self)
Matrix3i64 getRotation (self)
Vector3i64 getTranslation (self)
float norm (self)
int normSq (self)
Matrix3i64 submatrix3 (self, int i, int j)
int trace (self)
Matrix4i64 transposed (self)
ConstVector4i64 w (self)
ConstVector4i64 x (self)
ConstVector4i64 y (self)
ConstVector4i64 z (self)

Static Public Member Functions

Matrix4i64 identity ()
Matrix4i64 scale (int s)
Matrix4i64 zero ()

Static Protected Attributes

typing _offsetof_w = 96
typing _offsetof_x = 0
typing _offsetof_y = 32
typing _offsetof_z = 64

Detailed Description

Generated from:  MR::Matrix4i64
Aliases:  Vector4_long_MatrixType

arbitrary 4x4 matrix

Constructor & Destructor Documentation

◆ __init__()

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

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

2. __init__(self: meshlib.mrmeshpy.ConstMatrix4i64, x: meshlib.mrmeshpy.ConstVector4i64, y: meshlib.mrmeshpy.ConstVector4i64, z: meshlib.mrmeshpy.ConstVector4i64, w: meshlib.mrmeshpy.ConstVector4i64) -> None

initializes matrix from 4 row-vectors

3. __init__(self: meshlib.mrmeshpy.ConstMatrix4i64, r: meshlib.mrmeshpy.ConstMatrix3i64, t: meshlib.mrmeshpy.ConstVector3i64) -> None

construct from rotation matrix and translation vector

4. __init__(self: meshlib.mrmeshpy.ConstMatrix4i64, arg0: meshlib.mrmeshpy.Matrix4i64) -> None

Implicit copy constructor.

5. __init__(self: meshlib.mrmeshpy.ConstMatrix4i64, : meshlib.mrmeshpy.Matrix4i64) -> None

Member Function Documentation

◆ __add__()

Matrix4i64 mrmeshpy.ConstMatrix4i64.__add__ ( self,
ConstMatrix4i64 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.

◆ __call__()

int mrmeshpy.ConstMatrix4i64.__call__ ( self,
int row,
int col )
element access

◆ __eq__()

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

◆ __getitem__()

ConstVector4i64 mrmeshpy.ConstMatrix4i64.__getitem__ ( self,
int row )
row access

◆ __mul__() [1/3]

Matrix4i64 mrmeshpy.ConstMatrix4i64.__mul__ ( self,
ConstMatrix4i64 b )
product of two matrices

◆ __mul__() [2/3]

Vector4i64 mrmeshpy.ConstMatrix4i64.__mul__ ( self,
ConstVector4i64 b )
x = a * b

◆ __mul__() [3/3]

Matrix4i64 mrmeshpy.ConstMatrix4i64.__mul__ ( self,
int a )

◆ __ne__()

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

◆ __repr__()

str mrmeshpy.ConstMatrix4i64.__repr__ ( self)

◆ __rlshift__()

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

◆ __rmul__()

Matrix4i64 mrmeshpy.ConstMatrix4i64.__rmul__ ( self,
int b )

◆ __sub__()

Matrix4i64 mrmeshpy.ConstMatrix4i64.__sub__ ( self,
ConstMatrix4i64 b )

◆ __truediv__()

Matrix4i64 mrmeshpy.ConstMatrix4i64.__truediv__ ( self,
int a )

◆ col()

Vector4i64 mrmeshpy.ConstMatrix4i64.col ( self,
int i )
column access

◆ data()

int mrmeshpy.ConstMatrix4i64.data ( self)

Reimplemented in mrmeshpy.Matrix4i64, and mrmeshpy.Matrix4i64.

◆ det()

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

◆ getRotation()

Matrix3i64 mrmeshpy.ConstMatrix4i64.getRotation ( self)

◆ getTranslation()

Vector3i64 mrmeshpy.ConstMatrix4i64.getTranslation ( self)

◆ identity()

Matrix4i64 mrmeshpy.ConstMatrix4i64.identity ( )
static

◆ norm()

float mrmeshpy.ConstMatrix4i64.norm ( self)

◆ normSq()

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

◆ scale()

Matrix4i64 mrmeshpy.ConstMatrix4i64.scale ( int s)
static
returns a matrix that scales uniformly

◆ submatrix3()

Matrix3i64 mrmeshpy.ConstMatrix4i64.submatrix3 ( self,
int i,
int j )
computes submatrix of the matrix with excluded i-th row and j-th column

◆ trace()

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

◆ transposed()

Matrix4i64 mrmeshpy.ConstMatrix4i64.transposed ( self)
computes transposed matrix

◆ w()

ConstVector4i64 mrmeshpy.ConstMatrix4i64.w ( self)

Reimplemented in mrmeshpy.Matrix4i64, and mrmeshpy.Matrix4i64.

◆ x()

ConstVector4i64 mrmeshpy.ConstMatrix4i64.x ( self)
rows, identity matrix by default

Reimplemented in mrmeshpy.Matrix4i64, and mrmeshpy.Matrix4i64.

◆ y()

ConstVector4i64 mrmeshpy.ConstMatrix4i64.y ( self)

Reimplemented in mrmeshpy.Matrix4i64, and mrmeshpy.Matrix4i64.

◆ z()

ConstVector4i64 mrmeshpy.ConstMatrix4i64.z ( self)

Reimplemented in mrmeshpy.Matrix4i64, and mrmeshpy.Matrix4i64.

◆ zero()

Matrix4i64 mrmeshpy.ConstMatrix4i64.zero ( )
static

Member Data Documentation

◆ _offsetof_w

typing mrmeshpy.ConstMatrix4i64._offsetof_w = 96
staticprotected

◆ _offsetof_x

typing mrmeshpy.ConstMatrix4i64._offsetof_x = 0
staticprotected

◆ _offsetof_y

typing mrmeshpy.ConstMatrix4i64._offsetof_y = 32
staticprotected

◆ _offsetof_z

typing mrmeshpy.ConstMatrix4i64._offsetof_z = 64
staticprotected

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