MeshLib
 
Loading...
Searching...
No Matches
MRMeshC/MRId.h
Go to the documentation of this file.
1#pragma once
2
3#include "MRMeshFwd.h"
4
6
8typedef struct MREdgeId { int id; } MREdgeId;
12typedef struct MRFaceId { int id; } MRFaceId;
14typedef struct MRVertId { int id; } MRVertId;
16typedef struct MRObjId { int id; } MRObjId;
17
20
23
24// returns identifier of the edge with same ends but opposite orientation
26
27// returns unique identifier of the edge ignoring its direction
29
MRMESHC_API MREdgeId mrEdgeIdSym(MREdgeId e)
MRMESHC_API MREdgeId mrEdgeIdFromUndirectedEdgeId(MRUndirectedEdgeId u)
creates an edge id from the corresponding undirected one
struct MRObjId MRObjId
object index
MRMESHC_API MRUndirectedEdgeId mrEdgeIdUndirected(MREdgeId e)
struct MRFaceId MRFaceId
face index
MR_EXTERN_C_BEGIN struct MREdgeId MREdgeId
edge index
MRVertId MRThreeVertIds[3]
a set of 3 vertices; useful for representing a face via its vertex indices
Definition MRMeshC/MRId.h:19
struct MRVertId MRVertId
vertex index
struct MRUndirectedEdgeId MRUndirectedEdgeId
edge index
#define MR_EXTERN_C_BEGIN
Definition MRMeshC/MRMeshFwd.h:26
#define MR_EXTERN_C_END
Definition MRMeshC/MRMeshFwd.h:27
#define MRMESHC_API
Definition MRMeshC/MRMeshFwd.h:19
edge index
Definition MRMeshC/MRId.h:8
int id
Definition MRMeshC/MRId.h:8
face index
Definition MRMeshC/MRId.h:12
int id
Definition MRMeshC/MRId.h:12
object index
Definition MRMeshC/MRId.h:16
int id
Definition MRMeshC/MRId.h:16
edge index
Definition MRMeshC/MRId.h:10
int id
Definition MRMeshC/MRId.h:10
vertex index
Definition MRMeshC/MRId.h:14
int id
Definition MRMeshC/MRId.h:14