MeshLib Documentation
Loading...
Searching...
No Matches
MRId.h File Reference
#include "MRMeshFwd.h"

Go to the source code of this file.

Classes

struct  MREdgeId
 edge index More...
 
struct  MRUndirectedEdgeId
 edge index More...
 
struct  MRFaceId
 face index More...
 
struct  MRVertId
 vertex index More...
 
struct  MRObjId
 object index More...
 
struct  MRRegionId
 region index More...
 

Typedefs

typedef MR_EXTERN_C_BEGIN struct MREdgeId MREdgeId
 edge index
 
typedef struct MRUndirectedEdgeId MRUndirectedEdgeId
 edge index
 
typedef struct MRFaceId MRFaceId
 face index
 
typedef struct MRVertId MRVertId
 vertex index
 
typedef struct MRObjId MRObjId
 object index
 
typedef struct MRRegionId MRRegionId
 region index
 
typedef MRVertId MRThreeVertIds[3]
 a set of 3 vertices; useful for representing a face via its vertex indices
 

Functions

MRMESHC_API MREdgeId mrEdgeIdFromUndirectedEdgeId (MRUndirectedEdgeId u)
 creates an edge id from the corresponding undirected one
 
MRMESHC_API MREdgeId mrEdgeIdSym (MREdgeId e)
 
MRMESHC_API MRUndirectedEdgeId mrEdgeIdUndirected (MREdgeId e)
 

Typedef Documentation

◆ MREdgeId

typedef MR_EXTERN_C_BEGIN struct MREdgeId MREdgeId

edge index

◆ MRFaceId

typedef struct MRFaceId MRFaceId

face index

◆ MRObjId

typedef struct MRObjId MRObjId

object index

◆ MRRegionId

typedef struct MRRegionId MRRegionId

region index

◆ MRThreeVertIds

typedef MRVertId MRThreeVertIds[3]

a set of 3 vertices; useful for representing a face via its vertex indices

◆ MRUndirectedEdgeId

typedef struct MRUndirectedEdgeId MRUndirectedEdgeId

edge index

◆ MRVertId

typedef struct MRVertId MRVertId

vertex index

Function Documentation

◆ mrEdgeIdFromUndirectedEdgeId()

MRMESHC_API MREdgeId mrEdgeIdFromUndirectedEdgeId ( MRUndirectedEdgeId u)

creates an edge id from the corresponding undirected one

◆ mrEdgeIdSym()

MRMESHC_API MREdgeId mrEdgeIdSym ( MREdgeId e)

◆ mrEdgeIdUndirected()

MRMESHC_API MRUndirectedEdgeId mrEdgeIdUndirected ( MREdgeId e)