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

Public Member Functions

Matrix3i __iadd__ (self, Matrix3i b)
 
Matrix3i __imatmul__ (self, int b)
 
None __init__ (self)
 
None __init__ (self, Vector3i x, Vector3i y, Vector3i z)
 
None __init__ (self, Matrix3i arg0)
 
Matrix3i __isub__ (self, Matrix3i b)
 
Matrix3i __itruediv__ (self, int b)
 
Vector3i __mul__ (self, Vector3i b)
 
Matrix3i __mul__ (self, Matrix3i b)
 
Matrix3i __mul__ (self, int a)
 
str __repr__ (self)
 
Matrix3i __rmul__ (self, int b)
 
Vector3i col (self, int i)
 
int det (self)
 
float norm (self)
 
int normSq (self)
 
int trace (self)
 
Matrix3i transposed (self)
 
Vector3i x (self)
 
None x (self, Vector3i arg1)
 

Static Public Member Functions

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

Protected Member Functions

Vector3i _Subscript (self, int row)
 
Vector3i _Subscript (self, int row)
 

Static Protected Member Functions

 _pybind11_conduit_v1_ (*args, **kwargs)
 

Detailed Description

Generated from:  MR::Matrix3i
Aliases:  Vector3_int_MatrixType, AffineXf_Vector3i.M

arbitrary 3x3 matrix
\\ingroup MatrixGroup

Constructor & Destructor Documentation

◆ __init__() [1/3]

None mrmeshpy.Matrix3i.__init__ ( self)

◆ __init__() [2/3]

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

◆ __init__() [3/3]

None mrmeshpy.Matrix3i.__init__ ( self,
Matrix3i arg0 )
Implicit copy constructor.

Member Function Documentation

◆ __iadd__()

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

◆ __imatmul__()

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

◆ __isub__()

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

◆ __itruediv__()

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

◆ __mul__() [1/3]

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

◆ __mul__() [2/3]

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

◆ __mul__() [3/3]

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

◆ __repr__()

str mrmeshpy.Matrix3i.__repr__ ( self)

◆ __rmul__()

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

◆ _pybind11_conduit_v1_()

mrmeshpy.Matrix3i._pybind11_conduit_v1_ ( * args,
** kwargs )
staticprotected

◆ _Subscript() [1/2]

Vector3i mrmeshpy.Matrix3i._Subscript ( self,
int row )
protected
row access

◆ _Subscript() [2/2]

Vector3i mrmeshpy.Matrix3i._Subscript ( self,
int row )
protected

◆ col()

Vector3i mrmeshpy.Matrix3i.col ( self,
int i )
column access

◆ det()

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

◆ fromColumns()

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

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

◆ identity()

Matrix3i mrmeshpy.Matrix3i.identity ( )
static

◆ norm()

float mrmeshpy.Matrix3i.norm ( self)

◆ normSq()

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

◆ scale() [1/3]

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

◆ scale() [2/3]

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

◆ scale() [3/3]

Matrix3i mrmeshpy.Matrix3i.scale ( Vector3i s)
static

◆ trace()

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

◆ transposed()

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

◆ x() [1/2]

Vector3i mrmeshpy.Matrix3i.x ( self)
rows, identity matrix by default

◆ x() [2/2]

None mrmeshpy.Matrix3i.x ( self,
Vector3i arg1 )

◆ zero()

Matrix3i mrmeshpy.Matrix3i.zero ( )
static

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