MeshLib
 
Loading...
Searching...
No Matches
MRMeshC/MRMeshTopology.h
Go to the documentation of this file.
1#pragma once
2
3#include "MRMeshFwd.h"
4#include "MRId.h"
5
7
10
13
16
20
23
26
29
32
35
38
41
44
47MRMESHC_API int mrMeshTopologyFindNumHoles( const MRMeshTopology* top, MREdgeBitSet* holeRepresentativeEdges );
48
MRVertId MRThreeVertIds[3]
a set of 3 vertices; useful for representing a face via its vertex indices
Definition MRMeshC/MRId.h:17
#define MR_EXTERN_C_BEGIN
Definition MRMeshC/MRMeshFwd.h:26
MRBitSet MRVertBitSet
Definition MRMeshC/MRMeshFwd.h:37
#define MR_EXTERN_C_END
Definition MRMeshC/MRMeshFwd.h:27
MRBitSet MREdgeBitSet
Definition MRMeshC/MRMeshFwd.h:35
struct MRMeshTopology MRMeshTopology
Definition MRMeshC/MRMeshFwd.h:41
MRBitSet MRFaceBitSet
Definition MRMeshC/MRMeshFwd.h:36
#define MRMESHC_API
Definition MRMeshC/MRMeshFwd.h:19
struct MREdgePath MREdgePath
Definition MRMeshC/MRMeshFwd.h:46
struct MRTriangulation MRTriangulation
Definition MRMeshC/MRMeshFwd.h:44
MRMESHC_API const MRFaceBitSet * mrMeshTopologyGetValidFaces(const MRMeshTopology *top)
returns cached set of all valid faces
MRMESHC_API size_t mrTriangulationSize(const MRTriangulation *tris)
gets total count of the vertex triples of the triangulation
MRMESHC_API MRTriangulation * mrMeshTopologyGetTriangulation(const MRMeshTopology *top)
MRMESHC_API void mrEdgePathFree(MREdgePath *ep)
deallocates the EdgePath object
MRMESHC_API const MRVertBitSet * mrMeshTopologyGetValidVerts(const MRMeshTopology *top)
returns cached set of all valid vertices
MR_EXTERN_C_BEGIN MRMESHC_API void mrMeshTopologyPack(MRMeshTopology *top)
tightly packs all arrays eliminating lone edges and invalid faces and vertices
MRMESHC_API const MREdgeId * mrEdgePathData(const MREdgePath *ep)
gets read-only access to the edges of the edge path
MRMESHC_API void mrTriangulationFree(MRTriangulation *tris)
deallocates the Triangulation object
MRMESHC_API size_t mrEdgePathSize(const MREdgePath *ep)
gets total count of the edges of the edge path
MRMESHC_API int mrMeshTopologyFindNumHoles(const MRMeshTopology *top, MREdgeBitSet *holeRepresentativeEdges)
MRMESHC_API size_t mrMeshTopologyFaceSize(const MRMeshTopology *top)
returns the number of face records including invalid ones
MRMESHC_API MREdgePath * mrMeshTopologyFindHoleRepresentiveEdges(const MRMeshTopology *top)
returns one edge with no valid left face for every boundary in the mesh
MRMESHC_API const MRThreeVertIds * mrTriangulationData(const MRTriangulation *tris)
gets read-only access to the vertex triples of the triangulation
edge index
Definition MRMeshC/MRId.h:8