MeshLib C Docs
Loading...
Searching...
No Matches
std_vector_MR_Vector2d.h
Go to the documentation of this file.
1#pragma once
2
3#include <MRCMesh/MRVector2.h>
4#include <MRCMisc/common.h>
5#include <MRCMisc/exports.h>
6
7#include <stdbool.h>
8#include <stddef.h>
9
10#ifdef __cplusplus
11extern "C" {
12#endif
13
14
18
22
26
30
35
41
47
50
53
57
61
65
69
73
77
81
86
91
95
99
103
108
113
117
121
125
129
133
137
142
146
151
155
161
166
172
177
182
187
192
197
202
207
212
217
222
227
231
236
243
250
253
256
260
264
269
273
278
285
292
295
298
302
306
311
315
319
323
328
333
337
341
345
350
351#ifdef __cplusplus
352} // extern "C"
353#endif
struct MR_std_vector_MR_Vector2d MR_std_vector_MR_Vector2d
Definition MRContour.h:10
MR_PassBy
Definition common.h:23
#define MRC_API
Definition exports.h:11
size_t size() const
MRC_API MR_Vector2d * MR_std_vector_MR_Vector2d_MutableAt(MR_std_vector_MR_Vector2d *_this, size_t i)
MRC_API MR_Vector2d * MR_std_vector_MR_Vector2d_MutableBack(MR_std_vector_MR_Vector2d *_this)
MRC_API void MR_std_vector_MR_Vector2d_AssignFromAnother(MR_std_vector_MR_Vector2d *_this, MR_PassBy other_pass_by, MR_std_vector_MR_Vector2d *other)
MRC_API void MR_std_vector_MR_Vector2d_Insert(MR_std_vector_MR_Vector2d *_this, size_t position, MR_Vector2d new_elem)
MRC_API void MR_std_vector_MR_Vector2d_AssignFromRange(MR_std_vector_MR_Vector2d *_this, const MR_Vector2d *ptr, size_t size)
MRC_API void MR_std_vector_MR_Vector2d_Destroy(const MR_std_vector_MR_Vector2d *_this)
Destroys a heap-allocated instance of MR_std_vector_MR_Vector2d. Does nothing if the pointer is null.
MRC_API bool MR_std_vector_MR_Vector2d_IsBegin(const MR_std_vector_MR_Vector2d *_this, const MR_std_vector_MR_Vector2d_const_iterator *iter)
MRC_API bool MR_std_vector_MR_Vector2d_IsEnd(const MR_std_vector_MR_Vector2d *_this, const MR_std_vector_MR_Vector2d_const_iterator *iter)
MRC_API void MR_std_vector_MR_Vector2d_Resize(MR_std_vector_MR_Vector2d *_this, size_t new_size)
MRC_API MR_Vector2d * MR_std_vector_MR_Vector2d_MutableFront(MR_std_vector_MR_Vector2d *_this)
MRC_API MR_std_vector_MR_Vector2d * MR_std_vector_MR_Vector2d_DefaultConstruct(void)
MRC_API void MR_std_vector_MR_Vector2d_iterator_Destroy(const MR_std_vector_MR_Vector2d_iterator *_this)
Destroys a heap-allocated instance of MR_std_vector_MR_Vector2d_iterator. Does nothing if the pointer...
MRC_API void MR_std_vector_MR_Vector2d_PushBack(MR_std_vector_MR_Vector2d *_this, MR_Vector2d new_elem)
MRC_API size_t MR_std_vector_MR_Vector2d_Size(const MR_std_vector_MR_Vector2d *_this)
MRC_API void MR_std_vector_MR_Vector2d_Erase(MR_std_vector_MR_Vector2d *_this, size_t position)
MRC_API void MR_std_vector_MR_Vector2d_InsertAtMutableIter(MR_std_vector_MR_Vector2d *_this, const MR_std_vector_MR_Vector2d_iterator *position, MR_Vector2d new_elem)
MRC_API MR_std_vector_MR_Vector2d_const_iterator * MR_std_vector_MR_Vector2d_const_iterator_OffsetMutablePtr(MR_std_vector_MR_Vector2d_const_iterator *ptr, ptrdiff_t i)
MRC_API const MR_Vector2d * MR_std_vector_MR_Vector2d_Back(const MR_std_vector_MR_Vector2d *_this)
MRC_API void MR_std_vector_MR_Vector2d_ResizeWithDefaultValue(MR_std_vector_MR_Vector2d *_this, size_t new_size, const MR_Vector2d *value)
MRC_API MR_std_vector_MR_Vector2d * MR_std_vector_MR_Vector2d_DefaultConstructArray(size_t num_elems)
struct MR_std_vector_MR_Vector2d_iterator MR_std_vector_MR_Vector2d_iterator
Definition std_vector_MR_Vector2d.h:25
MRC_API size_t MR_std_vector_MR_Vector2d_Capacity(const MR_std_vector_MR_Vector2d *_this)
MRC_API void MR_std_vector_MR_Vector2d_const_iterator_DestroyArray(const MR_std_vector_MR_Vector2d_const_iterator *_this)
Destroys a heap-allocated array of MR_std_vector_MR_Vector2d_const_iterator. Does nothing if the poin...
MRC_API void MR_std_vector_MR_Vector2d_ShrinkToFit(MR_std_vector_MR_Vector2d *_this)
MRC_API void MR_std_vector_MR_Vector2d_EraseAtMutableIter(MR_std_vector_MR_Vector2d *_this, const MR_std_vector_MR_Vector2d_iterator *position)
MRC_API void MR_std_vector_MR_Vector2d_EraseAtIter(MR_std_vector_MR_Vector2d *_this, const MR_std_vector_MR_Vector2d_const_iterator *position)
MRC_API MR_Vector2d * MR_std_vector_MR_Vector2d_MutableData(MR_std_vector_MR_Vector2d *_this)
MRC_API MR_std_vector_MR_Vector2d * MR_std_vector_MR_Vector2d_ConstructFromAnother(MR_PassBy other_pass_by, MR_std_vector_MR_Vector2d *other)
MRC_API void MR_std_vector_MR_Vector2d_const_iterator_Incr(MR_std_vector_MR_Vector2d_const_iterator *_this)
MRC_API void MR_std_vector_MR_Vector2d_iterator_OffsetBy(MR_std_vector_MR_Vector2d_iterator *_this, ptrdiff_t delta)
MRC_API void MR_std_vector_MR_Vector2d_const_iterator_Decr(MR_std_vector_MR_Vector2d_const_iterator *_this)
MRC_API MR_std_vector_MR_Vector2d_iterator * MR_std_vector_MR_Vector2d_iterator_DefaultConstruct(void)
MRC_API MR_std_vector_MR_Vector2d_iterator * MR_std_vector_MR_Vector2d_MutableBegin(MR_std_vector_MR_Vector2d *_this)
MRC_API MR_std_vector_MR_Vector2d_const_iterator * MR_std_vector_MR_Vector2d_const_iterator_DefaultConstruct(void)
MRC_API ptrdiff_t MR_std_vector_MR_Vector2d_iterator_Distance(const MR_std_vector_MR_Vector2d_iterator *a, const MR_std_vector_MR_Vector2d_iterator *b)
MRC_API MR_std_vector_MR_Vector2d * MR_std_vector_MR_Vector2d_ConstructFromRange(const MR_Vector2d *ptr, size_t size)
MRC_API MR_std_vector_MR_Vector2d_const_iterator * MR_std_vector_MR_Vector2d_const_iterator_DefaultConstructArray(size_t num_elems)
MRC_API bool MR_std_vector_MR_Vector2d_IsEmpty(const MR_std_vector_MR_Vector2d *_this)
MRC_API MR_std_vector_MR_Vector2d_const_iterator * MR_std_vector_MR_Vector2d_Begin(const MR_std_vector_MR_Vector2d *_this)
MRC_API void MR_std_vector_MR_Vector2d_iterator_AssignFromAnother(MR_std_vector_MR_Vector2d_iterator *_this, const MR_std_vector_MR_Vector2d_iterator *other)
MRC_API void MR_std_vector_MR_Vector2d_const_iterator_OffsetBy(MR_std_vector_MR_Vector2d_const_iterator *_this, ptrdiff_t delta)
MRC_API void MR_std_vector_MR_Vector2d_Clear(MR_std_vector_MR_Vector2d *_this)
MRC_API ptrdiff_t MR_std_vector_MR_Vector2d_ToIndex(const MR_std_vector_MR_Vector2d *_this, const MR_std_vector_MR_Vector2d_const_iterator *iter)
MRC_API const MR_Vector2d * MR_std_vector_MR_Vector2d_Data(const MR_std_vector_MR_Vector2d *_this)
struct MR_std_vector_MR_Vector2d_const_iterator MR_std_vector_MR_Vector2d_const_iterator
Definition std_vector_MR_Vector2d.h:21
MRC_API const MR_std_vector_MR_Vector2d_iterator * MR_std_vector_MR_Vector2d_iterator_OffsetPtr(const MR_std_vector_MR_Vector2d_iterator *ptr, ptrdiff_t i)
MRC_API const MR_std_vector_MR_Vector2d_const_iterator * MR_std_vector_MR_Vector2d_const_iterator_OffsetPtr(const MR_std_vector_MR_Vector2d_const_iterator *ptr, ptrdiff_t i)
MRC_API bool MR_std_vector_MR_Vector2d_IsMutableEnd(MR_std_vector_MR_Vector2d *_this, const MR_std_vector_MR_Vector2d_iterator *iter)
MRC_API void MR_std_vector_MR_Vector2d_DestroyArray(const MR_std_vector_MR_Vector2d *_this)
Destroys a heap-allocated array of MR_std_vector_MR_Vector2d. Does nothing if the pointer is null.
MRC_API const MR_Vector2d * MR_std_vector_MR_Vector2d_const_iterator_Deref(const MR_std_vector_MR_Vector2d_const_iterator *_this)
MRC_API void MR_std_vector_MR_Vector2d_Reserve(MR_std_vector_MR_Vector2d *_this, size_t new_capacity)
MRC_API MR_std_vector_MR_Vector2d_iterator * MR_std_vector_MR_Vector2d_iterator_OffsetMutablePtr(MR_std_vector_MR_Vector2d_iterator *ptr, ptrdiff_t i)
MRC_API ptrdiff_t MR_std_vector_MR_Vector2d_MutableToIndex(const MR_std_vector_MR_Vector2d *_this, const MR_std_vector_MR_Vector2d_iterator *iter)
MRC_API MR_std_vector_MR_Vector2d_const_iterator * MR_std_vector_MR_Vector2d_const_iterator_ConstructFromAnother(const MR_std_vector_MR_Vector2d_const_iterator *other)
MRC_API MR_std_vector_MR_Vector2d_iterator * MR_std_vector_MR_Vector2d_iterator_ConstructFromAnother(const MR_std_vector_MR_Vector2d_iterator *other)
MRC_API MR_std_vector_MR_Vector2d_iterator * MR_std_vector_MR_Vector2d_iterator_DefaultConstructArray(size_t num_elems)
MRC_API bool MR_std_vector_MR_Vector2d_IsMutableBegin(MR_std_vector_MR_Vector2d *_this, const MR_std_vector_MR_Vector2d_iterator *iter)
MRC_API void MR_std_vector_MR_Vector2d_const_iterator_AssignFromAnother(MR_std_vector_MR_Vector2d_const_iterator *_this, const MR_std_vector_MR_Vector2d_const_iterator *other)
MRC_API const MR_std_vector_MR_Vector2d * MR_std_vector_MR_Vector2d_OffsetPtr(const MR_std_vector_MR_Vector2d *ptr, ptrdiff_t i)
MRC_API void MR_std_vector_MR_Vector2d_iterator_Incr(MR_std_vector_MR_Vector2d_iterator *_this)
MRC_API void MR_std_vector_MR_Vector2d_PopBack(MR_std_vector_MR_Vector2d *_this)
MRC_API MR_std_vector_MR_Vector2d * MR_std_vector_MR_Vector2d_OffsetMutablePtr(MR_std_vector_MR_Vector2d *ptr, ptrdiff_t i)
MRC_API void MR_std_vector_MR_Vector2d_iterator_Decr(MR_std_vector_MR_Vector2d_iterator *_this)
MRC_API const MR_Vector2d * MR_std_vector_MR_Vector2d_At(const MR_std_vector_MR_Vector2d *_this, size_t i)
MRC_API void MR_std_vector_MR_Vector2d_iterator_DestroyArray(const MR_std_vector_MR_Vector2d_iterator *_this)
Destroys a heap-allocated array of MR_std_vector_MR_Vector2d_iterator. Does nothing if the pointer is...
MRC_API MR_std_vector_MR_Vector2d_const_iterator * MR_std_vector_MR_Vector2d_const_iterator_FromMutable(const MR_std_vector_MR_Vector2d_iterator *iter)
MRC_API MR_Vector2d * MR_std_vector_MR_Vector2d_iterator_Deref(const MR_std_vector_MR_Vector2d_iterator *_this)
MRC_API const MR_Vector2d * MR_std_vector_MR_Vector2d_Front(const MR_std_vector_MR_Vector2d *_this)
MRC_API MR_std_vector_MR_Vector2d_const_iterator * MR_std_vector_MR_Vector2d_End(const MR_std_vector_MR_Vector2d *_this)
MRC_API void MR_std_vector_MR_Vector2d_const_iterator_Destroy(const MR_std_vector_MR_Vector2d_const_iterator *_this)
Destroys a heap-allocated instance of MR_std_vector_MR_Vector2d_const_iterator. Does nothing if the p...
MRC_API MR_std_vector_MR_Vector2d_iterator * MR_std_vector_MR_Vector2d_MutableEnd(MR_std_vector_MR_Vector2d *_this)
MRC_API ptrdiff_t MR_std_vector_MR_Vector2d_const_iterator_Distance(const MR_std_vector_MR_Vector2d_const_iterator *a, const MR_std_vector_MR_Vector2d_const_iterator *b)
MRC_API void MR_std_vector_MR_Vector2d_InsertAtIter(MR_std_vector_MR_Vector2d *_this, const MR_std_vector_MR_Vector2d_const_iterator *position, MR_Vector2d new_elem)
Definition MRVector2.h:53