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
42
48
51
54
58
62
66
70
74
79
84
88
92
96
101
106
110
114
118
122
127
131
135MRC_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);
136
140
146
151
157
162
167
172
177
182
187
192
197
202
207
212
216
221
228
235
238
241
245
249
254
258
263
270
277
280
283
287
291
296
300
304
308
313
318
322
326
330
335
336#ifdef __cplusplus
337} // extern "C"
338#endif
struct MR_Mesh MR_Mesh
Definition MRCtm.h:16
MR_PassBy
Definition common.h:23
struct MR_std_vector_MR_Mesh MR_std_vector_MR_Mesh
Definition expected_std_vector_MR_Mesh_std_string.h:14
#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)
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)
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)
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)
MRC_API const MR_std_vector_MR_Mesh * MR_std_vector_MR_Mesh_OffsetPtr(const MR_std_vector_MR_Mesh *ptr, ptrdiff_t i)
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)
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)