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
39
43
46
49
52
55
59
63
67
71
75
80
84
88
92
96
101
106
110
114
118
122
126
130
134
138
142
146
151
156
161
166
171
176
181
186
191
196
201
206
211
216
220
225
230
235
238
241
244
247
252
256
261
266
271
274
277
280
283
288
292
296
300
305
310
314
318
322
327
328#ifdef __cplusplus
329} // extern "C"
330#endif
struct MR_std_vector_MR_Vector2d MR_std_vector_MR_Vector2d
Definition MRContour.h:10
MR_PassBy
Definition common.h:19
#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)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
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)
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_Vector2d_const_iterator * MR_std_vector_MR_Vector2d_const_iterator_OffsetPtr(const MR_std_vector_MR_Vector2d_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 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)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
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)
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_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)
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_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:52