MeshLib C Docs
Loading...
Searching...
No Matches
MRRelaxParams.h
Go to the documentation of this file.
1#pragma once
2
3#include <MRCMisc/exports.h>
4
5#include <stdbool.h>
6#include <stddef.h>
7
8#ifdef __cplusplus
9extern "C" {
10#endif
11
12typedef struct MR_VertBitSet MR_VertBitSet; // Defined in `#include <MRCMesh/MRBitSet.h>`.
13
14
25typedef struct MR_RelaxParams MR_RelaxParams;
26
32
39
45
52
59
66
73
80
86
93
100
106
113
120
126
133
137
142
146
150
156
159
162
170
171#ifdef __cplusplus
172} // extern "C"
173#endif
struct MR_VertBitSet MR_VertBitSet
Definition MRAABBTree.h:22
struct MR_RelaxParams MR_RelaxParams
Definition MRMeshRelax.h:18
MRC_API int * MR_RelaxParams_GetMutable_iterations(MR_RelaxParams *_this)
MRC_API void MR_RelaxParams_Set_maxInitialDist(MR_RelaxParams *_this, float value)
MRC_API MR_RelaxParams * MR_RelaxParams_ConstructFromAnother(const MR_RelaxParams *_other)
MR_RelaxApproxType
Definition MRRelaxParams.h:28
@ MR_RelaxApproxType_Planar
Definition MRRelaxParams.h:29
@ MR_RelaxApproxType_Quadric
Definition MRRelaxParams.h:30
MRC_API bool * MR_RelaxParams_GetMutable_limitNearInitial(MR_RelaxParams *_this)
MRC_API const MR_RelaxParams * MR_RelaxParams_OffsetPtr(const MR_RelaxParams *ptr, ptrdiff_t i)
MRC_API void MR_RelaxParams_Set_force(MR_RelaxParams *_this, float value)
MRC_API const MR_VertBitSet ** MR_RelaxParams_GetMutable_region(MR_RelaxParams *_this)
MRC_API const float * MR_RelaxParams_Get_force(const MR_RelaxParams *_this)
MRC_API const bool * MR_RelaxParams_Get_limitNearInitial(const MR_RelaxParams *_this)
MRC_API const MR_VertBitSet *const * MR_RelaxParams_Get_region(const MR_RelaxParams *_this)
MRC_API MR_RelaxParams * MR_RelaxParams_AssignFromAnother(MR_RelaxParams *_this, const MR_RelaxParams *_other)
MRC_API void MR_RelaxParams_Set_region(MR_RelaxParams *_this, const MR_VertBitSet *value)
MRC_API void MR_RelaxParams_Set_limitNearInitial(MR_RelaxParams *_this, bool value)
MRC_API void MR_RelaxParams_Set_iterations(MR_RelaxParams *_this, int value)
MRC_API MR_RelaxParams * MR_RelaxParams_OffsetMutablePtr(MR_RelaxParams *ptr, ptrdiff_t i)
MRC_API MR_RelaxParams * MR_RelaxParams_DefaultConstructArray(size_t num_elems)
MRC_API MR_RelaxParams * MR_RelaxParams_DefaultConstruct(void)
MRC_API float * MR_RelaxParams_GetMutable_maxInitialDist(MR_RelaxParams *_this)
MRC_API const int * MR_RelaxParams_Get_iterations(const MR_RelaxParams *_this)
MRC_API const float * MR_RelaxParams_Get_maxInitialDist(const MR_RelaxParams *_this)
MRC_API void MR_RelaxParams_DestroyArray(const MR_RelaxParams *_this)
Destroys a heap-allocated array of MR_RelaxParams. Does nothing if the pointer is null.
MRC_API float * MR_RelaxParams_GetMutable_force(MR_RelaxParams *_this)
MRC_API void MR_RelaxParams_Destroy(const MR_RelaxParams *_this)
Destroys a heap-allocated instance of MR_RelaxParams. Does nothing if the pointer is null.
#define MRC_API
Definition include/MRCMisc/exports.h:11