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
17
22
23// {1 / dir}
28
29// {1 / dir}
33
34// {1 / dir}
39
40// [0]max, [1]next, [2]next-next
41// f.e. {1,2} => {1,0}
46
47// [0]max, [1]next, [2]next-next
48// f.e. {1,2} => {1,0}
52
53// [0]max, [1]next, [2]next-next
54// f.e. {1,2} => {1,0}
59
64
68
73
79
84
90
96
101
107
113
118
124
128
133
136
139
144
149
152
155
161
162// {1 / dir}
167
168// {1 / dir}
172
173// {1 / dir}
178
179// [0]max, [1]next, [2]next-next
180// f.e. {1,2} => {1,0}
185
186// [0]max, [1]next, [2]next-next
187// f.e. {1,2} => {1,0}
191
192// [0]max, [1]next, [2]next-next
193// f.e. {1,2} => {1,0}
198
203
207
212
218
223
229
235
240
246
252
257
263
267
272
275
278
283
288
291
294
300
301#ifdef __cplusplus
302} // extern "C"
303#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)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
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)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
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:21
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)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
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:16
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)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
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:51
Definition MRVector2.h:43
Definition MRVector2.h:27