@crossbind/port-spatialite-wasm 2.0.0-beta.50

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (78) hide show
  1. package/LICENSE +35 -0
  2. package/README.md +12 -0
  3. package/config.guess +1823 -0
  4. package/config.sub +1885 -0
  5. package/crossbind.build.js +1 -0
  6. package/crossbind.config.js +11 -0
  7. package/dist/prebuilt/CMakeLists.txt +57 -0
  8. package/dist/prebuilt/wasm-wasm32-mt-release/crossbind-emccflags.fingerprint +1 -0
  9. package/dist/prebuilt/wasm-wasm32-mt-release/include/spatialite/control_points.h +259 -0
  10. package/dist/prebuilt/wasm-wasm32-mt-release/include/spatialite/debug.h +77 -0
  11. package/dist/prebuilt/wasm-wasm32-mt-release/include/spatialite/gaia_network.h +627 -0
  12. package/dist/prebuilt/wasm-wasm32-mt-release/include/spatialite/gaia_topology.h +1221 -0
  13. package/dist/prebuilt/wasm-wasm32-mt-release/include/spatialite/gaiaaux.h +540 -0
  14. package/dist/prebuilt/wasm-wasm32-mt-release/include/spatialite/gaiaconfig-msvc.h +56 -0
  15. package/dist/prebuilt/wasm-wasm32-mt-release/include/spatialite/gaiaconfig-msvc.h.in +55 -0
  16. package/dist/prebuilt/wasm-wasm32-mt-release/include/spatialite/gaiaconfig.h +68 -0
  17. package/dist/prebuilt/wasm-wasm32-mt-release/include/spatialite/gaiaconfig.h.in +67 -0
  18. package/dist/prebuilt/wasm-wasm32-mt-release/include/spatialite/gaiaexif.h +669 -0
  19. package/dist/prebuilt/wasm-wasm32-mt-release/include/spatialite/gaiageo.h +77 -0
  20. package/dist/prebuilt/wasm-wasm32-mt-release/include/spatialite/gaiamatrix.h +277 -0
  21. package/dist/prebuilt/wasm-wasm32-mt-release/include/spatialite/geojson.h +586 -0
  22. package/dist/prebuilt/wasm-wasm32-mt-release/include/spatialite/geopackage.h +198 -0
  23. package/dist/prebuilt/wasm-wasm32-mt-release/include/spatialite/gg_advanced.h +5184 -0
  24. package/dist/prebuilt/wasm-wasm32-mt-release/include/spatialite/gg_const.h +606 -0
  25. package/dist/prebuilt/wasm-wasm32-mt-release/include/spatialite/gg_core.h +2294 -0
  26. package/dist/prebuilt/wasm-wasm32-mt-release/include/spatialite/gg_dxf.h +993 -0
  27. package/dist/prebuilt/wasm-wasm32-mt-release/include/spatialite/gg_dynamic.h +416 -0
  28. package/dist/prebuilt/wasm-wasm32-mt-release/include/spatialite/gg_formats.h +2056 -0
  29. package/dist/prebuilt/wasm-wasm32-mt-release/include/spatialite/gg_mbr.h +606 -0
  30. package/dist/prebuilt/wasm-wasm32-mt-release/include/spatialite/gg_sequence.h +173 -0
  31. package/dist/prebuilt/wasm-wasm32-mt-release/include/spatialite/gg_structs.h +880 -0
  32. package/dist/prebuilt/wasm-wasm32-mt-release/include/spatialite/gg_wfs.h +581 -0
  33. package/dist/prebuilt/wasm-wasm32-mt-release/include/spatialite/gg_xml.h +818 -0
  34. package/dist/prebuilt/wasm-wasm32-mt-release/include/spatialite/spatialite_ext.h +64 -0
  35. package/dist/prebuilt/wasm-wasm32-mt-release/include/spatialite/sqlite.h +70 -0
  36. package/dist/prebuilt/wasm-wasm32-mt-release/include/spatialite/stored_procedures.h +641 -0
  37. package/dist/prebuilt/wasm-wasm32-mt-release/include/spatialite.h +2098 -0
  38. package/dist/prebuilt/wasm-wasm32-mt-release/lib/libspatialite.a +0 -0
  39. package/dist/prebuilt/wasm-wasm32-mt-release/lib/libspatialite.la +41 -0
  40. package/dist/prebuilt/wasm-wasm32-mt-release/lib/mod_spatialite.a +0 -0
  41. package/dist/prebuilt/wasm-wasm32-mt-release/lib/mod_spatialite.la +41 -0
  42. package/dist/prebuilt/wasm-wasm32-mt-release/lib/pkgconfig/spatialite.pc +12 -0
  43. package/dist/prebuilt/wasm-wasm32-st-release/crossbind-emccflags.fingerprint +1 -0
  44. package/dist/prebuilt/wasm-wasm32-st-release/include/spatialite/control_points.h +259 -0
  45. package/dist/prebuilt/wasm-wasm32-st-release/include/spatialite/debug.h +77 -0
  46. package/dist/prebuilt/wasm-wasm32-st-release/include/spatialite/gaia_network.h +627 -0
  47. package/dist/prebuilt/wasm-wasm32-st-release/include/spatialite/gaia_topology.h +1221 -0
  48. package/dist/prebuilt/wasm-wasm32-st-release/include/spatialite/gaiaaux.h +540 -0
  49. package/dist/prebuilt/wasm-wasm32-st-release/include/spatialite/gaiaconfig-msvc.h +56 -0
  50. package/dist/prebuilt/wasm-wasm32-st-release/include/spatialite/gaiaconfig-msvc.h.in +55 -0
  51. package/dist/prebuilt/wasm-wasm32-st-release/include/spatialite/gaiaconfig.h +68 -0
  52. package/dist/prebuilt/wasm-wasm32-st-release/include/spatialite/gaiaconfig.h.in +67 -0
  53. package/dist/prebuilt/wasm-wasm32-st-release/include/spatialite/gaiaexif.h +669 -0
  54. package/dist/prebuilt/wasm-wasm32-st-release/include/spatialite/gaiageo.h +77 -0
  55. package/dist/prebuilt/wasm-wasm32-st-release/include/spatialite/gaiamatrix.h +277 -0
  56. package/dist/prebuilt/wasm-wasm32-st-release/include/spatialite/geojson.h +586 -0
  57. package/dist/prebuilt/wasm-wasm32-st-release/include/spatialite/geopackage.h +198 -0
  58. package/dist/prebuilt/wasm-wasm32-st-release/include/spatialite/gg_advanced.h +5184 -0
  59. package/dist/prebuilt/wasm-wasm32-st-release/include/spatialite/gg_const.h +606 -0
  60. package/dist/prebuilt/wasm-wasm32-st-release/include/spatialite/gg_core.h +2294 -0
  61. package/dist/prebuilt/wasm-wasm32-st-release/include/spatialite/gg_dxf.h +993 -0
  62. package/dist/prebuilt/wasm-wasm32-st-release/include/spatialite/gg_dynamic.h +416 -0
  63. package/dist/prebuilt/wasm-wasm32-st-release/include/spatialite/gg_formats.h +2056 -0
  64. package/dist/prebuilt/wasm-wasm32-st-release/include/spatialite/gg_mbr.h +606 -0
  65. package/dist/prebuilt/wasm-wasm32-st-release/include/spatialite/gg_sequence.h +173 -0
  66. package/dist/prebuilt/wasm-wasm32-st-release/include/spatialite/gg_structs.h +880 -0
  67. package/dist/prebuilt/wasm-wasm32-st-release/include/spatialite/gg_wfs.h +581 -0
  68. package/dist/prebuilt/wasm-wasm32-st-release/include/spatialite/gg_xml.h +818 -0
  69. package/dist/prebuilt/wasm-wasm32-st-release/include/spatialite/spatialite_ext.h +64 -0
  70. package/dist/prebuilt/wasm-wasm32-st-release/include/spatialite/sqlite.h +70 -0
  71. package/dist/prebuilt/wasm-wasm32-st-release/include/spatialite/stored_procedures.h +641 -0
  72. package/dist/prebuilt/wasm-wasm32-st-release/include/spatialite.h +2098 -0
  73. package/dist/prebuilt/wasm-wasm32-st-release/lib/libspatialite.a +0 -0
  74. package/dist/prebuilt/wasm-wasm32-st-release/lib/libspatialite.la +41 -0
  75. package/dist/prebuilt/wasm-wasm32-st-release/lib/mod_spatialite.a +0 -0
  76. package/dist/prebuilt/wasm-wasm32-st-release/lib/mod_spatialite.la +41 -0
  77. package/dist/prebuilt/wasm-wasm32-st-release/lib/pkgconfig/spatialite.pc +12 -0
  78. package/package.json +39 -0
