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

this class is responsible for giving a unique id to each vertex with distinct coordinates NOTE: the points are considered non-identical if they have the same values but have zero values with different signs (e.g. (0; 0; 1) and (-0; 0; 1)) use Vector3.unsignZeroValues method to get rid of signed zero values if you're unsure of their absence Generated from class MR.MeshBuilder.VertexIdentifier. This is the non-const half of the class. More...

+ Inheritance diagram for MR.MeshBuilder.VertexIdentifier:

Public Member Functions

unsafe VertexIdentifier ()
 Constructs an empty (default-constructed) instance.
 
unsafe VertexIdentifier (MR.MeshBuilder._ByValue_VertexIdentifier _other)
 Generated from constructor MR.MeshBuilder.VertexIdentifier.VertexIdentifier.
 
 VertexIdentifier (Const_VertexIdentifier _other)
 Generated from constructor MR.MeshBuilder.VertexIdentifier.VertexIdentifier.
 
 VertexIdentifier (VertexIdentifier _other)
 Generated from constructor MR.MeshBuilder.VertexIdentifier.VertexIdentifier.
 
unsafe MR.MeshBuilder.VertexIdentifier assign (MR.MeshBuilder._ByValue_VertexIdentifier _other)
 Generated from method MR.MeshBuilder.VertexIdentifier.operator=.
 
unsafe void reserve (ulong numTris)
 prepare identification of vertices from given this number of triangles Generated from method MR.MeshBuilder.VertexIdentifier.reserve.
 
unsafe void addTriangles (MR.Std.Const_Vector_StdArrayMRVector3f3 buffer)
 identifies vertices from a chunk of triangles Generated from method MR.MeshBuilder.VertexIdentifier.addTriangles.
 
unsafe MR.Triangulation takeTriangulation ()
 obtains triangulation with vertex ids Generated from method MR.MeshBuilder.VertexIdentifier.takeTriangulation.
 
unsafe MR.VertCoords takePoints ()
 obtains coordinates of unique points in the order of vertex ids Generated from method MR.MeshBuilder.VertexIdentifier.takePoints.
 

Detailed Description

this class is responsible for giving a unique id to each vertex with distinct coordinates NOTE: the points are considered non-identical if they have the same values but have zero values with different signs (e.g. (0; 0; 1) and (-0; 0; 1)) use Vector3.unsignZeroValues method to get rid of signed zero values if you're unsure of their absence Generated from class MR.MeshBuilder.VertexIdentifier. This is the non-const half of the class.

Constructor & Destructor Documentation

◆ VertexIdentifier() [1/4]

unsafe MR.MeshBuilder.VertexIdentifier.VertexIdentifier ( )
inline

Constructs an empty (default-constructed) instance.

◆ VertexIdentifier() [2/4]

unsafe MR.MeshBuilder.VertexIdentifier.VertexIdentifier ( MR.MeshBuilder._ByValue_VertexIdentifier _other)
inline

Generated from constructor MR.MeshBuilder.VertexIdentifier.VertexIdentifier.

◆ VertexIdentifier() [3/4]

MR.MeshBuilder.VertexIdentifier.VertexIdentifier ( Const_VertexIdentifier _other)
inline

Generated from constructor MR.MeshBuilder.VertexIdentifier.VertexIdentifier.

◆ VertexIdentifier() [4/4]

MR.MeshBuilder.VertexIdentifier.VertexIdentifier ( VertexIdentifier _other)
inline

Generated from constructor MR.MeshBuilder.VertexIdentifier.VertexIdentifier.

Member Function Documentation

◆ addTriangles()

unsafe void MR.MeshBuilder.VertexIdentifier.addTriangles ( MR.Std.Const_Vector_StdArrayMRVector3f3 buffer)
inline

identifies vertices from a chunk of triangles Generated from method MR.MeshBuilder.VertexIdentifier.addTriangles.

◆ assign()

unsafe MR.MeshBuilder.VertexIdentifier MR.MeshBuilder.VertexIdentifier.assign ( MR.MeshBuilder._ByValue_VertexIdentifier _other)
inline

Generated from method MR.MeshBuilder.VertexIdentifier.operator=.

◆ reserve()

unsafe void MR.MeshBuilder.VertexIdentifier.reserve ( ulong numTris)
inline

prepare identification of vertices from given this number of triangles Generated from method MR.MeshBuilder.VertexIdentifier.reserve.

◆ takePoints()

unsafe MR.VertCoords MR.MeshBuilder.VertexIdentifier.takePoints ( )
inline

obtains coordinates of unique points in the order of vertex ids Generated from method MR.MeshBuilder.VertexIdentifier.takePoints.

◆ takeTriangulation()

unsafe MR.Triangulation MR.MeshBuilder.VertexIdentifier.takeTriangulation ( )
inline

obtains triangulation with vertex ids Generated from method MR.MeshBuilder.VertexIdentifier.takeTriangulation.


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