MeshLib C Docs
Loading...
Searching...
No Matches
MRHoleFillPlan.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_std_vector_MR_FillHoleItem MR_std_vector_MR_FillHoleItem; // Defined in `#include <MRCMisc/std_vector_MR_FillHoleItem.h>`.
13
14
18
23
24// if not-negative number then it is edgeid;
25// otherwise it refers to the edge created recently
31
32// if not-negative number then it is edgeid;
33// otherwise it refers to the edge created recently
38
39// if not-negative number then it is edgeid;
40// otherwise it refers to the edge created recently
46
47// if not-negative number then it is edgeid;
48// otherwise it refers to the edge created recently
54
55// if not-negative number then it is edgeid;
56// otherwise it refers to the edge created recently
61
62// if not-negative number then it is edgeid;
63// otherwise it refers to the edge created recently
69
73
78
83
87
91
97
100
103
111
117
123
129
130// the number of triangles in the filling
136
137// the number of triangles in the filling
142
143// the number of triangles in the filling
149
153
158
164
168
172
177
180
183
190
191#ifdef __cplusplus
192} // extern "C"
193#endif
MRC_API MR_HoleFillPlan * MR_HoleFillPlan_ConstructFromAnother(MR_PassBy _other_pass_by, MR_HoleFillPlan *_other)
MRC_API const int * MR_HoleFillPlan_Get_numTris(const MR_HoleFillPlan *_this)
struct MR_FillHoleItem MR_FillHoleItem
Definition MRHoleFillPlan.h:17
MRC_API MR_std_vector_MR_FillHoleItem * MR_HoleFillPlan_GetMutable_items(MR_HoleFillPlan *_this)
MRC_API void MR_FillHoleItem_Destroy(const MR_FillHoleItem *_this)
Destroys a heap-allocated instance of MR_FillHoleItem. Does nothing if the pointer is null.
MRC_API MR_HoleFillPlan * MR_HoleFillPlan_DefaultConstructArray(size_t num_elems)
MRC_API const MR_std_vector_MR_FillHoleItem * MR_HoleFillPlan_Get_items(const MR_HoleFillPlan *_this)
MRC_API void MR_HoleFillPlan_Set_items(MR_HoleFillPlan *_this, MR_PassBy value_pass_by, MR_std_vector_MR_FillHoleItem *value)
MRC_API MR_FillHoleItem * MR_FillHoleItem_DefaultConstruct(void)
struct MR_HoleFillPlan MR_HoleFillPlan
Definition MRHoleFillPlan.h:22
MRC_API void MR_FillHoleItem_Set_edgeCode2(MR_FillHoleItem *_this, int value)
MRC_API MR_FillHoleItem * MR_FillHoleItem_ConstructFrom(int edgeCode1, int edgeCode2)
MRC_API const MR_FillHoleItem * MR_FillHoleItem_OffsetPtr(const MR_FillHoleItem *ptr, ptrdiff_t i)
MRC_API void MR_FillHoleItem_Set_edgeCode1(MR_FillHoleItem *_this, int value)
MRC_API void MR_FillHoleItem_DestroyArray(const MR_FillHoleItem *_this)
Destroys a heap-allocated array of MR_FillHoleItem. Does nothing if the pointer is null.
struct MR_std_vector_MR_FillHoleItem MR_std_vector_MR_FillHoleItem
Definition MRHoleFillPlan.h:12
MRC_API const int * MR_FillHoleItem_Get_edgeCode1(const MR_FillHoleItem *_this)
MRC_API MR_FillHoleItem * MR_FillHoleItem_DefaultConstructArray(size_t num_elems)
MRC_API const MR_HoleFillPlan * MR_HoleFillPlan_OffsetPtr(const MR_HoleFillPlan *ptr, ptrdiff_t i)
MRC_API MR_FillHoleItem * MR_FillHoleItem_AssignFromAnother(MR_FillHoleItem *_this, const MR_FillHoleItem *_other)
MRC_API int * MR_FillHoleItem_GetMutable_edgeCode1(MR_FillHoleItem *_this)
MRC_API MR_HoleFillPlan * MR_HoleFillPlan_ConstructFrom(MR_PassBy items_pass_by, MR_std_vector_MR_FillHoleItem *items, int numTris)
MRC_API MR_FillHoleItem * MR_FillHoleItem_OffsetMutablePtr(MR_FillHoleItem *ptr, ptrdiff_t i)
MRC_API MR_FillHoleItem * MR_FillHoleItem_ConstructFromAnother(const MR_FillHoleItem *_other)
MRC_API MR_HoleFillPlan * MR_HoleFillPlan_OffsetMutablePtr(MR_HoleFillPlan *ptr, ptrdiff_t i)
MRC_API MR_HoleFillPlan * MR_HoleFillPlan_AssignFromAnother(MR_HoleFillPlan *_this, MR_PassBy _other_pass_by, MR_HoleFillPlan *_other)
MRC_API void MR_HoleFillPlan_Set_numTris(MR_HoleFillPlan *_this, int value)
MRC_API void MR_HoleFillPlan_Destroy(const MR_HoleFillPlan *_this)
Destroys a heap-allocated instance of MR_HoleFillPlan. Does nothing if the pointer is null.
MRC_API int * MR_HoleFillPlan_GetMutable_numTris(MR_HoleFillPlan *_this)
MRC_API void MR_HoleFillPlan_DestroyArray(const MR_HoleFillPlan *_this)
Destroys a heap-allocated array of MR_HoleFillPlan. Does nothing if the pointer is null.
MRC_API MR_HoleFillPlan * MR_HoleFillPlan_DefaultConstruct(void)
MRC_API int * MR_FillHoleItem_GetMutable_edgeCode2(MR_FillHoleItem *_this)
MRC_API const int * MR_FillHoleItem_Get_edgeCode2(const MR_FillHoleItem *_this)
MR_PassBy
Definition common.h:13
#define MRC_API
Definition include/MRCMisc/exports.h:11