MeshLib C Docs
Loading...
Searching...
No Matches
MRPartMappingAdapters.h
Go to the documentation of this file.
1#pragma once
2
3#include <MRCMisc/exports.h>
4
5#include <stddef.h>
6
7#ifdef __cplusplus
8extern "C" {
9#endif
10
11typedef struct MR_FaceMap MR_FaceMap; // Defined in `#include <MRCMesh/MRVector.h>`.
12typedef struct MR_PartMapping MR_PartMapping; // Defined in `#include <MRCMesh/MRPartMapping.h>`.
13typedef struct MR_VertMap MR_VertMap; // Defined in `#include <MRCMesh/MRVector.h>`.
14typedef struct MR_WholeEdgeMap MR_WholeEdgeMap; // Defined in `#include <MRCMesh/MRVector.h>`.
15
16
20
24
28
31
34
37
40
45
50
54
57
60
63
66
71
76
77#ifdef __cplusplus
78} // extern "C"
79#endif
struct MR_VertMap MR_VertMap
Definition MRBitSet.h:40
struct MR_FaceMap MR_FaceMap
Definition MRBitSet.h:26
struct MR_WholeEdgeMap MR_WholeEdgeMap
Definition MRBooleanOperation.h:21
struct MR_PartMapping MR_PartMapping
Definition MRMesh.h:31
MRC_API MR_Tgt2SrcMaps * MR_Tgt2SrcMaps_OffsetMutablePtr(MR_Tgt2SrcMaps *ptr, ptrdiff_t i)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
MRC_API const MR_PartMapping * MR_Src2TgtMaps_getPartMapping(const MR_Src2TgtMaps *_this)
MRC_API const MR_PartMapping * MR_Tgt2SrcMaps_ConvertTo_const_MR_PartMapping_ref(const MR_Tgt2SrcMaps *_this)
MRC_API MR_Tgt2SrcMaps * MR_Tgt2SrcMaps_Construct(MR_FaceMap *outFmap, MR_VertMap *outVmap, MR_WholeEdgeMap *outEmap)
struct MR_Tgt2SrcMaps MR_Tgt2SrcMaps
Definition MRPartMappingAdapters.h:23
MRC_API const MR_PartMapping * MR_Tgt2SrcMaps_getPartMapping(const MR_Tgt2SrcMaps *_this)
MRC_API MR_Src2TgtMaps * MR_Src2TgtMaps_OffsetMutablePtr(MR_Src2TgtMaps *ptr, ptrdiff_t i)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
MRC_API void MR_Tgt2SrcMaps_Destroy(const MR_Tgt2SrcMaps *_this)
Destroys a heap-allocated instance of MR_Tgt2SrcMaps. Does nothing if the pointer is null.
MRC_API void MR_Tgt2SrcMaps_DestroyArray(const MR_Tgt2SrcMaps *_this)
Destroys a heap-allocated array of MR_Tgt2SrcMaps. Does nothing if the pointer is null.
MRC_API MR_Src2TgtMaps * MR_Src2TgtMaps_Construct(MR_FaceMap *outFmap, MR_VertMap *outVmap, MR_WholeEdgeMap *outEmap)
MRC_API const MR_Tgt2SrcMaps * MR_Tgt2SrcMaps_OffsetPtr(const MR_Tgt2SrcMaps *ptr, ptrdiff_t i)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
MRC_API const MR_Src2TgtMaps * MR_Src2TgtMaps_OffsetPtr(const MR_Src2TgtMaps *ptr, ptrdiff_t i)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
MRC_API const MR_PartMapping * MR_Src2TgtMaps_ConvertTo_const_MR_PartMapping_ref(const MR_Src2TgtMaps *_this)
MRC_API void MR_Src2TgtMaps_Destroy(const MR_Src2TgtMaps *_this)
Destroys a heap-allocated instance of MR_Src2TgtMaps. Does nothing if the pointer is null.
struct MR_Src2TgtMaps MR_Src2TgtMaps
Definition MRPartMappingAdapters.h:19
MRC_API void MR_Src2TgtMaps_DestroyArray(const MR_Src2TgtMaps *_this)
Destroys a heap-allocated array of MR_Src2TgtMaps. Does nothing if the pointer is null.
#define MRC_API
Definition exports.h:11