MeshLib C Docs
Loading...
Searching...
No Matches
std_vector_MR_CurvePoint.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_CurvePoint MR_CurvePoint; // Defined in `#include <MRCMesh/MRCurve.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
120
124
129
133
139
144
150
155
160
165
170
175
180
185
190
195
200
205
209
214
219
224
227
230
233
236
241
245
250
255
260
263
266
269
272
277
281
285
289
294
299
303
307
311
316
317#ifdef __cplusplus
318} // extern "C"
319#endif
struct MR_CurvePoint MR_CurvePoint
Definition MRCurve.h:15
MR_PassBy
Definition common.h:23
#define MRC_API
Definition exports.h:11
MRC_API const MR_std_vector_MR_CurvePoint * MR_std_vector_MR_CurvePoint_OffsetPtr(const MR_std_vector_MR_CurvePoint *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_std_vector_MR_CurvePoint_const_iterator * MR_std_vector_MR_CurvePoint_const_iterator_ConstructFromAnother(const MR_std_vector_MR_CurvePoint_const_iterator *other)
MRC_API ptrdiff_t MR_std_vector_MR_CurvePoint_iterator_Distance(const MR_std_vector_MR_CurvePoint_iterator *a, const MR_std_vector_MR_CurvePoint_iterator *b)
MRC_API void MR_std_vector_MR_CurvePoint_const_iterator_Decr(MR_std_vector_MR_CurvePoint_const_iterator *_this)
MRC_API const MR_std_vector_MR_CurvePoint_const_iterator * MR_std_vector_MR_CurvePoint_const_iterator_OffsetPtr(const MR_std_vector_MR_CurvePoint_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 void MR_std_vector_MR_CurvePoint_iterator_Decr(MR_std_vector_MR_CurvePoint_iterator *_this)
MRC_API void MR_std_vector_MR_CurvePoint_iterator_DestroyArray(const MR_std_vector_MR_CurvePoint_iterator *_this)
Destroys a heap-allocated array of MR_std_vector_MR_CurvePoint_iterator. Does nothing if the pointer ...
MRC_API void MR_std_vector_MR_CurvePoint_Reserve(MR_std_vector_MR_CurvePoint *_this, size_t new_capacity)
MRC_API void MR_std_vector_MR_CurvePoint_Erase(MR_std_vector_MR_CurvePoint *_this, size_t position)
MRC_API void MR_std_vector_MR_CurvePoint_ShrinkToFit(MR_std_vector_MR_CurvePoint *_this)
MRC_API MR_std_vector_MR_CurvePoint_const_iterator * MR_std_vector_MR_CurvePoint_Begin(const MR_std_vector_MR_CurvePoint *_this)
MRC_API MR_CurvePoint * MR_std_vector_MR_CurvePoint_MutableFront(MR_std_vector_MR_CurvePoint *_this)
MRC_API MR_CurvePoint * MR_std_vector_MR_CurvePoint_MutableAt(MR_std_vector_MR_CurvePoint *_this, size_t i)
MRC_API void MR_std_vector_MR_CurvePoint_iterator_Destroy(const MR_std_vector_MR_CurvePoint_iterator *_this)
Destroys a heap-allocated instance of MR_std_vector_MR_CurvePoint_iterator. Does nothing if the point...
MRC_API void MR_std_vector_MR_CurvePoint_const_iterator_AssignFromAnother(MR_std_vector_MR_CurvePoint_const_iterator *_this, const MR_std_vector_MR_CurvePoint_const_iterator *other)
MRC_API void MR_std_vector_MR_CurvePoint_EraseAtIter(MR_std_vector_MR_CurvePoint *_this, const MR_std_vector_MR_CurvePoint_const_iterator *position)
struct MR_std_vector_MR_CurvePoint_const_iterator MR_std_vector_MR_CurvePoint_const_iterator
Definition std_vector_MR_CurvePoint.h:22
MRC_API MR_std_vector_MR_CurvePoint_const_iterator * MR_std_vector_MR_CurvePoint_const_iterator_FromMutable(const MR_std_vector_MR_CurvePoint_iterator *iter)
MRC_API void MR_std_vector_MR_CurvePoint_ResizeWithDefaultValue(MR_std_vector_MR_CurvePoint *_this, size_t new_size, const MR_CurvePoint *value)
MRC_API void MR_std_vector_MR_CurvePoint_const_iterator_Destroy(const MR_std_vector_MR_CurvePoint_const_iterator *_this)
Destroys a heap-allocated instance of MR_std_vector_MR_CurvePoint_const_iterator. Does nothing if the...
MRC_API void MR_std_vector_MR_CurvePoint_const_iterator_Incr(MR_std_vector_MR_CurvePoint_const_iterator *_this)
MRC_API MR_std_vector_MR_CurvePoint * MR_std_vector_MR_CurvePoint_ConstructFromAnother(MR_PassBy other_pass_by, MR_std_vector_MR_CurvePoint *other)
struct MR_std_vector_MR_CurvePoint MR_std_vector_MR_CurvePoint
Definition std_vector_MR_CurvePoint.h:18
MRC_API MR_std_vector_MR_CurvePoint * MR_std_vector_MR_CurvePoint_OffsetMutablePtr(MR_std_vector_MR_CurvePoint *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_CurvePoint_MutableToIndex(const MR_std_vector_MR_CurvePoint *_this, const MR_std_vector_MR_CurvePoint_iterator *iter)
MRC_API const MR_CurvePoint * MR_std_vector_MR_CurvePoint_Front(const MR_std_vector_MR_CurvePoint *_this)
MRC_API MR_std_vector_MR_CurvePoint_iterator * MR_std_vector_MR_CurvePoint_iterator_DefaultConstructArray(size_t num_elems)
MRC_API void MR_std_vector_MR_CurvePoint_Destroy(const MR_std_vector_MR_CurvePoint *_this)
Destroys a heap-allocated instance of MR_std_vector_MR_CurvePoint. Does nothing if the pointer is nul...
MRC_API size_t MR_std_vector_MR_CurvePoint_Capacity(const MR_std_vector_MR_CurvePoint *_this)
MRC_API size_t MR_std_vector_MR_CurvePoint_Size(const MR_std_vector_MR_CurvePoint *_this)
MRC_API bool MR_std_vector_MR_CurvePoint_IsBegin(const MR_std_vector_MR_CurvePoint *_this, const MR_std_vector_MR_CurvePoint_const_iterator *iter)
MRC_API MR_std_vector_MR_CurvePoint_const_iterator * MR_std_vector_MR_CurvePoint_const_iterator_DefaultConstruct(void)
MRC_API void MR_std_vector_MR_CurvePoint_Clear(MR_std_vector_MR_CurvePoint *_this)
MRC_API void MR_std_vector_MR_CurvePoint_iterator_OffsetBy(MR_std_vector_MR_CurvePoint_iterator *_this, ptrdiff_t delta)
MRC_API MR_CurvePoint * MR_std_vector_MR_CurvePoint_iterator_Deref(const MR_std_vector_MR_CurvePoint_iterator *_this)
MRC_API const MR_CurvePoint * MR_std_vector_MR_CurvePoint_Back(const MR_std_vector_MR_CurvePoint *_this)
MRC_API void MR_std_vector_MR_CurvePoint_Insert(MR_std_vector_MR_CurvePoint *_this, size_t position, const MR_CurvePoint *new_elem)
MRC_API void MR_std_vector_MR_CurvePoint_Resize(MR_std_vector_MR_CurvePoint *_this, size_t new_size)
MRC_API void MR_std_vector_MR_CurvePoint_InsertAtIter(MR_std_vector_MR_CurvePoint *_this, const MR_std_vector_MR_CurvePoint_const_iterator *position, const MR_CurvePoint *new_elem)
MRC_API void MR_std_vector_MR_CurvePoint_InsertAtMutableIter(MR_std_vector_MR_CurvePoint *_this, const MR_std_vector_MR_CurvePoint_iterator *position, const MR_CurvePoint *new_elem)
MRC_API void MR_std_vector_MR_CurvePoint_const_iterator_OffsetBy(MR_std_vector_MR_CurvePoint_const_iterator *_this, ptrdiff_t delta)
MRC_API MR_std_vector_MR_CurvePoint_iterator * MR_std_vector_MR_CurvePoint_MutableEnd(MR_std_vector_MR_CurvePoint *_this)
MRC_API void MR_std_vector_MR_CurvePoint_PushBack(MR_std_vector_MR_CurvePoint *_this, const MR_CurvePoint *new_elem)
MRC_API bool MR_std_vector_MR_CurvePoint_IsMutableBegin(MR_std_vector_MR_CurvePoint *_this, const MR_std_vector_MR_CurvePoint_iterator *iter)
MRC_API MR_std_vector_MR_CurvePoint_const_iterator * MR_std_vector_MR_CurvePoint_End(const MR_std_vector_MR_CurvePoint *_this)
MRC_API MR_std_vector_MR_CurvePoint_iterator * MR_std_vector_MR_CurvePoint_iterator_OffsetMutablePtr(MR_std_vector_MR_CurvePoint_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_CurvePoint_PopBack(MR_std_vector_MR_CurvePoint *_this)
MRC_API const MR_CurvePoint * MR_std_vector_MR_CurvePoint_const_iterator_Deref(const MR_std_vector_MR_CurvePoint_const_iterator *_this)
MRC_API void MR_std_vector_MR_CurvePoint_AssignFromAnother(MR_std_vector_MR_CurvePoint *_this, MR_PassBy other_pass_by, MR_std_vector_MR_CurvePoint *other)
MRC_API ptrdiff_t MR_std_vector_MR_CurvePoint_const_iterator_Distance(const MR_std_vector_MR_CurvePoint_const_iterator *a, const MR_std_vector_MR_CurvePoint_const_iterator *b)
MRC_API MR_CurvePoint * MR_std_vector_MR_CurvePoint_MutableBack(MR_std_vector_MR_CurvePoint *_this)
MRC_API void MR_std_vector_MR_CurvePoint_EraseAtMutableIter(MR_std_vector_MR_CurvePoint *_this, const MR_std_vector_MR_CurvePoint_iterator *position)
MRC_API bool MR_std_vector_MR_CurvePoint_IsMutableEnd(MR_std_vector_MR_CurvePoint *_this, const MR_std_vector_MR_CurvePoint_iterator *iter)
MRC_API MR_std_vector_MR_CurvePoint_const_iterator * MR_std_vector_MR_CurvePoint_const_iterator_DefaultConstructArray(size_t num_elems)
MRC_API ptrdiff_t MR_std_vector_MR_CurvePoint_ToIndex(const MR_std_vector_MR_CurvePoint *_this, const MR_std_vector_MR_CurvePoint_const_iterator *iter)
MRC_API MR_std_vector_MR_CurvePoint * MR_std_vector_MR_CurvePoint_DefaultConstructArray(size_t num_elems)
MRC_API bool MR_std_vector_MR_CurvePoint_IsEnd(const MR_std_vector_MR_CurvePoint *_this, const MR_std_vector_MR_CurvePoint_const_iterator *iter)
MRC_API bool MR_std_vector_MR_CurvePoint_IsEmpty(const MR_std_vector_MR_CurvePoint *_this)
MRC_API const MR_std_vector_MR_CurvePoint_iterator * MR_std_vector_MR_CurvePoint_iterator_OffsetPtr(const MR_std_vector_MR_CurvePoint_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...
struct MR_std_vector_MR_CurvePoint_iterator MR_std_vector_MR_CurvePoint_iterator
Definition std_vector_MR_CurvePoint.h:26
MRC_API const MR_CurvePoint * MR_std_vector_MR_CurvePoint_At(const MR_std_vector_MR_CurvePoint *_this, size_t i)
MRC_API void MR_std_vector_MR_CurvePoint_DestroyArray(const MR_std_vector_MR_CurvePoint *_this)
Destroys a heap-allocated array of MR_std_vector_MR_CurvePoint. Does nothing if the pointer is null.
MRC_API void MR_std_vector_MR_CurvePoint_iterator_Incr(MR_std_vector_MR_CurvePoint_iterator *_this)
MRC_API MR_std_vector_MR_CurvePoint_iterator * MR_std_vector_MR_CurvePoint_MutableBegin(MR_std_vector_MR_CurvePoint *_this)
MRC_API MR_std_vector_MR_CurvePoint * MR_std_vector_MR_CurvePoint_DefaultConstruct(void)
MRC_API MR_std_vector_MR_CurvePoint_const_iterator * MR_std_vector_MR_CurvePoint_const_iterator_OffsetMutablePtr(MR_std_vector_MR_CurvePoint_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 void MR_std_vector_MR_CurvePoint_iterator_AssignFromAnother(MR_std_vector_MR_CurvePoint_iterator *_this, const MR_std_vector_MR_CurvePoint_iterator *other)
MRC_API void MR_std_vector_MR_CurvePoint_const_iterator_DestroyArray(const MR_std_vector_MR_CurvePoint_const_iterator *_this)
Destroys a heap-allocated array of MR_std_vector_MR_CurvePoint_const_iterator. Does nothing if the po...
MRC_API MR_std_vector_MR_CurvePoint_iterator * MR_std_vector_MR_CurvePoint_iterator_DefaultConstruct(void)
MRC_API MR_std_vector_MR_CurvePoint_iterator * MR_std_vector_MR_CurvePoint_iterator_ConstructFromAnother(const MR_std_vector_MR_CurvePoint_iterator *other)