MeshLib C Docs
Loading...
Searching...
No Matches
MRIntersectionPrecomputes2.h
Go to the documentation of this file.
1#pragma once
2
3#include <MRCMesh/MRVector2.h>
4#include <MRCMisc/exports.h>
5
6#include <stddef.h>
7
8#ifdef __cplusplus
9extern "C" {
10#endif
11
12
18
24
25// {1 / dir}
30
31// {1 / dir}
37
38// {1 / dir}
43
44// [0]max, [1]next, [2]next-next
45// f.e. {1,2} => {1,0}
50
51// [0]max, [1]next, [2]next-next
52// f.e. {1,2} => {1,0}
57
58// [0]max, [1]next, [2]next-next
59// f.e. {1,2} => {1,0}
64
69
74
79
85
92
98
104
110
116
122
128
134
138
143
147
151
157
163
166
169
177
178// {1 / dir}
183
184// {1 / dir}
190
191// {1 / dir}
196
197// [0]max, [1]next, [2]next-next
198// f.e. {1,2} => {1,0}
203
204// [0]max, [1]next, [2]next-next
205// f.e. {1,2} => {1,0}
210
211// [0]max, [1]next, [2]next-next
212// f.e. {1,2} => {1,0}
217
222
227
232
238
245
251
257
263
269
275
281
287
291
296
300
304
310
316
319
322
330
331#ifdef __cplusplus
332} // extern "C"
333#endif
MRC_API MR_IntersectionPrecomputes2_double * MR_IntersectionPrecomputes2_double_ConstructFromAnother(const MR_IntersectionPrecomputes2_double *_other)
MRC_API MR_IntersectionPrecomputes2_double * MR_IntersectionPrecomputes2_double_OffsetMutablePtr(MR_IntersectionPrecomputes2_double *ptr, ptrdiff_t i)
MRC_API double * MR_IntersectionPrecomputes2_double_GetMutable_Sy(MR_IntersectionPrecomputes2_double *_this)
MRC_API void MR_IntersectionPrecomputes2_double_Set_invDir(MR_IntersectionPrecomputes2_double *_this, MR_Vector2d value)
MRC_API MR_IntersectionPrecomputes2_float * MR_IntersectionPrecomputes2_float_DefaultConstruct(void)
MRC_API void MR_IntersectionPrecomputes2_float_Set_sign(MR_IntersectionPrecomputes2_float *_this, MR_Vector2i value)
MRC_API const int * MR_IntersectionPrecomputes2_float_Get_idxX(const MR_IntersectionPrecomputes2_float *_this)
MRC_API MR_IntersectionPrecomputes2_float * MR_IntersectionPrecomputes2_float_DefaultConstructArray(size_t num_elems)
MRC_API const MR_Vector2d * MR_IntersectionPrecomputes2_double_Get_invDir(const MR_IntersectionPrecomputes2_double *_this)
MRC_API void MR_IntersectionPrecomputes2_float_DestroyArray(const MR_IntersectionPrecomputes2_float *_this)
Destroys a heap-allocated array of MR_IntersectionPrecomputes2_float. Does nothing if the pointer is ...
MRC_API const int * MR_IntersectionPrecomputes2_double_Get_maxDimIdxY(const MR_IntersectionPrecomputes2_double *_this)
MRC_API void MR_IntersectionPrecomputes2_float_Set_Sx(MR_IntersectionPrecomputes2_float *_this, float value)
MRC_API MR_IntersectionPrecomputes2_float * MR_IntersectionPrecomputes2_float_AssignFromAnother(MR_IntersectionPrecomputes2_float *_this, const MR_IntersectionPrecomputes2_float *_other)
MRC_API double * MR_IntersectionPrecomputes2_double_GetMutable_Sx(MR_IntersectionPrecomputes2_double *_this)
MRC_API MR_IntersectionPrecomputes2_float * MR_IntersectionPrecomputes2_float_OffsetMutablePtr(MR_IntersectionPrecomputes2_float *ptr, ptrdiff_t i)
MRC_API MR_IntersectionPrecomputes2_double * MR_IntersectionPrecomputes2_double_DefaultConstructArray(size_t num_elems)
MRC_API void MR_IntersectionPrecomputes2_double_DestroyArray(const MR_IntersectionPrecomputes2_double *_this)
Destroys a heap-allocated array of MR_IntersectionPrecomputes2_double. Does nothing if the pointer is...
MRC_API const float * MR_IntersectionPrecomputes2_float_Get_Sy(const MR_IntersectionPrecomputes2_float *_this)
MRC_API void MR_IntersectionPrecomputes2_double_Set_idxX(MR_IntersectionPrecomputes2_double *_this, int value)
MRC_API void MR_IntersectionPrecomputes2_float_Set_maxDimIdxY(MR_IntersectionPrecomputes2_float *_this, int value)
MRC_API const MR_Vector2f * MR_IntersectionPrecomputes2_float_Get_invDir(const MR_IntersectionPrecomputes2_float *_this)
MRC_API MR_Vector2d * MR_IntersectionPrecomputes2_double_GetMutable_invDir(MR_IntersectionPrecomputes2_double *_this)
MRC_API float * MR_IntersectionPrecomputes2_float_GetMutable_Sy(MR_IntersectionPrecomputes2_float *_this)
MRC_API MR_Vector2i * MR_IntersectionPrecomputes2_float_GetMutable_sign(MR_IntersectionPrecomputes2_float *_this)
MRC_API MR_IntersectionPrecomputes2_double * MR_IntersectionPrecomputes2_double_AssignFromAnother(MR_IntersectionPrecomputes2_double *_this, const MR_IntersectionPrecomputes2_double *_other)
struct MR_IntersectionPrecomputes2_double MR_IntersectionPrecomputes2_double
Definition MRIntersectionPrecomputes2.h:23
MRC_API void MR_IntersectionPrecomputes2_float_Set_Sy(MR_IntersectionPrecomputes2_float *_this, float value)
MRC_API MR_Vector2i * MR_IntersectionPrecomputes2_double_GetMutable_sign(MR_IntersectionPrecomputes2_double *_this)
MRC_API const MR_Vector2i * MR_IntersectionPrecomputes2_double_Get_sign(const MR_IntersectionPrecomputes2_double *_this)
MRC_API const MR_Vector2i * MR_IntersectionPrecomputes2_float_Get_sign(const MR_IntersectionPrecomputes2_float *_this)
MRC_API float * MR_IntersectionPrecomputes2_float_GetMutable_Sx(MR_IntersectionPrecomputes2_float *_this)
MRC_API MR_IntersectionPrecomputes2_float * MR_IntersectionPrecomputes2_float_ConstructFromAnother(const MR_IntersectionPrecomputes2_float *_other)
MRC_API void MR_IntersectionPrecomputes2_double_Set_Sx(MR_IntersectionPrecomputes2_double *_this, double value)
MRC_API const int * MR_IntersectionPrecomputes2_double_Get_idxX(const MR_IntersectionPrecomputes2_double *_this)
MRC_API void MR_IntersectionPrecomputes2_float_Set_invDir(MR_IntersectionPrecomputes2_float *_this, MR_Vector2f value)
MRC_API MR_IntersectionPrecomputes2_double * MR_IntersectionPrecomputes2_double_DefaultConstruct(void)
MRC_API const int * MR_IntersectionPrecomputes2_float_Get_maxDimIdxY(const MR_IntersectionPrecomputes2_float *_this)
MRC_API void MR_IntersectionPrecomputes2_double_Set_Sy(MR_IntersectionPrecomputes2_double *_this, double value)
MRC_API void MR_IntersectionPrecomputes2_float_Set_idxX(MR_IntersectionPrecomputes2_float *_this, int value)
MRC_API void MR_IntersectionPrecomputes2_double_Set_maxDimIdxY(MR_IntersectionPrecomputes2_double *_this, int value)
MRC_API int * MR_IntersectionPrecomputes2_double_GetMutable_idxX(MR_IntersectionPrecomputes2_double *_this)
MRC_API void MR_IntersectionPrecomputes2_float_Destroy(const MR_IntersectionPrecomputes2_float *_this)
Destroys a heap-allocated instance of MR_IntersectionPrecomputes2_float. Does nothing if the pointer ...
MRC_API MR_Vector2f * MR_IntersectionPrecomputes2_float_GetMutable_invDir(MR_IntersectionPrecomputes2_float *_this)
MRC_API const double * MR_IntersectionPrecomputes2_double_Get_Sy(const MR_IntersectionPrecomputes2_double *_this)
MRC_API void MR_IntersectionPrecomputes2_double_Set_sign(MR_IntersectionPrecomputes2_double *_this, MR_Vector2i value)
MRC_API int * MR_IntersectionPrecomputes2_float_GetMutable_idxX(MR_IntersectionPrecomputes2_float *_this)
MRC_API const double * MR_IntersectionPrecomputes2_double_Get_Sx(const MR_IntersectionPrecomputes2_double *_this)
MRC_API int * MR_IntersectionPrecomputes2_double_GetMutable_maxDimIdxY(MR_IntersectionPrecomputes2_double *_this)
MRC_API const MR_IntersectionPrecomputes2_float * MR_IntersectionPrecomputes2_float_OffsetPtr(const MR_IntersectionPrecomputes2_float *ptr, ptrdiff_t i)
MRC_API void MR_IntersectionPrecomputes2_double_Destroy(const MR_IntersectionPrecomputes2_double *_this)
Destroys a heap-allocated instance of MR_IntersectionPrecomputes2_double. Does nothing if the pointer...
MRC_API int * MR_IntersectionPrecomputes2_float_GetMutable_maxDimIdxY(MR_IntersectionPrecomputes2_float *_this)
struct MR_IntersectionPrecomputes2_float MR_IntersectionPrecomputes2_float
Definition MRIntersectionPrecomputes2.h:17
MRC_API MR_IntersectionPrecomputes2_double * MR_IntersectionPrecomputes2_double_Construct(const MR_Vector2d *dir)
MRC_API const MR_IntersectionPrecomputes2_double * MR_IntersectionPrecomputes2_double_OffsetPtr(const MR_IntersectionPrecomputes2_double *ptr, ptrdiff_t i)
MRC_API MR_IntersectionPrecomputes2_float * MR_IntersectionPrecomputes2_float_Construct(const MR_Vector2f *dir)
MRC_API const float * MR_IntersectionPrecomputes2_float_Get_Sx(const MR_IntersectionPrecomputes2_float *_this)
#define MRC_API
Definition exports.h:11
Definition MRVector2.h:53
Definition MRVector2.h:45
Definition MRVector2.h:29