@@ -0,0 +1,416 @@
1
+ /*
2
+ gg_dynamic.h -- Gaia common support for geometries: DynamicLine functions
3
+
4
+ version 5.1.0, 2023 August 4
5
+
6
+ Author: Sandro Furieri a.furieri@lqt.it
7
+
8
+ ------------------------------------------------------------------------------
9
+
10
+ Version: MPL 1.1/GPL 2.0/LGPL 2.1
11
+
12
+ The contents of this file are subject to the Mozilla Public License Version
13
+ 1.1 (the "License"); you may not use this file except in compliance with
14
+ the License. You may obtain a copy of the License at
15
+ http://www.mozilla.org/MPL/
16
+
17
+ Software distributed under the License is distributed on an "AS IS" basis,
18
+ WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
19
+ for the specific language governing rights and limitations under the
20
+ License.
21
+
22
+ The Original Code is the SpatiaLite library
23
+
24
+ The Initial Developer of the Original Code is Alessandro Furieri
25
+
26
+ Portions created by the Initial Developer are Copyright (C) 2008-2023
27
+ the Initial Developer. All Rights Reserved.
28
+
29
+ Contributor(s):
30
+
31
+
32
+ Alternatively, the contents of this file may be used under the terms of
33
+ either the GNU General Public License Version 2 or later (the "GPL"), or
34
+ the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
35
+ in which case the provisions of the GPL or the LGPL are applicable instead
36
+ of those above. If you wish to allow use of your version of this file only
37
+ under the terms of either the GPL or the LGPL, and not to allow others to
38
+ use your version of this file under the terms of the MPL, indicate your
39
+ decision by deleting the provisions above and replace them with the notice
40
+ and other provisions required by the GPL or the LGPL. If you do not delete
41
+ the provisions above, a recipient may use your version of this file under
42
+ the terms of any one of the MPL, the GPL or the LGPL.
43
+
44
+ */
45
+
46
+
47
+ /**
48
+ \file gg_dynamic.h
49
+
50
+ Geometry handling functions: DynamicLine handling
51
+ */
52
+
53
+ #ifndef _GG_DYNAMIC
54
+ #ifndef DOXYGEN_SHOULD_SKIP_THIS
55
+ #define _GG_DYNAMIC
56
+ #endif
57
+
58
+ #ifdef __cplusplus
59
+ extern "C"
60
+ {
61
+ #endif
62
+
63
+ /* function prototypes */
64
+
65
+ /**
66
+ Creates a new dynamicly growing line/ring object
67
+
68
+ \return the pointer to newly created object
69
+
70
+ \sa gaiaCreateDynamicLine, gaiaFreeDynamicLine
71
+
72
+ \note you are responsible to destroy (before or after) any allocated
73
+ dynamically growing line/ring object.
74
+ */
75
+ GAIAGEO_DECLARE gaiaDynamicLinePtr gaiaAllocDynamicLine (void);
76
+
77
+ /**
78
+ Destroys a dynamically growing line/ring object
79
+
80
+ \param p pointer to object to be destroyed
81
+
82
+ \sa gaiaAllocDynamicLine
83
+ */
84
+ GAIAGEO_DECLARE void gaiaFreeDynamicLine (gaiaDynamicLinePtr p);
85
+
86
+ /**
87
+ Appends a new 2D Point [XY] at the end of a dynamically growing line/ring
88
+ object
89
+
90
+ \param p pointer to the dynamically growing line/ring object.
91
+ \param x X coordinate of the Point
92
+ \param y Y coordinate of the Point
93
+
94
+ \return the pointer to newly created Point
95
+ */
96
+ GAIAGEO_DECLARE gaiaPointPtr
97
+ gaiaAppendPointToDynamicLine (gaiaDynamicLinePtr p, double x, double y);
98
+
99
+ /**
100
+ Appends a new 3D Point [XYZ] at the end of a dynamically growing line/ring
101
+ object
102
+
103
+ \param p pointer to the dynamically growing line/ring object.
104
+ \param x X coordinate of the Point
105
+ \param y Y coordinate of the Point
106
+ \param z Z coordinate of the Point
107
+
108
+ \return the pointer to newly created Point
109
+ */
110
+ GAIAGEO_DECLARE gaiaPointPtr
111
+ gaiaAppendPointZToDynamicLine (gaiaDynamicLinePtr p, double x,
112
+ double y, double z);
113
+
114
+ /**
115
+ Appends a new 2D Point [XYM] at the end of a dynamically growing line/ring
116
+ object
117
+
118
+ \param p pointer to the dynamically growing line/ring object.
119
+ \param x X coordinate of the Point
120
+ \param y Y coordinate of the Point
121
+ \param m M measure of the Point
122
+
123
+ \return the pointer to newly created Point
124
+ */
125
+ GAIAGEO_DECLARE gaiaPointPtr
126
+ gaiaAppendPointMToDynamicLine (gaiaDynamicLinePtr p, double x,
127
+ double y, double m);
128
+
129
+ /**
130
+ Appends a new 3D Point [XYZM] at the end of a dynamically growing line/ring
131
+ object
132
+
133
+ \param p pointer to the dynamically growing line/ring object.
134
+ \param x X coordinate of the Point
135
+ \param y Y coordinate of the Point
136
+ \param z Z coordinate of the Point
137
+ \param m M measure of the Point
138
+
139
+ \return the pointer to newly created Point
140
+ */
141
+ GAIAGEO_DECLARE gaiaPointPtr
142
+ gaiaAppendPointZMToDynamicLine (gaiaDynamicLinePtr p, double x,
143
+ double y, double z, double m);
144
+
145
+ /**
146
+ Appends a new 2D Point [XY] before the first one of a dynamically growing
147
+ line/ring object
148
+
149
+ \param p pointer to the dynamically growing line/ring object.
150
+ \param x X coordinate of the Point
151
+ \param y Y coordinate of the Point
152
+
153
+ \return the pointer to newly created Point
154
+ */
155
+ GAIAGEO_DECLARE gaiaPointPtr
156
+ gaiaPrependPointToDynamicLine (gaiaDynamicLinePtr p, double x,
157
+ double y);
158
+
159
+ /**
160
+ Appends a new 3D Point [XYZ] before the first one of a dynamically growing
161
+ line/ring object
162
+
163
+ \param p pointer to the dynamically growing line/ring object.
164
+ \param x X coordinate of the Point
165
+ \param y Y coordinate of the Point
166
+ \param z Z coordinate of the Point
167
+
168
+ \return the pointer to newly created Point
169
+ */
170
+ GAIAGEO_DECLARE gaiaPointPtr
171
+ gaiaPrependPointZToDynamicLine (gaiaDynamicLinePtr p, double x,
172
+ double y, double z);
173
+
174
+ /**
175
+ Appends a new 2D Point [XYM] before the first one of a dynamically growing
176
+ line/ring object
177
+
178
+ \param p pointer to the dynamically growing line/ring object.
179
+ \param x X coordinate of the Point
180
+ \param y Y coordinate of the Point
181
+ \param m M measure of the Point
182
+
183
+ \return the pointer to newly created Point
184
+ */
185
+ GAIAGEO_DECLARE gaiaPointPtr
186
+ gaiaPrependPointMToDynamicLine (gaiaDynamicLinePtr p, double x,
187
+ double y, double m);
188
+
189
+ /**
190
+ Appends a new 3D Point [XYZM] before the first one of a dynamically growing
191
+ line/ring object
192
+
193
+ \param p pointer to the dynamically growing line/ring object.
194
+ \param x X coordinate of the Point
195
+ \param y Y coordinate of the Point
196
+ \param z Z coordinate of the Point
197
+ \param m M measure of the Point
198
+
199
+ \return the pointer to newly created Point
200
+ */
201
+ GAIAGEO_DECLARE gaiaPointPtr
202
+ gaiaPrependPointZMToDynamicLine (gaiaDynamicLinePtr p, double x,
203
+ double y, double z, double m);
204
+
205
+ /**
206
+ Appends a new 2D Point [XY] immediately after the given Point into a
207
+ dynamically growing line/ring object
208
+
209
+ \param p pointer to the dynamically growing line/ring object.
210
+ \param pt pointer to the given Point.
211
+ \param x X coordinate of the Point to be appended
212
+ \param y Y coordinate of the Point to be appended
213
+
214
+ \sa gaiaDynamicLiceInsertBefore
215
+
216
+ \return the pointer to newly created Point
217
+ */
218
+ GAIAGEO_DECLARE gaiaPointPtr
219
+ gaiaDynamicLineInsertAfter (gaiaDynamicLinePtr p, gaiaPointPtr pt,
220
+ double x, double y);
221
+
222
+ /**
223
+ Appends a new 2D Point [XY] immediately before the given Point into a
224
+ dynamically growing line/ring object
225
+
226
+ \param p pointer to the dynamically growing line/ring object.
227
+ \param pt pointer to the given Point.
228
+ \param x X coordinate of the Point to be appended
229
+ \param y Y coordinate of the Point to be appended
230
+
231
+ \sa gaiaDynamicLiceInsertBeforeAfter
232
+
233
+ \return the pointer to newly created Point
234
+ */
235
+ GAIAGEO_DECLARE gaiaPointPtr
236
+ gaiaDynamicLineInsertBefore (gaiaDynamicLinePtr p, gaiaPointPtr pt,
237
+ double x, double y);
238
+
239
+ /**
240
+ Removes a given Point from a dynamically growing line/ring object
241
+
242
+ \param p pointer to dynamically growing line/ring object.
243
+ \param pt pointer to given Point.
244
+
245
+ \note the given Point (referenced by its address) will be removed from
246
+ the dynamically growin line/ring object.
247
+ \n the given Point will be then implicitly destroyed.
248
+ */
249
+ GAIAGEO_DECLARE void gaiaDynamicLineDeletePoint (gaiaDynamicLinePtr p,
250
+ gaiaPointPtr pt);
251
+
252
+ /**
253
+ Duplicates a dynamically growing line/ring object
254
+
255
+ \param org pointer to dynamically growing line/ring object [origin].
256
+
257
+ \return the pointer to newly created dynamic growing line/ring object:
258
+ NULL on failure.
259
+
260
+ \note the newly created object is an exact copy of the original one.
261
+ */
262
+ GAIAGEO_DECLARE gaiaDynamicLinePtr
263
+ gaiaCloneDynamicLine (gaiaDynamicLinePtr org);
264
+
265
+ /**
266
+ Duplicates and reverts a dynamically growing line/ring object
267
+
268
+ \param org pointer to dynamically growing line/ring object [origin].
269
+
270
+ \return the pointer to newly created dynamic growing line/ring object:
271
+ NULL on failure.
272
+
273
+ \note the newly created object is an exact copy of the origina one, except
274
+ in that direction is reverted.
275
+ \n i.e. first inpunt point becomes last output point, and last input point
276
+ becomes first output point.
277
+ */
278
+ GAIAGEO_DECLARE gaiaDynamicLinePtr
279
+ gaiaReverseDynamicLine (gaiaDynamicLinePtr org);
280
+
281
+ /**
282
+ Cuts a dynamically growing line/ring in two halves, using a given
283
+ cut point
284
+
285
+ \param org pointer to the input object [the line to be split].
286
+ \param point pointer to given cut point.
287
+
288
+ \return the pointer to newly created dynamic growing line/ring object:
289
+ NULL on failure.
290
+
291
+ \sa gaiaDynamicLineSplitAfter
292
+
293
+ \note the newly created object will contain a line going from the orginal
294
+ first point to the cut point [excluded].
295
+ \n on completion the orginal line will be reduced, going from the cut
296
+ point [included] to the original last point.
297
+ */
298
+ GAIAGEO_DECLARE gaiaDynamicLinePtr
299
+ gaiaDynamicLineSplitBefore (gaiaDynamicLinePtr org, gaiaPointPtr point);
300
+
301
+ /**
302
+ Cuts a dynamically growing line/ring in two halves, using a given
303
+ cut point
304
+
305
+ \param org pointer to the input object [the line to be split].
306
+ \param point pointer to given cut point.
307
+
308
+ \return the pointer to newly created dynamic growing line/ring object:
309
+ NULL on failure.
310
+
311
+ \sa gaiaDynamicLineSplitBefore
312
+
313
+ \note the newly created object will contain a line going from the orginal
314
+ first point to the cut point [included].
315
+ \n on completion the orginal line will be reduced, going from the cut
316
+ point [excluded] to the original last point.
317
+ */
318
+ GAIAGEO_DECLARE gaiaDynamicLinePtr
319
+ gaiaDynamicLineSplitAfter (gaiaDynamicLinePtr org, gaiaPointPtr point);
320
+
321
+ /**
322
+ Merges two dynamically growing line/ring object into a single one
323
+
324
+ \param org pointer to the first input object [first line].
325
+ \param point pointer to the reference Point object.
326
+ \param toJoin pointer to the second input object [second line].
327
+
328
+ \return the pointer to newly created dynamically growing line/ring object
329
+ [merged line]: NULL on failure.
330
+
331
+ \sa gaiaDynamicLineJoinBefore
332
+
333
+ \note the reference Point must exists into the first line: the second line
334
+ will then be inserted immediately after the reference Point.
335
+ \n The newly created object will represent the resulting merged line:
336
+ \n both input objects remain untouched.
337
+ */
338
+ GAIAGEO_DECLARE gaiaDynamicLinePtr
339
+ gaiaDynamicLineJoinAfter (gaiaDynamicLinePtr org, gaiaPointPtr point,
340
+ gaiaDynamicLinePtr toJoin);
341
+
342
+ /**
343
+ Merges two dynamically growing line/ring object into a single one
344
+
345
+ \param org pointer to the first input object [first line].
346
+ \param point pointer to the reference Point object.
347
+ \param toJoin pointer to the second input object [second line].
348
+
349
+ \return the pointer to newly created dynamically growing line/ring object
350
+ [merged line]: NULL on failure.
351
+
352
+ \sa gaiaDynamicLineJoinAfter
353
+
354
+ \note the reference Point must exists into the first line: the second line
355
+ will then be inserted immediately before the reference Point.
356
+ \n The newly created object will represent the resulting merged line:
357
+ \n both input objects remain untouched.
358
+ */
359
+ GAIAGEO_DECLARE gaiaDynamicLinePtr
360
+ gaiaDynamicLineJoinBefore (gaiaDynamicLinePtr org, gaiaPointPtr point,
361
+ gaiaDynamicLinePtr toJoin);
362
+
363
+ /**
364
+ Finds a Point within a dymically growing line/ring object [by coords]
365
+
366
+ \param p pointer to dymamically line/ring object.
367
+ \param x Point X coordinate.
368
+ \param y Point Y coordinate.
369
+
370
+ \return the pointer to the corresponding Point object: NULL on failure.
371
+
372
+ \sa gaiaDynamicLineFindByPos
373
+
374
+ \note if the line object contains more Points sharing the same coordinates,
375
+ a reference to the first one found will be returned.
376
+ */
377
+ GAIAGEO_DECLARE gaiaPointPtr
378
+ gaiaDynamicLineFindByCoords (gaiaDynamicLinePtr p, double x, double y);
379
+
380
+ /**
381
+ Finds a Point within a dymically growing line/ring object [by position]
382
+
383
+ \param p pointer to dymamically line/ring object.
384
+ \param pos relative position [first Point has index 0].
385
+
386
+ \return the pointer to the corresponding Point object: NULL on failure.
387
+
388
+ \sa gaiaDynamicLineFindByCoords
389
+ */
390
+ GAIAGEO_DECLARE gaiaPointPtr gaiaDynamicLineFindByPos (gaiaDynamicLinePtr
391
+ p, int pos);
392
+
393
+ /**
394
+ Creates a new dynamicly growing line/ring object
395
+
396
+ \param coords an array of COORDs, any dimension [XY, XYZ, XYM, XYZM]
397
+ \param points number of points [aka vertices] into the array
398
+
399
+ \return the pointer to newly created object
400
+
401
+ \sa gaiaAllocDynamicLine, gaiaFreeDynamicLine, gaiaLinestringStruct,
402
+ gaiaRingStruct
403
+
404
+ \note you are responsible to destroy (before or after) any allocated
405
+ dynamically growing line/ring object.
406
+ \n The COORDs array is usually expected to be one found within a
407
+ gaiaLinestring or gaiaRing object.
408
+ */
409
+ GAIAGEO_DECLARE gaiaDynamicLinePtr gaiaCreateDynamicLine (double *coords,
410
+ int points);
411
+
412
+ #ifdef __cplusplus
413
+ }
414
+ #endif
415
+
416
+ #endif /* _GG_DYNAMIC */