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

Public Member Functions

float __call__ (self, int row, int col)
float __call__ (self, int i)
 __init__ (self, *args, **kwargs)
Const_std_vector_float data (self)
int getColsNum (self)
int getRowsNum (self)
Matrix_float transposed (self)
Public Member Functions inherited from mrmeshpy.ConstRectIndexer
 __init__ (self, *args, **kwargs)
bool areNeigbors (self, ConstPixelId v0, ConstPixelId v1)
bool areNeigbors (self, ConstVector2i pos0, ConstVector2i pos1)
ConstVector2i dims (self)
PixelId getNeighbor (self, ConstPixelId v, OutEdge2 toNei)
PixelId getNeighbor (self, ConstPixelId v, ConstVector2i pos, OutEdge2 toNei)
int size (self)
int toIndex (self, ConstVector2i pos)
PixelId toPixelId (self, ConstVector2i pos)
Vector2i toPos (self, ConstPixelId id)
Vector2i toPos (self, int id)

Detailed Description

Generated from:  MR::Matrix<float>

Row-major matrix with T values

Constructor & Destructor Documentation

◆ __init__()

mrmeshpy.ConstMatrix_float.__init__ ( self,
* args,
** kwargs )
__init__(*args, **kwargs)
Overloaded function.

1. __init__(self: meshlib.mrmeshpy.ConstMatrix_float) -> None

2. __init__(self: meshlib.mrmeshpy.ConstMatrix_float, numRows: int, numCols: int) -> None

3. __init__(self: meshlib.mrmeshpy.ConstMatrix_float, arg0: meshlib.mrmeshpy.ConstMatrix_float) -> None

Implicit copy constructor.

4. __init__(self: meshlib.mrmeshpy.ConstMatrix_float, : meshlib.mrmeshpy.ConstMatrix_float) -> None

Member Function Documentation

◆ __call__() [1/2]

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

◆ __call__() [2/2]

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

◆ data()

Const_std_vector_float mrmeshpy.ConstMatrix_float.data ( self)

◆ getColsNum()

int mrmeshpy.ConstMatrix_float.getColsNum ( self)

◆ getRowsNum()

int mrmeshpy.ConstMatrix_float.getRowsNum ( self)

◆ transposed()

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

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