MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.Matrix_float Class Reference
+ Inheritance diagram for mrmeshpy.Matrix_float:

Public Member Functions

float __call__ (self, int row, int col)
 
float __call__ (self, int i)
 
float __call__ (self, int row, int col)
 
float __call__ (self, int i)
 
None __init__ (self)
 
None __init__ (self, int numRows, int numCols)
 
None __init__ (self, Matrix_float arg0)
 
None clear (self)
 
std_vector_float data (self)
 
None fill (self, float val)
 
int getColsNum (self)
 
int getRowsNum (self)
 
Matrix_float getSubMatrix (self, int startRow, int nRow, int startCol, int nCol)
 
Matrix_float transposed (self)
 
- Public Member Functions inherited from mrmeshpy.RectIndexer
bool areNeigbors (self, PixelId v0, PixelId v1)
 
bool areNeigbors (self, Vector2i pos0, Vector2i pos1)
 
Vector2i dims (self)
 
PixelId getNeighbor (self, PixelId v, OutEdge2 toNei)
 
PixelId getNeighbor (self, PixelId v, Vector2i pos, OutEdge2 toNei)
 
None resize (self, Vector2i dims)
 
int size (self)
 
int toIndex (self, Vector2i pos)
 
PixelId toPixelId (self, Vector2i pos)
 
Vector2i toPos (self, PixelId id)
 
Vector2i toPos (self, int id)
 

Static Protected Member Functions

 _pybind11_conduit_v1_ (*args, **kwargs)
 

Detailed Description

Generated from:  MR::Matrix<float>

Row-major matrix with T values
\\ingroup MatrixGroup

Constructor & Destructor Documentation

◆ __init__() [1/3]

None mrmeshpy.Matrix_float.__init__ ( self)

Reimplemented from mrmeshpy.RectIndexer.

◆ __init__() [2/3]

None mrmeshpy.Matrix_float.__init__ ( self,
int numRows,
int numCols )

Reimplemented from mrmeshpy.RectIndexer.

◆ __init__() [3/3]

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

Reimplemented from mrmeshpy.RectIndexer.

Member Function Documentation

◆ __call__() [1/4]

float mrmeshpy.Matrix_float.__call__ ( self,
int i )

◆ __call__() [2/4]

float mrmeshpy.Matrix_float.__call__ ( self,
int i )

◆ __call__() [3/4]

float mrmeshpy.Matrix_float.__call__ ( self,
int row,
int col )
main access method

◆ __call__() [4/4]

float mrmeshpy.Matrix_float.__call__ ( self,
int row,
int col )

◆ _pybind11_conduit_v1_()

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

Reimplemented from mrmeshpy.RectIndexer.

◆ clear()

None mrmeshpy.Matrix_float.clear ( self)

◆ data()

std_vector_float mrmeshpy.Matrix_float.data ( self)

◆ fill()

None mrmeshpy.Matrix_float.fill ( self,
float val )

◆ getColsNum()

int mrmeshpy.Matrix_float.getColsNum ( self)

◆ getRowsNum()

int mrmeshpy.Matrix_float.getRowsNum ( self)

◆ getSubMatrix()

Matrix_float mrmeshpy.Matrix_float.getSubMatrix ( self,
int startRow,
int nRow,
int startCol,
int nCol )

◆ transposed()

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

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