MeshLib C Docs
Loading...
Searching...
No Matches
MRMeshFwd.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
13typedef struct MR_NoInit MR_NoInit;
14
15typedef char MR_FilterType;
16enum // MR_FilterType
17{
20};
21
22typedef char MR_WrapType;
23enum // MR_WrapType
24{
28};
29
31typedef char MR_Reorder;
32enum // MR_Reorder
33{
40};
41
45
50
52MRC_API const MR_NoInit *MR_NoInit_OffsetPtr(const MR_NoInit *ptr, ptrdiff_t i);
53
56
61
64
67
73
74#ifdef __cplusplus
75} // extern "C"
76#endif
struct MR_NoInit MR_NoInit
Definition MRBox.h:16
char MR_WrapType
Definition MRMeshFwd.h:22
MRC_API MR_NoInit * MR_NoInit_DefaultConstructArray(size_t num_elems)
MRC_API void MR_NoInit_DestroyArray(const MR_NoInit *_this)
Destroys a heap-allocated array of MR_NoInit. Does nothing if the pointer is null.
@ MR_FilterType_Discrete
Definition MRMeshFwd.h:19
@ MR_FilterType_Linear
Definition MRMeshFwd.h:18
MRC_API const MR_NoInit * MR_NoInit_OffsetPtr(const MR_NoInit *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_NoInit * MR_NoInit_OffsetMutablePtr(MR_NoInit *ptr, ptrdiff_t i)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
char MR_Reorder
determines how points to be ordered
Definition MRMeshFwd.h:31
MRC_API MR_NoInit * MR_NoInit_DefaultConstruct(void)
@ MR_WrapType_Clamp
Definition MRMeshFwd.h:27
@ MR_WrapType_Repeat
Definition MRMeshFwd.h:25
@ MR_WrapType_Mirror
Definition MRMeshFwd.h:26
MRC_API void MR_NoInit_Destroy(const MR_NoInit *_this)
Destroys a heap-allocated instance of MR_NoInit. Does nothing if the pointer is null.
char MR_FilterType
Definition MRMeshFwd.h:15
MRC_API MR_NoInit * MR_NoInit_ConstructFromAnother(const MR_NoInit *_other)
MRC_API MR_NoInit * MR_NoInit_AssignFromAnother(MR_NoInit *_this, const MR_NoInit *_other)
@ MR_Reorder_None
the order is not changed
Definition MRMeshFwd.h:35
@ MR_Reorder_AABBTree
Definition MRMeshFwd.h:39
@ MR_Reorder_Lexicographically
the order is determined so to put close in space points in close indices (optimal for compression)
Definition MRMeshFwd.h:37
#define MRC_API
Definition exports.h:11