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
25MRC_API const float *MR_Parabolaf_Get_a(const MR_Parabolaf *_this);
26
30MRC_API void MR_Parabolaf_Set_a(MR_Parabolaf *_this, float value);
31
36
40MRC_API const float *MR_Parabolaf_Get_b(const MR_Parabolaf *_this);
41
45MRC_API void MR_Parabolaf_Set_b(MR_Parabolaf *_this, float value);
46
51
55MRC_API const float *MR_Parabolaf_Get_c(const MR_Parabolaf *_this);
56
60MRC_API void MR_Parabolaf_Set_c(MR_Parabolaf *_this, float value);
61
66
70
75
79
83
89
92MRC_API MR_Parabolaf *MR_Parabolaf_Construct(float a, float b, float c);
93
96
99
107
111MRC_API float MR_Parabolaf_call(const MR_Parabolaf *_this, float x);
112
117
122
126MRC_API const double *MR_Parabolad_Get_a(const MR_Parabolad *_this);
127
131MRC_API void MR_Parabolad_Set_a(MR_Parabolad *_this, double value);
132
137
141MRC_API const double *MR_Parabolad_Get_b(const MR_Parabolad *_this);
142
146MRC_API void MR_Parabolad_Set_b(MR_Parabolad *_this, double value);
147
152
156MRC_API const double *MR_Parabolad_Get_c(const MR_Parabolad *_this);
157
161MRC_API void MR_Parabolad_Set_c(MR_Parabolad *_this, double value);
162
167
171
176
180
184
190
193MRC_API MR_Parabolad *MR_Parabolad_Construct(double a, double b, double c);
194
197
200
208
212MRC_API double MR_Parabolad_call(const MR_Parabolad *_this, double x);
213
218
223
224#ifdef __cplusplus
225} // extern "C"
226#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)
#define MRC_API
Definition exports.h:11