MeshLib C Docs
Loading...
Searching...
No Matches
MRParabola.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
11
16
21
26MRC_API const float *MR_Parabolaf_Get_a(const MR_Parabolaf *_this);
27
31MRC_API void MR_Parabolaf_Set_a(MR_Parabolaf *_this, float value);
32
38
43MRC_API const float *MR_Parabolaf_Get_b(const MR_Parabolaf *_this);
44
48MRC_API void MR_Parabolaf_Set_b(MR_Parabolaf *_this, float value);
49
55
60MRC_API const float *MR_Parabolaf_Get_c(const MR_Parabolaf *_this);
61
65MRC_API void MR_Parabolaf_Set_c(MR_Parabolaf *_this, float value);
66
72
76
81
84MRC_API const MR_Parabolaf *MR_Parabolaf_OffsetPtr(const MR_Parabolaf *ptr, ptrdiff_t i);
85
89
95
98MRC_API MR_Parabolaf *MR_Parabolaf_Construct(float a, float b, float c);
99
101MRC_API void MR_Parabolaf_Destroy(const MR_Parabolaf *_this);
102
104MRC_API void MR_Parabolaf_DestroyArray(const MR_Parabolaf *_this);
105
113
117MRC_API float MR_Parabolaf_call(const MR_Parabolaf *_this, float x);
118
122MRC_API float MR_Parabolaf_extremArg(const MR_Parabolaf *_this);
123
127MRC_API float MR_Parabolaf_extremVal(const MR_Parabolaf *_this);
128
133MRC_API const double *MR_Parabolad_Get_a(const MR_Parabolad *_this);
134
138MRC_API void MR_Parabolad_Set_a(MR_Parabolad *_this, double value);
139
145
150MRC_API const double *MR_Parabolad_Get_b(const MR_Parabolad *_this);
151
155MRC_API void MR_Parabolad_Set_b(MR_Parabolad *_this, double value);
156
162
167MRC_API const double *MR_Parabolad_Get_c(const MR_Parabolad *_this);
168
172MRC_API void MR_Parabolad_Set_c(MR_Parabolad *_this, double value);
173
179
183
188
191MRC_API const MR_Parabolad *MR_Parabolad_OffsetPtr(const MR_Parabolad *ptr, ptrdiff_t i);
192
196
202
205MRC_API MR_Parabolad *MR_Parabolad_Construct(double a, double b, double c);
206
208MRC_API void MR_Parabolad_Destroy(const MR_Parabolad *_this);
209
211MRC_API void MR_Parabolad_DestroyArray(const MR_Parabolad *_this);
212
220
224MRC_API double MR_Parabolad_call(const MR_Parabolad *_this, double x);
225
229MRC_API double MR_Parabolad_extremArg(const MR_Parabolad *_this);
230
234MRC_API double MR_Parabolad_extremVal(const MR_Parabolad *_this);
235
236#ifdef __cplusplus
237} // extern "C"
238#endif
struct MR_Parabolad MR_Parabolad
Definition MRBestFitParabola.h:11
struct MR_Parabolaf MR_Parabolaf
Definition MRBestFitParabola.h:12
MRC_API const MR_Parabolaf * MR_Parabolaf_OffsetPtr(const MR_Parabolaf *ptr, ptrdiff_t i)
MRC_API void MR_Parabolad_Destroy(const MR_Parabolad *_this)
Destroys a heap-allocated instance of MR_Parabolad. Does nothing if the pointer is null.
MRC_API MR_Parabolaf * MR_Parabolaf_AssignFromAnother(MR_Parabolaf *_this, const MR_Parabolaf *_other)
MRC_API float * MR_Parabolaf_GetMutable_c(MR_Parabolaf *_this)
MRC_API MR_Parabolaf * MR_Parabolaf_Construct(float a, float b, float c)
MRC_API const float * MR_Parabolaf_Get_b(const MR_Parabolaf *_this)
MRC_API void MR_Parabolaf_Destroy(const MR_Parabolaf *_this)
Destroys a heap-allocated instance of MR_Parabolaf. Does nothing if the pointer is null.
MRC_API MR_Parabolad * MR_Parabolad_AssignFromAnother(MR_Parabolad *_this, const MR_Parabolad *_other)
MRC_API double MR_Parabolad_extremArg(const MR_Parabolad *_this)
MRC_API void MR_Parabolaf_Set_b(MR_Parabolaf *_this, float value)
MRC_API const float * MR_Parabolaf_Get_c(const MR_Parabolaf *_this)
MRC_API double * MR_Parabolad_GetMutable_b(MR_Parabolad *_this)
MRC_API MR_Parabolad * MR_Parabolad_ConstructFromAnother(const MR_Parabolad *_other)
MRC_API void MR_Parabolaf_Set_c(MR_Parabolaf *_this, float value)
MRC_API const double * MR_Parabolad_Get_b(const MR_Parabolad *_this)
MRC_API MR_Parabolaf * MR_Parabolaf_ConstructFromAnother(const MR_Parabolaf *_other)
MRC_API MR_Parabolad * MR_Parabolad_DefaultConstruct(void)
MRC_API float * MR_Parabolaf_GetMutable_a(MR_Parabolaf *_this)
MRC_API const float * MR_Parabolaf_Get_a(const MR_Parabolaf *_this)
MRC_API MR_Parabolad * MR_Parabolad_DefaultConstructArray(size_t num_elems)
MRC_API float MR_Parabolaf_extremArg(const MR_Parabolaf *_this)
MRC_API MR_Parabolaf * MR_Parabolaf_DefaultConstructArray(size_t num_elems)
MRC_API void MR_Parabolad_DestroyArray(const MR_Parabolad *_this)
Destroys a heap-allocated array of MR_Parabolad. Does nothing if the pointer is null.
MRC_API void MR_Parabolad_Set_b(MR_Parabolad *_this, double value)
MRC_API double MR_Parabolad_extremVal(const MR_Parabolad *_this)
MRC_API MR_Parabolaf * MR_Parabolaf_OffsetMutablePtr(MR_Parabolaf *ptr, ptrdiff_t i)
MRC_API float * MR_Parabolaf_GetMutable_b(MR_Parabolaf *_this)
MRC_API MR_Parabolad * MR_Parabolad_Construct(double a, double b, double c)
MRC_API void MR_Parabolad_Set_a(MR_Parabolad *_this, double value)
MRC_API void MR_Parabolad_Set_c(MR_Parabolad *_this, double value)
MRC_API double * MR_Parabolad_GetMutable_a(MR_Parabolad *_this)
MRC_API float MR_Parabolaf_extremVal(const MR_Parabolaf *_this)
MRC_API void MR_Parabolaf_DestroyArray(const MR_Parabolaf *_this)
Destroys a heap-allocated array of MR_Parabolaf. Does nothing if the pointer is null.
MRC_API double * MR_Parabolad_GetMutable_c(MR_Parabolad *_this)
MRC_API const double * MR_Parabolad_Get_a(const MR_Parabolad *_this)
MRC_API const MR_Parabolad * MR_Parabolad_OffsetPtr(const MR_Parabolad *ptr, ptrdiff_t i)
MRC_API MR_Parabolaf * MR_Parabolaf_DefaultConstruct(void)
MRC_API const double * MR_Parabolad_Get_c(const MR_Parabolad *_this)
MRC_API float MR_Parabolaf_call(const MR_Parabolaf *_this, float x)
MRC_API void MR_Parabolaf_Set_a(MR_Parabolaf *_this, float value)
MRC_API MR_Parabolad * MR_Parabolad_OffsetMutablePtr(MR_Parabolad *ptr, ptrdiff_t i)
MRC_API double MR_Parabolad_call(const MR_Parabolad *_this, double x)