MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.Matrix3ll Class Reference

Public Member Functions

Matrix3ll __add__ (self, Matrix3ll b)
 
bool __eq__ (self, Matrix3ll b)
 
Vector3ll __getitem__ (self, int row)
 
Vector3ll __getitem__ (self, int row)
 
Matrix3ll __iadd__ (self, Matrix3ll b)
 
Matrix3ll __imatmul__ (self, int b)
 
None __init__ (self)
 
None __init__ (self, Vector3ll x, Vector3ll y, Vector3ll z)
 
Matrix3ll __isub__ (self, Matrix3ll b)
 
Matrix3ll __itruediv__ (self, int b)
 
Matrix3ll __mul__ (self, int a)
 
Vector3ll __mul__ (self, Vector3ll b)
 
Matrix3ll __mul__ (self, Matrix3ll b)
 
bool __ne__ (self, Matrix3ll b)
 
str __repr__ (self)
 
Matrix3ll __rmul__ (self, int b)
 
None __setitem__ (self, int arg0, Vector3ll arg1)
 
Matrix3ll __sub__ (self, Matrix3ll b)
 
Matrix3ll __truediv__ (self, int a)
 
Vector3ll col (self, int i)
 
int det (self)
 
float norm (self)
 
int normSq (self)
 
int trace (self)
 
Matrix3ll transposed (self)
 
Vector3ll x (self)
 
None x (self, Vector3ll arg1)
 

Static Public Member Functions

None __init__ (*args, **kwargs)
 
Matrix3ll fromColumns (Vector3ll x, Vector3ll y, Vector3ll z)
 
Matrix3ll fromRows (Vector3ll x, Vector3ll y, Vector3ll z)
 
Matrix3ll identity ()
 
Matrix3ll operator (*args, **kwargs)
 
Matrix3ll operator (*args, **kwargs)
 
Matrix3ll scale (int s)
 
Matrix3ll scale (int sx, int sy, int sz)
 
Matrix3ll scale (Vector3ll s)
 
Matrix3ll zero ()
 

Static Protected Attributes

typing _offsetof_x = 0
 
typing _offsetof_y = 24
 
typing _offsetof_z = 48
 

Detailed Description

Generated from:  MR::Matrix3ll
Aliases:  Vector3_long_long_MatrixType

arbitrary 3x3 matrix
\\ingroup MatrixGroup

Constructor & Destructor Documentation

◆ __init__() [1/3]

None mrmeshpy.Matrix3ll.__init__ ( * args,
** kwargs )
static

◆ __init__() [2/3]

None mrmeshpy.Matrix3ll.__init__ ( self)

◆ __init__() [3/3]

None mrmeshpy.Matrix3ll.__init__ ( self,
Vector3ll x,
Vector3ll y,
Vector3ll z )
initializes matrix from its 3 rows

Member Function Documentation

◆ __add__()

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

◆ __getitem__() [1/2]

Vector3ll mrmeshpy.Matrix3ll.__getitem__ ( self,
int row )
row access

◆ __getitem__() [2/2]

Vector3ll mrmeshpy.Matrix3ll.__getitem__ ( self,
int row )

◆ __iadd__()

Matrix3ll mrmeshpy.Matrix3ll.__iadd__ ( self,
Matrix3ll b )

◆ __imatmul__()

Matrix3ll mrmeshpy.Matrix3ll.__imatmul__ ( self,
int b )

◆ __isub__()

Matrix3ll mrmeshpy.Matrix3ll.__isub__ ( self,
Matrix3ll b )

◆ __itruediv__()

Matrix3ll mrmeshpy.Matrix3ll.__itruediv__ ( self,
int b )

◆ __mul__() [1/3]

Matrix3ll mrmeshpy.Matrix3ll.__mul__ ( self,
int a )

◆ __mul__() [2/3]

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

◆ __mul__() [3/3]

Vector3ll mrmeshpy.Matrix3ll.__mul__ ( self,
Vector3ll b )
x = a * b

◆ __ne__()

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

◆ __repr__()

str mrmeshpy.Matrix3ll.__repr__ ( self)

◆ __rmul__()

Matrix3ll mrmeshpy.Matrix3ll.__rmul__ ( self,
int b )

◆ __setitem__()

None mrmeshpy.Matrix3ll.__setitem__ ( self,
int arg0,
Vector3ll arg1 )

◆ __sub__()

Matrix3ll mrmeshpy.Matrix3ll.__sub__ ( self,
Matrix3ll b )

◆ __truediv__()

Matrix3ll mrmeshpy.Matrix3ll.__truediv__ ( self,
int a )

◆ col()

Vector3ll mrmeshpy.Matrix3ll.col ( self,
int i )
column access

◆ det()

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

◆ fromColumns()

Matrix3ll mrmeshpy.Matrix3ll.fromColumns ( Vector3ll x,
Vector3ll y,
Vector3ll 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()

Matrix3ll mrmeshpy.Matrix3ll.fromRows ( Vector3ll x,
Vector3ll y,
Vector3ll z )
static
constructs a matrix from its 3 rows

◆ identity()

Matrix3ll mrmeshpy.Matrix3ll.identity ( )
static

◆ norm()

float mrmeshpy.Matrix3ll.norm ( self)

◆ normSq()

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

◆ operator() [1/2]

Matrix3ll mrmeshpy.Matrix3ll.operator ( * args,
** kwargs )
static

◆ operator() [2/2]

Matrix3ll mrmeshpy.Matrix3ll.operator ( * args,
** kwargs )
static

◆ scale() [1/3]

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

◆ scale() [2/3]

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

◆ scale() [3/3]

Matrix3ll mrmeshpy.Matrix3ll.scale ( Vector3ll s)
static

◆ trace()

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

◆ transposed()

Matrix3ll mrmeshpy.Matrix3ll.transposed ( self)
computes transposed matrix

◆ x() [1/2]

Vector3ll mrmeshpy.Matrix3ll.x ( self)
rows, identity matrix by default

◆ x() [2/2]

None mrmeshpy.Matrix3ll.x ( self,
Vector3ll arg1 )

◆ zero()

Matrix3ll mrmeshpy.Matrix3ll.zero ( )
static

Member Data Documentation

◆ _offsetof_x

typing mrmeshpy.Matrix3ll._offsetof_x = 0
staticprotected

◆ _offsetof_y

typing mrmeshpy.Matrix3ll._offsetof_y = 24
staticprotected

◆ _offsetof_z

typing mrmeshpy.Matrix3ll._offsetof_z = 48
staticprotected

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