MeshLib C Docs
Loading...
Searching...
No Matches
std_vector_MR_Mesh.h
Go to the documentation of this file.
1#pragma once
2
3#include <MRCMisc/common.h>
4#include <MRCMisc/exports.h>
5
6#include <stdbool.h>
7#include <stddef.h>
8
9#ifdef __cplusplus
10extern "C" {
11#endif
12
13typedef struct MR_Mesh MR_Mesh; // Defined in `#include <MRCMesh/MRMesh.h>`.
14
15
19
23
27
31
36
40
44
47
50
53
56
60
64
68
73
77
81
85
89
94
99
103
107
111
115
119
123
126MRC_API void MR_std_vector_MR_Mesh_Insert(MR_std_vector_MR_Mesh *_this, size_t position, MR_PassBy new_elem_pass_by, MR_Mesh *new_elem);
127
131
136
141
146
151
156
161
166
171
176
181
186
191
196
201
205
210
215
220
223
226
229
232
237
241
246
251
256
259
262
265
268
273
277
281
285
290
295
299
303
307
312
313#ifdef __cplusplus
314} // extern "C"
315#endif
struct MR_Mesh MR_Mesh
Definition MRCtm.h:13
MR_PassBy
Definition common.h:19
struct MR_std_vector_MR_Mesh MR_std_vector_MR_Mesh
Definition expected_std_vector_MR_Mesh_std_string.h:13
#define MRC_API
Definition exports.h:11
MRC_API void MR_std_vector_MR_Mesh_Resize(MR_std_vector_MR_Mesh *_this, size_t new_size)
MRC_API MR_std_vector_MR_Mesh_iterator * MR_std_vector_MR_Mesh_iterator_DefaultConstructArray(size_t num_elems)
MRC_API void MR_std_vector_MR_Mesh_ResizeWithDefaultValue(MR_std_vector_MR_Mesh *_this, size_t new_size, const MR_Mesh *value)
MRC_API void MR_std_vector_MR_Mesh_AssignFromAnother(MR_std_vector_MR_Mesh *_this, MR_PassBy other_pass_by, MR_std_vector_MR_Mesh *other)
MRC_API bool MR_std_vector_MR_Mesh_IsEmpty(const MR_std_vector_MR_Mesh *_this)
MRC_API MR_std_vector_MR_Mesh_const_iterator * MR_std_vector_MR_Mesh_const_iterator_FromMutable(const MR_std_vector_MR_Mesh_iterator *iter)
MRC_API void MR_std_vector_MR_Mesh_iterator_OffsetBy(MR_std_vector_MR_Mesh_iterator *_this, ptrdiff_t delta)
MRC_API void MR_std_vector_MR_Mesh_PopBack(MR_std_vector_MR_Mesh *_this)
MRC_API MR_std_vector_MR_Mesh_const_iterator * MR_std_vector_MR_Mesh_const_iterator_ConstructFromAnother(const MR_std_vector_MR_Mesh_const_iterator *other)
MRC_API void MR_std_vector_MR_Mesh_EraseAtMutableIter(MR_std_vector_MR_Mesh *_this, const MR_std_vector_MR_Mesh_iterator *position)
struct MR_std_vector_MR_Mesh_iterator MR_std_vector_MR_Mesh_iterator
Definition std_vector_MR_Mesh.h:26
MRC_API void MR_std_vector_MR_Mesh_iterator_Destroy(const MR_std_vector_MR_Mesh_iterator *_this)
Destroys a heap-allocated instance of MR_std_vector_MR_Mesh_iterator. Does nothing if the pointer is ...
MRC_API void MR_std_vector_MR_Mesh_Reserve(MR_std_vector_MR_Mesh *_this, size_t new_capacity)
MRC_API void MR_std_vector_MR_Mesh_iterator_Decr(MR_std_vector_MR_Mesh_iterator *_this)
MRC_API bool MR_std_vector_MR_Mesh_IsMutableEnd(MR_std_vector_MR_Mesh *_this, const MR_std_vector_MR_Mesh_iterator *iter)
MRC_API MR_std_vector_MR_Mesh_iterator * MR_std_vector_MR_Mesh_iterator_DefaultConstruct(void)
struct MR_std_vector_MR_Mesh_const_iterator MR_std_vector_MR_Mesh_const_iterator
Definition std_vector_MR_Mesh.h:22
MRC_API void MR_std_vector_MR_Mesh_iterator_DestroyArray(const MR_std_vector_MR_Mesh_iterator *_this)
Destroys a heap-allocated array of MR_std_vector_MR_Mesh_iterator. Does nothing if the pointer is nul...
MRC_API MR_std_vector_MR_Mesh_const_iterator * MR_std_vector_MR_Mesh_End(const MR_std_vector_MR_Mesh *_this)
MRC_API void MR_std_vector_MR_Mesh_const_iterator_Destroy(const MR_std_vector_MR_Mesh_const_iterator *_this)
Destroys a heap-allocated instance of MR_std_vector_MR_Mesh_const_iterator. Does nothing if the point...
MRC_API ptrdiff_t MR_std_vector_MR_Mesh_const_iterator_Distance(const MR_std_vector_MR_Mesh_const_iterator *a, const MR_std_vector_MR_Mesh_const_iterator *b)
MRC_API MR_std_vector_MR_Mesh_iterator * MR_std_vector_MR_Mesh_MutableBegin(MR_std_vector_MR_Mesh *_this)
MRC_API ptrdiff_t MR_std_vector_MR_Mesh_iterator_Distance(const MR_std_vector_MR_Mesh_iterator *a, const MR_std_vector_MR_Mesh_iterator *b)
MRC_API void MR_std_vector_MR_Mesh_const_iterator_Incr(MR_std_vector_MR_Mesh_const_iterator *_this)
MRC_API MR_std_vector_MR_Mesh_iterator * MR_std_vector_MR_Mesh_iterator_OffsetMutablePtr(MR_std_vector_MR_Mesh_iterator *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_std_vector_MR_Mesh_Erase(MR_std_vector_MR_Mesh *_this, size_t position)
MRC_API void MR_std_vector_MR_Mesh_InsertAtMutableIter(MR_std_vector_MR_Mesh *_this, const MR_std_vector_MR_Mesh_iterator *position, MR_PassBy new_elem_pass_by, MR_Mesh *new_elem)
MRC_API void MR_std_vector_MR_Mesh_PushBack(MR_std_vector_MR_Mesh *_this, MR_PassBy new_elem_pass_by, MR_Mesh *new_elem)
MRC_API const MR_Mesh * MR_std_vector_MR_Mesh_At(const MR_std_vector_MR_Mesh *_this, size_t i)
MRC_API MR_std_vector_MR_Mesh * MR_std_vector_MR_Mesh_DefaultConstruct(void)
MRC_API const MR_Mesh * MR_std_vector_MR_Mesh_Back(const MR_std_vector_MR_Mesh *_this)
MRC_API MR_std_vector_MR_Mesh_iterator * MR_std_vector_MR_Mesh_MutableEnd(MR_std_vector_MR_Mesh *_this)
MRC_API ptrdiff_t MR_std_vector_MR_Mesh_ToIndex(const MR_std_vector_MR_Mesh *_this, const MR_std_vector_MR_Mesh_const_iterator *iter)
MRC_API MR_std_vector_MR_Mesh * MR_std_vector_MR_Mesh_DefaultConstructArray(size_t num_elems)
MRC_API void MR_std_vector_MR_Mesh_EraseAtIter(MR_std_vector_MR_Mesh *_this, const MR_std_vector_MR_Mesh_const_iterator *position)
MRC_API MR_std_vector_MR_Mesh_const_iterator * MR_std_vector_MR_Mesh_const_iterator_OffsetMutablePtr(MR_std_vector_MR_Mesh_const_iterator *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_Mesh * MR_std_vector_MR_Mesh_MutableAt(MR_std_vector_MR_Mesh *_this, size_t i)
MRC_API const MR_std_vector_MR_Mesh_iterator * MR_std_vector_MR_Mesh_iterator_OffsetPtr(const MR_std_vector_MR_Mesh_iterator *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_std_vector_MR_Mesh_Clear(MR_std_vector_MR_Mesh *_this)
MRC_API void MR_std_vector_MR_Mesh_Insert(MR_std_vector_MR_Mesh *_this, size_t position, MR_PassBy new_elem_pass_by, MR_Mesh *new_elem)
MRC_API ptrdiff_t MR_std_vector_MR_Mesh_MutableToIndex(const MR_std_vector_MR_Mesh *_this, const MR_std_vector_MR_Mesh_iterator *iter)
MRC_API bool MR_std_vector_MR_Mesh_IsMutableBegin(MR_std_vector_MR_Mesh *_this, const MR_std_vector_MR_Mesh_iterator *iter)
MRC_API size_t MR_std_vector_MR_Mesh_Size(const MR_std_vector_MR_Mesh *_this)
MRC_API MR_Mesh * MR_std_vector_MR_Mesh_MutableBack(MR_std_vector_MR_Mesh *_this)
MRC_API void MR_std_vector_MR_Mesh_iterator_Incr(MR_std_vector_MR_Mesh_iterator *_this)
MRC_API const MR_std_vector_MR_Mesh_const_iterator * MR_std_vector_MR_Mesh_const_iterator_OffsetPtr(const MR_std_vector_MR_Mesh_const_iterator *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 const MR_std_vector_MR_Mesh * MR_std_vector_MR_Mesh_OffsetPtr(const MR_std_vector_MR_Mesh *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_std_vector_MR_Mesh_DestroyArray(const MR_std_vector_MR_Mesh *_this)
Destroys a heap-allocated array of MR_std_vector_MR_Mesh. Does nothing if the pointer is null.
MRC_API MR_std_vector_MR_Mesh_const_iterator * MR_std_vector_MR_Mesh_const_iterator_DefaultConstruct(void)
MRC_API MR_std_vector_MR_Mesh * MR_std_vector_MR_Mesh_ConstructFromAnother(MR_PassBy other_pass_by, MR_std_vector_MR_Mesh *other)
MRC_API void MR_std_vector_MR_Mesh_InsertAtIter(MR_std_vector_MR_Mesh *_this, const MR_std_vector_MR_Mesh_const_iterator *position, MR_PassBy new_elem_pass_by, MR_Mesh *new_elem)
MRC_API MR_Mesh * MR_std_vector_MR_Mesh_MutableFront(MR_std_vector_MR_Mesh *_this)
MRC_API void MR_std_vector_MR_Mesh_Destroy(const MR_std_vector_MR_Mesh *_this)
Destroys a heap-allocated instance of MR_std_vector_MR_Mesh. Does nothing if the pointer is null.
MRC_API void MR_std_vector_MR_Mesh_const_iterator_Decr(MR_std_vector_MR_Mesh_const_iterator *_this)
MRC_API MR_Mesh * MR_std_vector_MR_Mesh_iterator_Deref(const MR_std_vector_MR_Mesh_iterator *_this)
MRC_API void MR_std_vector_MR_Mesh_const_iterator_AssignFromAnother(MR_std_vector_MR_Mesh_const_iterator *_this, const MR_std_vector_MR_Mesh_const_iterator *other)
MRC_API bool MR_std_vector_MR_Mesh_IsEnd(const MR_std_vector_MR_Mesh *_this, const MR_std_vector_MR_Mesh_const_iterator *iter)
MRC_API MR_std_vector_MR_Mesh * MR_std_vector_MR_Mesh_OffsetMutablePtr(MR_std_vector_MR_Mesh *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 const MR_Mesh * MR_std_vector_MR_Mesh_const_iterator_Deref(const MR_std_vector_MR_Mesh_const_iterator *_this)
MRC_API void MR_std_vector_MR_Mesh_iterator_AssignFromAnother(MR_std_vector_MR_Mesh_iterator *_this, const MR_std_vector_MR_Mesh_iterator *other)
MRC_API MR_std_vector_MR_Mesh_const_iterator * MR_std_vector_MR_Mesh_Begin(const MR_std_vector_MR_Mesh *_this)
MRC_API void MR_std_vector_MR_Mesh_const_iterator_OffsetBy(MR_std_vector_MR_Mesh_const_iterator *_this, ptrdiff_t delta)
MRC_API MR_std_vector_MR_Mesh_iterator * MR_std_vector_MR_Mesh_iterator_ConstructFromAnother(const MR_std_vector_MR_Mesh_iterator *other)
MRC_API size_t MR_std_vector_MR_Mesh_Capacity(const MR_std_vector_MR_Mesh *_this)
MRC_API void MR_std_vector_MR_Mesh_const_iterator_DestroyArray(const MR_std_vector_MR_Mesh_const_iterator *_this)
Destroys a heap-allocated array of MR_std_vector_MR_Mesh_const_iterator. Does nothing if the pointer ...
MRC_API bool MR_std_vector_MR_Mesh_IsBegin(const MR_std_vector_MR_Mesh *_this, const MR_std_vector_MR_Mesh_const_iterator *iter)
MRC_API MR_std_vector_MR_Mesh_const_iterator * MR_std_vector_MR_Mesh_const_iterator_DefaultConstructArray(size_t num_elems)
MRC_API const MR_Mesh * MR_std_vector_MR_Mesh_Front(const MR_std_vector_MR_Mesh *_this)
MRC_API void MR_std_vector_MR_Mesh_ShrinkToFit(MR_std_vector_MR_Mesh *_this)