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

Public Member Functions

Matrix3ll __iadd__ (self, Matrix3ll b)
 
Matrix3ll __imatmul__ (self, int b)
 
None __init__ (self)
 
None __init__ (self, Vector3ll x, Vector3ll y, Vector3ll z)
 
None __init__ (self, Matrix3ll arg0)
 
Matrix3ll __isub__ (self, Matrix3ll b)
 
Matrix3ll __itruediv__ (self, int b)
 
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

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

Protected Member Functions

Vector3ll _Subscript (self, int row)
 
Vector3ll _Subscript (self, int row)
 

Detailed Description

Generated from:  MR::Matrix3ll
Aliases:  Vector3_long_long_MatrixType, Matrix3_long_long, AffineXf_Vector3ll.M, Matrix3_long_long, AffineXf_Vector3ll.M

arbitrary 3x3 matrix
\\ingroup MatrixGroup

Constructor & Destructor Documentation

◆ __init__() [1/3]

None meshlib.mrmeshpy.Matrix3ll.__init__ ( self)

◆ __init__() [2/3]

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

◆ __init__() [3/3]

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

Member Function Documentation

◆ __iadd__()

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

◆ __imatmul__()

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

◆ __isub__()

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

◆ __itruediv__()

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

◆ _Subscript() [1/2]

Vector3ll meshlib.mrmeshpy.Matrix3ll._Subscript ( self,
int row )
protected
row access

◆ _Subscript() [2/2]

Vector3ll meshlib.mrmeshpy.Matrix3ll._Subscript ( self,
int row )
protected

◆ col()

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

◆ det()

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

◆ fromColumns()

Matrix3ll meshlib.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 meshlib.mrmeshpy.Matrix3ll.fromRows ( Vector3ll x,
Vector3ll y,
Vector3ll z )
static
constructs a matrix from its 3 rows

◆ identity()

Matrix3ll meshlib.mrmeshpy.Matrix3ll.identity ( )
static

◆ norm()

float meshlib.mrmeshpy.Matrix3ll.norm ( self)

◆ normSq()

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

◆ scale() [1/3]

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

◆ scale() [2/3]

Matrix3ll meshlib.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 meshlib.mrmeshpy.Matrix3ll.scale ( Vector3ll s)
static

◆ trace()

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

◆ transposed()

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

◆ x() [1/2]

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

◆ x() [2/2]

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

◆ zero()

Matrix3ll meshlib.mrmeshpy.Matrix3ll.zero ( )
static

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