settings defining regular grid, where each quadrangular cell is split on two triangles in one of two ways Generated from class MR.GridSettings. This is the const half of the class.
More...
|
| enum | EdgeType : int { Horizontal = 0
, Vertical = 1
, DiagonalA = 2
, DiagonalB = 3
} |
| |
| enum | TriType : int { Lower = 0
, Upper = 1
} |
| |
|
|
virtual unsafe void | Dispose (bool disposing) |
| |
settings defining regular grid, where each quadrangular cell is split on two triangles in one of two ways Generated from class MR.GridSettings. This is the const half of the class.
◆ dim
| unsafe ref readonly MR.Vector2i MR.Const_GridSettings.dim |
|
get |
the number of cells in X and Y dimensions; the number of vertices will be at most (X+1)*(Y+1)
◆ faceIds
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
◆ uedgeIds
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
◆ vertIds
grid coordinates to vertex Id; invalid vertex Id means that this vertex is missing in grid; index is x + y * ( settings.dim.x + 1 )
The documentation for this class was generated from the following file: