node-red-contrib-tak-registration 0.16.0 → 0.16.3

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 (1065) hide show
  1. package/node_modules/@turf/along/README.md +3 -1
  2. package/node_modules/@turf/along/dist/cjs/index.cjs +2 -2
  3. package/node_modules/@turf/along/dist/cjs/index.cjs.map +1 -1
  4. package/node_modules/@turf/along/dist/cjs/index.d.cts +1 -1
  5. package/node_modules/@turf/along/dist/esm/index.d.ts +1 -1
  6. package/node_modules/@turf/along/dist/esm/index.js +2 -2
  7. package/node_modules/@turf/along/dist/esm/index.js.map +1 -1
  8. package/node_modules/@turf/along/package.json +12 -12
  9. package/node_modules/@turf/angle/dist/cjs/index.cjs +2 -2
  10. package/node_modules/@turf/angle/dist/cjs/index.cjs.map +1 -1
  11. package/node_modules/@turf/angle/dist/esm/index.js +2 -2
  12. package/node_modules/@turf/angle/dist/esm/index.js.map +1 -1
  13. package/node_modules/@turf/angle/package.json +16 -16
  14. package/node_modules/@turf/area/dist/cjs/index.cjs +2 -2
  15. package/node_modules/@turf/area/dist/cjs/index.cjs.map +1 -1
  16. package/node_modules/@turf/area/dist/esm/index.js +2 -2
  17. package/node_modules/@turf/area/dist/esm/index.js.map +1 -1
  18. package/node_modules/@turf/area/package.json +10 -10
  19. package/node_modules/@turf/bbox/dist/cjs/index.cjs +2 -2
  20. package/node_modules/@turf/bbox/dist/cjs/index.cjs.map +1 -1
  21. package/node_modules/@turf/bbox/dist/esm/index.js +2 -2
  22. package/node_modules/@turf/bbox/dist/esm/index.js.map +1 -1
  23. package/node_modules/@turf/bbox/package.json +9 -9
  24. package/node_modules/@turf/bbox-clip/dist/cjs/index.cjs +2 -2
  25. package/node_modules/@turf/bbox-clip/dist/cjs/index.cjs.map +1 -1
  26. package/node_modules/@turf/bbox-clip/dist/esm/index.js +2 -2
  27. package/node_modules/@turf/bbox-clip/dist/esm/index.js.map +1 -1
  28. package/node_modules/@turf/bbox-clip/package.json +11 -11
  29. package/node_modules/@turf/bbox-polygon/dist/cjs/index.cjs +2 -2
  30. package/node_modules/@turf/bbox-polygon/dist/cjs/index.cjs.map +1 -1
  31. package/node_modules/@turf/bbox-polygon/dist/esm/index.js +2 -2
  32. package/node_modules/@turf/bbox-polygon/dist/esm/index.js.map +1 -1
  33. package/node_modules/@turf/bbox-polygon/package.json +8 -8
  34. package/node_modules/@turf/bearing/dist/cjs/index.cjs +2 -2
  35. package/node_modules/@turf/bearing/dist/cjs/index.cjs.map +1 -1
  36. package/node_modules/@turf/bearing/dist/esm/index.js +2 -2
  37. package/node_modules/@turf/bearing/dist/esm/index.js.map +1 -1
  38. package/node_modules/@turf/bearing/package.json +11 -11
  39. package/node_modules/@turf/bezier-spline/dist/cjs/index.cjs +2 -2
  40. package/node_modules/@turf/bezier-spline/dist/cjs/index.cjs.map +1 -1
  41. package/node_modules/@turf/bezier-spline/dist/esm/index.js +2 -2
  42. package/node_modules/@turf/bezier-spline/dist/esm/index.js.map +1 -1
  43. package/node_modules/@turf/bezier-spline/package.json +10 -10
  44. package/node_modules/@turf/boolean-clockwise/dist/cjs/index.cjs +2 -2
  45. package/node_modules/@turf/boolean-clockwise/dist/cjs/index.cjs.map +1 -1
  46. package/node_modules/@turf/boolean-clockwise/dist/esm/index.js +2 -2
  47. package/node_modules/@turf/boolean-clockwise/dist/esm/index.js.map +1 -1
  48. package/node_modules/@turf/boolean-clockwise/package.json +10 -10
  49. package/node_modules/@turf/boolean-concave/dist/cjs/index.cjs +2 -2
  50. package/node_modules/@turf/boolean-concave/dist/cjs/index.cjs.map +1 -1
  51. package/node_modules/@turf/boolean-concave/dist/esm/index.js +2 -2
  52. package/node_modules/@turf/boolean-concave/dist/esm/index.js.map +1 -1
  53. package/node_modules/@turf/boolean-concave/package.json +10 -10
  54. package/node_modules/@turf/boolean-contains/dist/cjs/index.cjs +2 -2
  55. package/node_modules/@turf/boolean-contains/dist/cjs/index.cjs.map +1 -1
  56. package/node_modules/@turf/boolean-contains/dist/esm/index.js +2 -2
  57. package/node_modules/@turf/boolean-contains/dist/esm/index.js.map +1 -1
  58. package/node_modules/@turf/boolean-contains/package.json +13 -13
  59. package/node_modules/@turf/boolean-crosses/dist/cjs/index.cjs +2 -2
  60. package/node_modules/@turf/boolean-crosses/dist/cjs/index.cjs.map +1 -1
  61. package/node_modules/@turf/boolean-crosses/dist/esm/index.js +2 -2
  62. package/node_modules/@turf/boolean-crosses/dist/esm/index.js.map +1 -1
  63. package/node_modules/@turf/boolean-crosses/package.json +13 -13
  64. package/node_modules/@turf/boolean-disjoint/dist/cjs/index.cjs +2 -2
  65. package/node_modules/@turf/boolean-disjoint/dist/cjs/index.cjs.map +1 -1
  66. package/node_modules/@turf/boolean-disjoint/dist/esm/index.js +2 -2
  67. package/node_modules/@turf/boolean-disjoint/dist/esm/index.js.map +1 -1
  68. package/node_modules/@turf/boolean-disjoint/package.json +12 -12
  69. package/node_modules/@turf/boolean-equal/dist/cjs/index.cjs +2 -2
  70. package/node_modules/@turf/boolean-equal/dist/cjs/index.cjs.map +1 -1
  71. package/node_modules/@turf/boolean-equal/dist/esm/index.js +2 -2
  72. package/node_modules/@turf/boolean-equal/dist/esm/index.js.map +1 -1
  73. package/node_modules/@turf/boolean-equal/package.json +11 -11
  74. package/node_modules/@turf/boolean-intersects/README.md +1 -1
  75. package/node_modules/@turf/boolean-intersects/dist/cjs/index.cjs +2 -2
  76. package/node_modules/@turf/boolean-intersects/dist/cjs/index.cjs.map +1 -1
  77. package/node_modules/@turf/boolean-intersects/dist/esm/index.js +2 -2
  78. package/node_modules/@turf/boolean-intersects/dist/esm/index.js.map +1 -1
  79. package/node_modules/@turf/boolean-intersects/package.json +10 -10
  80. package/node_modules/@turf/boolean-overlap/dist/cjs/index.cjs +2 -2
  81. package/node_modules/@turf/boolean-overlap/dist/cjs/index.cjs.map +1 -1
  82. package/node_modules/@turf/boolean-overlap/dist/esm/index.js +2 -2
  83. package/node_modules/@turf/boolean-overlap/dist/esm/index.js.map +1 -1
  84. package/node_modules/@turf/boolean-overlap/package.json +13 -13
  85. package/node_modules/@turf/boolean-parallel/dist/cjs/index.cjs +2 -2
  86. package/node_modules/@turf/boolean-parallel/dist/cjs/index.cjs.map +1 -1
  87. package/node_modules/@turf/boolean-parallel/dist/esm/index.js +2 -2
  88. package/node_modules/@turf/boolean-parallel/dist/esm/index.js.map +1 -1
  89. package/node_modules/@turf/boolean-parallel/package.json +12 -12
  90. package/node_modules/@turf/boolean-point-in-polygon/dist/cjs/index.cjs +2 -2
  91. package/node_modules/@turf/boolean-point-in-polygon/dist/cjs/index.cjs.map +1 -1
  92. package/node_modules/@turf/boolean-point-in-polygon/dist/esm/index.js +2 -2
  93. package/node_modules/@turf/boolean-point-in-polygon/dist/esm/index.js.map +1 -1
  94. package/node_modules/@turf/boolean-point-in-polygon/package.json +9 -9
  95. package/node_modules/@turf/boolean-point-on-line/dist/cjs/index.cjs +2 -2
  96. package/node_modules/@turf/boolean-point-on-line/dist/cjs/index.cjs.map +1 -1
  97. package/node_modules/@turf/boolean-point-on-line/dist/esm/index.js +2 -2
  98. package/node_modules/@turf/boolean-point-on-line/dist/esm/index.js.map +1 -1
  99. package/node_modules/@turf/boolean-point-on-line/package.json +11 -11
  100. package/node_modules/@turf/boolean-touches/dist/cjs/index.cjs +2 -2
  101. package/node_modules/@turf/boolean-touches/dist/cjs/index.cjs.map +1 -1
  102. package/node_modules/@turf/boolean-touches/dist/esm/index.js +2 -2
  103. package/node_modules/@turf/boolean-touches/dist/esm/index.js.map +1 -1
  104. package/node_modules/@turf/boolean-touches/package.json +12 -12
  105. package/node_modules/@turf/boolean-valid/dist/cjs/index.cjs +2 -2
  106. package/node_modules/@turf/boolean-valid/dist/cjs/index.cjs.map +1 -1
  107. package/node_modules/@turf/boolean-valid/dist/esm/index.js +2 -2
  108. package/node_modules/@turf/boolean-valid/dist/esm/index.js.map +1 -1
  109. package/node_modules/@turf/boolean-valid/package.json +17 -17
  110. package/node_modules/@turf/boolean-within/dist/cjs/index.cjs +2 -2
  111. package/node_modules/@turf/boolean-within/dist/cjs/index.cjs.map +1 -1
  112. package/node_modules/@turf/boolean-within/dist/esm/index.js +2 -2
  113. package/node_modules/@turf/boolean-within/dist/esm/index.js.map +1 -1
  114. package/node_modules/@turf/boolean-within/package.json +13 -13
  115. package/node_modules/@turf/buffer/README.md +3 -3
  116. package/node_modules/@turf/buffer/dist/cjs/index.cjs +2 -2
  117. package/node_modules/@turf/buffer/dist/cjs/index.cjs.map +1 -1
  118. package/node_modules/@turf/buffer/dist/esm/index.js +2 -2
  119. package/node_modules/@turf/buffer/dist/esm/index.js.map +1 -1
  120. package/node_modules/@turf/buffer/package.json +13 -13
  121. package/node_modules/@turf/center/dist/cjs/index.cjs +2 -2
  122. package/node_modules/@turf/center/dist/cjs/index.cjs.map +1 -1
  123. package/node_modules/@turf/center/dist/esm/index.js +2 -2
  124. package/node_modules/@turf/center/dist/esm/index.js.map +1 -1
  125. package/node_modules/@turf/center/package.json +13 -13
  126. package/node_modules/@turf/center-mean/dist/cjs/index.cjs +2 -2
  127. package/node_modules/@turf/center-mean/dist/cjs/index.cjs.map +1 -1
  128. package/node_modules/@turf/center-mean/dist/esm/index.js +2 -2
  129. package/node_modules/@turf/center-mean/dist/esm/index.js.map +1 -1
  130. package/node_modules/@turf/center-mean/package.json +14 -14
  131. package/node_modules/@turf/center-median/dist/cjs/index.cjs +2 -2
  132. package/node_modules/@turf/center-median/dist/cjs/index.cjs.map +1 -1
  133. package/node_modules/@turf/center-median/dist/esm/index.js +2 -2
  134. package/node_modules/@turf/center-median/dist/esm/index.js.map +1 -1
  135. package/node_modules/@turf/center-median/package.json +17 -17
  136. package/node_modules/@turf/center-of-mass/dist/cjs/index.cjs +2 -2
  137. package/node_modules/@turf/center-of-mass/dist/cjs/index.cjs.map +1 -1
  138. package/node_modules/@turf/center-of-mass/dist/esm/index.js +2 -2
  139. package/node_modules/@turf/center-of-mass/dist/esm/index.js.map +1 -1
  140. package/node_modules/@turf/center-of-mass/package.json +14 -14
  141. package/node_modules/@turf/centroid/dist/cjs/index.cjs +2 -2
  142. package/node_modules/@turf/centroid/dist/cjs/index.cjs.map +1 -1
  143. package/node_modules/@turf/centroid/dist/esm/index.js +2 -2
  144. package/node_modules/@turf/centroid/dist/esm/index.js.map +1 -1
  145. package/node_modules/@turf/centroid/package.json +11 -11
  146. package/node_modules/@turf/circle/README.md +13 -13
  147. package/node_modules/@turf/circle/dist/cjs/index.cjs +2 -2
  148. package/node_modules/@turf/circle/dist/cjs/index.cjs.map +1 -1
  149. package/node_modules/@turf/circle/dist/cjs/index.d.cts +2 -2
  150. package/node_modules/@turf/circle/dist/esm/index.d.ts +2 -2
  151. package/node_modules/@turf/circle/dist/esm/index.js +2 -2
  152. package/node_modules/@turf/circle/dist/esm/index.js.map +1 -1
  153. package/node_modules/@turf/circle/package.json +11 -11
  154. package/node_modules/@turf/clean-coords/dist/cjs/index.cjs +33 -49
  155. package/node_modules/@turf/clean-coords/dist/cjs/index.cjs.map +1 -1
  156. package/node_modules/@turf/clean-coords/dist/esm/index.js +33 -49
  157. package/node_modules/@turf/clean-coords/dist/esm/index.js.map +1 -1
  158. package/node_modules/@turf/clean-coords/package.json +15 -12
  159. package/node_modules/@turf/clone/dist/cjs/index.cjs +2 -2
  160. package/node_modules/@turf/clone/dist/cjs/index.cjs.map +1 -1
  161. package/node_modules/@turf/clone/dist/esm/index.js +2 -2
  162. package/node_modules/@turf/clone/dist/esm/index.js.map +1 -1
  163. package/node_modules/@turf/clone/package.json +9 -9
  164. package/node_modules/@turf/clusters/package.json +9 -9
  165. package/node_modules/@turf/clusters-dbscan/README.md +2 -2
  166. package/node_modules/@turf/clusters-dbscan/dist/cjs/index.cjs +3 -8
  167. package/node_modules/@turf/clusters-dbscan/dist/cjs/index.cjs.map +1 -1
  168. package/node_modules/@turf/clusters-dbscan/dist/cjs/index.d.cts +1 -1
  169. package/node_modules/@turf/clusters-dbscan/dist/esm/index.d.ts +1 -1
  170. package/node_modules/@turf/clusters-dbscan/dist/esm/index.js +4 -9
  171. package/node_modules/@turf/clusters-dbscan/dist/esm/index.js.map +1 -1
  172. package/node_modules/@turf/clusters-dbscan/package.json +15 -15
  173. package/node_modules/@turf/clusters-kmeans/dist/cjs/index.cjs +2 -2
  174. package/node_modules/@turf/clusters-kmeans/dist/cjs/index.cjs.map +1 -1
  175. package/node_modules/@turf/clusters-kmeans/dist/cjs/index.d.cts +1 -1
  176. package/node_modules/@turf/clusters-kmeans/dist/esm/index.d.ts +1 -1
  177. package/node_modules/@turf/clusters-kmeans/dist/esm/index.js +2 -2
  178. package/node_modules/@turf/clusters-kmeans/dist/esm/index.js.map +1 -1
  179. package/node_modules/@turf/clusters-kmeans/package.json +15 -15
  180. package/node_modules/@turf/collect/dist/cjs/index.cjs +3 -8
  181. package/node_modules/@turf/collect/dist/cjs/index.cjs.map +1 -1
  182. package/node_modules/@turf/collect/dist/esm/index.js +3 -8
  183. package/node_modules/@turf/collect/dist/esm/index.js.map +1 -1
  184. package/node_modules/@turf/collect/package.json +11 -11
  185. package/node_modules/@turf/combine/dist/cjs/index.cjs +2 -2
  186. package/node_modules/@turf/combine/dist/cjs/index.cjs.map +1 -1
  187. package/node_modules/@turf/combine/dist/esm/index.js +2 -2
  188. package/node_modules/@turf/combine/dist/esm/index.js.map +1 -1
  189. package/node_modules/@turf/combine/package.json +9 -9
  190. package/node_modules/@turf/concave/README.md +2 -2
  191. package/node_modules/@turf/concave/dist/cjs/index.cjs +2 -2
  192. package/node_modules/@turf/concave/dist/cjs/index.cjs.map +1 -1
  193. package/node_modules/@turf/concave/dist/cjs/index.d.cts +1 -1
  194. package/node_modules/@turf/concave/dist/esm/index.d.ts +1 -1
  195. package/node_modules/@turf/concave/dist/esm/index.js +2 -2
  196. package/node_modules/@turf/concave/dist/esm/index.js.map +1 -1
  197. package/node_modules/@turf/concave/package.json +14 -14
  198. package/node_modules/@turf/convex/dist/cjs/index.cjs +2 -2
  199. package/node_modules/@turf/convex/dist/cjs/index.cjs.map +1 -1
  200. package/node_modules/@turf/convex/dist/esm/index.js +2 -2
  201. package/node_modules/@turf/convex/dist/esm/index.js.map +1 -1
  202. package/node_modules/@turf/convex/package.json +11 -11
  203. package/node_modules/@turf/destination/README.md +2 -2
  204. package/node_modules/@turf/destination/dist/cjs/index.cjs +5 -2
  205. package/node_modules/@turf/destination/dist/cjs/index.cjs.map +1 -1
  206. package/node_modules/@turf/destination/dist/cjs/index.d.cts +1 -1
  207. package/node_modules/@turf/destination/dist/esm/index.d.ts +1 -1
  208. package/node_modules/@turf/destination/dist/esm/index.js +5 -2
  209. package/node_modules/@turf/destination/dist/esm/index.js.map +1 -1
  210. package/node_modules/@turf/destination/package.json +14 -11
  211. package/node_modules/@turf/difference/dist/cjs/index.cjs +2 -2
  212. package/node_modules/@turf/difference/dist/cjs/index.cjs.map +1 -1
  213. package/node_modules/@turf/difference/dist/esm/index.js +2 -2
  214. package/node_modules/@turf/difference/dist/esm/index.js.map +1 -1
  215. package/node_modules/@turf/difference/package.json +11 -11
  216. package/node_modules/@turf/dissolve/dist/cjs/index.cjs +2 -2
  217. package/node_modules/@turf/dissolve/dist/cjs/index.cjs.map +1 -1
  218. package/node_modules/@turf/dissolve/dist/esm/index.js +2 -2
  219. package/node_modules/@turf/dissolve/dist/esm/index.js.map +1 -1
  220. package/node_modules/@turf/dissolve/package.json +12 -12
  221. package/node_modules/@turf/distance/README.md +2 -2
  222. package/node_modules/@turf/distance/dist/cjs/index.cjs +2 -2
  223. package/node_modules/@turf/distance/dist/cjs/index.cjs.map +1 -1
  224. package/node_modules/@turf/distance/dist/cjs/index.d.cts +1 -1
  225. package/node_modules/@turf/distance/dist/esm/index.d.ts +1 -1
  226. package/node_modules/@turf/distance/dist/esm/index.js +2 -2
  227. package/node_modules/@turf/distance/dist/esm/index.js.map +1 -1
  228. package/node_modules/@turf/distance/package.json +10 -10
  229. package/node_modules/@turf/distance-weight/dist/cjs/index.cjs +2 -2
  230. package/node_modules/@turf/distance-weight/dist/cjs/index.cjs.map +1 -1
  231. package/node_modules/@turf/distance-weight/dist/esm/index.js +2 -2
  232. package/node_modules/@turf/distance-weight/dist/esm/index.js.map +1 -1
  233. package/node_modules/@turf/distance-weight/package.json +12 -12
  234. package/node_modules/@turf/ellipse/README.md +2 -2
  235. package/node_modules/@turf/ellipse/dist/cjs/index.cjs +62 -39
  236. package/node_modules/@turf/ellipse/dist/cjs/index.cjs.map +1 -1
  237. package/node_modules/@turf/ellipse/dist/cjs/index.d.cts +1 -1
  238. package/node_modules/@turf/ellipse/dist/esm/index.d.ts +1 -1
  239. package/node_modules/@turf/ellipse/dist/esm/index.js +64 -41
  240. package/node_modules/@turf/ellipse/dist/esm/index.js.map +1 -1
  241. package/node_modules/@turf/ellipse/package.json +21 -18
  242. package/node_modules/@turf/envelope/dist/cjs/index.cjs +2 -2
  243. package/node_modules/@turf/envelope/dist/cjs/index.cjs.map +1 -1
  244. package/node_modules/@turf/envelope/dist/esm/index.js +2 -2
  245. package/node_modules/@turf/envelope/dist/esm/index.js.map +1 -1
  246. package/node_modules/@turf/envelope/package.json +10 -10
  247. package/node_modules/@turf/explode/dist/cjs/index.cjs +2 -2
  248. package/node_modules/@turf/explode/dist/cjs/index.cjs.map +1 -1
  249. package/node_modules/@turf/explode/dist/esm/index.js +2 -2
  250. package/node_modules/@turf/explode/dist/esm/index.js.map +1 -1
  251. package/node_modules/@turf/explode/package.json +10 -10
  252. package/node_modules/@turf/flatten/dist/cjs/index.cjs +2 -2
  253. package/node_modules/@turf/flatten/dist/cjs/index.cjs.map +1 -1
  254. package/node_modules/@turf/flatten/dist/esm/index.js +2 -2
  255. package/node_modules/@turf/flatten/dist/esm/index.js.map +1 -1
  256. package/node_modules/@turf/flatten/package.json +10 -10
  257. package/node_modules/@turf/flip/dist/cjs/index.cjs +2 -2
  258. package/node_modules/@turf/flip/dist/cjs/index.cjs.map +1 -1
  259. package/node_modules/@turf/flip/dist/esm/index.js +2 -2
  260. package/node_modules/@turf/flip/dist/esm/index.js.map +1 -1
  261. package/node_modules/@turf/flip/package.json +11 -11
  262. package/node_modules/@turf/geojson-rbush/dist/cjs/index.cjs +2 -2
  263. package/node_modules/@turf/geojson-rbush/dist/cjs/index.cjs.map +1 -1
  264. package/node_modules/@turf/geojson-rbush/dist/esm/index.js +2 -2
  265. package/node_modules/@turf/geojson-rbush/dist/esm/index.js.map +1 -1
  266. package/node_modules/@turf/geojson-rbush/package.json +12 -12
  267. package/node_modules/@turf/great-circle/dist/cjs/index.cjs +3 -3
  268. package/node_modules/@turf/great-circle/dist/cjs/index.cjs.map +1 -1
  269. package/node_modules/@turf/great-circle/dist/esm/index.js +3 -3
  270. package/node_modules/@turf/great-circle/dist/esm/index.js.map +1 -1
  271. package/node_modules/@turf/great-circle/package.json +10 -10
  272. package/node_modules/@turf/helpers/README.md +1 -1
  273. package/node_modules/@turf/helpers/dist/cjs/index.cjs.map +1 -1
  274. package/node_modules/@turf/helpers/dist/cjs/index.d.cts +1 -1
  275. package/node_modules/@turf/helpers/dist/esm/index.d.ts +1 -1
  276. package/node_modules/@turf/helpers/dist/esm/index.js.map +1 -1
  277. package/node_modules/@turf/helpers/package.json +7 -7
  278. package/node_modules/@turf/hex-grid/README.md +7 -5
  279. package/node_modules/@turf/hex-grid/dist/cjs/index.cjs +2 -2
  280. package/node_modules/@turf/hex-grid/dist/cjs/index.cjs.map +1 -1
  281. package/node_modules/@turf/hex-grid/dist/cjs/index.d.cts +4 -4
  282. package/node_modules/@turf/hex-grid/dist/esm/index.d.ts +4 -4
  283. package/node_modules/@turf/hex-grid/dist/esm/index.js +2 -2
  284. package/node_modules/@turf/hex-grid/dist/esm/index.js.map +1 -1
  285. package/node_modules/@turf/hex-grid/package.json +14 -14
  286. package/node_modules/@turf/interpolate/README.md +7 -5
  287. package/node_modules/@turf/interpolate/dist/cjs/index.cjs +2 -2
  288. package/node_modules/@turf/interpolate/dist/cjs/index.cjs.map +1 -1
  289. package/node_modules/@turf/interpolate/dist/esm/index.js +2 -2
  290. package/node_modules/@turf/interpolate/dist/esm/index.js.map +1 -1
  291. package/node_modules/@turf/interpolate/package.json +19 -19
  292. package/node_modules/@turf/intersect/dist/cjs/index.cjs +2 -2
  293. package/node_modules/@turf/intersect/dist/cjs/index.cjs.map +1 -1
  294. package/node_modules/@turf/intersect/dist/esm/index.js +2 -2
  295. package/node_modules/@turf/intersect/dist/esm/index.js.map +1 -1
  296. package/node_modules/@turf/intersect/package.json +11 -11
  297. package/node_modules/@turf/invariant/package.json +8 -8
  298. package/node_modules/@turf/isobands/README.md +1 -1
  299. package/node_modules/@turf/isobands/dist/cjs/index.cjs +313 -9
  300. package/node_modules/@turf/isobands/dist/cjs/index.cjs.map +1 -1
  301. package/node_modules/@turf/isobands/dist/cjs/index.d.cts +1 -1
  302. package/node_modules/@turf/isobands/dist/esm/index.d.ts +1 -1
  303. package/node_modules/@turf/isobands/dist/esm/index.js +313 -9
  304. package/node_modules/@turf/isobands/dist/esm/index.js.map +1 -1
  305. package/node_modules/@turf/isobands/package.json +22 -22
  306. package/node_modules/@turf/isolines/README.md +1 -1
  307. package/node_modules/@turf/isolines/dist/cjs/index.cjs +192 -7
  308. package/node_modules/@turf/isolines/dist/cjs/index.cjs.map +1 -1
  309. package/node_modules/@turf/isolines/dist/cjs/index.d.cts +1 -1
  310. package/node_modules/@turf/isolines/dist/esm/index.d.ts +1 -1
  311. package/node_modules/@turf/isolines/dist/esm/index.js +192 -7
  312. package/node_modules/@turf/isolines/dist/esm/index.js.map +1 -1
  313. package/node_modules/@turf/isolines/package.json +19 -19
  314. package/node_modules/@turf/kinks/dist/cjs/index.cjs +2 -2
  315. package/node_modules/@turf/kinks/dist/cjs/index.cjs.map +1 -1
  316. package/node_modules/@turf/kinks/dist/esm/index.js +2 -2
  317. package/node_modules/@turf/kinks/dist/esm/index.js.map +1 -1
  318. package/node_modules/@turf/kinks/package.json +10 -10
  319. package/node_modules/@turf/length/README.md +2 -2
  320. package/node_modules/@turf/length/dist/cjs/index.cjs +2 -2
  321. package/node_modules/@turf/length/dist/cjs/index.cjs.map +1 -1
  322. package/node_modules/@turf/length/dist/cjs/index.d.cts +1 -1
  323. package/node_modules/@turf/length/dist/esm/index.d.ts +1 -1
  324. package/node_modules/@turf/length/dist/esm/index.js +2 -2
  325. package/node_modules/@turf/length/dist/esm/index.js.map +1 -1
  326. package/node_modules/@turf/length/package.json +11 -11
  327. package/node_modules/@turf/line-arc/README.md +2 -2
  328. package/node_modules/@turf/line-arc/dist/cjs/index.cjs +2 -2
  329. package/node_modules/@turf/line-arc/dist/cjs/index.cjs.map +1 -1
  330. package/node_modules/@turf/line-arc/dist/cjs/index.d.cts +1 -1
  331. package/node_modules/@turf/line-arc/dist/esm/index.d.ts +1 -1
  332. package/node_modules/@turf/line-arc/dist/esm/index.js +2 -2
  333. package/node_modules/@turf/line-arc/dist/esm/index.js.map +1 -1
  334. package/node_modules/@turf/line-arc/package.json +12 -12
  335. package/node_modules/@turf/line-chunk/README.md +2 -2
  336. package/node_modules/@turf/line-chunk/dist/cjs/index.cjs +2 -2
  337. package/node_modules/@turf/line-chunk/dist/cjs/index.cjs.map +1 -1
  338. package/node_modules/@turf/line-chunk/dist/esm/index.js +2 -2
  339. package/node_modules/@turf/line-chunk/dist/esm/index.js.map +1 -1
  340. package/node_modules/@turf/line-chunk/package.json +12 -12
  341. package/node_modules/@turf/line-intersect/dist/cjs/index.cjs +2 -2
  342. package/node_modules/@turf/line-intersect/dist/cjs/index.cjs.map +1 -1
  343. package/node_modules/@turf/line-intersect/dist/esm/index.js +2 -2
  344. package/node_modules/@turf/line-intersect/dist/esm/index.js.map +1 -1
  345. package/node_modules/@turf/line-intersect/package.json +10 -10
  346. package/node_modules/@turf/line-offset/README.md +2 -2
  347. package/node_modules/@turf/line-offset/dist/cjs/index.cjs +2 -2
  348. package/node_modules/@turf/line-offset/dist/cjs/index.cjs.map +1 -1
  349. package/node_modules/@turf/line-offset/dist/esm/index.js +2 -2
  350. package/node_modules/@turf/line-offset/dist/esm/index.js.map +1 -1
  351. package/node_modules/@turf/line-offset/package.json +11 -11
  352. package/node_modules/@turf/line-overlap/dist/cjs/index.cjs +2 -2
  353. package/node_modules/@turf/line-overlap/dist/cjs/index.cjs.map +1 -1
  354. package/node_modules/@turf/line-overlap/dist/esm/index.js +2 -2
  355. package/node_modules/@turf/line-overlap/dist/esm/index.js.map +1 -1
  356. package/node_modules/@turf/line-overlap/package.json +15 -15
  357. package/node_modules/@turf/line-segment/dist/cjs/index.cjs +2 -2
  358. package/node_modules/@turf/line-segment/dist/cjs/index.cjs.map +1 -1
  359. package/node_modules/@turf/line-segment/dist/esm/index.js +2 -2
  360. package/node_modules/@turf/line-segment/dist/esm/index.js.map +1 -1
  361. package/node_modules/@turf/line-segment/package.json +11 -11
  362. package/node_modules/@turf/line-slice/dist/cjs/index.cjs +2 -2
  363. package/node_modules/@turf/line-slice/dist/cjs/index.cjs.map +1 -1
  364. package/node_modules/@turf/line-slice/dist/esm/index.js +2 -2
  365. package/node_modules/@turf/line-slice/dist/esm/index.js.map +1 -1
  366. package/node_modules/@turf/line-slice/package.json +11 -11
  367. package/node_modules/@turf/line-slice-along/README.md +2 -2
  368. package/node_modules/@turf/line-slice-along/dist/cjs/index.cjs +2 -2
  369. package/node_modules/@turf/line-slice-along/dist/cjs/index.cjs.map +1 -1
  370. package/node_modules/@turf/line-slice-along/dist/esm/index.js +2 -2
  371. package/node_modules/@turf/line-slice-along/dist/esm/index.js.map +1 -1
  372. package/node_modules/@turf/line-slice-along/package.json +12 -12
  373. package/node_modules/@turf/line-split/README.md +4 -1
  374. package/node_modules/@turf/line-split/dist/cjs/index.cjs +2 -7
  375. package/node_modules/@turf/line-split/dist/cjs/index.cjs.map +1 -1
  376. package/node_modules/@turf/line-split/dist/esm/index.js +2 -7
  377. package/node_modules/@turf/line-split/dist/esm/index.js.map +1 -1
  378. package/node_modules/@turf/line-split/package.json +16 -17
  379. package/node_modules/@turf/line-to-polygon/dist/cjs/index.cjs +2 -2
  380. package/node_modules/@turf/line-to-polygon/dist/cjs/index.cjs.map +1 -1
  381. package/node_modules/@turf/line-to-polygon/dist/esm/index.js +2 -2
  382. package/node_modules/@turf/line-to-polygon/dist/esm/index.js.map +1 -1
  383. package/node_modules/@turf/line-to-polygon/package.json +12 -12
  384. package/node_modules/@turf/mask/dist/cjs/index.cjs +2 -2
  385. package/node_modules/@turf/mask/dist/cjs/index.cjs.map +1 -1
  386. package/node_modules/@turf/mask/dist/esm/index.js +2 -2
  387. package/node_modules/@turf/mask/dist/esm/index.js.map +1 -1
  388. package/node_modules/@turf/mask/package.json +10 -10
  389. package/node_modules/@turf/meta/package.json +7 -7
  390. package/node_modules/@turf/midpoint/dist/cjs/index.cjs +2 -2
  391. package/node_modules/@turf/midpoint/dist/cjs/index.cjs.map +1 -1
  392. package/node_modules/@turf/midpoint/dist/esm/index.js +2 -2
  393. package/node_modules/@turf/midpoint/dist/esm/index.js.map +1 -1
  394. package/node_modules/@turf/midpoint/package.json +11 -11
  395. package/node_modules/@turf/moran-index/dist/cjs/index.cjs +2 -2
  396. package/node_modules/@turf/moran-index/dist/cjs/index.cjs.map +1 -1
  397. package/node_modules/@turf/moran-index/dist/esm/index.js +2 -2
  398. package/node_modules/@turf/moran-index/dist/esm/index.js.map +1 -1
  399. package/node_modules/@turf/moran-index/package.json +11 -11
  400. package/node_modules/@turf/nearest-neighbor-analysis/README.md +1 -1
  401. package/node_modules/@turf/nearest-neighbor-analysis/dist/cjs/index.cjs +2 -2
  402. package/node_modules/@turf/nearest-neighbor-analysis/dist/cjs/index.cjs.map +1 -1
  403. package/node_modules/@turf/nearest-neighbor-analysis/dist/cjs/index.d.cts +2 -2
  404. package/node_modules/@turf/nearest-neighbor-analysis/dist/esm/index.d.ts +2 -2
  405. package/node_modules/@turf/nearest-neighbor-analysis/dist/esm/index.js +2 -2
  406. package/node_modules/@turf/nearest-neighbor-analysis/dist/esm/index.js.map +1 -1
  407. package/node_modules/@turf/nearest-neighbor-analysis/package.json +17 -17
  408. package/node_modules/@turf/nearest-point/README.md +2 -2
  409. package/node_modules/@turf/nearest-point/dist/cjs/index.cjs +2 -2
  410. package/node_modules/@turf/nearest-point/dist/cjs/index.cjs.map +1 -1
  411. package/node_modules/@turf/nearest-point/dist/cjs/index.d.cts +6 -7
  412. package/node_modules/@turf/nearest-point/dist/esm/index.d.ts +6 -7
  413. package/node_modules/@turf/nearest-point/dist/esm/index.js +2 -2
  414. package/node_modules/@turf/nearest-point/dist/esm/index.js.map +1 -1
  415. package/node_modules/@turf/nearest-point/package.json +12 -12
  416. package/node_modules/@turf/nearest-point-on-line/README.md +6 -2
  417. package/node_modules/@turf/nearest-point-on-line/dist/cjs/index.cjs +45 -52
  418. package/node_modules/@turf/nearest-point-on-line/dist/cjs/index.cjs.map +1 -1
  419. package/node_modules/@turf/nearest-point-on-line/dist/cjs/index.d.cts +5 -1
  420. package/node_modules/@turf/nearest-point-on-line/dist/esm/index.d.ts +5 -1
  421. package/node_modules/@turf/nearest-point-on-line/dist/esm/index.js +45 -52
  422. package/node_modules/@turf/nearest-point-on-line/dist/esm/index.js.map +1 -1
  423. package/node_modules/@turf/nearest-point-on-line/package.json +20 -15
  424. package/node_modules/@turf/nearest-point-to-line/README.md +2 -2
  425. package/node_modules/@turf/nearest-point-to-line/dist/cjs/index.cjs +2 -2
  426. package/node_modules/@turf/nearest-point-to-line/dist/cjs/index.cjs.map +1 -1
  427. package/node_modules/@turf/nearest-point-to-line/dist/cjs/index.d.cts +1 -1
  428. package/node_modules/@turf/nearest-point-to-line/dist/esm/index.d.ts +1 -1
  429. package/node_modules/@turf/nearest-point-to-line/dist/esm/index.js +2 -2
  430. package/node_modules/@turf/nearest-point-to-line/dist/esm/index.js.map +1 -1
  431. package/node_modules/@turf/nearest-point-to-line/package.json +14 -14
  432. package/node_modules/@turf/planepoint/dist/cjs/index.cjs +2 -2
  433. package/node_modules/@turf/planepoint/dist/cjs/index.cjs.map +1 -1
  434. package/node_modules/@turf/planepoint/dist/esm/index.js +2 -2
  435. package/node_modules/@turf/planepoint/dist/esm/index.js.map +1 -1
  436. package/node_modules/@turf/planepoint/package.json +9 -9
  437. package/node_modules/@turf/point-grid/dist/cjs/index.cjs +2 -2
  438. package/node_modules/@turf/point-grid/dist/cjs/index.cjs.map +1 -1
  439. package/node_modules/@turf/point-grid/dist/esm/index.js +2 -2
  440. package/node_modules/@turf/point-grid/dist/esm/index.js.map +1 -1
  441. package/node_modules/@turf/point-grid/package.json +14 -14
  442. package/node_modules/@turf/point-on-feature/dist/cjs/index.cjs +2 -2
  443. package/node_modules/@turf/point-on-feature/dist/cjs/index.cjs.map +1 -1
  444. package/node_modules/@turf/point-on-feature/dist/esm/index.js +2 -2
  445. package/node_modules/@turf/point-on-feature/dist/esm/index.js.map +1 -1
  446. package/node_modules/@turf/point-on-feature/package.json +15 -15
  447. package/node_modules/@turf/point-to-line-distance/README.md +5 -4
  448. package/node_modules/@turf/point-to-line-distance/dist/cjs/index.cjs +2 -2
  449. package/node_modules/@turf/point-to-line-distance/dist/cjs/index.cjs.map +1 -1
  450. package/node_modules/@turf/point-to-line-distance/dist/cjs/index.d.cts +1 -2
  451. package/node_modules/@turf/point-to-line-distance/dist/esm/index.d.ts +1 -2
  452. package/node_modules/@turf/point-to-line-distance/dist/esm/index.js +2 -2
  453. package/node_modules/@turf/point-to-line-distance/dist/esm/index.js.map +1 -1
  454. package/node_modules/@turf/point-to-line-distance/package.json +18 -18
  455. package/node_modules/@turf/point-to-polygon-distance/dist/cjs/index.cjs +3 -3
  456. package/node_modules/@turf/point-to-polygon-distance/dist/cjs/index.cjs.map +1 -1
  457. package/node_modules/@turf/point-to-polygon-distance/dist/esm/index.js +3 -3
  458. package/node_modules/@turf/point-to-polygon-distance/dist/esm/index.js.map +1 -1
  459. package/node_modules/@turf/point-to-polygon-distance/package.json +14 -14
  460. package/node_modules/@turf/points-within-polygon/dist/cjs/index.cjs +2 -2
  461. package/node_modules/@turf/points-within-polygon/dist/cjs/index.cjs.map +1 -1
  462. package/node_modules/@turf/points-within-polygon/dist/esm/index.js +2 -2
  463. package/node_modules/@turf/points-within-polygon/dist/esm/index.js.map +1 -1
  464. package/node_modules/@turf/points-within-polygon/package.json +10 -10
  465. package/node_modules/@turf/polygon-smooth/README.md +1 -1
  466. package/node_modules/@turf/polygon-smooth/dist/cjs/index.cjs +2 -2
  467. package/node_modules/@turf/polygon-smooth/dist/cjs/index.cjs.map +1 -1
  468. package/node_modules/@turf/polygon-smooth/dist/cjs/index.d.cts +1 -1
  469. package/node_modules/@turf/polygon-smooth/dist/esm/index.d.ts +1 -1
  470. package/node_modules/@turf/polygon-smooth/dist/esm/index.js +2 -2
  471. package/node_modules/@turf/polygon-smooth/dist/esm/index.js.map +1 -1
  472. package/node_modules/@turf/polygon-smooth/package.json +11 -11
  473. package/node_modules/@turf/polygon-tangents/dist/cjs/index.cjs +2 -2
  474. package/node_modules/@turf/polygon-tangents/dist/cjs/index.cjs.map +1 -1
  475. package/node_modules/@turf/polygon-tangents/dist/esm/index.js +2 -2
  476. package/node_modules/@turf/polygon-tangents/dist/esm/index.js.map +1 -1
  477. package/node_modules/@turf/polygon-tangents/package.json +14 -14
  478. package/node_modules/@turf/polygon-to-line/dist/cjs/index.cjs +2 -2
  479. package/node_modules/@turf/polygon-to-line/dist/cjs/index.cjs.map +1 -1
  480. package/node_modules/@turf/polygon-to-line/dist/esm/index.js +2 -2
  481. package/node_modules/@turf/polygon-to-line/dist/esm/index.js.map +1 -1
  482. package/node_modules/@turf/polygon-to-line/package.json +10 -10
  483. package/node_modules/@turf/polygonize/dist/cjs/index.cjs +2 -2
  484. package/node_modules/@turf/polygonize/dist/cjs/index.cjs.map +1 -1
  485. package/node_modules/@turf/polygonize/dist/esm/index.js +2 -2
  486. package/node_modules/@turf/polygonize/dist/esm/index.js.map +1 -1
  487. package/node_modules/@turf/polygonize/package.json +13 -13
  488. package/node_modules/@turf/projection/package.json +12 -12
  489. package/node_modules/@turf/quadrat-analysis/dist/cjs/index.cjs +2 -2
  490. package/node_modules/@turf/quadrat-analysis/dist/cjs/index.cjs.map +1 -1
  491. package/node_modules/@turf/quadrat-analysis/dist/esm/index.js +2 -2
  492. package/node_modules/@turf/quadrat-analysis/dist/esm/index.js.map +1 -1
  493. package/node_modules/@turf/quadrat-analysis/package.json +18 -18
  494. package/node_modules/@turf/random/package.json +9 -9
  495. package/node_modules/@turf/rectangle-grid/dist/cjs/index.cjs +2 -2
  496. package/node_modules/@turf/rectangle-grid/dist/cjs/index.cjs.map +1 -1
  497. package/node_modules/@turf/rectangle-grid/dist/esm/index.js +2 -2
  498. package/node_modules/@turf/rectangle-grid/dist/esm/index.js.map +1 -1
  499. package/node_modules/@turf/rectangle-grid/package.json +13 -13
  500. package/node_modules/@turf/rewind/dist/cjs/index.cjs +2 -2
  501. package/node_modules/@turf/rewind/dist/cjs/index.cjs.map +1 -1
  502. package/node_modules/@turf/rewind/dist/esm/index.js +2 -2
  503. package/node_modules/@turf/rewind/dist/esm/index.js.map +1 -1
  504. package/node_modules/@turf/rewind/package.json +13 -13
  505. package/node_modules/@turf/rhumb-bearing/dist/cjs/index.cjs +2 -2
  506. package/node_modules/@turf/rhumb-bearing/dist/cjs/index.cjs.map +1 -1
  507. package/node_modules/@turf/rhumb-bearing/dist/esm/index.js +2 -2
  508. package/node_modules/@turf/rhumb-bearing/dist/esm/index.js.map +1 -1
  509. package/node_modules/@turf/rhumb-bearing/package.json +11 -11
  510. package/node_modules/@turf/rhumb-destination/README.md +2 -2
  511. package/node_modules/@turf/rhumb-destination/dist/cjs/index.cjs +2 -2
  512. package/node_modules/@turf/rhumb-destination/dist/cjs/index.cjs.map +1 -1
  513. package/node_modules/@turf/rhumb-destination/dist/cjs/index.d.cts +1 -1
  514. package/node_modules/@turf/rhumb-destination/dist/esm/index.d.ts +1 -1
  515. package/node_modules/@turf/rhumb-destination/dist/esm/index.js +2 -2
  516. package/node_modules/@turf/rhumb-destination/dist/esm/index.js.map +1 -1
  517. package/node_modules/@turf/rhumb-destination/package.json +11 -11
  518. package/node_modules/@turf/rhumb-distance/README.md +8 -9
  519. package/node_modules/@turf/rhumb-distance/dist/cjs/index.cjs +2 -2
  520. package/node_modules/@turf/rhumb-distance/dist/cjs/index.cjs.map +1 -1
  521. package/node_modules/@turf/rhumb-distance/dist/cjs/index.d.cts +2 -3
  522. package/node_modules/@turf/rhumb-distance/dist/esm/index.d.ts +2 -3
  523. package/node_modules/@turf/rhumb-distance/dist/esm/index.js +2 -2
  524. package/node_modules/@turf/rhumb-distance/dist/esm/index.js.map +1 -1
  525. package/node_modules/@turf/rhumb-distance/package.json +11 -11
  526. package/node_modules/@turf/sample/dist/cjs/index.cjs +2 -2
  527. package/node_modules/@turf/sample/dist/cjs/index.cjs.map +1 -1
  528. package/node_modules/@turf/sample/dist/esm/index.js +2 -2
  529. package/node_modules/@turf/sample/dist/esm/index.js.map +1 -1
  530. package/node_modules/@turf/sample/package.json +8 -8
  531. package/node_modules/@turf/sector/README.md +2 -2
  532. package/node_modules/@turf/sector/dist/cjs/index.cjs +2 -2
  533. package/node_modules/@turf/sector/dist/cjs/index.cjs.map +1 -1
  534. package/node_modules/@turf/sector/dist/cjs/index.d.cts +1 -1
  535. package/node_modules/@turf/sector/dist/esm/index.d.ts +1 -1
  536. package/node_modules/@turf/sector/dist/esm/index.js +2 -2
  537. package/node_modules/@turf/sector/dist/esm/index.js.map +1 -1
  538. package/node_modules/@turf/sector/package.json +14 -14
  539. package/node_modules/@turf/shortest-path/README.md +5 -3
  540. package/node_modules/@turf/shortest-path/dist/cjs/index.cjs +10 -14
  541. package/node_modules/@turf/shortest-path/dist/cjs/index.cjs.map +1 -1
  542. package/node_modules/@turf/shortest-path/dist/cjs/index.d.cts +1 -1
  543. package/node_modules/@turf/shortest-path/dist/esm/index.d.ts +1 -1
  544. package/node_modules/@turf/shortest-path/dist/esm/index.js +10 -14
  545. package/node_modules/@turf/shortest-path/dist/esm/index.js.map +1 -1
  546. package/node_modules/@turf/shortest-path/package.json +20 -19
  547. package/node_modules/@turf/simplify/README.md +13 -13
  548. package/node_modules/@turf/simplify/dist/cjs/index.cjs +6 -3
  549. package/node_modules/@turf/simplify/dist/cjs/index.cjs.map +1 -1
  550. package/node_modules/@turf/simplify/dist/cjs/index.d.cts +11 -12
  551. package/node_modules/@turf/simplify/dist/esm/index.d.ts +11 -12
  552. package/node_modules/@turf/simplify/dist/esm/index.js +6 -3
  553. package/node_modules/@turf/simplify/dist/esm/index.js.map +1 -1
  554. package/node_modules/@turf/simplify/package.json +13 -13
  555. package/node_modules/@turf/square/dist/cjs/index.cjs +2 -2
  556. package/node_modules/@turf/square/dist/cjs/index.cjs.map +1 -1
  557. package/node_modules/@turf/square/dist/esm/index.js +2 -2
  558. package/node_modules/@turf/square/dist/esm/index.js.map +1 -1
  559. package/node_modules/@turf/square/package.json +9 -9
  560. package/node_modules/@turf/square-grid/dist/cjs/index.cjs +2 -2
  561. package/node_modules/@turf/square-grid/dist/cjs/index.cjs.map +1 -1
  562. package/node_modules/@turf/square-grid/dist/esm/index.js +2 -2
  563. package/node_modules/@turf/square-grid/dist/esm/index.js.map +1 -1
  564. package/node_modules/@turf/square-grid/package.json +12 -12
  565. package/node_modules/@turf/standard-deviational-ellipse/dist/cjs/index.cjs +2 -2
  566. package/node_modules/@turf/standard-deviational-ellipse/dist/cjs/index.cjs.map +1 -1
  567. package/node_modules/@turf/standard-deviational-ellipse/dist/cjs/index.d.cts +1 -1
  568. package/node_modules/@turf/standard-deviational-ellipse/dist/esm/index.d.ts +1 -1
  569. package/node_modules/@turf/standard-deviational-ellipse/dist/esm/index.js +2 -2
  570. package/node_modules/@turf/standard-deviational-ellipse/dist/esm/index.js.map +1 -1
  571. package/node_modules/@turf/standard-deviational-ellipse/package.json +16 -16
  572. package/node_modules/@turf/tag/dist/cjs/index.cjs +2 -2
  573. package/node_modules/@turf/tag/dist/cjs/index.cjs.map +1 -1
  574. package/node_modules/@turf/tag/dist/esm/index.js +2 -2
  575. package/node_modules/@turf/tag/dist/esm/index.js.map +1 -1
  576. package/node_modules/@turf/tag/package.json +11 -11
  577. package/node_modules/@turf/tesselate/dist/cjs/index.cjs +2 -2
  578. package/node_modules/@turf/tesselate/dist/cjs/index.cjs.map +1 -1
  579. package/node_modules/@turf/tesselate/dist/esm/index.js +2 -2
  580. package/node_modules/@turf/tesselate/dist/esm/index.js.map +1 -1
  581. package/node_modules/@turf/tesselate/package.json +8 -8
  582. package/node_modules/@turf/tin/dist/cjs/index.cjs +2 -2
  583. package/node_modules/@turf/tin/dist/cjs/index.cjs.map +1 -1
  584. package/node_modules/@turf/tin/dist/esm/index.js +2 -2
  585. package/node_modules/@turf/tin/dist/esm/index.js.map +1 -1
  586. package/node_modules/@turf/tin/package.json +8 -8
  587. package/node_modules/@turf/transform-rotate/dist/cjs/index.cjs +2 -2
  588. package/node_modules/@turf/transform-rotate/dist/cjs/index.cjs.map +1 -1
  589. package/node_modules/@turf/transform-rotate/dist/esm/index.js +2 -2
  590. package/node_modules/@turf/transform-rotate/dist/esm/index.js.map +1 -1
  591. package/node_modules/@turf/transform-rotate/package.json +17 -17
  592. package/node_modules/@turf/transform-scale/dist/cjs/index.cjs +2 -2
  593. package/node_modules/@turf/transform-scale/dist/cjs/index.cjs.map +1 -1
  594. package/node_modules/@turf/transform-scale/dist/esm/index.js +2 -2
  595. package/node_modules/@turf/transform-scale/dist/esm/index.js.map +1 -1
  596. package/node_modules/@turf/transform-scale/package.json +21 -21
  597. package/node_modules/@turf/transform-translate/README.md +8 -3
  598. package/node_modules/@turf/transform-translate/dist/cjs/index.cjs +2 -2
  599. package/node_modules/@turf/transform-translate/dist/cjs/index.cjs.map +1 -1
  600. package/node_modules/@turf/transform-translate/dist/cjs/index.d.cts +4 -1
  601. package/node_modules/@turf/transform-translate/dist/esm/index.d.ts +4 -1
  602. package/node_modules/@turf/transform-translate/dist/esm/index.js +2 -2
  603. package/node_modules/@turf/transform-translate/dist/esm/index.js.map +1 -1
  604. package/node_modules/@turf/transform-translate/package.json +14 -14
  605. package/node_modules/@turf/triangle-grid/dist/cjs/index.cjs +2 -2
  606. package/node_modules/@turf/triangle-grid/dist/cjs/index.cjs.map +1 -1
  607. package/node_modules/@turf/triangle-grid/dist/esm/index.js +2 -2
  608. package/node_modules/@turf/triangle-grid/dist/esm/index.js.map +1 -1
  609. package/node_modules/@turf/triangle-grid/package.json +13 -13
  610. package/node_modules/@turf/truncate/dist/cjs/index.cjs +2 -2
  611. package/node_modules/@turf/truncate/dist/cjs/index.cjs.map +1 -1
  612. package/node_modules/@turf/truncate/dist/esm/index.js +2 -2
  613. package/node_modules/@turf/truncate/dist/esm/index.js.map +1 -1
  614. package/node_modules/@turf/truncate/package.json +10 -10
  615. package/node_modules/@turf/turf/package.json +125 -125
  616. package/node_modules/@turf/turf/turf.min.js +2 -11
  617. package/node_modules/@turf/union/dist/cjs/index.cjs +2 -2
  618. package/node_modules/@turf/union/dist/cjs/index.cjs.map +1 -1
  619. package/node_modules/@turf/union/dist/esm/index.js +2 -2
  620. package/node_modules/@turf/union/dist/esm/index.js.map +1 -1
  621. package/node_modules/@turf/union/package.json +11 -11
  622. package/node_modules/@turf/unkink-polygon/dist/cjs/index.cjs +2 -2
  623. package/node_modules/@turf/unkink-polygon/dist/cjs/index.cjs.map +1 -1
  624. package/node_modules/@turf/unkink-polygon/dist/esm/index.js +2 -2
  625. package/node_modules/@turf/unkink-polygon/dist/esm/index.js.map +1 -1
  626. package/node_modules/@turf/unkink-polygon/package.json +13 -13
  627. package/node_modules/@turf/voronoi/dist/cjs/index.cjs +2 -2
  628. package/node_modules/@turf/voronoi/dist/cjs/index.cjs.map +1 -1
  629. package/node_modules/@turf/voronoi/dist/esm/index.js +2 -2
  630. package/node_modules/@turf/voronoi/dist/esm/index.js.map +1 -1
  631. package/node_modules/@turf/voronoi/package.json +12 -12
  632. package/node_modules/@types/node/README.md +2 -2
  633. package/node_modules/@types/node/assert/strict.d.ts +105 -2
  634. package/node_modules/@types/node/assert.d.ts +162 -101
  635. package/node_modules/@types/node/async_hooks.d.ts +26 -6
  636. package/node_modules/@types/node/buffer.buffer.d.ts +9 -0
  637. package/node_modules/@types/node/buffer.d.ts +15 -7
  638. package/node_modules/@types/node/child_process.d.ts +91 -164
  639. package/node_modules/@types/node/cluster.d.ts +19 -20
  640. package/node_modules/@types/node/console.d.ts +19 -18
  641. package/node_modules/@types/node/crypto.d.ts +1264 -356
  642. package/node_modules/@types/node/dgram.d.ts +10 -9
  643. package/node_modules/@types/node/diagnostics_channel.d.ts +18 -15
  644. package/node_modules/@types/node/dns/promises.d.ts +36 -9
  645. package/node_modules/@types/node/dns.d.ts +95 -37
  646. package/node_modules/@types/node/domain.d.ts +1 -1
  647. package/node_modules/@types/node/events.d.ts +81 -36
  648. package/node_modules/@types/node/fs/promises.d.ts +104 -59
  649. package/node_modules/@types/node/fs.d.ts +414 -137
  650. package/node_modules/@types/node/globals.d.ts +149 -350
  651. package/node_modules/@types/node/globals.typedarray.d.ts +20 -0
  652. package/node_modules/@types/node/http.d.ts +191 -37
  653. package/node_modules/@types/node/http2.d.ts +266 -67
  654. package/node_modules/@types/node/https.d.ts +97 -63
  655. package/node_modules/@types/node/index.d.ts +16 -7
  656. package/node_modules/@types/node/inspector.d.ts +206 -3931
  657. package/node_modules/@types/node/inspector.generated.d.ts +4233 -0
  658. package/node_modules/@types/node/module.d.ts +153 -31
  659. package/node_modules/@types/node/net.d.ts +36 -17
  660. package/node_modules/@types/node/os.d.ts +22 -10
  661. package/node_modules/@types/node/package.json +14 -84
  662. package/node_modules/@types/node/path.d.ts +1 -1
  663. package/node_modules/@types/node/perf_hooks.d.ts +30 -18
  664. package/node_modules/@types/node/process.d.ts +40 -34
  665. package/node_modules/@types/node/punycode.d.ts +1 -1
  666. package/node_modules/@types/node/querystring.d.ts +1 -1
  667. package/node_modules/@types/node/readline/promises.d.ts +1 -2
  668. package/node_modules/@types/node/readline.d.ts +13 -13
  669. package/node_modules/@types/node/repl.d.ts +25 -17
  670. package/node_modules/@types/node/sea.d.ts +10 -1
  671. package/node_modules/@types/node/sqlite.d.ts +438 -9
  672. package/node_modules/@types/node/stream/consumers.d.ts +2 -2
  673. package/node_modules/@types/node/stream/web.d.ts +13 -54
  674. package/node_modules/@types/node/stream.d.ts +68 -47
  675. package/node_modules/@types/node/string_decoder.d.ts +3 -3
  676. package/node_modules/@types/node/test.d.ts +2034 -1975
  677. package/node_modules/@types/node/timers/promises.d.ts +1 -1
  678. package/node_modules/@types/node/timers.d.ts +1 -3
  679. package/node_modules/@types/node/tls.d.ts +124 -114
  680. package/node_modules/@types/node/trace_events.d.ts +6 -6
  681. package/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +10 -2
  682. package/node_modules/@types/node/ts5.6/compatibility/float16array.d.ts +71 -0
  683. package/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +17 -0
  684. package/node_modules/@types/node/ts5.6/index.d.ts +18 -7
  685. package/node_modules/@types/node/ts5.7/compatibility/float16array.d.ts +72 -0
  686. package/node_modules/@types/node/ts5.7/index.d.ts +103 -0
  687. package/node_modules/@types/node/tty.d.ts +1 -1
  688. package/node_modules/@types/node/url.d.ts +119 -34
  689. package/node_modules/@types/node/util.d.ts +46 -305
  690. package/node_modules/@types/node/v8.d.ts +100 -37
  691. package/node_modules/@types/node/vm.d.ts +299 -110
  692. package/node_modules/@types/node/wasi.d.ts +23 -2
  693. package/node_modules/@types/node/web-globals/abortcontroller.d.ts +34 -0
  694. package/node_modules/@types/node/web-globals/crypto.d.ts +32 -0
  695. package/node_modules/@types/node/web-globals/domexception.d.ts +68 -0
  696. package/node_modules/@types/node/web-globals/events.d.ts +97 -0
  697. package/node_modules/@types/node/web-globals/fetch.d.ts +50 -0
  698. package/node_modules/@types/node/web-globals/navigator.d.ts +25 -0
  699. package/node_modules/@types/node/web-globals/storage.d.ts +24 -0
  700. package/node_modules/@types/node/web-globals/streams.d.ts +22 -0
  701. package/node_modules/@types/node/worker_threads.d.ts +225 -75
  702. package/node_modules/@types/node/zlib.d.ts +44 -33
  703. package/node_modules/axios/CHANGELOG.md +410 -288
  704. package/node_modules/axios/README.md +156 -51
  705. package/node_modules/axios/dist/axios.js +471 -330
  706. package/node_modules/axios/dist/axios.js.map +1 -1
  707. package/node_modules/axios/dist/axios.min.js +2 -2
  708. package/node_modules/axios/dist/axios.min.js.map +1 -1
  709. package/node_modules/axios/dist/browser/axios.cjs +407 -265
  710. package/node_modules/axios/dist/browser/axios.cjs.map +1 -1
  711. package/node_modules/axios/dist/esm/axios.js +407 -265
  712. package/node_modules/axios/dist/esm/axios.js.map +1 -1
  713. package/node_modules/axios/dist/esm/axios.min.js +2 -2
  714. package/node_modules/axios/dist/esm/axios.min.js.map +1 -1
  715. package/node_modules/axios/dist/node/axios.cjs +723 -305
  716. package/node_modules/axios/dist/node/axios.cjs.map +1 -1
  717. package/node_modules/axios/index.d.cts +16 -5
  718. package/node_modules/axios/index.d.ts +17 -4
  719. package/node_modules/axios/lib/adapters/adapters.js +89 -42
  720. package/node_modules/axios/lib/adapters/fetch.js +221 -162
  721. package/node_modules/axios/lib/adapters/http.js +242 -42
  722. package/node_modules/axios/lib/adapters/xhr.js +11 -8
  723. package/node_modules/axios/lib/core/Axios.js +0 -2
  724. package/node_modules/axios/lib/core/AxiosError.js +10 -3
  725. package/node_modules/axios/lib/core/InterceptorManager.js +1 -1
  726. package/node_modules/axios/lib/core/dispatchRequest.js +1 -1
  727. package/node_modules/axios/lib/core/mergeConfig.js +4 -4
  728. package/node_modules/axios/lib/defaults/index.js +1 -1
  729. package/node_modules/axios/lib/env/data.js +1 -1
  730. package/node_modules/axios/lib/helpers/HttpStatusCode.js +6 -0
  731. package/node_modules/axios/lib/helpers/bind.js +7 -0
  732. package/node_modules/axios/lib/helpers/buildURL.js +1 -3
  733. package/node_modules/axios/lib/helpers/cookies.js +24 -13
  734. package/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js +73 -0
  735. package/node_modules/axios/lib/helpers/resolveConfig.js +13 -9
  736. package/node_modules/axios/lib/utils.js +5 -3
  737. package/node_modules/axios/package.json +26 -15
  738. package/node_modules/bignumber.js/CHANGELOG.md +6 -1
  739. package/node_modules/bignumber.js/README.md +5 -4
  740. package/node_modules/bignumber.js/bignumber.js +2 -2
  741. package/node_modules/bignumber.js/bignumber.mjs +2 -2
  742. package/node_modules/bignumber.js/package.json +1 -1
  743. package/node_modules/fast-xml-parser/CHANGELOG.md +9 -0
  744. package/node_modules/fast-xml-parser/README.md +1 -1
  745. package/node_modules/fast-xml-parser/lib/fxp.cjs +1 -1
  746. package/node_modules/fast-xml-parser/lib/fxp.d.cts +1 -1
  747. package/node_modules/fast-xml-parser/lib/fxp.min.js +1 -1
  748. package/node_modules/fast-xml-parser/lib/fxp.min.js.map +1 -1
  749. package/node_modules/fast-xml-parser/lib/fxparser.min.js +1 -1
  750. package/node_modules/fast-xml-parser/lib/fxparser.min.js.map +1 -1
  751. package/node_modules/fast-xml-parser/package.json +1 -1
  752. package/node_modules/fast-xml-parser/src/fxp.d.ts +2 -2
  753. package/node_modules/fast-xml-parser/src/v6/OutputBuilders/JsMinArrBuilder.js +1 -1
  754. package/node_modules/fast-xml-parser/src/v6/OutputBuilders/ParserOptionsBuilder.js +4 -4
  755. package/node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js +297 -287
  756. package/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js +24 -12
  757. package/node_modules/fast-xml-parser/src/xmlparser/XMLParser.js +4 -4
  758. package/node_modules/follow-redirects/package.json +1 -1
  759. package/node_modules/form-data/CHANGELOG.md +60 -2
  760. package/node_modules/form-data/README.md +4 -4
  761. package/node_modules/form-data/lib/form_data.js +2 -2
  762. package/node_modules/form-data/package.json +4 -4
  763. package/node_modules/protobufjs/dist/light/protobuf.js +2 -2
  764. package/node_modules/protobufjs/dist/light/protobuf.min.js +2 -2
  765. package/node_modules/protobufjs/dist/minimal/protobuf.js +2 -2
  766. package/node_modules/protobufjs/dist/minimal/protobuf.min.js +2 -2
  767. package/node_modules/protobufjs/dist/protobuf.js +2 -2
  768. package/node_modules/protobufjs/dist/protobuf.min.js +2 -2
  769. package/node_modules/protobufjs/google/protobuf/descriptor.json +2 -2
  770. package/node_modules/protobufjs/google/protobuf/descriptor.proto +2 -1
  771. package/node_modules/protobufjs/package.json +1 -1
  772. package/node_modules/undici-types/agent.d.ts +12 -11
  773. package/node_modules/undici-types/api.d.ts +24 -24
  774. package/node_modules/undici-types/balanced-pool.d.ts +11 -11
  775. package/node_modules/undici-types/cache-interceptor.d.ts +172 -0
  776. package/node_modules/undici-types/client-stats.d.ts +15 -0
  777. package/node_modules/undici-types/client.d.ts +18 -18
  778. package/node_modules/undici-types/cookies.d.ts +2 -0
  779. package/node_modules/undici-types/diagnostics-channel.d.ts +18 -10
  780. package/node_modules/undici-types/dispatcher.d.ts +119 -99
  781. package/node_modules/undici-types/env-http-proxy-agent.d.ts +4 -3
  782. package/node_modules/undici-types/errors.d.ts +66 -54
  783. package/node_modules/undici-types/eventsource.d.ts +9 -4
  784. package/node_modules/undici-types/fetch.d.ts +18 -16
  785. package/node_modules/undici-types/formdata.d.ts +7 -7
  786. package/node_modules/undici-types/global-dispatcher.d.ts +4 -4
  787. package/node_modules/undici-types/global-origin.d.ts +5 -5
  788. package/node_modules/undici-types/h2c-client.d.ts +73 -0
  789. package/node_modules/undici-types/handlers.d.ts +8 -8
  790. package/node_modules/undici-types/header.d.ts +157 -1
  791. package/node_modules/undici-types/index.d.ts +56 -47
  792. package/node_modules/undici-types/interceptors.d.ts +30 -8
  793. package/node_modules/undici-types/mock-agent.d.ts +36 -18
  794. package/node_modules/undici-types/mock-call-history.d.ts +111 -0
  795. package/node_modules/undici-types/mock-client.d.ts +6 -4
  796. package/node_modules/undici-types/mock-errors.d.ts +3 -3
  797. package/node_modules/undici-types/mock-interceptor.d.ts +21 -20
  798. package/node_modules/undici-types/mock-pool.d.ts +6 -4
  799. package/node_modules/undici-types/package.json +1 -1
  800. package/node_modules/undici-types/patch.d.ts +0 -4
  801. package/node_modules/undici-types/pool-stats.d.ts +8 -8
  802. package/node_modules/undici-types/pool.d.ts +14 -12
  803. package/node_modules/undici-types/proxy-agent.d.ts +5 -4
  804. package/node_modules/undici-types/readable.d.ts +18 -15
  805. package/node_modules/undici-types/retry-agent.d.ts +1 -1
  806. package/node_modules/undici-types/retry-handler.d.ts +19 -10
  807. package/node_modules/undici-types/snapshot-agent.d.ts +109 -0
  808. package/node_modules/undici-types/util.d.ts +3 -3
  809. package/node_modules/undici-types/utility.d.ts +7 -0
  810. package/node_modules/undici-types/webidl.d.ts +142 -29
  811. package/node_modules/undici-types/websocket.d.ts +38 -2
  812. package/node_modules/uuid/README.md +8 -19
  813. package/node_modules/uuid/dist/{esm-browser/uuid-bin.js → uuid-bin.js} +1 -1
  814. package/node_modules/uuid/dist/{esm-browser/v4.js → v4.js} +7 -4
  815. package/node_modules/uuid/{dist/esm → dist-node}/md5.js +1 -1
  816. package/node_modules/uuid/dist-node/native.js +2 -0
  817. package/node_modules/uuid/{dist/esm → dist-node}/rng.js +1 -1
  818. package/node_modules/uuid/{dist/esm → dist-node}/sha1.js +1 -1
  819. package/node_modules/uuid/{dist/esm → dist-node}/uuid-bin.js +1 -1
  820. package/node_modules/uuid/{dist/esm → dist-node}/v4.js +7 -4
  821. package/node_modules/uuid/package.json +28 -41
  822. package/package.json +7 -7
  823. package/tak-registration.bak +557 -0
  824. package/tak-registration.js +19 -19
  825. package/node_modules/@types/node/compatibility/disposable.d.ts +0 -16
  826. package/node_modules/@types/node/compatibility/index.d.ts +0 -9
  827. package/node_modules/@types/node/compatibility/indexable.d.ts +0 -23
  828. package/node_modules/@types/node/dom-events.d.ts +0 -124
  829. package/node_modules/marchingsquares/.eslintrc.json +0 -81
  830. package/node_modules/marchingsquares/Changelog.md +0 -81
  831. package/node_modules/marchingsquares/LICENSE.md +0 -37
  832. package/node_modules/marchingsquares/README.md +0 -312
  833. package/node_modules/marchingsquares/VERSION +0 -1
  834. package/node_modules/marchingsquares/agpl-3.0.txt +0 -661
  835. package/node_modules/marchingsquares/dist/marchingsquares-esm.js +0 -3410
  836. package/node_modules/marchingsquares/dist/marchingsquares-isobands.js +0 -2513
  837. package/node_modules/marchingsquares/dist/marchingsquares-isobands.min.js +0 -9
  838. package/node_modules/marchingsquares/dist/marchingsquares-isocontours.js +0 -1209
  839. package/node_modules/marchingsquares/dist/marchingsquares-isocontours.min.js +0 -9
  840. package/node_modules/marchingsquares/dist/marchingsquares-isolines.js +0 -1209
  841. package/node_modules/marchingsquares/dist/marchingsquares-isolines.min.js +0 -9
  842. package/node_modules/marchingsquares/dist/marchingsquares.js +0 -3424
  843. package/node_modules/marchingsquares/dist/marchingsquares.min.js +0 -9
  844. package/node_modules/marchingsquares/examples/contour/index.html +0 -117
  845. package/node_modules/marchingsquares/examples/editor/draw-lines.js +0 -60
  846. package/node_modules/marchingsquares/examples/editor/index.html +0 -39
  847. package/node_modules/marchingsquares/examples/editor/script.js +0 -110
  848. package/node_modules/marchingsquares/examples/editor/styles.css +0 -37
  849. package/node_modules/marchingsquares/examples/require/app.js +0 -9
  850. package/node_modules/marchingsquares/examples/require/index.html +0 -14
  851. package/node_modules/marchingsquares/examples/require/main.js +0 -98
  852. package/node_modules/marchingsquares/examples/require/require.js +0 -5
  853. package/node_modules/marchingsquares/examples/simple/index.html +0 -115
  854. package/node_modules/marchingsquares/examples/vienna/index.html +0 -229
  855. package/node_modules/marchingsquares/examples/vienna/vienna_basin.png +0 -0
  856. package/node_modules/marchingsquares/examples/vienna/vienna_data.js +0 -514
  857. package/node_modules/marchingsquares/package.json +0 -47
  858. package/node_modules/marchingsquares/rollup.config.js +0 -122
  859. package/node_modules/marchingsquares/rollup.config.test.js +0 -14
  860. package/node_modules/marchingsquares/src/interpolation.js +0 -84
  861. package/node_modules/marchingsquares/src/isobands.js +0 -1883
  862. package/node_modules/marchingsquares/src/isolines.js +0 -638
  863. package/node_modules/marchingsquares/src/main.js +0 -4
  864. package/node_modules/marchingsquares/src/options.js +0 -80
  865. package/node_modules/marchingsquares/src/polygons.js +0 -531
  866. package/node_modules/marchingsquares/src/quadtree.js +0 -228
  867. package/node_modules/marchingsquares/test/data/in/isoBands-example-case.json +0 -14
  868. package/node_modules/marchingsquares/test/data/in/isoBands-issue#6-0_3.json +0 -12
  869. package/node_modules/marchingsquares/test/data/in/isoBands-issue#6-3_5.json +0 -12
  870. package/node_modules/marchingsquares/test/data/in/isoBands-issue#6-5_7.json +0 -12
  871. package/node_modules/marchingsquares/test/data/in/isoBands-minimal.json +0 -8
  872. package/node_modules/marchingsquares/test/data/in/isoBands-simple.json +0 -9
  873. package/node_modules/marchingsquares/test/data/in/isoLines-example-case.json +0 -13
  874. package/node_modules/marchingsquares/test/data/in/isoLines-simple.json +0 -8
  875. package/node_modules/marchingsquares/test/data/out/isoBands-example-case.json +0 -72
  876. package/node_modules/marchingsquares/test/data/out/isoBands-issue#6-0_3.json +0 -9
  877. package/node_modules/marchingsquares/test/data/out/isoBands-issue#6-3_5.json +0 -36
  878. package/node_modules/marchingsquares/test/data/out/isoBands-issue#6-5_7.json +0 -8
  879. package/node_modules/marchingsquares/test/data/out/isoBands-minimal.json +0 -10
  880. package/node_modules/marchingsquares/test/data/out/isoBands-simple.json +0 -25
  881. package/node_modules/marchingsquares/test/data/out/isoLines-example-case.json +0 -481
  882. package/node_modules/marchingsquares/test/data/out/isoLines-simple.json +0 -8
  883. package/node_modules/marchingsquares/test/test.js +0 -152
  884. package/node_modules/undici-types/file.d.ts +0 -39
  885. package/node_modules/undici-types/filereader.d.ts +0 -54
  886. package/node_modules/uuid/dist/cjs/index.d.ts +0 -15
  887. package/node_modules/uuid/dist/cjs/index.js +0 -31
  888. package/node_modules/uuid/dist/cjs/max.d.ts +0 -2
  889. package/node_modules/uuid/dist/cjs/max.js +0 -3
  890. package/node_modules/uuid/dist/cjs/md5.d.ts +0 -4
  891. package/node_modules/uuid/dist/cjs/md5.js +0 -13
  892. package/node_modules/uuid/dist/cjs/native.d.ts +0 -6
  893. package/node_modules/uuid/dist/cjs/native.js +0 -4
  894. package/node_modules/uuid/dist/cjs/nil.d.ts +0 -2
  895. package/node_modules/uuid/dist/cjs/nil.js +0 -3
  896. package/node_modules/uuid/dist/cjs/package.json +0 -1
  897. package/node_modules/uuid/dist/cjs/parse.d.ts +0 -2
  898. package/node_modules/uuid/dist/cjs/parse.js +0 -11
  899. package/node_modules/uuid/dist/cjs/regex.d.ts +0 -2
  900. package/node_modules/uuid/dist/cjs/regex.js +0 -3
  901. package/node_modules/uuid/dist/cjs/rng.d.ts +0 -1
  902. package/node_modules/uuid/dist/cjs/rng.js +0 -13
  903. package/node_modules/uuid/dist/cjs/sha1.d.ts +0 -4
  904. package/node_modules/uuid/dist/cjs/sha1.js +0 -13
  905. package/node_modules/uuid/dist/cjs/stringify.d.ts +0 -3
  906. package/node_modules/uuid/dist/cjs/stringify.js +0 -39
  907. package/node_modules/uuid/dist/cjs/types.d.ts +0 -21
  908. package/node_modules/uuid/dist/cjs/types.js +0 -2
  909. package/node_modules/uuid/dist/cjs/uuid-bin.d.ts +0 -1
  910. package/node_modules/uuid/dist/cjs/uuid-bin.js +0 -72
  911. package/node_modules/uuid/dist/cjs/v1.d.ts +0 -11
  912. package/node_modules/uuid/dist/cjs/v1.js +0 -87
  913. package/node_modules/uuid/dist/cjs/v1ToV6.d.ts +0 -2
  914. package/node_modules/uuid/dist/cjs/v1ToV6.js +0 -13
  915. package/node_modules/uuid/dist/cjs/v3.d.ts +0 -9
  916. package/node_modules/uuid/dist/cjs/v3.js +0 -14
  917. package/node_modules/uuid/dist/cjs/v35.d.ts +0 -7
  918. package/node_modules/uuid/dist/cjs/v35.js +0 -41
  919. package/node_modules/uuid/dist/cjs/v4.d.ts +0 -4
  920. package/node_modules/uuid/dist/cjs/v4.js +0 -29
  921. package/node_modules/uuid/dist/cjs/v5.d.ts +0 -9
  922. package/node_modules/uuid/dist/cjs/v5.js +0 -14
  923. package/node_modules/uuid/dist/cjs/v6.d.ts +0 -4
  924. package/node_modules/uuid/dist/cjs/v6.js +0 -19
  925. package/node_modules/uuid/dist/cjs/v6ToV1.d.ts +0 -2
  926. package/node_modules/uuid/dist/cjs/v6ToV1.js +0 -13
  927. package/node_modules/uuid/dist/cjs/v7.d.ts +0 -9
  928. package/node_modules/uuid/dist/cjs/v7.js +0 -69
  929. package/node_modules/uuid/dist/cjs/validate.d.ts +0 -2
  930. package/node_modules/uuid/dist/cjs/validate.js +0 -7
  931. package/node_modules/uuid/dist/cjs/version.d.ts +0 -2
  932. package/node_modules/uuid/dist/cjs/version.js +0 -10
  933. package/node_modules/uuid/dist/cjs-browser/index.js +0 -31
  934. package/node_modules/uuid/dist/cjs-browser/max.js +0 -3
  935. package/node_modules/uuid/dist/cjs-browser/md5.js +0 -137
  936. package/node_modules/uuid/dist/cjs-browser/native.js +0 -4
  937. package/node_modules/uuid/dist/cjs-browser/nil.js +0 -3
  938. package/node_modules/uuid/dist/cjs-browser/package.json +0 -1
  939. package/node_modules/uuid/dist/cjs-browser/parse.js +0 -11
  940. package/node_modules/uuid/dist/cjs-browser/regex.js +0 -3
  941. package/node_modules/uuid/dist/cjs-browser/rng.js +0 -14
  942. package/node_modules/uuid/dist/cjs-browser/sha1.js +0 -72
  943. package/node_modules/uuid/dist/cjs-browser/stringify.js +0 -39
  944. package/node_modules/uuid/dist/cjs-browser/types.js +0 -2
  945. package/node_modules/uuid/dist/cjs-browser/uuid-bin.js +0 -72
  946. package/node_modules/uuid/dist/cjs-browser/v1.js +0 -87
  947. package/node_modules/uuid/dist/cjs-browser/v1ToV6.js +0 -13
  948. package/node_modules/uuid/dist/cjs-browser/v3.js +0 -14
  949. package/node_modules/uuid/dist/cjs-browser/v35.js +0 -41
  950. package/node_modules/uuid/dist/cjs-browser/v4.js +0 -29
  951. package/node_modules/uuid/dist/cjs-browser/v5.js +0 -14
  952. package/node_modules/uuid/dist/cjs-browser/v6.js +0 -19
  953. package/node_modules/uuid/dist/cjs-browser/v6ToV1.js +0 -13
  954. package/node_modules/uuid/dist/cjs-browser/v7.js +0 -69
  955. package/node_modules/uuid/dist/cjs-browser/validate.js +0 -7
  956. package/node_modules/uuid/dist/cjs-browser/version.js +0 -10
  957. package/node_modules/uuid/dist/esm/index.d.ts +0 -15
  958. package/node_modules/uuid/dist/esm/max.d.ts +0 -2
  959. package/node_modules/uuid/dist/esm/md5.d.ts +0 -4
  960. package/node_modules/uuid/dist/esm/native.d.ts +0 -6
  961. package/node_modules/uuid/dist/esm/native.js +0 -2
  962. package/node_modules/uuid/dist/esm/nil.d.ts +0 -2
  963. package/node_modules/uuid/dist/esm/parse.d.ts +0 -2
  964. package/node_modules/uuid/dist/esm/regex.d.ts +0 -2
  965. package/node_modules/uuid/dist/esm/rng.d.ts +0 -1
  966. package/node_modules/uuid/dist/esm/sha1.d.ts +0 -4
  967. package/node_modules/uuid/dist/esm/stringify.d.ts +0 -3
  968. package/node_modules/uuid/dist/esm/types.d.ts +0 -21
  969. package/node_modules/uuid/dist/esm/uuid-bin.d.ts +0 -1
  970. package/node_modules/uuid/dist/esm/v1.d.ts +0 -11
  971. package/node_modules/uuid/dist/esm/v1ToV6.d.ts +0 -2
  972. package/node_modules/uuid/dist/esm/v3.d.ts +0 -9
  973. package/node_modules/uuid/dist/esm/v35.d.ts +0 -7
  974. package/node_modules/uuid/dist/esm/v4.d.ts +0 -4
  975. package/node_modules/uuid/dist/esm/v5.d.ts +0 -9
  976. package/node_modules/uuid/dist/esm/v6.d.ts +0 -4
  977. package/node_modules/uuid/dist/esm/v6ToV1.d.ts +0 -2
  978. package/node_modules/uuid/dist/esm/v7.d.ts +0 -9
  979. package/node_modules/uuid/dist/esm/validate.d.ts +0 -2
  980. package/node_modules/uuid/dist/esm/version.d.ts +0 -2
  981. package/node_modules/uuid/dist/esm-browser/index.d.ts +0 -15
  982. package/node_modules/uuid/dist/esm-browser/max.d.ts +0 -2
  983. package/node_modules/uuid/dist/esm-browser/md5.d.ts +0 -2
  984. package/node_modules/uuid/dist/esm-browser/native.d.ts +0 -4
  985. package/node_modules/uuid/dist/esm-browser/nil.d.ts +0 -2
  986. package/node_modules/uuid/dist/esm-browser/parse.d.ts +0 -2
  987. package/node_modules/uuid/dist/esm-browser/regex.d.ts +0 -2
  988. package/node_modules/uuid/dist/esm-browser/rng.d.ts +0 -1
  989. package/node_modules/uuid/dist/esm-browser/sha1.d.ts +0 -2
  990. package/node_modules/uuid/dist/esm-browser/stringify.d.ts +0 -3
  991. package/node_modules/uuid/dist/esm-browser/types.d.ts +0 -21
  992. package/node_modules/uuid/dist/esm-browser/uuid-bin.d.ts +0 -1
  993. package/node_modules/uuid/dist/esm-browser/v1.d.ts +0 -11
  994. package/node_modules/uuid/dist/esm-browser/v1ToV6.d.ts +0 -2
  995. package/node_modules/uuid/dist/esm-browser/v3.d.ts +0 -9
  996. package/node_modules/uuid/dist/esm-browser/v35.d.ts +0 -7
  997. package/node_modules/uuid/dist/esm-browser/v4.d.ts +0 -4
  998. package/node_modules/uuid/dist/esm-browser/v5.d.ts +0 -9
  999. package/node_modules/uuid/dist/esm-browser/v6.d.ts +0 -4
  1000. package/node_modules/uuid/dist/esm-browser/v6ToV1.d.ts +0 -2
  1001. package/node_modules/uuid/dist/esm-browser/v7.d.ts +0 -9
  1002. package/node_modules/uuid/dist/esm-browser/validate.d.ts +0 -2
  1003. package/node_modules/uuid/dist/esm-browser/version.d.ts +0 -2
  1004. /package/node_modules/uuid/dist/{cjs-browser/index.d.ts → index.d.ts} +0 -0
  1005. /package/node_modules/uuid/dist/{esm/index.js → index.js} +0 -0
  1006. /package/node_modules/uuid/dist/{cjs-browser/max.d.ts → max.d.ts} +0 -0
  1007. /package/node_modules/uuid/dist/{esm/max.js → max.js} +0 -0
  1008. /package/node_modules/uuid/dist/{cjs-browser/md5.d.ts → md5.d.ts} +0 -0
  1009. /package/node_modules/uuid/dist/{esm-browser/md5.js → md5.js} +0 -0
  1010. /package/node_modules/uuid/dist/{cjs-browser/native.d.ts → native.d.ts} +0 -0
  1011. /package/node_modules/uuid/dist/{esm-browser/native.js → native.js} +0 -0
  1012. /package/node_modules/uuid/dist/{cjs-browser/nil.d.ts → nil.d.ts} +0 -0
  1013. /package/node_modules/uuid/dist/{esm/nil.js → nil.js} +0 -0
  1014. /package/node_modules/uuid/dist/{cjs-browser/parse.d.ts → parse.d.ts} +0 -0
  1015. /package/node_modules/uuid/dist/{esm/parse.js → parse.js} +0 -0
  1016. /package/node_modules/uuid/dist/{cjs-browser/regex.d.ts → regex.d.ts} +0 -0
  1017. /package/node_modules/uuid/dist/{esm/regex.js → regex.js} +0 -0
  1018. /package/node_modules/uuid/dist/{cjs-browser/rng.d.ts → rng.d.ts} +0 -0
  1019. /package/node_modules/uuid/dist/{esm-browser/rng.js → rng.js} +0 -0
  1020. /package/node_modules/uuid/dist/{cjs-browser/sha1.d.ts → sha1.d.ts} +0 -0
  1021. /package/node_modules/uuid/dist/{esm-browser/sha1.js → sha1.js} +0 -0
  1022. /package/node_modules/uuid/dist/{cjs-browser/stringify.d.ts → stringify.d.ts} +0 -0
  1023. /package/node_modules/uuid/dist/{esm/stringify.js → stringify.js} +0 -0
  1024. /package/node_modules/uuid/dist/{cjs-browser/types.d.ts → types.d.ts} +0 -0
  1025. /package/node_modules/uuid/dist/{esm/types.js → types.js} +0 -0
  1026. /package/node_modules/uuid/dist/{cjs-browser/uuid-bin.d.ts → uuid-bin.d.ts} +0 -0
  1027. /package/node_modules/uuid/dist/{cjs-browser/v1.d.ts → v1.d.ts} +0 -0
  1028. /package/node_modules/uuid/dist/{esm/v1.js → v1.js} +0 -0
  1029. /package/node_modules/uuid/dist/{cjs-browser/v1ToV6.d.ts → v1ToV6.d.ts} +0 -0
  1030. /package/node_modules/uuid/dist/{esm/v1ToV6.js → v1ToV6.js} +0 -0
  1031. /package/node_modules/uuid/dist/{cjs-browser/v3.d.ts → v3.d.ts} +0 -0
  1032. /package/node_modules/uuid/dist/{esm/v3.js → v3.js} +0 -0
  1033. /package/node_modules/uuid/dist/{cjs-browser/v35.d.ts → v35.d.ts} +0 -0
  1034. /package/node_modules/uuid/dist/{esm/v35.js → v35.js} +0 -0
  1035. /package/node_modules/uuid/dist/{cjs-browser/v4.d.ts → v4.d.ts} +0 -0
  1036. /package/node_modules/uuid/dist/{cjs-browser/v5.d.ts → v5.d.ts} +0 -0
  1037. /package/node_modules/uuid/dist/{esm/v5.js → v5.js} +0 -0
  1038. /package/node_modules/uuid/dist/{cjs-browser/v6.d.ts → v6.d.ts} +0 -0
  1039. /package/node_modules/uuid/dist/{esm/v6.js → v6.js} +0 -0
  1040. /package/node_modules/uuid/dist/{cjs-browser/v6ToV1.d.ts → v6ToV1.d.ts} +0 -0
  1041. /package/node_modules/uuid/dist/{esm/v6ToV1.js → v6ToV1.js} +0 -0
  1042. /package/node_modules/uuid/dist/{cjs-browser/v7.d.ts → v7.d.ts} +0 -0
  1043. /package/node_modules/uuid/dist/{esm/v7.js → v7.js} +0 -0
  1044. /package/node_modules/uuid/dist/{cjs-browser/validate.d.ts → validate.d.ts} +0 -0
  1045. /package/node_modules/uuid/dist/{esm/validate.js → validate.js} +0 -0
  1046. /package/node_modules/uuid/dist/{cjs-browser/version.d.ts → version.d.ts} +0 -0
  1047. /package/node_modules/uuid/dist/{esm/version.js → version.js} +0 -0
  1048. /package/node_modules/uuid/{dist/esm → dist-node}/bin/uuid +0 -0
  1049. /package/node_modules/uuid/{dist/esm-browser → dist-node}/index.js +0 -0
  1050. /package/node_modules/uuid/{dist/esm-browser → dist-node}/max.js +0 -0
  1051. /package/node_modules/uuid/{dist/esm-browser → dist-node}/nil.js +0 -0
  1052. /package/node_modules/uuid/{dist/esm-browser → dist-node}/parse.js +0 -0
  1053. /package/node_modules/uuid/{dist/esm-browser → dist-node}/regex.js +0 -0
  1054. /package/node_modules/uuid/{dist/esm-browser → dist-node}/stringify.js +0 -0
  1055. /package/node_modules/uuid/{dist/esm-browser → dist-node}/types.js +0 -0
  1056. /package/node_modules/uuid/{dist/esm-browser → dist-node}/v1.js +0 -0
  1057. /package/node_modules/uuid/{dist/esm-browser → dist-node}/v1ToV6.js +0 -0
  1058. /package/node_modules/uuid/{dist/esm-browser → dist-node}/v3.js +0 -0
  1059. /package/node_modules/uuid/{dist/esm-browser → dist-node}/v35.js +0 -0
  1060. /package/node_modules/uuid/{dist/esm-browser → dist-node}/v5.js +0 -0
  1061. /package/node_modules/uuid/{dist/esm-browser → dist-node}/v6.js +0 -0
  1062. /package/node_modules/uuid/{dist/esm-browser → dist-node}/v6ToV1.js +0 -0
  1063. /package/node_modules/uuid/{dist/esm-browser → dist-node}/v7.js +0 -0
  1064. /package/node_modules/uuid/{dist/esm-browser → dist-node}/validate.js +0 -0
  1065. /package/node_modules/uuid/{dist/esm-browser → dist-node}/version.js +0 -0
