MeshLib C Docs
Loading...
Searching...
No Matches
MRPartMappingAdapters.h
Go to the documentation of this file.
1#pragma once
2
3#include <MRCMisc/common.h>
4#include <MRCMisc/exports.h>
5
6#include <stddef.h>
7
8#ifdef __cplusplus
9extern "C" {
10#endif
11
12typedef struct MR_FaceMap MR_FaceMap; // Defined in `#include <MRCMesh/MRVector.h>`.
13typedef struct MR_PartMapping MR_PartMapping; // Defined in `#include <MRCMesh/MRPartMapping.h>`.
14typedef struct MR_VertMap MR_VertMap; // Defined in `#include <MRCMesh/MRVector.h>`.
15typedef struct MR_WholeEdgeMap MR_WholeEdgeMap; // Defined in `#include <MRCMesh/MRVector.h>`.
16
17
22
27
31
34
37
41
44
47
52
57
62
66
69
72
76
79
82
87
92
97
98#ifdef __cplusplus
99} // extern "C"
100#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 MR_Src2TgtMaps * MR_Src2TgtMaps_ConstructFromAnother(MR_PassBy _other_pass_by, MR_Src2TgtMaps *_other)
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:26
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_AssignFromAnother(MR_Src2TgtMaps *_this, MR_PassBy _other_pass_by, MR_Src2TgtMaps *_other)
MRC_API MR_Src2TgtMaps * MR_Src2TgtMaps_Construct(MR_FaceMap *outFmap, MR_VertMap *outVmap, MR_WholeEdgeMap *outEmap)
MRC_API MR_Tgt2SrcMaps * MR_Tgt2SrcMaps_ConstructFromAnother(MR_PassBy _other_pass_by, MR_Tgt2SrcMaps *_other)
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 MR_Tgt2SrcMaps * MR_Tgt2SrcMaps_AssignFromAnother(MR_Tgt2SrcMaps *_this, MR_PassBy _other_pass_by, MR_Tgt2SrcMaps *_other)
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:21
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.
MR_PassBy
Definition common.h:23
#define MRC_API
Definition exports.h:11