MeshLib C Docs
Loading...
Searching...
No Matches
MRIntersectionPrecomputes.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
11typedef struct MR_Vector3d MR_Vector3d; // Defined in `#include <MRCMesh/MRVector3.h>`.
12typedef struct MR_Vector3f MR_Vector3f; // Defined in `#include <MRCMesh/MRVector3.h>`.
13
14
20
26
27// [0]max, [1]next, [2]next-next
28// f.e. {1,2,-3} => {2,1,0}
34
35// [0]max, [1]next, [2]next-next
36// f.e. {1,2,-3} => {2,1,0}
41
42// [0]max, [1]next, [2]next-next
43// f.e. {1,2,-3} => {2,1,0}
49
55
60
66
72
77
83
90
96
103
110
116
123
130
136
143
147
152
156
160
166
172
175
178
186
187// [0]max, [1]next, [2]next-next
188// f.e. {1,2,-3} => {2,1,0}
194
195// [0]max, [1]next, [2]next-next
196// f.e. {1,2,-3} => {2,1,0}
201
202// [0]max, [1]next, [2]next-next
203// f.e. {1,2,-3} => {2,1,0}
209
215
220
226
232
237
243
250
256
263
270
276
283
290
296
303
307
312
316
320
326
332
335
338
346
347#ifdef __cplusplus
348} // extern "C"
349#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 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 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_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 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_IntersectionPrecomputes_float * MR_IntersectionPrecomputes_float_DefaultConstructArray(size_t num_elems)
struct MR_IntersectionPrecomputes_float MR_IntersectionPrecomputes_float
Definition MRIntersectionPrecomputes.h:19
MRC_API const double * MR_IntersectionPrecomputes_double_Get_Sz(const MR_IntersectionPrecomputes_double *_this)
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:25
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 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 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 ...
#define MRC_API
Definition include/MRCMisc/exports.h:11
Generated from class MR::Vector3d.
Definition MRVector3.h:55
Generated from class MR::Vector3f.
Definition MRVector3.h:47