Vuo 2.4.2
Loading...
Searching...
No Matches
VuoList_VuoPoint3d.h
Go to the documentation of this file.
1
10#pragma once
11
12#ifdef __cplusplus
13extern "C"
14{
15#endif
16
25// This header is generated by vuo/type/list/generateVariants.sh.
26
27#if defined(DOXYGEN) || !defined(VuoList_VuoPoint3d_TYPE_DEFINED)
29
32typedef const struct VuoList_VuoPoint3d_struct { void *l; } * VuoList_VuoPoint3d;
34#endif
35
40
46VuoList_VuoPoint3d VuoListCreateWithCount_VuoPoint3d(const unsigned long count, const VuoPoint3d value);
47
55VuoList_VuoPoint3d VuoListCreateWithValueArray_VuoPoint3d(const VuoPoint3d *values, const unsigned long valueCount);
56
61
62#ifndef VUO_LIST_INDEX_TO_C_ARRAY_INDEX
63#define VUO_LIST_INDEX_TO_C_ARRAY_INDEX
69static inline unsigned long VuoListIndexToCArrayIndex(long index, unsigned long listCount) __attribute__((const));
70static inline unsigned long VuoListIndexToCArrayIndex(long index, unsigned long listCount)
71{
72 if (index <= 0)
73 return 0;
74
75 if (index > listCount)
76 return listCount - 1;
77
78 return index - 1;
79}
80#endif
81
90VuoPoint3d VuoListGetValue_VuoPoint3d(const VuoList_VuoPoint3d list, const unsigned long index);
91
108VuoPoint3d *VuoListGetData_VuoPoint3d(const VuoList_VuoPoint3d list);
109
118void VuoListForeach_VuoPoint3d(const VuoList_VuoPoint3d list, bool (^function)(const VuoPoint3d value));
119
130void VuoListSetValue_VuoPoint3d(const VuoList_VuoPoint3d list, const VuoPoint3d value, const unsigned long index, bool expandListIfNeeded);
131
138void VuoListInsertValue_VuoPoint3d(const VuoList_VuoPoint3d list, const VuoPoint3d value, const unsigned long index);
139
143void VuoListPrependValue_VuoPoint3d(VuoList_VuoPoint3d list, const VuoPoint3d value);
144
148void VuoListAppendValue_VuoPoint3d(VuoList_VuoPoint3d list, const VuoPoint3d value);
149
153void VuoListExchangeValues_VuoPoint3d(VuoList_VuoPoint3d list, const unsigned long indexA, const unsigned long indexB);
154
155#ifdef VuoPoint3d_SUPPORTS_COMPARISON
159void VuoListSort_VuoPoint3d(VuoList_VuoPoint3d list);
160
166bool VuoList_VuoPoint3d_areEqual(const VuoList_VuoPoint3d a, const VuoList_VuoPoint3d b);
167
171bool VuoList_VuoPoint3d_isLessThan(const VuoList_VuoPoint3d a, const VuoList_VuoPoint3d b);
172#endif
173
179void VuoListShuffle_VuoPoint3d(VuoList_VuoPoint3d list, const double chaos);
180
185
191VuoList_VuoPoint3d VuoListSubset_VuoPoint3d(VuoList_VuoPoint3d list, const signed long startIndex, const unsigned long itemCount);
192
193#ifdef VuoPoint3d_SUPPORTS_COMPARISON
201VuoList_VuoPoint3d VuoListRemoveDuplicates_VuoPoint3d(VuoList_VuoPoint3d list);
202#endif
203
208
213
218
224void VuoListRemoveValue_VuoPoint3d(VuoList_VuoPoint3d list, const unsigned long index);
225
229unsigned long VuoListGetCount_VuoPoint3d(const VuoList_VuoPoint3d list);
230
239
244
245#ifdef VuoPoint3d_REQUIRES_INTERPROCESS_JSON
251struct json_object * VuoList_VuoPoint3d_getInterprocessJson(const VuoList_VuoPoint3d value);
252#endif
253
258
263
268
270
275
280#ifdef __cplusplus
281}
282#endif