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

Public Member Functions

Matrix3b __iadd__ (self, Matrix3b b)
 
Matrix3b __imatmul__ (self, bool b)
 
None __init__ (self)
 
None __init__ (self, Vector3b x, Vector3b y, Vector3b z)
 
None __init__ (self, Matrix3b arg0)
 
Matrix3b __isub__ (self, Matrix3b b)
 
Matrix3b __itruediv__ (self, bool b)
 
Vector3b col (self, int i)
 
bool det (self)
 
float norm (self)
 
bool normSq (self)
 
bool trace (self)
 
Matrix3b transposed (self)
 
Vector3b x (self)
 
None x (self, Vector3b arg1)
 

Static Public Member Functions

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

Protected Member Functions

Vector3b _Subscript (self, int row)
 
Vector3b _Subscript (self, int row)
 

Detailed Description

Generated from:  MR::Matrix3b
Aliases:  Vector3_bool_MatrixType, AffineXf_Vector3b.M, AffineXf_Vector3b.M, Matrix3_bool, Matrix3_bool

arbitrary 3x3 matrix
\\ingroup MatrixGroup

Constructor & Destructor Documentation

◆ __init__() [1/3]

None meshlib.mrmeshpy.Matrix3b.__init__ ( self)

◆ __init__() [2/3]

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

◆ __init__() [3/3]

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

Member Function Documentation

◆ __iadd__()

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

◆ __imatmul__()

Matrix3b meshlib.mrmeshpy.Matrix3b.__imatmul__ ( self,
bool b )

◆ __isub__()

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

◆ __itruediv__()

Matrix3b meshlib.mrmeshpy.Matrix3b.__itruediv__ ( self,
bool b )

◆ _Subscript() [1/2]

Vector3b meshlib.mrmeshpy.Matrix3b._Subscript ( self,
int row )
protected
row access

◆ _Subscript() [2/2]

Vector3b meshlib.mrmeshpy.Matrix3b._Subscript ( self,
int row )
protected

◆ col()

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

◆ det()

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

◆ fromColumns()

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

◆ identity()

Matrix3b meshlib.mrmeshpy.Matrix3b.identity ( )
static

◆ norm()

float meshlib.mrmeshpy.Matrix3b.norm ( self)

◆ normSq()

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

◆ scale() [1/3]

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

◆ scale() [2/3]

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

◆ scale() [3/3]

Matrix3b meshlib.mrmeshpy.Matrix3b.scale ( Vector3b s)
static

◆ trace()

bool meshlib.mrmeshpy.Matrix3b.trace ( self)
computes trace of the matrix

◆ transposed()

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

◆ x() [1/2]

Vector3b meshlib.mrmeshpy.Matrix3b.x ( self)
rows, identity matrix by default

◆ x() [2/2]

None meshlib.mrmeshpy.Matrix3b.x ( self,
Vector3b arg1 )

◆ zero()

Matrix3b meshlib.mrmeshpy.Matrix3b.zero ( )
static

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