@@ -1,1209 +0,0 @@
1
- /*!
2
- * MarchingSquaresJS
3
- * version 1.3.3
4
- * https://github.com/RaumZeit/MarchingSquares.js
5
- *
6
- * @license GNU Affero General Public License.
7
- * Copyright (c) 2015-2019 Ronny Lorenz <ronny@tbi.univie.ac.at>
8
- */
9
-
10
-
11
- (function (global, factory) {
12
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
13
- typeof define === 'function' && define.amd ? define(['exports'], factory) :
14
- (factory((global.MarchingSquaresJS = global.MarchingSquaresJS || {})));
15
- }(this, (function (exports) { 'use strict';
16
-
17
- /*
18
- * Compute the distance of a value 'v' from 'a' through linear interpolation
19
- * between the values of 'a' and 'b'
20
- *
21
- * Note, that we assume that 'a' and 'b' have unit distance (i.e. 1)
22
- */
23
- function linear(a, b, v) {
24
- if (a < b)
25
- return (v - a) / (b - a);
26
-
27
- return (a - v) / (a - b);
28
- }
29
-
30
- function Options() {
31
- /* Settings common to all implemented algorithms */
32
- this.successCallback = null;
33
- this.verbose = false;
34
- this.polygons = false;
35
- this.polygons_full = false;
36
- this.linearRing = true;
37
- this.noQuadTree = false;
38
- this.noFrame = false;
39
- }
40
-
41
-
42
- /* Compose settings specific to IsoLines algorithm */
43
- function isoLineOptions(userSettings) {
44
- var i,
45
- key,
46
- val,
47
- lineOptions,
48
- optionKeys;
49
-
50
- lineOptions = new Options();
51
- userSettings = userSettings ? userSettings : {};
52
- optionKeys = Object.keys(lineOptions);
53
-
54
- for(i = 0; i < optionKeys.length; i++) {
55
- key = optionKeys[i];
56
- val = userSettings[key];
57
- if ((typeof val !== 'undefined') && (val !== null))
58
- lineOptions[key] = val;
59
- }
60
-
61
- /* restore compatibility */
62
- lineOptions.polygons_full = !lineOptions.polygons;
63
-
64
- /* add interpolation functions (not yet user customizable) */
65
- lineOptions.interpolate = linear;
66
-
67
- return lineOptions;
68
- }
69
-
70
- function cell2Polygons(cell, x, y, settings) {
71
- var polygons = [];
72
-
73
- cell.polygons.forEach(function(p) {
74
- p.forEach(function(pp) {
75
- pp[0] += x;
76
- pp[1] += y;
77
- });
78
-
79
- if (settings.linearRing)
80
- p.push(p[0]);
81
-
82
- polygons.push(p);
83
- });
84
-
85
- return polygons;
86
- }
87
-
88
- function entry_coordinate(x, y, mode, path) {
89
- if (mode === 0) { /* down */
90
- x += 1;
91
- y += path[0][1];
92
- } else if (mode === 1) { /* left */
93
- x += path[0][0];
94
- } else if (mode === 2) { /* up */
95
- y += path[0][1];
96
- } else if (mode === 3) { /* right */
97
- x += path[0][0];
98
- y += 1;
99
- }
100
-
101
- return [ x, y ];
102
- }
103
-
104
-
105
- function skip_coordinate(x, y, mode) {
106
- if (mode === 0) { /* down */
107
- x++;
108
- } else if (mode === 1) ; else if (mode === 2) { /* up */
109
- y++;
110
- } else if (mode === 3) { /* right */
111
- x++;
112
- y++;
113
- }
114
-
115
- return [ x, y ];
116
- }
117
-
118
-
119
- function requireLineFrame(data, threshold) {
120
- var frameRequired,
121
- cols,
122
- rows,
123
- i,
124
- j;
125
-
126
- frameRequired = true;
127
- cols = data[0].length;
128
- rows = data.length;
129
-
130
- for (j = 0; j < rows; j++) {
131
- if ((data[j][0] >= threshold) ||
132
- (data[j][cols - 1] >= threshold)) {
133
- frameRequired = false;
134
- break;
135
- }
136
- }
137
-
138
- if ((frameRequired) &&
139
- ((data[rows - 1][0] >= threshold) ||
140
- (data[rows - 1][cols - 1] >= threshold))) {
141
- frameRequired = false;
142
- }
143
-
144
- if (frameRequired)
145
- for (i = 0; i < cols - 1; i++) {
146
- if ((data[0][i] >= threshold) ||
147
- (data[rows - 1][i] > threshold)) {
148
- frameRequired = false;
149
- break;
150
- }
151
- }
152
-
153
- return frameRequired;
154
- }
155
-
156
-
157
- function traceLinePaths(data, cellGrid, settings) {
158
- var nextedge,
159
- e,
160
- ee,
161
- cc,
162
- path,
163
- enter,
164
- x,
165
- y,
166
- finalized,
167
- origin,
168
- point,
169
- dir,
170
- count,
171
- found_entry,
172
- ve;
173
-
174
- var polygons = [];
175
- var rows = data.length - 1;
176
- var cols = data[0].length - 1;
177
-
178
- /*
179
- * directions for out-of-grid moves are:
180
- * 0 ... "down",
181
- * 1 ... "left",
182
- * 2 ... "up",
183
- * 3 ... "right"
184
- */
185
- var valid_entries = [ 'right', /* down */
186
- 'bottom', /* left */
187
- 'left', /* up */
188
- 'top' /* right */
189
- ];
190
- var add_x = [ 0, -1, 0, 1 ];
191
- var add_y = [ -1, 0, 1, 0 ];
192
- var entry_dir = {
193
- bottom: 1,
194
- left: 2,
195
- top: 3,
196
- right: 0
197
- };
198
-
199
- /* first, detect whether we need any outer frame */
200
- if (!settings.noFrame)
201
- if (requireLineFrame(data, settings.threshold)) {
202
- if (settings.linearRing)
203
- polygons.push([ [0, 0], [0, rows], [cols, rows], [cols, 0], [0, 0] ]);
204
- else
205
- polygons.push([ [0, 0], [0, rows], [cols, rows], [cols, 0] ]);
206
- }
207
-
208
- /* finally, start tracing back first polygon(s) */
209
-
210
- cellGrid.forEach(function(a, i) {
211
- a.forEach(function(cell, j) {
212
- nextedge = null;
213
-
214
- /* trace paths for all available edges that go through this cell */
215
- for (e = 0; e < 4; e++) {
216
- nextedge = valid_entries[e];
217
-
218
- if (typeof cell.edges[nextedge] !== 'object')
219
- continue;
220
-
221
- /* start a new, full path */
222
- path = [];
223
- ee = cell.edges[nextedge];
224
- enter = nextedge;
225
- x = i;
226
- y = j;
227
- finalized = false;
228
- origin = [ i + ee.path[0][0], j + ee.path[0][1] ];
229
-
230
- /* add start coordinate */
231
- path.push(origin);
232
-
233
- /* start traceback */
234
- while (!finalized) {
235
- cc = cellGrid[x][y];
236
-
237
- if (typeof cc.edges[enter] !== 'object')
238
- break;
239
-
240
- ee = cc.edges[enter];
241
-
242
- /* remove edge from cell */
243
- delete cc.edges[enter];
244
-
245
- /* add last point of edge to path arra, since we extend a polygon */
246
- point = ee.path[1];
247
- point[0] += x;
248
- point[1] += y;
249
- path.push(point);
250
-
251
- enter = ee.move.enter;
252
- x = x + ee.move.x;
253
- y = y + ee.move.y;
254
-
255
- /* handle out-of-grid moves */
256
- if ((typeof cellGrid[x] === 'undefined') ||
257
- (typeof cellGrid[x][y] === 'undefined')) {
258
-
259
- if (!settings.linearRing)
260
- break;
261
-
262
- dir = 0;
263
- count = 0;
264
-
265
- if (x === cols) {
266
- x--;
267
- dir = 0; /* move downwards */
268
- } else if (x < 0) {
269
- x++;
270
- dir = 2; /* move upwards */
271
- } else if (y === rows) {
272
- y--;
273
- dir = 3; /* move right */
274
- } else if (y < 0) {
275
- y++;
276
- dir = 1; /* move left */
277
- }
278
-
279
- if ((x === i) && (y === j) && (dir === entry_dir[nextedge])) {
280
- finalized = true;
281
- enter = nextedge;
282
- break;
283
- }
284
-
285
- while (1) {
286
- found_entry = false;
287
-
288
- if (count > 4)
289
- throw new Error('Direction change counter overflow! This should never happen!');
290
-
291
- if (!((typeof cellGrid[x] === 'undefined') ||
292
- (typeof cellGrid[x][y] === 'undefined'))) {
293
- cc = cellGrid[x][y];
294
-
295
- /* check for re-entry */
296
- ve = valid_entries[dir];
297
- if (typeof cc.edges[ve] === 'object') {
298
- /* found re-entry */
299
- ee = cc.edges[ve];
300
- path.push(entry_coordinate(x, y, dir, ee.path));
301
- enter = ve;
302
- found_entry = true;
303
- break;
304
- }
305
- }
306
-
307
- if (found_entry) {
308
- break;
309
- } else {
310
- path.push(skip_coordinate(x, y, dir));
311
-
312
- x += add_x[dir];
313
- y += add_y[dir];
314
-
315
- /* change direction if we'e moved out of grid again */
316
- if ((typeof cellGrid[x] === 'undefined') ||
317
- (typeof cellGrid[x][y] === 'undefined')) {
318
- if (((dir === 0) && (y < 0)) ||
319
- ((dir === 1) && (x < 0)) ||
320
- ((dir === 2) && (y === rows)) ||
321
- ((dir === 3) && (x === cols))) {
322
- x -= add_x[dir];
323
- y -= add_y[dir];
324
-
325
- dir = (dir + 1) % 4;
326
- count++;
327
- }
328
- }
329
-
330
- if ((x === i) && (y === j) && (dir === entry_dir[nextedge])) {
331
- /* we are back where we started off, so finalize the polygon */
332
- finalized = true;
333
- enter = nextedge;
334
- break;
335
- }
336
- }
337
- }
338
- }
339
- }
340
-
341
- if ((settings.linearRing) &&
342
- ((path[path.length - 1][0] !== origin[0]) ||
343
- (path[path.length - 1][1] !== origin[1])))
344
- path.push(origin);
345
-
346
- polygons.push(path);
347
- } /* end forall entry sites */
348
- }); /* end foreach i */
349
- }); /* end foreach j */
350
-
351
- return polygons;
352
- }
353
-
354
- /* quadTree node constructor */
355
- function TreeNode(data, x, y, dx, dy) {
356
- var dx_tmp = dx,
357
- dy_tmp = dy,
358
- msb_x = 0,
359
- msb_y = 0;
360
-
361
- /* left-bottom corner of current quadrant */
362
- this.x = x;
363
- this.y = y;
364
-
365
- /* minimum value in subtree under this node */
366
- this.lowerBound = null;
367
- /* maximum value in subtree under this node */
368
- this.upperBound = null;
369
-
370
- /*
371
- * child nodes are layed out in the following way:
372
- *
373
- * (x, y + 1) ---- (x + 1, y + 1)
374
- * | | |
375
- * | D | C |
376
- * | | |
377
- * |----------------------------|
378
- * | | |
379
- * | A | B |
380
- * | | |
381
- * (x, y) ------------ (x + 1, y)
382
- */
383
- this.childA = null;
384
- this.childB = null;
385
- this.childC = null;
386
- this.childD = null;
387
-
388
- if ((dx === 1) && (dy === 1)) {
389
- /* do not further subdivision */
390
- this.lowerBound = Math.min(
391
- data[y][x],
392
- data[y][x + 1],
393
- data[y + 1][x + 1],
394
- data[y + 1][x]
395
- );
396
- this.upperBound = Math.max(
397
- data[y][x],
398
- data[y][x + 1],
399
- data[y + 1][x + 1],
400
- data[y + 1][x]
401
- );
402
- } else {
403
- /* get most significant bit from dx */
404
- if (dx > 1) {
405
- while (dx_tmp !== 0) {
406
- dx_tmp = dx_tmp >> 1;
407
- msb_x++;
408
- }
409
-
410
- if (dx === (1 << (msb_x - 1)))
411
- msb_x--;
412
-
413
- dx_tmp = 1 << (msb_x - 1);
414
- }
415
-
416
- /* get most significant bit from dx */
417
- if (dy > 1) {
418
- while (dy_tmp !== 0) {
419
- dy_tmp = dy_tmp >> 1;
420
- msb_y++;
421
- }
422
-
423
- if (dy === (1 << (msb_y - 1)))
424
- msb_y--;
425
-
426
- dy_tmp = 1 << (msb_y - 1);
427
- }
428
-
429
- this.childA = new TreeNode(data, x, y, dx_tmp, dy_tmp);
430
- this.lowerBound = this.childA.lowerBound;
431
- this.upperBound = this.childA.upperBound;
432
-
433
- if (dx - dx_tmp > 0) {
434
- this.childB = new TreeNode(data, x + dx_tmp, y, dx - dx_tmp, dy_tmp);
435
- this.lowerBound = Math.min(this.lowerBound, this.childB.lowerBound);
436
- this.upperBound = Math.max(this.upperBound, this.childB.upperBound);
437
-
438
- if (dy - dy_tmp > 0) {
439
- this.childC = new TreeNode(data, x + dx_tmp, y + dy_tmp, dx - dx_tmp, dy - dy_tmp);
440
- this.lowerBound = Math.min(this.lowerBound, this.childC.lowerBound);
441
- this.upperBound = Math.max(this.upperBound, this.childC.upperBound);
442
- }
443
- }
444
-
445
- if (dy - dy_tmp > 0) {
446
- this.childD = new TreeNode(data, x, y + dy_tmp, dx_tmp, dy - dy_tmp);
447
- this.lowerBound = Math.min(this.lowerBound, this.childD.lowerBound);
448
- this.upperBound = Math.max(this.upperBound, this.childD.upperBound);
449
- }
450
- }
451
- }
452
-
453
-
454
- /**
455
- * Retrieve a list of cells within a particular range of values by
456
- * recursivly traversing the quad tree to it's leaves.
457
- *
458
- * @param subsumed If 'true' include all cells that are completely
459
- * subsumed within the specified range. Otherwise,
460
- * return only cells where at least one corner is
461
- * outside the specified range.
462
- *
463
- * @return An array of objects 'o' where each object has exactly two
464
- * properties: 'o.x' and 'o.y' denoting the left-bottom corner
465
- * of the corresponding cell.
466
- */
467
- TreeNode.prototype.cellsInBand = function(lowerBound, upperBound, subsumed) {
468
- var cells = [];
469
-
470
- subsumed = (typeof subsumed === 'undefined') ? true : subsumed;
471
-
472
- if ((this.lowerBound > upperBound) || (this.upperBound < lowerBound))
473
- return cells;
474
-
475
- if (!(this.childA || this.childB || this.childC || this.childD)) {
476
- if ((subsumed) ||
477
- (this.lowerBound <= lowerBound) ||
478
- (this.upperBound >= upperBound)) {
479
- cells.push({
480
- x: this.x,
481
- y: this.y
482
- });
483
- }
484
- } else {
485
- if (this.childA)
486
- cells = cells.concat(this.childA.cellsInBand(lowerBound, upperBound, subsumed));
487
-
488
- if (this.childB)
489
- cells = cells.concat(this.childB.cellsInBand(lowerBound, upperBound, subsumed));
490
-
491
- if (this.childD)
492
- cells = cells.concat(this.childD.cellsInBand(lowerBound, upperBound, subsumed));
493
-
494
- if (this.childC)
495
- cells = cells.concat(this.childC.cellsInBand(lowerBound, upperBound, subsumed));
496
- }
497
-
498
- return cells;
499
- };
500
-
501
-
502
- TreeNode.prototype.cellsBelowThreshold = function(threshold, subsumed) {
503
- var cells = [];
504
-
505
- subsumed = (typeof subsumed === 'undefined') ? true : subsumed;
506
-
507
- if (this.lowerBound > threshold)
508
- return cells;
509
-
510
- if (!(this.childA || this.childB || this.childC || this.childD)) {
511
- if ((subsumed) ||
512
- (this.upperBound >= threshold)) {
513
- cells.push({
514
- x: this.x,
515
- y: this.y
516
- });
517
- }
518
- } else {
519
- if (this.childA)
520
- cells = cells.concat(this.childA.cellsBelowThreshold(threshold, subsumed));
521
-
522
- if (this.childB)
523
- cells = cells.concat(this.childB.cellsBelowThreshold(threshold, subsumed));
524
-
525
- if (this.childD)
526
- cells = cells.concat(this.childD.cellsBelowThreshold(threshold, subsumed));
527
-
528
- if (this.childC)
529
- cells = cells.concat(this.childC.cellsBelowThreshold(threshold, subsumed));
530
- }
531
-
532
- return cells;
533
- };
534
-
535
-
536
- /*
537
- * Given a scalar field `data` construct a QuadTree
538
- * to efficiently lookup those parts of the scalar
539
- * field where values are within a particular
540
- * range of [lowerbound, upperbound] limits.
541
- */
542
- function QuadTree(data) {
543
- var i, cols;
544
-
545
- /* do some input checking */
546
- if (!data)
547
- throw new Error('data is required');
548
-
549
- if (!Array.isArray(data) ||
550
- !Array.isArray(data[0]))
551
- throw new Error('data must be scalar field, i.e. array of arrays');
552
-
553
- if (data.length < 2)
554
- throw new Error('data must contain at least two rows');
555
-
556
- /* check if we've got a regular grid */
557
- cols = data[0].length;
558
-
559
- if (cols < 2)
560
- throw new Error('data must contain at least two columns');
561
-
562
- for (i = 1; i < data.length; i++) {
563
- if (!Array.isArray(data[i]))
564
- throw new Error('Row ' + i + ' is not an array');
565
-
566
- if (data[i].length != cols)
567
- throw new Error('unequal row lengths detected, please provide a regular grid');
568
- }
569
-
570
- /* create pre-processing object */
571
- this.data = data;
572
- /* root node, i.e. entry to the data */
573
- this.root = new TreeNode(data, 0, 0, data[0].length - 1, data.length - 1);
574
- }
575
-
576
- /* eslint no-console: ["error", { allow: ["log"] }] */
577
-
578
-
579
- /*
580
- * Compute the iso lines for a scalar 2D field given
581
- * a certain threshold by applying the Marching Squares
582
- * Algorithm. The function returns a list of path coordinates
583
- */
584
-
585
- function isoLines(input, threshold, options) {
586
- var settings,
587
- i,
588
- j,
589
- useQuadTree = false,
590
- multiLine = false,
591
- tree = null,
592
- root = null,
593
- data = null,
594
- cellGrid = null,
595
- linePolygons = null,
596
- ret = [];
597
-
598
- /* validation */
599
- if (!input) throw new Error('data is required');
600
- if (threshold === undefined || threshold === null) throw new Error('threshold is required');
601
- if ((!!options) && (typeof options !== 'object')) throw new Error('options must be an object');
602
-
603
- /* process options */
604
- settings = isoLineOptions(options);
605
-
606
- /* check for input data */
607
- if (input instanceof QuadTree) {
608
- tree = input;
609
- root = input.root;
610
- data = input.data;
611
- if (!settings.noQuadTree)
612
- useQuadTree = true;
613
- } else if (Array.isArray(input) && Array.isArray(input[0])) {
614
- data = input;
615
- } else {
616
- throw new Error('input is neither array of arrays nor object retrieved from \'QuadTree()\'');
617
- }
618
-
619
- /* check and prepare input threshold(s) */
620
- if (Array.isArray(threshold)) {
621
- multiLine = true;
622
-
623
- /* activate QuadTree optimization if not explicitly forbidden by user settings */
624
- if (!settings.noQuadTree)
625
- useQuadTree = true;
626
-
627
- /* check if all minV are numbers */
628
- for (i = 0; i < threshold.length; i++)
629
- if (isNaN(+threshold[i]))
630
- throw new Error('threshold[' + i + '] is not a number');
631
- } else {
632
- if (isNaN(+threshold))
633
- throw new Error('threshold must be a number or array of numbers');
634
-
635
- threshold = [ threshold ];
636
- }
637
-
638
- /* create QuadTree root node if not already present */
639
- if ((useQuadTree) && (!root)) {
640
- tree = new QuadTree(data);
641
- root = tree.root;
642
- data = tree.data;
643
- }
644
-
645
- if (settings.verbose) {
646
- if(settings.polygons)
647
- console.log('MarchingSquaresJS-isoLines: returning single lines (polygons) for each grid cell');
648
- else
649
- console.log('MarchingSquaresJS-isoLines: returning line paths (polygons) for entire data grid');
650
-
651
- if (multiLine)
652
- console.log('MarchingSquaresJS-isoLines: multiple lines requested, returning array of line paths instead of lines for a single threshold');
653
- }
654
-
655
- /* Done with all input validation, now let's start computing stuff */
656
-
657
- /* loop over all threhsold values */
658
- threshold.forEach(function(t, i) {
659
- linePolygons = [];
660
-
661
- /* store bounds for current computation in settings object */
662
- settings.threshold = t;
663
-
664
- if(settings.verbose)
665
- console.log('MarchingSquaresJS-isoLines: computing iso lines for threshold ' + t);
666
-
667
- if (settings.polygons) {
668
- /* compose list of polygons for each single cell */
669
- if (useQuadTree) {
670
- /* go through list of cells retrieved from QuadTree */
671
- root
672
- .cellsBelowThreshold(settings.threshold, true)
673
- .forEach(function(c) {
674
- linePolygons = linePolygons.concat(
675
- cell2Polygons(
676
- prepareCell(data,
677
- c.x,
678
- c.y,
679
- settings),
680
- c.x,
681
- c.y,
682
- settings
683
- ));
684
- });
685
- } else {
686
- /* go through entire array of input data */
687
- for (j = 0; j < data.length - 1; ++j) {
688
- for (i = 0; i < data[0].length - 1; ++i)
689
- linePolygons = linePolygons.concat(
690
- cell2Polygons(
691
- prepareCell(data,
692
- i,
693
- j,
694
- settings),
695
- i,
696
- j,
697
- settings
698
- ));
699
- }
700
- }
701
- } else {
702
- /* sparse grid of input data cells */
703
- cellGrid = [];
704
- for (i = 0; i < data[0].length - 1; ++i)
705
- cellGrid[i] = [];
706
-
707
- /* compose list of polygons for entire input grid */
708
- if (useQuadTree) {
709
- /* collect the cells */
710
- root
711
- .cellsBelowThreshold(settings.threshold, false)
712
- .forEach(function(c) {
713
- cellGrid[c.x][c.y] = prepareCell(data,
714
- c.x,
715
- c.y,
716
- settings);
717
- });
718
- } else {
719
- /* prepare cells */
720
- for (i = 0; i < data[0].length - 1; ++i) {
721
- for (j = 0; j < data.length - 1; ++j) {
722
- cellGrid[i][j] = prepareCell(data,
723
- i,
724
- j,
725
- settings);
726
- }
727
- }
728
- }
729
-
730
- linePolygons = traceLinePaths(data, cellGrid, settings);
731
- }
732
-
733
- /* finally, add polygons to output array */
734
- if (multiLine)
735
- ret.push(linePolygons);
736
- else
737
- ret = linePolygons;
738
-
739
- if(typeof settings.successCallback === 'function')
740
- settings.successCallback(ret, t);
741
-
742
- });
743
-
744
- return ret;
745
- }
746
-
747
- /*
748
- * Thats all for the public interface, below follows the actual
749
- * implementation
750
- */
751
-
752
- /*
753
- * ################################
754
- * Isocontour implementation below
755
- * ################################
756
- */
757
-
758
- function prepareCell(grid, x, y, settings) {
759
- var left,
760
- right,
761
- top,
762
- bottom,
763
- average,
764
- cell;
765
-
766
- var cval = 0;
767
- var x3 = grid[y + 1][x];
768
- var x2 = grid[y + 1][x + 1];
769
- var x1 = grid[y][x + 1];
770
- var x0 = grid[y][x];
771
- var threshold = settings.threshold;
772
-
773
- /*
774
- * Note that missing data within the grid will result
775
- * in horribly failing to trace full polygon paths
776
- */
777
- if(isNaN(x0) || isNaN(x1) || isNaN(x2) || isNaN(x3)) {
778
- return;
779
- }
780
-
781
- /*
782
- * Here we detect the type of the cell
783
- *
784
- * x3 ---- x2
785
- * | |
786
- * | |
787
- * x0 ---- x1
788
- *
789
- * with edge points
790
- *
791
- * x0 = (x,y),
792
- * x1 = (x + 1, y),
793
- * x2 = (x + 1, y + 1), and
794
- * x3 = (x, y + 1)
795
- *
796
- * and compute the polygon intersections with the edges
797
- * of the cell. Each edge value may be (i) smaller, or (ii)
798
- * greater or equal to the iso line threshold. We encode
799
- * this property using 1 bit of information, where
800
- *
801
- * 0 ... below,
802
- * 1 ... above or equal
803
- *
804
- * Then we store the cells value as vector
805
- *
806
- * cval = (x0, x1, x2, x3)
807
- *
808
- * where x0 is the least significant bit (0th),
809
- * x1 the 2nd bit, and so on. This essentially
810
- * enables us to work with a single integer number
811
- */
812
-
813
- cval |= ((x3 >= threshold) ? 8 : 0);
814
- cval |= ((x2 >= threshold) ? 4 : 0);
815
- cval |= ((x1 >= threshold) ? 2 : 0);
816
- cval |= ((x0 >= threshold) ? 1 : 0);
817
-
818
- /* make sure cval is a number */
819
- cval = +cval;
820
-
821
- /* compose the cell object */
822
- cell = {
823
- cval: cval,
824
- polygons: [],
825
- edges: {},
826
- x0: x0,
827
- x1: x1,
828
- x2: x2,
829
- x3: x3
830
- };
831
-
832
- /*
833
- * Compute interpolated intersections of the polygon(s)
834
- * with the cell borders and (i) add edges for polygon
835
- * trace-back, or (ii) a list of small closed polygons
836
- */
837
- switch (cval) {
838
- case 0:
839
- if (settings.polygons)
840
- cell.polygons.push([ [0, 0], [0, 1], [1, 1], [1, 0] ]);
841
-
842
- break;
843
-
844
- case 15:
845
- /* cell is outside (above) threshold, no polygons */
846
- break;
847
-
848
- case 14: /* 1110 */
849
- left = settings.interpolate(x0, x3, threshold);
850
- bottom = settings.interpolate(x0, x1, threshold);
851
-
852
- if (settings.polygons_full) {
853
- cell.edges.left = {
854
- path: [ [0, left], [bottom, 0] ],
855
- move: {
856
- x: 0,
857
- y: -1,
858
- enter: 'top'
859
- }
860
- };
861
- }
862
-
863
- if (settings.polygons)
864
- cell.polygons.push([ [0, 0], [0, left], [bottom, 0] ]);
865
-
866
- break;
867
-
868
- case 13: /* 1101 */
869
- bottom = settings.interpolate(x0, x1, threshold);
870
- right = settings.interpolate(x1, x2, threshold);
871
-
872
- if (settings.polygons_full) {
873
- cell.edges.bottom = {
874
- path: [ [bottom, 0], [1, right] ],
875
- move: {
876
- x: 1,
877
- y: 0,
878
- enter: 'left'
879
- }
880
- };
881
- }
882
-
883
- if (settings.polygons)
884
- cell.polygons.push([ [bottom, 0], [1, right], [1, 0] ]);
885
-
886
- break;
887
-
888
- case 11: /* 1011 */
889
- right = settings.interpolate(x1, x2, threshold);
890
- top = settings.interpolate(x3, x2, threshold);
891
-
892
- if (settings.polygons_full) {
893
- cell.edges.right = {
894
- path: [ [1, right], [top, 1] ],
895
- move: {
896
- x: 0,
897
- y: 1,
898
- enter: 'bottom'
899
- }
900
- };
901
- }
902
-
903
- if (settings.polygons)
904
- cell.polygons.push([ [1, right], [top, 1], [1, 1] ]);
905
-
906
- break;
907
-
908
- case 7: /* 0111 */
909
- left = settings.interpolate(x0, x3, threshold);
910
- top = settings.interpolate(x3, x2, threshold);
911
-
912
- if (settings.polygons_full) {
913
- cell.edges.top = {
914
- path: [ [top, 1], [0, left] ],
915
- move: {
916
- x: -1,
917
- y: 0,
918
- enter: 'right'
919
- }
920
- };
921
- }
922
-
923
- if (settings.polygons)
924
- cell.polygons.push([ [top, 1], [0, left], [0, 1] ]);
925
-
926
- break;
927
-
928
- case 1: /* 0001 */
929
- left = settings.interpolate(x0, x3, threshold);
930
- bottom = settings.interpolate(x0, x1, threshold);
931
-
932
- if (settings.polygons_full) {
933
- cell.edges.bottom = {
934
- path: [ [bottom, 0], [0, left] ],
935
- move: {
936
- x: -1,
937
- y: 0,
938
- enter: 'right'
939
- }
940
- };
941
- }
942
-
943
- if (settings.polygons)
944
- cell.polygons.push([ [bottom, 0], [0, left], [0, 1], [1, 1], [1, 0] ]);
945
-
946
- break;
947
-
948
- case 2: /* 0010 */
949
- bottom = settings.interpolate(x0, x1, threshold);
950
- right = settings.interpolate(x1, x2, threshold);
951
-
952
- if (settings.polygons_full) {
953
- cell.edges.right = {
954
- path: [ [1, right], [bottom, 0] ],
955
- move: {
956
- x: 0,
957
- y: -1,
958
- enter: 'top'
959
- }
960
- };
961
- }
962
-
963
- if (settings.polygons)
964
- cell.polygons.push([ [0, 0], [0, 1], [1, 1], [1, right], [bottom, 0] ]);
965
-
966
- break;
967
-
968
- case 4: /* 0100 */
969
- right = settings.interpolate(x1, x2, threshold);
970
- top = settings.interpolate(x3, x2, threshold);
971
-
972
- if (settings.polygons_full) {
973
- cell.edges.top = {
974
- path: [ [top, 1], [1, right] ],
975
- move: {
976
- x: 1,
977
- y: 0,
978
- enter: 'left'
979
- }
980
- };
981
- }
982
-
983
- if (settings.polygons)
984
- cell.polygons.push([ [0, 0], [0, 1], [top, 1], [1, right], [1, 0] ]);
985
-
986
- break;
987
-
988
- case 8: /* 1000 */
989
- left = settings.interpolate(x0, x3, threshold);
990
- top = settings.interpolate(x3, x2, threshold);
991
-
992
- if (settings.polygons_full) {
993
- cell.edges.left = {
994
- path: [ [0, left], [top, 1] ],
995
- move: {
996
- x: 0,
997
- y: 1,
998
- enter: 'bottom'
999
- }
1000
- };
1001
- }
1002
-
1003
- if (settings.polygons)
1004
- cell.polygons.push([ [0, 0], [0, left], [top, 1], [1, 1], [1, 0] ]);
1005
-
1006
- break;
1007
-
1008
- case 12: /* 1100 */
1009
- left = settings.interpolate(x0, x3, threshold);
1010
- right = settings.interpolate(x1, x2, threshold);
1011
-
1012
- if (settings.polygons_full) {
1013
- cell.edges.left = {
1014
- path: [ [0, left], [1, right] ],
1015
- move: {
1016
- x: 1,
1017
- y: 0,
1018
- enter: 'left'
1019
- }
1020
- };
1021
- }
1022
-
1023
- if (settings.polygons)
1024
- cell.polygons.push([ [0, 0], [0, left], [1, right], [1, 0] ]);
1025
-
1026
- break;
1027
-
1028
- case 9: /* 1001 */
1029
- bottom = settings.interpolate(x0, x1, threshold);
1030
- top = settings.interpolate(x3, x2, threshold);
1031
-
1032
- if (settings.polygons_full) {
1033
- cell.edges.bottom = {
1034
- path: [ [bottom, 0], [top, 1] ],
1035
- move: {
1036
- x: 0,
1037
- y: 1,
1038
- enter: 'bottom'
1039
- }
1040
- };
1041
- }
1042
-
1043
- if (settings.polygons)
1044
- cell.polygons.push([ [bottom, 0], [top, 1], [1, 1], [1, 0] ]);
1045
-
1046
- break;
1047
-
1048
- case 3: /* 0011 */
1049
- left = settings.interpolate(x0, x3, threshold);
1050
- right = settings.interpolate(x1, x2, threshold);
1051
-
1052
- if (settings.polygons_full) {
1053
- cell.edges.right = {
1054
- path: [ [1, right], [0, left] ],
1055
- move: {
1056
- x: -1,
1057
- y: 0,
1058
- enter: 'right'
1059
- }
1060
- };
1061
- }
1062
-
1063
- if (settings.polygons)
1064
- cell.polygons.push([ [0, left], [0, 1], [1, 1], [1, right] ]);
1065
-
1066
- break;
1067
-
1068
- case 6: /* 0110 */
1069
- bottom = settings.interpolate(x0, x1, threshold);
1070
- top = settings.interpolate(x3, x2, threshold);
1071
-
1072
- if (settings.polygons_full) {
1073
- cell.edges.top = {
1074
- path: [ [top, 1], [bottom, 0] ],
1075
- move: {
1076
- x: 0,
1077
- y: -1,
1078
- enter: 'top'
1079
- }
1080
- };
1081
- }
1082
-
1083
- if (settings.polygons)
1084
- cell.polygons.push([ [0, 0], [0, 1], [top, 1], [bottom, 0] ]);
1085
-
1086
- break;
1087
-
1088
- case 10: /* 1010 */
1089
- left = settings.interpolate(x0, x3, threshold);
1090
- right = settings.interpolate(x1, x2, threshold);
1091
- bottom = settings.interpolate(x0, x1, threshold);
1092
- top = settings.interpolate(x3, x2, threshold);
1093
- average = (x0 + x1 + x2 + x3) / 4;
1094
-
1095
- if (settings.polygons_full) {
1096
- if (average < threshold) {
1097
- cell.edges.left = {
1098
- path: [ [0, left], [top, 1] ],
1099
- move: {
1100
- x: 0,
1101
- y: 1,
1102
- enter: 'bottom'
1103
- }
1104
- };
1105
- cell.edges.right = {
1106
- path: [ [1, right], [bottom, 0] ],
1107
- move: {
1108
- x: 0,
1109
- y: -1,
1110
- enter: 'top'
1111
- }
1112
- };
1113
- } else {
1114
- cell.edges.right = {
1115
- path: [ [1, right], [top, 1] ],
1116
- move: {
1117
- x: 0,
1118
- y: 1,
1119
- enter: 'bottom'
1120
- }
1121
- };
1122
- cell.edges.left = {
1123
- path: [ [0, left], [bottom, 0] ],
1124
- move: {
1125
- x: 0,
1126
- y: -1,
1127
- enter: 'top'
1128
- }
1129
- };
1130
- }
1131
- }
1132
-
1133
- if (settings.polygons) {
1134
- if (average < threshold) {
1135
- cell.polygons.push([ [0, 0], [0, left], [top, 1], [1, 1], [1, right], [bottom, 0] ]);
1136
- } else {
1137
- cell.polygons.push([ [0, 0], [0, left], [bottom, 0] ]);
1138
- cell.polygons.push([ [top, 1], [1, 1], [1, right] ]);
1139
- }
1140
- }
1141
-
1142
- break;
1143
-
1144
- case 5: /* 0101 */
1145
- left = settings.interpolate(x0, x3, threshold);
1146
- right = settings.interpolate(x1, x2, threshold);
1147
- bottom = settings.interpolate(x0, x1, threshold);
1148
- top = settings.interpolate(x3, x2, threshold);
1149
- average = (x0 + x1 + x2 + x3) / 4;
1150
-
1151
- if (settings.polygons_full) {
1152
- if (average < threshold) {
1153
- cell.edges.bottom = {
1154
- path: [ [bottom, 0], [0, left] ],
1155
- move: {
1156
- x: -1,
1157
- y: 0,
1158
- enter: 'right'
1159
- }
1160
- };
1161
- cell.edges.top = {
1162
- path: [ [top, 1], [1, right] ],
1163
- move: {
1164
- x: 1,
1165
- y: 0,
1166
- enter: 'left'
1167
- }
1168
- };
1169
- } else {
1170
- cell.edges.top = {
1171
- path: [ [top, 1], [0, left] ],
1172
- move: {
1173
- x: -1,
1174
- y: 0,
1175
- enter: 'right'
1176
- }
1177
- };
1178
- cell.edges.bottom = {
1179
- path: [ [bottom, 0], [1, right] ],
1180
- move: {
1181
- x: 1,
1182
- y: 0,
1183
- enter: 'left'
1184
- }
1185
- };
1186
- }
1187
- }
1188
-
1189
- if (settings.polygons) {
1190
- if (average < threshold) {
1191
- cell.polygons.push([ [0, left], [0, 1], [top, 1], [1, right], [1, 0], [bottom, 0] ]);
1192
- } else {
1193
- cell.polygons.push([ [0, left], [0, 1], [top, 1] ]);
1194
- cell.polygons.push([ [bottom, 0], [1, right], [1, 0] ]);
1195
- }
1196
- }
1197
-
1198
- break;
1199
- }
1200
-
1201
- return cell;
1202
- }
1203
-
1204
- exports.isoLines = isoLines;
1205
- exports.isoContours = isoLines;
1206
-
1207
- Object.defineProperty(exports, '__esModule', { value: true });
1208
-
1209
- })));