MeshLib C Docs
Loading...
Searching...
No Matches
MRIntersectionPrecomputes.h
Go to the documentation of this file.
1#pragma once
2
3#include <MRCMesh/MRVector3.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}
31
32// {1 / dir}
38
39// {1 / dir}
45
46// [0]max, [1]next, [2]next-next
47// f.e. {1,2,-3} => {2,1,0}
53
54// [0]max, [1]next, [2]next-next
55// f.e. {1,2,-3} => {2,1,0}
60
61// [0]max, [1]next, [2]next-next
62// f.e. {1,2,-3} => {2,1,0}
68
74
79
85
91
96
102
109
116
123
130
136
143
150
156
163
170
176
183
187
192
196
200
206
212
215
218
226
227// {1 / dir}
233
234// {1 / dir}
240
241// {1 / dir}
247
248// [0]max, [1]next, [2]next-next
249// f.e. {1,2,-3} => {2,1,0}
255
256// [0]max, [1]next, [2]next-next
257// f.e. {1,2,-3} => {2,1,0}
262
263// [0]max, [1]next, [2]next-next
264// f.e. {1,2,-3} => {2,1,0}
270
276
281
287
293
298
304
311
318
325
332
338
345
352
358
365
372
378
385
389
394
398
402
408
414
417
420
428
429#ifdef __cplusplus
430} // extern "C"
431#endif
MRC_API void MR_IntersectionPrecomputes_double_Set_Sy(MR_IntersectionPrecomputes_double *_this, double value)
MRC_API void MR_IntersectionPrecomputes_double_Set_Sz(MR_IntersectionPrecomputes_double *_this, double value)
MRC_API MR_IntersectionPrecomputes_float * MR_IntersectionPrecomputes_float_OffsetMutablePtr(MR_IntersectionPrecomputes_float *ptr, ptrdiff_t i)
MRC_API float * MR_IntersectionPrecomputes_float_GetMutable_Sx(MR_IntersectionPrecomputes_float *_this)
MRC_API MR_Vector3f * MR_IntersectionPrecomputes_float_GetMutable_invDir(MR_IntersectionPrecomputes_float *_this)
MRC_API const MR_Vector3d * MR_IntersectionPrecomputes_double_Get_invDir(const MR_IntersectionPrecomputes_double *_this)
MRC_API void MR_IntersectionPrecomputes_float_Set_maxDimIdxZ(MR_IntersectionPrecomputes_float *_this, int value)
MRC_API const int * MR_IntersectionPrecomputes_float_Get_idxX(const MR_IntersectionPrecomputes_float *_this)
MRC_API void MR_IntersectionPrecomputes_float_DestroyArray(const MR_IntersectionPrecomputes_float *_this)
Destroys a heap-allocated array of MR_IntersectionPrecomputes_float. Does nothing if the pointer is n...
MRC_API void MR_IntersectionPrecomputes_double_Destroy(const MR_IntersectionPrecomputes_double *_this)
Destroys a heap-allocated instance of MR_IntersectionPrecomputes_double. Does nothing if the pointer ...
MRC_API void MR_IntersectionPrecomputes_float_Set_idxX(MR_IntersectionPrecomputes_float *_this, int value)
MRC_API const double * MR_IntersectionPrecomputes_double_Get_Sy(const MR_IntersectionPrecomputes_double *_this)
MRC_API int * MR_IntersectionPrecomputes_double_GetMutable_idxX(MR_IntersectionPrecomputes_double *_this)
MRC_API const int * MR_IntersectionPrecomputes_double_Get_idxX(const MR_IntersectionPrecomputes_double *_this)
MRC_API MR_IntersectionPrecomputes_float * MR_IntersectionPrecomputes_float_DefaultConstruct(void)
MRC_API const MR_Vector3f * MR_IntersectionPrecomputes_float_Get_invDir(const MR_IntersectionPrecomputes_float *_this)
MRC_API void MR_IntersectionPrecomputes_float_Set_idxY(MR_IntersectionPrecomputes_float *_this, int value)
MRC_API void MR_IntersectionPrecomputes_double_Set_idxX(MR_IntersectionPrecomputes_double *_this, int value)
MRC_API MR_Vector3i * MR_IntersectionPrecomputes_double_GetMutable_sign(MR_IntersectionPrecomputes_double *_this)
MRC_API MR_IntersectionPrecomputes_double * MR_IntersectionPrecomputes_double_DefaultConstruct(void)
MRC_API MR_IntersectionPrecomputes_double * MR_IntersectionPrecomputes_double_DefaultConstructArray(size_t num_elems)
MRC_API const int * MR_IntersectionPrecomputes_float_Get_idxY(const MR_IntersectionPrecomputes_float *_this)
MRC_API const float * MR_IntersectionPrecomputes_float_Get_Sx(const MR_IntersectionPrecomputes_float *_this)
MRC_API void MR_IntersectionPrecomputes_float_Destroy(const MR_IntersectionPrecomputes_float *_this)
Destroys a heap-allocated instance of MR_IntersectionPrecomputes_float. Does nothing if the pointer i...
MRC_API float * MR_IntersectionPrecomputes_float_GetMutable_Sz(MR_IntersectionPrecomputes_float *_this)
MRC_API void MR_IntersectionPrecomputes_double_Set_maxDimIdxZ(MR_IntersectionPrecomputes_double *_this, int value)
MRC_API const int * MR_IntersectionPrecomputes_double_Get_idxY(const MR_IntersectionPrecomputes_double *_this)
MRC_API double * MR_IntersectionPrecomputes_double_GetMutable_Sy(MR_IntersectionPrecomputes_double *_this)
MRC_API double * MR_IntersectionPrecomputes_double_GetMutable_Sx(MR_IntersectionPrecomputes_double *_this)
MRC_API MR_Vector3i * MR_IntersectionPrecomputes_float_GetMutable_sign(MR_IntersectionPrecomputes_float *_this)
MRC_API void MR_IntersectionPrecomputes_float_Set_Sx(MR_IntersectionPrecomputes_float *_this, float value)
MRC_API int * MR_IntersectionPrecomputes_float_GetMutable_idxX(MR_IntersectionPrecomputes_float *_this)
MRC_API int * MR_IntersectionPrecomputes_double_GetMutable_idxY(MR_IntersectionPrecomputes_double *_this)
MRC_API MR_IntersectionPrecomputes_double * MR_IntersectionPrecomputes_double_OffsetMutablePtr(MR_IntersectionPrecomputes_double *ptr, ptrdiff_t i)
MRC_API void MR_IntersectionPrecomputes_double_Set_Sx(MR_IntersectionPrecomputes_double *_this, double value)
MRC_API int * MR_IntersectionPrecomputes_double_GetMutable_maxDimIdxZ(MR_IntersectionPrecomputes_double *_this)
MRC_API const float * MR_IntersectionPrecomputes_float_Get_Sz(const MR_IntersectionPrecomputes_float *_this)
MRC_API const float * MR_IntersectionPrecomputes_float_Get_Sy(const MR_IntersectionPrecomputes_float *_this)
MRC_API int * MR_IntersectionPrecomputes_float_GetMutable_maxDimIdxZ(MR_IntersectionPrecomputes_float *_this)
MRC_API void MR_IntersectionPrecomputes_float_Set_Sy(MR_IntersectionPrecomputes_float *_this, float value)
MRC_API MR_Vector3d * MR_IntersectionPrecomputes_double_GetMutable_invDir(MR_IntersectionPrecomputes_double *_this)
MRC_API MR_IntersectionPrecomputes_float * MR_IntersectionPrecomputes_float_DefaultConstructArray(size_t num_elems)
MRC_API void MR_IntersectionPrecomputes_double_Set_sign(MR_IntersectionPrecomputes_double *_this, MR_Vector3i value)
struct MR_IntersectionPrecomputes_float MR_IntersectionPrecomputes_float
Definition MRIntersectionPrecomputes.h:17
MRC_API const double * MR_IntersectionPrecomputes_double_Get_Sz(const MR_IntersectionPrecomputes_double *_this)
MRC_API const MR_Vector3i * MR_IntersectionPrecomputes_float_Get_sign(const MR_IntersectionPrecomputes_float *_this)
MRC_API void MR_IntersectionPrecomputes_float_Set_invDir(MR_IntersectionPrecomputes_float *_this, MR_Vector3f value)
MRC_API double * MR_IntersectionPrecomputes_double_GetMutable_Sz(MR_IntersectionPrecomputes_double *_this)
MRC_API MR_IntersectionPrecomputes_float * MR_IntersectionPrecomputes_float_AssignFromAnother(MR_IntersectionPrecomputes_float *_this, const MR_IntersectionPrecomputes_float *_other)
struct MR_IntersectionPrecomputes_double MR_IntersectionPrecomputes_double
Definition MRIntersectionPrecomputes.h:23
MRC_API MR_IntersectionPrecomputes_double * MR_IntersectionPrecomputes_double_Construct(const MR_Vector3d *dir)
MRC_API const double * MR_IntersectionPrecomputes_double_Get_Sx(const MR_IntersectionPrecomputes_double *_this)
MRC_API const MR_Vector3i * MR_IntersectionPrecomputes_double_Get_sign(const MR_IntersectionPrecomputes_double *_this)
MRC_API void MR_IntersectionPrecomputes_float_Set_sign(MR_IntersectionPrecomputes_float *_this, MR_Vector3i value)
MRC_API int * MR_IntersectionPrecomputes_float_GetMutable_idxY(MR_IntersectionPrecomputes_float *_this)
MRC_API float * MR_IntersectionPrecomputes_float_GetMutable_Sy(MR_IntersectionPrecomputes_float *_this)
MRC_API MR_IntersectionPrecomputes_float * MR_IntersectionPrecomputes_float_ConstructFromAnother(const MR_IntersectionPrecomputes_float *_other)
MRC_API void MR_IntersectionPrecomputes_float_Set_Sz(MR_IntersectionPrecomputes_float *_this, float value)
MRC_API const int * MR_IntersectionPrecomputes_double_Get_maxDimIdxZ(const MR_IntersectionPrecomputes_double *_this)
MRC_API MR_IntersectionPrecomputes_double * MR_IntersectionPrecomputes_double_AssignFromAnother(MR_IntersectionPrecomputes_double *_this, const MR_IntersectionPrecomputes_double *_other)
MRC_API const int * MR_IntersectionPrecomputes_float_Get_maxDimIdxZ(const MR_IntersectionPrecomputes_float *_this)
MRC_API const MR_IntersectionPrecomputes_double * MR_IntersectionPrecomputes_double_OffsetPtr(const MR_IntersectionPrecomputes_double *ptr, ptrdiff_t i)
MRC_API void MR_IntersectionPrecomputes_double_Set_idxY(MR_IntersectionPrecomputes_double *_this, int value)
MRC_API void MR_IntersectionPrecomputes_double_Set_invDir(MR_IntersectionPrecomputes_double *_this, MR_Vector3d value)
MRC_API MR_IntersectionPrecomputes_double * MR_IntersectionPrecomputes_double_ConstructFromAnother(const MR_IntersectionPrecomputes_double *_other)
MRC_API MR_IntersectionPrecomputes_float * MR_IntersectionPrecomputes_float_Construct(const MR_Vector3f *dir)
MRC_API const MR_IntersectionPrecomputes_float * MR_IntersectionPrecomputes_float_OffsetPtr(const MR_IntersectionPrecomputes_float *ptr, ptrdiff_t i)
MRC_API void MR_IntersectionPrecomputes_double_DestroyArray(const MR_IntersectionPrecomputes_double *_this)
Destroys a heap-allocated array of MR_IntersectionPrecomputes_double. Does nothing if the pointer is ...
Generated from class MR::Vector3d.
Definition MRVector3.h:55
Generated from class MR::Vector3f.
Definition MRVector3.h:47
Generated from class MR::Vector3i.
Definition MRVector3.h:63