Classes | |
class | EdgeType |
class | TriType |
Public Member Functions | |
None | __init__ (self) |
Vector2i | dim (self) |
None | dim (self, Vector2i arg1) |
BMap_FaceId_unsigned_long | faceIds (self) |
BMap_UndirectedEdgeId_unsigned_long | uedgeIds (self) |
BMap_VertId_unsigned_long | vertIds (self) |
Generated from: MR::GridSettings settings defining regular grid, where each quadrangular cell is split on two triangles in one of two ways
None mrmeshpy.GridSettings.__init__ | ( | self | ) |
Implicit default constructor.
Vector2i mrmeshpy.GridSettings.dim | ( | self | ) |
the number of cells in X and Y dimensions; the number of vertices will be at most (X+1)*(Y+1)
None mrmeshpy.GridSettings.dim | ( | self, | |
Vector2i | arg1 ) |
BMap_FaceId_unsigned_long mrmeshpy.GridSettings.faceIds | ( | self | ) |
grid coordinates of lower-left vertex and triangle-type to faceId; all 3 vertices and all 3 edges of valid face must be valid as well; index is 2 * ( x + y * settings.dim.x ) + triType
BMap_UndirectedEdgeId_unsigned_long mrmeshpy.GridSettings.uedgeIds | ( | self | ) |
grid coordinates of lower-left vertex and edge-type to edgeId with the origin in this vertex; both vertices of valid edge must be valid as well; index is 4 * ( x + y * ( settings.dim.x + 1 ) ) + edgeType
BMap_VertId_unsigned_long mrmeshpy.GridSettings.vertIds | ( | self | ) |
grid coordinates to vertex Id; invalid vertex Id means that this vertex is missing in grid; index is x + y * ( settings.dim.x + 1 )