Public Member Functions | |
None | __init__ (self) |
None | __init__ (self, Vector2i dims) |
None | __init__ (self, RectIndexer arg0) |
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) | |
Generated from: MR::RectIndexer a class for converting 2D integer coordinates into 1D linear coordinates and backward
None mrmeshpy.RectIndexer.__init__ | ( | self | ) |
None mrmeshpy.RectIndexer.__init__ | ( | self, | |
Vector2i | dims ) |
None mrmeshpy.RectIndexer.__init__ | ( | self, | |
RectIndexer | arg0 ) |
Implicit copy constructor.
Reimplemented in mrmeshpy.DistanceMap, mrmeshpy.DistanceMap, mrmeshpy.DistanceMap, mrmeshpy.DistanceMap, mrmeshpy.Matrix_float, mrmeshpy.Matrix_float, and mrmeshpy.Matrix_float.
|
staticprotected |
Reimplemented in mrmeshpy.DistanceMap, and mrmeshpy.Matrix_float.
returns true if v1 is within at most 4 neighbors of v0
Vector2i mrmeshpy.RectIndexer.dims | ( | self | ) |
returns id of v's neighbor specified by the edge
None mrmeshpy.RectIndexer.resize | ( | self, | |
Vector2i | dims ) |
int mrmeshpy.RectIndexer.size | ( | self | ) |
int mrmeshpy.RectIndexer.toIndex | ( | self, | |
Vector2i | pos ) |
Vector2i mrmeshpy.RectIndexer.toPos | ( | self, | |
int | id ) |