MeshLib C# Docs
Loading...
Searching...
No Matches

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...

Inheritance diagram for MR.Const_GridSettings:

Classes

struct  _Underlying

Public Types

enum  EdgeType : int { Horizontal = 0 , Vertical = 1 , DiagonalA = 2 , DiagonalB = 3 }
enum  TriType : int { Lower = 0 , Upper = 1 }

Public Member Functions

virtual void Dispose ()
unsafe Const_GridSettings ()
 Constructs an empty (default-constructed) instance.
unsafe Const_GridSettings (MR.Vector2i dim, MR._ByValue_BMap_MRVertId_MRUint64T vertIds, MR._ByValue_BMap_MRUndirectedEdgeId_MRUint64T uedgeIds, MR._ByValue_BMap_MRFaceId_MRUint64T faceIds)
 Constructs MR.GridSettings elementwise.
unsafe Const_GridSettings (MR._ByValue_GridSettings _other)
 Generated from constructor MR.GridSettings.GridSettings.

Protected Member Functions

virtual unsafe void Dispose (bool disposing)

Protected Attributes

unsafe MR.Vector2i__ref_storage_dim

Properties

unsafe ref readonly MR.Vector2i dim [get]
 the number of cells in X and Y dimensions; the number of vertices will be at most (X+1)*(Y+1)
unsafe MR.Const_BMap_MRVertId_MRUint64T vertIds [get, protected set]
 grid coordinates to vertex Id; invalid vertex Id means that this vertex is missing in grid; index is x + y * ( settings.dim.x + 1 )
unsafe MR.Const_BMap_MRUndirectedEdgeId_MRUint64T uedgeIds [get, protected set]
 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
unsafe MR.Const_BMap_MRFaceId_MRUint64T faceIds [get, protected set]
 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

Detailed Description

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.

Member Enumeration Documentation

◆ EdgeType

Enumerator
Horizontal 
Vertical 
DiagonalA 
DiagonalB 

◆ TriType

Enumerator
Lower 
Upper 

Constructor & Destructor Documentation

◆ Const_GridSettings() [1/3]

unsafe MR.Const_GridSettings.Const_GridSettings ( )
inline

Constructs an empty (default-constructed) instance.

◆ Const_GridSettings() [2/3]

unsafe MR.Const_GridSettings.Const_GridSettings ( MR.Vector2i dim,
MR._ByValue_BMap_MRVertId_MRUint64T vertIds,
MR._ByValue_BMap_MRUndirectedEdgeId_MRUint64T uedgeIds,
MR._ByValue_BMap_MRFaceId_MRUint64T faceIds )
inline

Constructs MR.GridSettings elementwise.

◆ Const_GridSettings() [3/3]

unsafe MR.Const_GridSettings.Const_GridSettings ( MR._ByValue_GridSettings _other)
inline

Generated from constructor MR.GridSettings.GridSettings.

Member Function Documentation

◆ Dispose() [1/2]

virtual void MR.Const_GridSettings.Dispose ( )
inlinevirtual

◆ Dispose() [2/2]

virtual unsafe void MR.Const_GridSettings.Dispose ( bool disposing)
inlineprotectedvirtual

Member Data Documentation

◆ __ref_storage_dim

unsafe MR.Vector2i* MR.Const_GridSettings.__ref_storage_dim
protected

Property Documentation

◆ 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

unsafe MR.Const_BMap_MRFaceId_MRUint64T MR.Const_GridSettings.faceIds
getprotected set

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

unsafe MR.Const_BMap_MRUndirectedEdgeId_MRUint64T MR.Const_GridSettings.uedgeIds
getprotected set

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

unsafe MR.Const_BMap_MRVertId_MRUint64T MR.Const_GridSettings.vertIds
getprotected set

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: