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

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

Inheritance diagram for MR.MeshBuilder.Const_VertInfo:

Classes

struct  _Underlying

Public Member Functions

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.

Protected Member Functions

virtual unsafe void Dispose (bool disposing)

Static Protected Attributes

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

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

Constructor & Destructor Documentation

◆ Const_VertInfo() [1/3]

unsafe MR.MeshBuilder.Const_VertInfo.Const_VertInfo ( )
inline

Constructs an empty (default-constructed) instance.

◆ Const_VertInfo() [2/3]

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

Generated from constructor MR.MeshBuilder.VertInfo.VertInfo.

◆ Const_VertInfo() [3/3]

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

Generated from constructor MR.MeshBuilder.VertInfo.VertInfo.

Member Function Documentation

◆ areTwinChains()

unsafe bool MR.MeshBuilder.Const_VertInfo.areTwinChains ( uint numTris)
inline

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.

◆ Dispose() [1/2]

virtual void MR.MeshBuilder.Const_VertInfo.Dispose ( )
inlinevirtual

◆ Dispose() [2/2]

virtual unsafe void MR.MeshBuilder.Const_VertInfo.Dispose ( bool disposing)
inlineprotectedvirtual

◆ duplicationNeeded()

unsafe bool MR.MeshBuilder.Const_VertInfo.duplicationNeeded ( )
inline

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.

◆ hasRepeatedVerts()

unsafe bool MR.MeshBuilder.Const_VertInfo.hasRepeatedVerts ( )
inline

true if some neighbor vertex is present in more than one triangle-pair around the vertex Generated from method MR.MeshBuilder.VertInfo.hasRepeatedVerts.

◆ maxVertRepetitions()

unsafe uint MR.MeshBuilder.Const_VertInfo.maxVertRepetitions ( )
inline

the maximum number of a neighbor vertex repetitions; 0 if !hasRepeatedVerts() Generated from method MR.MeshBuilder.VertInfo.maxVertRepetitions.

◆ numChains()

unsafe uint MR.MeshBuilder.Const_VertInfo.numChains ( )
inline

the total number of open and closed chains of connected triangles around the vertex; 0 if hasRepeatedVerts() Generated from method MR.MeshBuilder.VertInfo.numChains.

◆ numClosedChains()

unsafe uint MR.MeshBuilder.Const_VertInfo.numClosedChains ( )
inline

the number of closed chains (rings) of connected triangles around the vertex; 0 if hasRepeatedVerts() Generated from method MR.MeshBuilder.VertInfo.numClosedChains.

◆ numOpenChains()

unsafe uint MR.MeshBuilder.Const_VertInfo.numOpenChains ( )
inline

the number of open chains of connected triangles around the vertex; 0 if hasRepeatedVerts() Generated from method MR.MeshBuilder.VertInfo.numOpenChains.

◆ numRepeatedVerts()

unsafe uint MR.MeshBuilder.Const_VertInfo.numRepeatedVerts ( )
inline

the total number of neighbor vertex repetitions; 0 if !hasRepeatedVerts() Generated from method MR.MeshBuilder.VertInfo.numRepeatedVerts.

Member Data Documentation

◆ __ref_storage_MaxMaxVertRepetitions

unsafe uint* MR.MeshBuilder.Const_VertInfo.__ref_storage_MaxMaxVertRepetitions
staticprotected

◆ __ref_storage_MaxNumClosedChains

unsafe uint* MR.MeshBuilder.Const_VertInfo.__ref_storage_MaxNumClosedChains
staticprotected

◆ __ref_storage_MaxNumOpenChains

unsafe uint* MR.MeshBuilder.Const_VertInfo.__ref_storage_MaxNumOpenChains
staticprotected

◆ __ref_storage_MaxNumRepeatedVerts

unsafe uint* MR.MeshBuilder.Const_VertInfo.__ref_storage_MaxNumRepeatedVerts
staticprotected

Property Documentation

◆ MaxMaxVertRepetitions

unsafe uint MR.MeshBuilder.Const_VertInfo.MaxMaxVertRepetitions
staticget

◆ MaxNumClosedChains

unsafe uint MR.MeshBuilder.Const_VertInfo.MaxNumClosedChains
staticget

◆ MaxNumOpenChains

unsafe uint MR.MeshBuilder.Const_VertInfo.MaxNumOpenChains
staticget

maximal values storable in the counters

◆ MaxNumRepeatedVerts

unsafe uint MR.MeshBuilder.Const_VertInfo.MaxNumRepeatedVerts
staticget

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