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
102
108
113
118
123
128
133
137
141MRC_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);
142
146
152
157
163
168
174
179
185
190
196
201
207
212
217
222
226
231
238
245
248
251
255
259
264
268
273
280
287
290
293
297
301
307
311
315
319
324
329
335
339
343
347
352
357
358#ifdef __cplusplus
359} // extern "C"
360#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 include/MRCMisc/exports.h:11
MRC_API void MR_std_vector_MR_Mesh_shrink_to_fit(MR_std_vector_MR_Mesh *_this)
MRC_API MR_std_vector_MR_Mesh_iterator * MR_std_vector_MR_Mesh_begin_mut(MR_std_vector_MR_Mesh *_this)
MRC_API MR_std_vector_MR_Mesh_iterator * MR_std_vector_MR_Mesh_iterator_DefaultConstructArray(size_t num_elems)
MRC_API ptrdiff_t MR_sub_MR_std_vector_MR_Mesh_const_iterator(const MR_std_vector_MR_Mesh_const_iterator *a, const MR_std_vector_MR_Mesh_const_iterator *b)
MRC_API const MR_Mesh * MR_std_vector_MR_Mesh_back(const MR_std_vector_MR_Mesh *_this)
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_is_end_mut(const MR_std_vector_MR_Mesh *_this, const MR_std_vector_MR_Mesh_iterator *iter)
MRC_API MR_Mesh * MR_std_vector_MR_Mesh_iterator_deref(const MR_std_vector_MR_Mesh_iterator *_this)
MRC_API bool MR_std_vector_MR_Mesh_is_begin_mut(const MR_std_vector_MR_Mesh *_this, const MR_std_vector_MR_Mesh_iterator *iter)
MRC_API MR_std_vector_MR_Mesh_const_iterator * MR_std_vector_MR_Mesh_begin(const 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)
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_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_DefaultConstruct(void)
MRC_API void MR_std_vector_MR_Mesh_const_iterator_add_assign(MR_std_vector_MR_Mesh_const_iterator *_this, ptrdiff_t delta)
struct MR_std_vector_MR_Mesh_const_iterator MR_std_vector_MR_Mesh_const_iterator
Definition std_vector_MR_Mesh.h:22
MRC_API bool MR_std_vector_MR_Mesh_is_begin(const MR_std_vector_MR_Mesh *_this, const MR_std_vector_MR_Mesh_const_iterator *iter)
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 size_t MR_std_vector_MR_Mesh_size(const MR_std_vector_MR_Mesh *_this)
MRC_API void MR_std_vector_MR_Mesh_resize_with_default_value(MR_std_vector_MR_Mesh *_this, size_t new_size, const MR_Mesh *value)
MRC_API MR_Mesh * MR_std_vector_MR_Mesh_at_mut(MR_std_vector_MR_Mesh *_this, size_t i)
MRC_API MR_std_vector_MR_Mesh_const_iterator * MR_std_vector_MR_Mesh_const_iterator_from_mutable(const MR_std_vector_MR_Mesh_iterator *iter)
MRC_API ptrdiff_t MR_std_vector_MR_Mesh_to_index_mut(const MR_std_vector_MR_Mesh *_this, const MR_std_vector_MR_Mesh_iterator *iter)
MRC_API void MR_std_vector_MR_Mesh_pop_back(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 void MR_std_vector_MR_Mesh_iterator_add_assign(MR_std_vector_MR_Mesh_iterator *_this, ptrdiff_t delta)
MRC_API bool MR_equal_MR_std_vector_MR_Mesh_iterator(const MR_std_vector_MR_Mesh_iterator *a, const MR_std_vector_MR_Mesh_iterator *b)
MRC_API void MR_std_vector_MR_Mesh_erase_at_iter(MR_std_vector_MR_Mesh *_this, const MR_std_vector_MR_Mesh_const_iterator *position)
MRC_API void MR_std_vector_MR_Mesh_iterator_incr(MR_std_vector_MR_Mesh_iterator *_this)
MRC_API void MR_std_vector_MR_Mesh_insert_at_iter(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_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_at_mutable_iter(MR_std_vector_MR_Mesh *_this, const MR_std_vector_MR_Mesh_iterator *position)
MRC_API size_t MR_std_vector_MR_Mesh_capacity(const MR_std_vector_MR_Mesh *_this)
MRC_API bool MR_equal_MR_std_vector_MR_Mesh_const_iterator(const MR_std_vector_MR_Mesh_const_iterator *a, const MR_std_vector_MR_Mesh_const_iterator *b)
MRC_API void MR_std_vector_MR_Mesh_erase(MR_std_vector_MR_Mesh *_this, size_t position)
MRC_API MR_std_vector_MR_Mesh * MR_std_vector_MR_Mesh_DefaultConstruct(void)
MRC_API MR_std_vector_MR_Mesh * MR_std_vector_MR_Mesh_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 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 void MR_std_vector_MR_Mesh_clear(MR_std_vector_MR_Mesh *_this)
MRC_API MR_Mesh * MR_std_vector_MR_Mesh_front_mut(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 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 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_incr(MR_std_vector_MR_Mesh_const_iterator *_this)
MRC_API void MR_std_vector_MR_Mesh_const_iterator_decr(MR_std_vector_MR_Mesh_const_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 void MR_std_vector_MR_Mesh_iterator_decr(MR_std_vector_MR_Mesh_iterator *_this)
MRC_API ptrdiff_t MR_sub_MR_std_vector_MR_Mesh_iterator(const MR_std_vector_MR_Mesh_iterator *a, const MR_std_vector_MR_Mesh_iterator *b)
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 bool MR_std_vector_MR_Mesh_empty(const MR_std_vector_MR_Mesh *_this)
MRC_API const MR_Mesh * MR_std_vector_MR_Mesh_const_iterator_deref(const MR_std_vector_MR_Mesh_const_iterator *_this)
MRC_API bool MR_std_vector_MR_Mesh_is_end(const MR_std_vector_MR_Mesh *_this, const MR_std_vector_MR_Mesh_const_iterator *iter)
MRC_API void MR_std_vector_MR_Mesh_insert_at_mutable_iter(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_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_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_push_back(MR_std_vector_MR_Mesh *_this, MR_PassBy new_elem_pass_by, MR_Mesh *new_elem)
MRC_API MR_Mesh * MR_std_vector_MR_Mesh_back_mut(MR_std_vector_MR_Mesh *_this)
MRC_API ptrdiff_t MR_std_vector_MR_Mesh_to_index(const MR_std_vector_MR_Mesh *_this, const MR_std_vector_MR_Mesh_const_iterator *iter)
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 MR_std_vector_MR_Mesh * MR_std_vector_MR_Mesh_OffsetMutablePtr(MR_std_vector_MR_Mesh *ptr, ptrdiff_t i)
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_iterator * MR_std_vector_MR_Mesh_iterator_ConstructFromAnother(const MR_std_vector_MR_Mesh_iterator *other)
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_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 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_const_iterator * MR_std_vector_MR_Mesh_const_iterator_DefaultConstructArray(size_t num_elems)
MRC_API MR_std_vector_MR_Mesh_iterator * MR_std_vector_MR_Mesh_end_mut(MR_std_vector_MR_Mesh *_this)