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
31MRC_API MR_Src2TgtMaps *MR_Src2TgtMaps_ConstructFromAnother(MR_PassBy _other_pass_by, MR_Src2TgtMaps *_other);
32
35MRC_API const MR_Src2TgtMaps *MR_Src2TgtMaps_OffsetPtr(const MR_Src2TgtMaps *ptr, ptrdiff_t i);
36
40
47
49MRC_API void MR_Src2TgtMaps_Destroy(const MR_Src2TgtMaps *_this);
50
53
58
64MRC_API MR_Src2TgtMaps *MR_Src2TgtMaps_AssignFromAnother(MR_Src2TgtMaps *_this, MR_PassBy _other_pass_by, MR_Src2TgtMaps *_other);
65
70
74MRC_API MR_Tgt2SrcMaps *MR_Tgt2SrcMaps_ConstructFromAnother(MR_PassBy _other_pass_by, MR_Tgt2SrcMaps *_other);
75
78MRC_API const MR_Tgt2SrcMaps *MR_Tgt2SrcMaps_OffsetPtr(const MR_Tgt2SrcMaps *ptr, ptrdiff_t i);
79
83
90
92MRC_API void MR_Tgt2SrcMaps_Destroy(const MR_Tgt2SrcMaps *_this);
93
96
101
107MRC_API MR_Tgt2SrcMaps *MR_Tgt2SrcMaps_AssignFromAnother(MR_Tgt2SrcMaps *_this, MR_PassBy _other_pass_by, MR_Tgt2SrcMaps *_other);
108
113
114#ifdef __cplusplus
115} // extern "C"
116#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)
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)
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)
MRC_API const MR_Src2TgtMaps * MR_Src2TgtMaps_OffsetPtr(const MR_Src2TgtMaps *ptr, ptrdiff_t i)
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.