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

classification of the triangles around one vertex, packed in 32 bits; it stores 1-bit flag (hasRepeatedVerts) and either 31-bit numRepeatedVerts (if the flag is on), or 16-bit numOpenChains and 15-bit numClosedChains (if the flag is off) Generated from class MR.MeshBuilder.VertInfo. This is the non-const half of the class. More...

Inheritance diagram for MR.MeshBuilder.VertInfo:

Public Member Functions

unsafe VertInfo ()
 Constructs an empty (default-constructed) instance.
unsafe VertInfo (MR.MeshBuilder.Const_VertInfo _other)
 Generated from constructor MR.MeshBuilder.VertInfo.VertInfo.
 VertInfo (VertInfo _other)
 Generated from constructor MR.MeshBuilder.VertInfo.VertInfo.
unsafe MR.MeshBuilder.VertInfo assign (MR.MeshBuilder.Const_VertInfo _other)
 Generated from method MR::MeshBuilder::VertInfo::operator=.
unsafe void setNumChains (uint openChains, uint closedChains)
 Generated from method MR.MeshBuilder.VertInfo.setNumChains.
unsafe void setNumRepeatedVerts (uint repeatedVerts, uint maxVertRepetitions)
 Generated from method MR.MeshBuilder.VertInfo.setNumRepeatedVerts.
Public Member Functions inherited from MR.MeshBuilder.Const_VertInfo
virtual void Dispose ()
unsafe Const_VertInfo ()
 Constructs an empty (default-constructed) instance.
unsafe Const_VertInfo (MR.MeshBuilder.Const_VertInfo _other)
 Generated from constructor MR.MeshBuilder.VertInfo.VertInfo.
 Const_VertInfo (VertInfo _other)
 Generated from constructor MR.MeshBuilder.VertInfo.VertInfo.
unsafe bool hasRepeatedVerts ()
 true if some neighbor vertex is present in more than one triangle-pair around the vertex Generated from method MR.MeshBuilder.VertInfo.hasRepeatedVerts.
unsafe uint numRepeatedVerts ()
 the total number of neighbor vertex repetitions; 0 if !hasRepeatedVerts() Generated from method MR.MeshBuilder.VertInfo.numRepeatedVerts.
unsafe uint maxVertRepetitions ()
 the maximum number of a neighbor vertex repetitions; 0 if !hasRepeatedVerts() Generated from method MR.MeshBuilder.VertInfo.maxVertRepetitions.
unsafe uint numOpenChains ()
 the number of open chains of connected triangles around the vertex; 0 if hasRepeatedVerts() Generated from method MR.MeshBuilder.VertInfo.numOpenChains.
unsafe uint numClosedChains ()
 the number of closed chains (rings) of connected triangles around the vertex; 0 if hasRepeatedVerts() Generated from method MR.MeshBuilder.VertInfo.numClosedChains.
unsafe uint numChains ()
 the total number of open and closed chains of connected triangles around the vertex; 0 if hasRepeatedVerts() Generated from method MR.MeshBuilder.VertInfo.numChains.
unsafe bool duplicationNeeded ()
 true if the triangles around the vertex do not form a configuration MeshBuilder accepts as is (a single chain or ring, no triangles at all, or two open chains), so the vertex must be duplicated Generated from method MR.MeshBuilder.VertInfo.duplicationNeeded.
unsafe bool areTwinChains (uint numTris)
 tests for the case when every triangle around central vertex is present twice, if the chains are closed, the copy triangles have always same or always opposite orientation, if the chains are open, the copy triangles have always same orientation, so every neighbour vertex is repeated Generated from method MR.MeshBuilder.VertInfo.areTwinChains.

Additional Inherited Members

Protected Member Functions inherited from MR.MeshBuilder.Const_VertInfo
virtual unsafe void Dispose (bool disposing)
Static Protected Attributes inherited from MR.MeshBuilder.Const_VertInfo
static unsafe uint * __ref_storage_MaxNumOpenChains
static unsafe uint * __ref_storage_MaxNumClosedChains
static unsafe uint * __ref_storage_MaxNumRepeatedVerts
static unsafe uint * __ref_storage_MaxMaxVertRepetitions
Properties inherited from MR.MeshBuilder.Const_VertInfo
static unsafe uint MaxNumOpenChains [get]
 maximal values storable in the counters
static unsafe uint MaxNumClosedChains [get]
static unsafe uint MaxNumRepeatedVerts [get]
static unsafe uint MaxMaxVertRepetitions [get]

Detailed Description

classification of the triangles around one vertex, packed in 32 bits; it stores 1-bit flag (hasRepeatedVerts) and either 31-bit numRepeatedVerts (if the flag is on), or 16-bit numOpenChains and 15-bit numClosedChains (if the flag is off) Generated from class MR.MeshBuilder.VertInfo. This is the non-const half of the class.

Constructor & Destructor Documentation

◆ VertInfo() [1/3]

unsafe MR.MeshBuilder.VertInfo.VertInfo ( )
inline

Constructs an empty (default-constructed) instance.

◆ VertInfo() [2/3]

unsafe MR.MeshBuilder.VertInfo.VertInfo ( MR.MeshBuilder.Const_VertInfo _other)
inline

Generated from constructor MR.MeshBuilder.VertInfo.VertInfo.

◆ VertInfo() [3/3]

MR.MeshBuilder.VertInfo.VertInfo ( VertInfo _other)
inline

Generated from constructor MR.MeshBuilder.VertInfo.VertInfo.

Member Function Documentation

◆ assign()

unsafe MR.MeshBuilder.VertInfo MR.MeshBuilder.VertInfo.assign ( MR.MeshBuilder.Const_VertInfo _other)
inline

Generated from method MR::MeshBuilder::VertInfo::operator=.

◆ setNumChains()

unsafe void MR.MeshBuilder.VertInfo.setNumChains ( uint openChains,
uint closedChains )
inline

Generated from method MR.MeshBuilder.VertInfo.setNumChains.

◆ setNumRepeatedVerts()

unsafe void MR.MeshBuilder.VertInfo.setNumRepeatedVerts ( uint repeatedVerts,
uint maxVertRepetitions )
inline

The documentation for this class was generated from the following file: