MeshLib C# Docs
Loading...
Searching...
No Matches
MR.GridSettings Class Reference

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 non-const half of the class. More...

+ Inheritance diagram for MR.GridSettings:

Public Member Functions

unsafe GridSettings ()
 Constructs an empty (default-constructed) instance.
 
unsafe 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 GridSettings (MR._ByValue_GridSettings _other)
 Generated from constructor MR.GridSettings.GridSettings.
 
unsafe MR.GridSettings assign (MR._ByValue_GridSettings _other)
 Generated from method MR.GridSettings.operator=.
 

Properties

new unsafe ref MR.Vector2i dim [get]
 
new unsafe MR.BMap_MRVertId_MRUint64T vertIds [get, protected set]
 
new unsafe MR.BMap_MRUndirectedEdgeId_MRUint64T uedgeIds [get, protected set]
 
new unsafe MR.BMap_MRFaceId_MRUint64T faceIds [get, protected set]
 

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 non-const half of the class.

Constructor & Destructor Documentation

◆ GridSettings() [1/3]

unsafe MR.GridSettings.GridSettings ( )
inline

Constructs an empty (default-constructed) instance.

◆ GridSettings() [2/3]

unsafe MR.GridSettings.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.

◆ GridSettings() [3/3]

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

Generated from constructor MR.GridSettings.GridSettings.

Member Function Documentation

◆ assign()

unsafe MR.GridSettings MR.GridSettings.assign ( MR._ByValue_GridSettings _other)
inline

Generated from method MR.GridSettings.operator=.

Property Documentation

◆ dim

new unsafe ref MR.Vector2i MR.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

new unsafe MR.BMap_MRFaceId_MRUint64T MR.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

new unsafe MR.BMap_MRUndirectedEdgeId_MRUint64T MR.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

new unsafe MR.BMap_MRVertId_MRUint64T MR.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: