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,1883 +0,0 @@
1
- /* eslint no-console: ["error", { allow: ["log"] }] */
2
- /* eslint-env browser,node */
3
-
4
- import {isoBandOptions} from './options.js';
5
- import {cell2Polygons, traceBandPaths} from './polygons.js';
6
- import {QuadTree} from './quadtree.js';
7
-
8
-
9
- /*
10
- * lookup table to generate polygon paths or edges required to
11
- * trace the full polygon(s)
12
- */
13
- var shapeCoordinates = {
14
- square: function(cell, x0, x1, x2, x3, opt) {
15
- if (opt.polygons)
16
- cell.polygons.push([ [0,0], [0, 1], [1, 1], [1, 0] ]);
17
- },
18
-
19
- triangle_bl: function(cell, x0, x1, x2, x3, opt) {
20
- var bottomleft = opt.interpolate(x0, x1, opt.minV, opt.maxV);
21
- var leftbottom = opt.interpolate(x0, x3, opt.minV, opt.maxV);
22
-
23
- if (opt.polygons_full) {
24
- cell.edges.lb = {
25
- path: [ [0, leftbottom], [bottomleft, 0] ],
26
- move: {
27
- x: 0,
28
- y: -1,
29
- enter: 'tl'
30
- }
31
- };
32
- }
33
-
34
- if (opt.polygons)
35
- cell.polygons.push([ [0, leftbottom], [bottomleft, 0], [0, 0] ]);
36
- },
37
-
38
- triangle_br: function(cell, x0, x1, x2, x3, opt) {
39
- var bottomright = opt.interpolate(x0, x1, opt.minV, opt.maxV);
40
- var rightbottom = opt.interpolate(x1, x2, opt.minV, opt.maxV);
41
-
42
- if (opt.polygons_full) {
43
- cell.edges.br = {
44
- path: [ [bottomright, 0], [1, rightbottom] ],
45
- move: {
46
- x: 1,
47
- y: 0,
48
- enter: 'lb'
49
- }
50
- };
51
- }
52
-
53
- if (opt.polygons)
54
- cell.polygons.push([ [bottomright, 0], [1, rightbottom], [1, 0] ]);
55
- },
56
-
57
- triangle_tr: function(cell, x0, x1, x2, x3, opt) {
58
- var righttop = opt.interpolate(x1, x2, opt.minV, opt.maxV);
59
- var topright = opt.interpolate(x3, x2, opt.minV, opt.maxV);
60
-
61
- if (opt.polygons_full) {
62
- cell.edges.rt = {
63
- path: [ [1, righttop], [topright, 1] ],
64
- move: {
65
- x: 0,
66
- y: 1,
67
- enter: 'br'
68
- }
69
- };
70
- }
71
-
72
- if (opt.polygons)
73
- cell.polygons.push([ [1, righttop], [topright, 1], [1, 1] ]);
74
- },
75
-
76
- triangle_tl: function(cell, x0, x1, x2, x3, opt) {
77
- var topleft = opt.interpolate(x3, x2, opt.minV, opt.maxV);
78
- var lefttop = opt.interpolate(x0, x3, opt.minV, opt.maxV);
79
-
80
- if (opt.polygons_full) {
81
- cell.edges.tl = {
82
- path: [ [topleft, 1], [0, lefttop] ],
83
- move: {
84
- x: -1,
85
- y: 0,
86
- enter: 'rt'
87
- }
88
- };
89
- }
90
-
91
- if (opt.polygons)
92
- cell.polygons.push([ [0, lefttop], [0, 1], [topleft, 1] ]);
93
- },
94
-
95
- tetragon_t: function(cell, x0, x1, x2, x3, opt) {
96
- var righttop = opt.interpolate(x1, x2, opt.minV, opt.maxV);
97
- var lefttop = opt.interpolate(x0, x3, opt.minV, opt.maxV);
98
-
99
- if (opt.polygons_full) {
100
- cell.edges.rt = {
101
- path: [ [1, righttop], [0, lefttop] ],
102
- move: {
103
- x: -1,
104
- y: 0,
105
- enter: 'rt'
106
- }
107
- };
108
- }
109
-
110
- if (opt.polygons)
111
- cell.polygons.push([ [0, lefttop], [0, 1], [1, 1], [1, righttop] ]);
112
- },
113
-
114
- tetragon_r: function(cell, x0, x1, x2, x3, opt) {
115
- var bottomright = opt.interpolate(x0, x1, opt.minV, opt.maxV);
116
- var topright = opt.interpolate(x3, x2, opt.minV, opt.maxV);
117
- if (opt.polygons_full) {
118
- cell.edges.br = {
119
- path: [ [bottomright, 0], [topright, 1] ],
120
- move: {
121
- x: 0,
122
- y: 1,
123
- enter: 'br'
124
- }
125
- };
126
- }
127
-
128
- if (opt.polygons)
129
- cell.polygons.push([ [bottomright, 0], [topright, 1], [1, 1], [1, 0] ]);
130
- },
131
-
132
- tetragon_b: function(cell, x0, x1, x2, x3, opt) {
133
- var leftbottom = opt.interpolate(x0, x3, opt.minV, opt.maxV);
134
- var rightbottom = opt.interpolate(x1, x2, opt.minV, opt.maxV);
135
-
136
- if (opt.polygons_full) {
137
- cell.edges.lb = {
138
- path: [ [0, leftbottom], [1, rightbottom] ],
139
- move: {
140
- x: 1,
141
- y: 0,
142
- enter: 'lb'
143
- }
144
- };
145
- }
146
-
147
- if (opt.polygons)
148
- cell.polygons.push([ [0, 0], [0, leftbottom], [1, rightbottom], [1, 0] ]);
149
- },
150
-
151
- tetragon_l: function(cell, x0, x1, x2, x3, opt) {
152
- var topleft = opt.interpolate(x3, x2, opt.minV, opt.maxV);
153
- var bottomleft = opt.interpolate(x0, x1, opt.minV, opt.maxV);
154
-
155
- if (opt.polygons_full) {
156
- cell.edges.tl = {
157
- path: [ [topleft, 1], [bottomleft, 0] ],
158
- move: {
159
- x: 0,
160
- y: -1,
161
- enter: 'tl'
162
- }
163
- };
164
- }
165
-
166
- if (opt.polygons)
167
- cell.polygons.push([ [0, 0], [0, 1], [topleft, 1], [bottomleft, 0] ]);
168
- },
169
-
170
- tetragon_bl: function(cell, x0, x1, x2, x3, opt) {
171
- var bottomleft = opt.interpolate_a(x0, x1, opt.minV, opt.maxV);
172
- var bottomright = opt.interpolate_b(x0, x1, opt.minV, opt.maxV);
173
- var leftbottom = opt.interpolate_a(x0, x3, opt.minV, opt.maxV);
174
- var lefttop = opt.interpolate_b(x0, x3, opt.minV, opt.maxV);
175
-
176
- if (opt.polygons_full) {
177
- cell.edges.bl = {
178
- path: [ [bottomleft, 0], [0, leftbottom] ],
179
- move: {
180
- x: -1,
181
- y: 0,
182
- enter: 'rb'
183
- }
184
- };
185
- cell.edges.lt = {
186
- path: [ [0, lefttop], [bottomright, 0] ],
187
- move: {
188
- x: 0,
189
- y: -1,
190
- enter: 'tr'
191
- }
192
- };
193
- }
194
-
195
- if (opt.polygons)
196
- cell.polygons.push([ [bottomleft, 0], [0, leftbottom], [0, lefttop], [bottomright, 0] ]);
197
- },
198
-
199
- tetragon_br: function(cell, x0, x1, x2, x3, opt) {
200
- var bottomleft = opt.interpolate_a(x0, x1, opt.minV, opt.maxV);
201
- var bottomright = opt.interpolate_b(x0, x1, opt.minV, opt.maxV);
202
- var rightbottom = opt.interpolate_a(x1, x2, opt.minV, opt.maxV);
203
- var righttop = opt.interpolate_b(x1, x2, opt.minV, opt.maxV);
204
-
205
- if (opt.polygons_full) {
206
- cell.edges.bl = {
207
- path: [ [bottomleft, 0], [1, righttop] ],
208
- move: {
209
- x: 1,
210
- y: 0,
211
- enter: 'lt'
212
- }
213
- };
214
- cell.edges.rb = {
215
- path: [ [1, rightbottom], [bottomright, 0] ],
216
- move: {
217
- x: 0,
218
- y: -1,
219
- enter: 'tr'
220
- }
221
- };
222
- }
223
-
224
- if (opt.polygons)
225
- cell.polygons.push([ [bottomleft, 0], [1, righttop], [1, rightbottom], [bottomright, 0] ]);
226
- },
227
-
228
- tetragon_tr: function(cell, x0, x1, x2, x3, opt) {
229
- var topleft = opt.interpolate_a(x3, x2, opt.minV, opt.maxV);
230
- var topright = opt.interpolate_b(x3, x2, opt.minV, opt.maxV);
231
- var righttop = opt.interpolate_b(x1, x2, opt.minV, opt.maxV);
232
- var rightbottom = opt.interpolate_a(x1, x2, opt.minV, opt.maxV);
233
-
234
- if (opt.polygons_full) {
235
- cell.edges.rb = {
236
- path: [ [1, rightbottom], [topleft, 1] ],
237
- move: {
238
- x: 0,
239
- y: 1,
240
- enter: 'bl'
241
- }
242
- };
243
- cell.edges.tr = {
244
- path: [ [topright, 1], [1, righttop] ],
245
- move: {
246
- x: 1,
247
- y: 0,
248
- enter: 'lt'
249
- }
250
- };
251
- }
252
-
253
- if (opt.polygons)
254
- cell.polygons.push([ [1, rightbottom], [topleft, 1], [topright, 1], [1, righttop] ]);
255
- },
256
-
257
- tetragon_tl: function(cell, x0, x1, x2, x3, opt) {
258
- var topleft = opt.interpolate_a(x3, x2, opt.minV, opt.maxV);
259
- var topright = opt.interpolate_b(x3, x2, opt.minV, opt.maxV);
260
- var lefttop = opt.interpolate_b(x0, x3, opt.minV, opt.maxV);
261
- var leftbottom = opt.interpolate_a(x0, x3, opt.minV, opt.maxV);
262
-
263
- if (opt.polygons_full) {
264
- cell.edges.tr = {
265
- path: [ [topright, 1], [0, leftbottom] ],
266
- move: {
267
- x: -1,
268
- y: 0,
269
- enter: 'rb'
270
- }
271
- };
272
- cell.edges.lt = {
273
- path: [ [0, lefttop], [topleft, 1] ],
274
- move: {
275
- x: 0,
276
- y: 1,
277
- enter: 'bl'
278
- }
279
- };
280
- }
281
-
282
- if (opt.polygons)
283
- cell.polygons.push([ [topright, 1], [0, leftbottom], [0, lefttop], [topleft, 1] ]);
284
- },
285
-
286
- tetragon_lr: function(cell, x0, x1, x2, x3, opt) {
287
- var leftbottom = opt.interpolate_a(x0, x3, opt.minV, opt.maxV);
288
- var lefttop = opt.interpolate_b(x0, x3, opt.minV, opt.maxV);
289
- var righttop = opt.interpolate_b(x1, x2, opt.minV, opt.maxV);
290
- var rightbottom = opt.interpolate_a(x1, x2, opt.minV, opt.maxV);
291
-
292
- if (opt.polygons_full) {
293
- cell.edges.lt = {
294
- path: [ [0, lefttop], [1, righttop] ],
295
- move: {
296
- x: 1,
297
- y: 0,
298
- enter: 'lt'
299
- }
300
- };
301
- cell.edges.rb = {
302
- path: [ [1, rightbottom], [0, leftbottom] ],
303
- move: {
304
- x: -1,
305
- y: 0,
306
- enter: 'rb'
307
- }
308
- };
309
- }
310
-
311
- if (opt.polygons)
312
- cell.polygons.push([ [0, leftbottom], [0, lefttop], [1, righttop], [1, rightbottom] ]);
313
- },
314
-
315
- tetragon_tb: function(cell, x0, x1, x2, x3, opt) {
316
- var topleft = opt.interpolate_a(x3, x2, opt.minV, opt.maxV);
317
- var topright = opt.interpolate_b(x3, x2, opt.minV, opt.maxV);
318
- var bottomright = opt.interpolate_b(x0, x1, opt.minV, opt.maxV);
319
- var bottomleft = opt.interpolate_a(x0, x1, opt.minV, opt.maxV);
320
-
321
- if (opt.polygons_full) {
322
- cell.edges.tr = {
323
- path: [ [topright, 1], [bottomright, 0] ],
324
- move: {
325
- x: 0,
326
- y: -1,
327
- enter: 'tr'
328
- }
329
- };
330
- cell.edges.bl = {
331
- path: [ [bottomleft, 0], [topleft, 1] ],
332
- move: {
333
- x: 0,
334
- y: 1,
335
- enter: 'bl'
336
- }
337
- };
338
- }
339
-
340
- if (opt.polygons)
341
- cell.polygons.push([ [bottomleft, 0], [topleft, 1], [topright, 1], [bottomright, 0] ]);
342
- },
343
-
344
- pentagon_tr: function(cell, x0, x1, x2, x3, opt) {
345
- var topleft = opt.interpolate(x3, x2, opt.minV, opt.maxV);
346
- var rightbottom = opt.interpolate(x1, x2, opt.minV, opt.maxV);
347
-
348
- if (opt.polygons_full) {
349
- cell.edges.tl = {
350
- path: [[topleft, 1], [1, rightbottom]],
351
- move: {
352
- x: 1,
353
- y: 0,
354
- enter: 'lb'
355
- }
356
- };
357
- }
358
-
359
- if (opt.polygons)
360
- cell.polygons.push([ [0, 0], [0, 1], [topleft, 1], [1, rightbottom], [1, 0] ]);
361
- },
362
-
363
- pentagon_tl: function(cell, x0, x1, x2, x3, opt) {
364
- var leftbottom = opt.interpolate(x0, x3, opt.minV, opt.maxV);
365
- var topright = opt.interpolate(x3, x2, opt.minV, opt.maxV);
366
-
367
- if (opt.polygons_full) {
368
- cell.edges.lb = {
369
- path: [ [0, leftbottom], [topright, 1] ],
370
- move: {
371
- x: 0,
372
- y: 1,
373
- enter: 'br'
374
- }
375
- };
376
- }
377
-
378
- if (opt.polygons)
379
- cell.polygons.push([ [0, 0], [0, leftbottom], [topright, 1], [1, 1], [1, 0] ]);
380
- },
381
-
382
- pentagon_br: function(cell, x0, x1, x2, x3, opt) {
383
- var bottomleft = opt.interpolate(x0, x1, opt.minV, opt.maxV);
384
- var righttop = opt.interpolate(x1, x2, opt.minV, opt.maxV);
385
-
386
- if (opt.polygons_full) {
387
- cell.edges.rt = {
388
- path: [ [1, righttop], [bottomleft, 0] ],
389
- move: {
390
- x: 0,
391
- y: -1,
392
- enter: 'tl'
393
- }
394
- };
395
- }
396
- if (opt.polygons)
397
- cell.polygons.push([ [0, 0], [0, 1], [1, 1], [1, righttop], [bottomleft, 0] ]);
398
- },
399
-
400
- pentagon_bl: function(cell, x0, x1, x2, x3, opt) {
401
- var lefttop = opt.interpolate(x0, x3, opt.minV, opt.maxV);
402
- var bottomright = opt.interpolate(x0, x1, opt.minV, opt.maxV);
403
-
404
- if (opt.polygons_full) {
405
- cell.edges.br = {
406
- path: [ [bottomright, 0], [0, lefttop] ],
407
- move: {
408
- x: -1,
409
- y: 0,
410
- enter: 'rt'
411
- }
412
- };
413
- }
414
-
415
- if (opt.polygons)
416
- cell.polygons.push([ [0, lefttop], [0, 1], [1, 1], [1, 0], [bottomright, 0] ]);
417
- },
418
-
419
- pentagon_tr_rl: function(cell, x0, x1, x2, x3, opt) {
420
- var lefttop = opt.interpolate(x0, x3, opt.minV, opt.maxV);
421
- var topleft = opt.interpolate(x3, x2, opt.minV, opt.maxV);
422
- var righttop = opt.interpolate_b(x1, x2, opt.minV, opt.maxV);
423
- var rightbottom = opt.interpolate_a(x1, x2, opt.minV, opt.maxV);
424
-
425
- if (opt.polygons_full) {
426
- cell.edges.tl = {
427
- path: [ [topleft, 1], [1, righttop] ],
428
- move: {
429
- x: 1,
430
- y: 0,
431
- enter: 'lt'
432
- }
433
- };
434
- cell.edges.rb = {
435
- path: [ [1, rightbottom], [0, lefttop] ],
436
- move: {
437
- x: -1,
438
- y: 0,
439
- enter: 'rt'
440
- }
441
- };
442
- }
443
-
444
- if (opt.polygons)
445
- cell.polygons.push([ [0, lefttop], [0, 1], [topleft, 1], [1, righttop], [1, rightbottom] ]);
446
- },
447
-
448
- pentagon_rb_bt: function(cell, x0, x1, x2, x3, opt) {
449
- var righttop = opt.interpolate(x1, x2, opt.minV, opt.maxV);
450
- var bottomright = opt.interpolate_b(x0, x1, opt.minV, opt.maxV);
451
- var bottomleft = opt.interpolate_a(x0, x1, opt.minV, opt.maxV);
452
- var topright = opt.interpolate(x3, x2, opt.minV, opt.maxV);
453
-
454
- if (opt.polygons_full) {
455
- cell.edges.rt = {
456
- path: [ [1, righttop], [bottomright, 0] ],
457
- move: {
458
- x: 0,
459
- y: -1,
460
- enter: 'tr'
461
- }
462
- };
463
- cell.edges.bl = {
464
- path: [ [bottomleft, 0], [topright, 1] ],
465
- move: {
466
- x: 0,
467
- y: 1,
468
- enter: 'br'
469
- }
470
- };
471
- }
472
-
473
- if (opt.polygons)
474
- cell.polygons.push([ [topright, 1], [1, 1], [1, righttop], [bottomright, 0], [bottomleft, 0] ]);
475
- },
476
-
477
- pentagon_bl_lr: function(cell, x0, x1, x2, x3, opt) {
478
- var bottomright = opt.interpolate(x0, x1, opt.minV, opt.maxV);
479
- var leftbottom = opt.interpolate_a(x0, x3, opt.minV, opt.maxV);
480
- var lefttop = opt.interpolate_b(x0, x3, opt.minV, opt.maxV);
481
- var rightbottom = opt.interpolate(x1, x2, opt.minV, opt.maxV);
482
-
483
- if (opt.polygons_full) {
484
- cell.edges.br = {
485
- path: [ [bottomright, 0], [0, leftbottom] ],
486
- move: {
487
- x: -1,
488
- y: 0,
489
- enter: 'rb'
490
- }
491
- };
492
- cell.edges.lt = {
493
- path: [ [0, lefttop], [1, rightbottom] ],
494
- move: {
495
- x: 1,
496
- y: 0,
497
- enter: 'lb'
498
- }
499
- };
500
- }
501
-
502
- if (opt.polygons)
503
- cell.polygons.push([ [bottomright, 0], [0, leftbottom], [0, lefttop], [1, rightbottom], [1, 0] ]);
504
- },
505
-
506
- pentagon_lt_tb: function(cell, x0, x1, x2, x3, opt) {
507
- var leftbottom = opt.interpolate(x0, x3, opt.minV, opt.maxV);
508
- var topleft = opt.interpolate_a(x3, x2, opt.minV, opt.maxV);
509
- var topright = opt.interpolate_b(x3, x2, opt.minV, opt.maxV);
510
- var bottomleft = opt.interpolate(x0, x1, opt.minV, opt.maxV);
511
-
512
- if (opt.polygons_full) {
513
- cell.edges.lb = {
514
- path: [ [0, leftbottom], [topleft, 1] ],
515
- move: {
516
- x: 0,
517
- y: 1,
518
- enter: 'bl'
519
- }
520
- };
521
- cell.edges.tr = {
522
- path: [ [topright, 1], [bottomleft, 0] ],
523
- move: {
524
- x: 0,
525
- y: -1,
526
- enter: 'tl'
527
- }
528
- };
529
- }
530
-
531
- if (opt.polygons)
532
- cell.polygons.push([ [0, 0], [0, leftbottom], [topleft, 1], [topright, 1], [bottomleft, 0] ]);
533
- },
534
-
535
- pentagon_bl_tb: function(cell, x0, x1, x2, x3, opt) {
536
- var lefttop = opt.interpolate(x0, x3, opt.minV, opt.maxV);
537
- var topleft = opt.interpolate(x3, x2, opt.minV, opt.maxV);
538
- var bottomright = opt.interpolate_b(x0, x1, opt.minV, opt.maxV);
539
- var bottomleft = opt.interpolate_a(x0, x1, opt.minV, opt.maxV);
540
-
541
- if (opt.polygons_full) {
542
- cell.edges.bl = {
543
- path: [ [bottomleft, 0], [0, lefttop] ],
544
- move: {
545
- x: -1,
546
- y: 0,
547
- enter: 'rt'
548
- }
549
- };
550
- cell.edges.tl = {
551
- path: [ [ topleft, 1], [bottomright, 0] ],
552
- move: {
553
- x: 0,
554
- y: -1,
555
- enter: 'tr'
556
- }
557
- };
558
- }
559
-
560
- if (opt.polygons)
561
- cell.polygons.push([ [0, lefttop], [0, 1], [topleft, 1], [bottomright, 0], [bottomleft, 0] ]);
562
- },
563
-
564
- pentagon_lt_rl: function(cell, x0, x1, x2, x3, opt) {
565
- var leftbottom = opt.interpolate_a(x0, x3, opt.minV, opt.maxV);
566
- var lefttop = opt.interpolate_b(x0, x3, opt.minV, opt.maxV);
567
- var topright = opt.interpolate(x3, x2, opt.minV, opt.maxV);
568
- var righttop = opt.interpolate(x1, x3, opt.minV, opt.maxV);
569
-
570
- if (opt.polygons_full) {
571
- cell.edges.lt = {
572
- path: [ [0, lefttop], [topright, 1] ],
573
- move: {
574
- x: 0,
575
- y: 1,
576
- enter: 'br'
577
- }
578
- };
579
- cell.edges.rt = {
580
- path: [ [1, righttop], [0, leftbottom] ],
581
- move: {
582
- x: -1,
583
- y: 0,
584
- enter: 'rb'
585
- }
586
- };
587
- }
588
-
589
- if (opt.polygons)
590
- cell.polygons.push([ [0, leftbottom], [0, lefttop], [topright, 1], [1, 1], [1, righttop] ]);
591
- },
592
-
593
- pentagon_tr_bt: function(cell, x0, x1, x2, x3, opt) {
594
- var topleft = opt.interpolate_a(x3, x2, opt.minV, opt.maxV);
595
- var topright = opt.interpolate_b(x3, x2, opt.minV, opt.maxV);
596
- var rightbottom = opt.interpolate(x1, x2, opt.minV, opt.maxV);
597
- var bottomright = opt.interpolate(x0, x1, opt.minV, opt.maxV);
598
-
599
- if (opt.polygons_full) {
600
- cell.edges.br = {
601
- path: [ [bottomright, 0], [topleft, 1] ],
602
- move: {
603
- x: 0,
604
- y: 1,
605
- enter: 'bl'
606
- }
607
- };
608
- cell.edges.tr = {
609
- path: [ [topright, 1], [1, rightbottom] ],
610
- move: {
611
- x: 1,
612
- y: 0,
613
- enter: 'lb'
614
- }
615
- };
616
- }
617
-
618
- if (opt.polygons)
619
- cell.polygons.push([ [topleft, 1], [topright, 1], [1, rightbottom], [1, 0], [bottomright, 0] ]);
620
- },
621
-
622
- pentagon_rb_lr: function(cell, x0, x1, x2, x3, opt) {
623
- var leftbottom = opt.interpolate(x0, x3, opt.minV, opt.maxV);
624
- var righttop = opt.interpolate_b(x1, x2, opt.minV, opt.maxV);
625
- var rightbottom = opt.interpolate_a(x1, x2, opt.minV, opt.maxV);
626
- var bottomleft = opt.interpolate(x0, x1, opt.minV, opt.maxV);
627
-
628
- if (opt.polygons_full) {
629
- cell.edges.lb = {
630
- path: [ [0, leftbottom], [1, righttop] ],
631
- move: {
632
- x: 1,
633
- y: 0,
634
- enter: 'lt'
635
- }
636
- };
637
- cell.edges.rb = {
638
- path: [ [1, rightbottom], [bottomleft, 0] ],
639
- move: {
640
- x: 0,
641
- y: -1,
642
- enter: 'tl'
643
- }
644
- };
645
- }
646
- if (opt.polygons)
647
- cell.polygons.push([ [0, 0], [0, leftbottom], [1, righttop], [1, rightbottom], [bottomleft, 0] ]);
648
- },
649
-
650
- hexagon_lt_tr: function(cell, x0, x1, x2, x3, opt) {
651
- var leftbottom = opt.interpolate(x0, x3, opt.minV, opt.maxV);
652
- var topleft = opt.interpolate_a(x3, x2, opt.minV, opt.maxV);
653
- var topright = opt.interpolate_b(x3, x2, opt.minV, opt.maxV);
654
- var rightbottom = opt.interpolate(x1, x2, opt.minV, opt.maxV);
655
-
656
- if (opt.polygons_full) {
657
- cell.edges.lb = {
658
- path: [ [0, leftbottom], [topleft, 1] ],
659
- move: {
660
- x: 0,
661
- y: 1,
662
- enter: 'bl'
663
- }
664
- };
665
- cell.edges.tr = {
666
- path: [ [topright, 1], [1, rightbottom] ],
667
- move: {
668
- x: 1,
669
- y: 0,
670
- enter: 'lb'
671
- }
672
- };
673
- }
674
-
675
- if (opt.polygons)
676
- cell.polygons.push([ [0, 0], [0, leftbottom], [topleft, 1], [topright, 1], [1, rightbottom], [1, 0] ]);
677
- },
678
-
679
- hexagon_bl_lt: function(cell, x0, x1, x2, x3, opt) {
680
- var bottomright = opt.interpolate(x0, x1, opt.minV, opt.maxV);
681
- var leftbottom = opt.interpolate_a(x0, x3, opt.minV, opt.maxV);
682
- var lefttop = opt.interpolate_b(x0, x3, opt.minV, opt.maxV);
683
- var topright = opt.interpolate(x3, x2, opt.minV, opt.maxV);
684
-
685
- if (opt.polygons_full) {
686
- cell.edges.br = {
687
- path: [ [bottomright, 0], [0, leftbottom] ],
688
- move: {
689
- x: -1,
690
- y: 0,
691
- enter: 'rb'
692
- }
693
- };
694
- cell.edges.lt = {
695
- path: [ [0, lefttop], [topright, 1] ],
696
- move: {
697
- x: 0,
698
- y: 1,
699
- enter: 'br'
700
- }
701
- };
702
- }
703
-
704
- if (opt.polygons)
705
- cell.polygons.push([ [bottomright, 0], [0, leftbottom], [0, lefttop], [topright, 1], [1, 1], [1, 0] ]);
706
- },
707
-
708
- hexagon_bl_rb: function(cell, x0, x1, x2, x3, opt) {
709
- var bottomleft = opt.interpolate_a(x0, x1, opt.minV, opt.maxV);
710
- var bottomright = opt.interpolate_b(x0, x1, opt.minV, opt.maxV);
711
- var lefttop = opt.interpolate(x0, x3, opt.minV, opt.maxV);
712
- var righttop = opt.interpolate(x1, x2, opt.minV, opt.maxV);
713
-
714
- if (opt.polygons_full) {
715
- cell.edges.bl = {
716
- path: [ [bottomleft, 0], [0, lefttop] ],
717
- move: {
718
- x: -1,
719
- y: 0,
720
- enter: 'rt'
721
- }
722
- };
723
- cell.edges.rt = {
724
- path: [ [1, righttop], [bottomright, 0] ],
725
- move: {
726
- x: 0,
727
- y: -1,
728
- enter: 'tr'
729
- }
730
- };
731
- }
732
-
733
- if (opt.polygons)
734
- cell.polygons.push([ [bottomleft, 0], [0, lefttop], [0, 1], [1, 1], [1, righttop], [bottomright, 0] ]);
735
- },
736
-
737
- hexagon_tr_rb: function(cell, x0, x1, x2, x3, opt) {
738
- var bottomleft = opt.interpolate(x0, x1, opt.minV, opt.maxV);
739
- var topleft = opt.interpolate(x3, x2, opt.minV, opt.maxV);
740
- var righttop = opt.interpolate_b(x1, x2, opt.minV, opt.maxV);
741
- var rightbottom = opt.interpolate_a(x1, x2, opt.minV, opt.maxV);
742
-
743
- if (opt.polygons_full) {
744
- cell.edges.tl = {
745
- path: [ [topleft, 1], [1, righttop] ],
746
- move: {
747
- x: 1,
748
- y: 0,
749
- enter: 'lt'
750
- }
751
- };
752
- cell.edges.rb = {
753
- path: [ [1, rightbottom], [bottomleft, 0] ],
754
- move: {
755
- x: 0,
756
- y: -1,
757
- enter: 'tl'
758
- }
759
- };
760
- }
761
-
762
- if (opt.polygons)
763
- cell.polygons.push([ [0, 0], [0, 1], [topleft, 1], [1, righttop], [1, rightbottom], [bottomleft, 0] ]);
764
- },
765
-
766
- hexagon_lt_rb: function(cell, x0, x1, x2, x3, opt) {
767
- var leftbottom = opt.interpolate(x0, x3, opt.minV, opt.maxV);
768
- var topright = opt.interpolate(x3, x2, opt.minV, opt.maxV);
769
- var righttop = opt.interpolate(x1, x2, opt.minV, opt.maxV);
770
- var bottomleft = opt.interpolate(x0, x1, opt.minV, opt.maxV);
771
-
772
- if (opt.polygons_full) {
773
- cell.edges.lb = {
774
- path: [ [0, leftbottom], [topright, 1] ],
775
- move: {
776
- x: 0,
777
- y: 1,
778
- enter: 'br'
779
- }
780
- };
781
- cell.edges.rt = {
782
- path: [ [1, righttop], [bottomleft, 0] ],
783
- move: {
784
- x: 0,
785
- y: -1,
786
- enter: 'tl'
787
- }
788
- };
789
- }
790
-
791
- if (opt.polygons)
792
- cell.polygons.push([ [0, 0], [0, leftbottom], [topright, 1], [1, 1], [1, righttop], [bottomleft, 0] ]);
793
- },
794
-
795
- hexagon_bl_tr: function(cell, x0, x1, x2, x3, opt) {
796
- var bottomright = opt.interpolate(x0, x1, opt.minV, opt.maxV);
797
- var lefttop = opt.interpolate(x0, x3, opt.minV, opt.maxV);
798
- var topleft = opt.interpolate(x3, x2, opt.minV, opt.maxV);
799
- var rightbottom = opt.interpolate(x1, x2, opt.minV, opt.maxV);
800
-
801
- if (opt.polygons_full) {
802
- cell.edges.br = {
803
- path: [ [bottomright, 0], [0, lefttop] ],
804
- move: {
805
- x: -1,
806
- y: 0,
807
- enter: 'rt'
808
- }
809
- };
810
- cell.edges.tl = {
811
- path: [ [topleft, 1], [1, rightbottom] ],
812
- move: {
813
- x: 1,
814
- y: 0,
815
- enter: 'lb'
816
- }
817
- };
818
- }
819
-
820
- if (opt.polygons)
821
- cell.polygons.push([ [bottomright, 0], [0, lefttop], [0, 1], [topleft, 1], [1, rightbottom], [1, 0] ]);
822
- },
823
-
824
- heptagon_tr: function(cell, x0, x1, x2, x3, opt) {
825
- var bottomleft = opt.interpolate_a(x0, x1, opt.minV, opt.maxV);
826
- var bottomright = opt.interpolate_b(x0, x1, opt.minV, opt.maxV);
827
- var leftbottom = opt.interpolate_a(x0, x3, opt.minV, opt.maxV);
828
- var lefttop = opt.interpolate_b(x0, x3, opt.minV, opt.maxV);
829
- var topright = opt.interpolate(x3, x2, opt.minV, opt.maxV);
830
- var righttop = opt.interpolate(x1, x2, opt.minV, opt.maxV);
831
-
832
- if (opt.polygons_full) {
833
- cell.edges.bl = {
834
- path: [ [bottomleft, 0], [0, leftbottom] ],
835
- move: {
836
- x: -1,
837
- y: 0,
838
- enter: 'rb'
839
- }
840
- };
841
- cell.edges.lt = {
842
- path: [ [0, lefttop], [topright, 1] ],
843
- move: {
844
- x: 0,
845
- y: 1,
846
- enter: 'br'
847
- }
848
- };
849
- cell.edges.rt = {
850
- path: [ [1, righttop], [bottomright, 0] ],
851
- move: {
852
- x: 0,
853
- y: -1,
854
- enter: 'tr'
855
- }
856
- };
857
- }
858
-
859
- if (opt.polygons)
860
- cell.polygons.push([ [bottomleft, 0], [0, leftbottom], [0, lefttop], [topright, 1], [1, 1], [1, righttop], [bottomright, 0] ]);
861
- },
862
-
863
- heptagon_bl: function(cell, x0, x1, x2, x3, opt) {
864
- var bottomleft = opt.interpolate(x0, x1, opt.minV, opt.maxV);
865
- var leftbottom = opt.interpolate(x0, x3, opt.minV, opt.maxV);
866
- var topleft = opt.interpolate_a(x3, x2, opt.minV, opt.maxV);
867
- var topright = opt.interpolate_b(x3, x2, opt.minV, opt.maxV);
868
- var righttop = opt.interpolate_b(x1, x2, opt.minV, opt.maxV);
869
- var rightbottom = opt.interpolate_a(x1, x2, opt.minV, opt.maxV);
870
-
871
- if (opt.polygons_full) {
872
- cell.edges.lb = {
873
- path: [ [0, leftbottom], [topleft, 1] ],
874
- move: {
875
- x: 0,
876
- y: 1,
877
- enter: 'bl'
878
- }
879
- };
880
- cell.edges.tr = {
881
- path: [ [topright, 1], [1, righttop] ],
882
- move: {
883
- x: 1,
884
- y: 0,
885
- enter: 'lt'
886
- }
887
- };
888
- cell.edges.rb = {
889
- path: [ [1, rightbottom], [bottomleft, 0] ],
890
- move: {
891
- x: 0,
892
- y: -1,
893
- enter: 'tl'
894
- }
895
- };
896
- }
897
-
898
- if (opt.polygons)
899
- cell.polygons.push([ [0, 0], [0, leftbottom], [topleft, 1], [topright, 1], [1, righttop], [1, rightbottom], [bottomleft, 0] ]);
900
- },
901
-
902
- heptagon_tl: function(cell, x0, x1, x2, x3, opt) {
903
- var bottomleft = opt.interpolate_a(x0, x1, opt.minV, opt.maxV);
904
- var bottomright = opt.interpolate_b(x0, x1, opt.minV, opt.maxV);
905
- var lefttop = opt.interpolate(x0, x3, opt.minV, opt.maxV);
906
- var topleft = opt.interpolate(x3, x2, opt.minV, opt.maxV);
907
- var righttop = opt.interpolate_b(x1, x2, opt.minV, opt.maxV);
908
- var rightbottom = opt.interpolate_a(x1, x2, opt.minV, opt.maxV);
909
-
910
- if (opt.polygons_full) {
911
- cell.edges.bl = {
912
- path: [ [bottomleft, 0], [0, lefttop] ],
913
- move: {
914
- x: -1,
915
- y: 0,
916
- enter: 'rt'
917
- }
918
- };
919
- cell.edges.tl = {
920
- path: [ [topleft, 1], [1, righttop] ],
921
- move: {
922
- x: 1,
923
- y: 0,
924
- enter: 'lt'
925
- }
926
- };
927
- cell.edges.rb = {
928
- path: [ [1, rightbottom], [bottomright, 0] ],
929
- move: {
930
- x: 0,
931
- y: -1,
932
- enter: 'tr'
933
- }
934
- };
935
- }
936
-
937
- if (opt.polygons)
938
- cell.polygons.push([ [bottomleft, 0], [0, lefttop], [0, 1], [topleft, 1], [1, righttop], [1, rightbottom], [bottomright, 0] ]);
939
- },
940
-
941
- heptagon_br: function(cell, x0, x1, x2, x3, opt) {
942
- var bottomright = opt.interpolate(x0, x1, opt.minV, opt.maxV);
943
- var leftbottom = opt.interpolate_a(x0, x3, opt.minV, opt.maxV);
944
- var lefttop = opt.interpolate_b(x0, x3, opt.minV, opt.maxV);
945
- var topleft = opt.interpolate_a(x3, x2, opt.minV, opt.maxV);
946
- var topright = opt.interpolate_b(x3, x2, opt.minV, opt.maxV);
947
- var rightbottom = opt.interpolate(x1, x2, opt.minV, opt.maxV);
948
-
949
- if (opt.polygons_full) {
950
- cell.edges.br = {
951
- path: [ [bottomright, 0], [0, leftbottom] ],
952
- move: {
953
- x: -1,
954
- y: 0,
955
- enter: 'rb'
956
- }
957
- };
958
- cell.edges.lt = {
959
- path: [ [0, lefttop], [topleft, 1] ],
960
- move: {
961
- x: 0,
962
- y: 1,
963
- enter: 'bl'
964
- }
965
- };
966
- cell.edges.tr = {
967
- path: [ [topright, 1], [1, rightbottom] ],
968
- move: {
969
- x: 1,
970
- y: 0,
971
- enter: 'lb'
972
- }
973
- };
974
- }
975
-
976
- if (opt.polygons)
977
- cell.polygons.push([ [bottomright,0], [0, leftbottom], [0, lefttop], [topleft, 1], [topright, 1], [1, rightbottom], [1, 0] ]);
978
- },
979
-
980
- octagon: function(cell, x0, x1, x2, x3, opt) {
981
- var bottomleft = opt.interpolate_a(x0, x1, opt.minV, opt.maxV);
982
- var bottomright = opt.interpolate_b(x0, x1, opt.minV, opt.maxV);
983
- var leftbottom = opt.interpolate_a(x0, x3, opt.minV, opt.maxV);
984
- var lefttop = opt.interpolate_b(x0, x3, opt.minV, opt.maxV);
985
- var topleft = opt.interpolate_a(x3, x2, opt.minV, opt.maxV);
986
- var topright = opt.interpolate_b(x3, x2, opt.minV, opt.maxV);
987
- var righttop = opt.interpolate_b(x1, x2, opt.minV, opt.maxV);
988
- var rightbottom = opt.interpolate_a(x1, x2, opt.minV, opt.maxV);
989
-
990
- if (opt.polygons_full) {
991
- cell.edges.bl = {
992
- path: [ [bottomleft, 0], [0, leftbottom] ],
993
- move: {
994
- x: -1,
995
- y: 0,
996
- enter: 'rb'
997
- }
998
- };
999
- cell.edges.lt = {
1000
- path: [ [0, lefttop], [topleft, 1] ],
1001
- move: {
1002
- x: 0,
1003
- y: 1,
1004
- enter: 'bl'
1005
- }
1006
- };
1007
- cell.edges.tr = {
1008
- path: [ [topright, 1], [1, righttop] ],
1009
- move: {
1010
- x: 1,
1011
- y: 0,
1012
- enter: 'lt'
1013
- }
1014
- };
1015
- cell.edges.rb = {
1016
- path: [ [1, rightbottom], [bottomright, 0] ],
1017
- move: {
1018
- x: 0,
1019
- y: -1,
1020
- enter: 'tr'
1021
- }
1022
- };
1023
- }
1024
-
1025
- if (opt.polygons)
1026
- cell.polygons.push([ [bottomleft, 0], [0, leftbottom], [0, lefttop], [topleft, 1], [topright, 1], [1, righttop], [1, rightbottom], [bottomright, 0] ]);
1027
- }
1028
- };
1029
-
1030
-
1031
- /*
1032
- * Compute isobands(s) for a scalar 2D field given a certain
1033
- * threshold and a bandwidth by applying the Marching Squares
1034
- * Algorithm. The function returns a list of path coordinates
1035
- * either for individual polygons within each grid cell, or the
1036
- * outline of connected polygons.
1037
- */
1038
- function isoBands(input, minV, bandWidth, options) {
1039
- var i,
1040
- j,
1041
- settings,
1042
- useQuadTree = false,
1043
- tree = null,
1044
- root = null,
1045
- data = null,
1046
- cellGrid = null,
1047
- multiBand = false,
1048
- bw = [],
1049
- bandPolygons = [],
1050
- ret = [];
1051
-
1052
- /* basic input validation */
1053
- if (!input) throw new Error('data is required');
1054
- if (minV === undefined || minV === null) throw new Error('lowerBound is required');
1055
- if (bandWidth === undefined || bandWidth === null) throw new Error('bandWidth is required');
1056
- if ((!!options) && (typeof options !== 'object')) throw new Error('options must be an object');
1057
-
1058
- settings = isoBandOptions(options);
1059
-
1060
- /* check for input data */
1061
- if (input instanceof QuadTree) {
1062
- tree = input;
1063
- root = input.root;
1064
- data = input.data;
1065
- if (!settings.noQuadTree)
1066
- useQuadTree = true;
1067
- } else if (Array.isArray(input) && Array.isArray(input[0])) {
1068
- data = input;
1069
- } else {
1070
- throw new Error('input is neither array of arrays nor object retrieved from \'QuadTree()\'');
1071
- }
1072
-
1073
- /* check and prepare input thresholds */
1074
- if (Array.isArray(minV)) {
1075
- multiBand = true;
1076
-
1077
- /* activate QuadTree optimization if not explicitly forbidden by user settings */
1078
- if (!settings.noQuadTree)
1079
- useQuadTree = true;
1080
-
1081
- /* check if all minV are numbers */
1082
- for (i = 0; i < minV.length; i++)
1083
- if (isNaN(+minV[i]))
1084
- throw new Error('lowerBound[' + i + '] is not a number');
1085
-
1086
- if (Array.isArray(bandWidth)) {
1087
- if (minV.length !== bandWidth.length)
1088
- throw new Error('lowerBound and bandWidth have unequal lengths');
1089
-
1090
- /* check bandwidth values */
1091
- for (i = 0; i < bandWidth.length; i++)
1092
- if (isNaN(+bandWidth[i]))
1093
- throw new Error('bandWidth[' + i + '] is not a number');
1094
- } else {
1095
- if (isNaN(+bandWidth))
1096
- throw new Error('bandWidth must be a number');
1097
-
1098
- bw = [];
1099
- for (i = 0; i < minV.length; i++) {
1100
- bw.push(bandWidth);
1101
- }
1102
- bandWidth = bw;
1103
- }
1104
- } else {
1105
- if (isNaN(+minV))
1106
- throw new Error('lowerBound must be a number');
1107
-
1108
- minV = [ minV ];
1109
-
1110
- if (isNaN(+bandWidth))
1111
- throw new Error('bandWidth must be a number');
1112
-
1113
- bandWidth = [ bandWidth ];
1114
- }
1115
-
1116
- /* create QuadTree root node if not already present */
1117
- if ((useQuadTree) && (!root)) {
1118
- tree = new QuadTree(data);
1119
- root = tree.root;
1120
- data = tree.data;
1121
- }
1122
-
1123
- if (settings.verbose) {
1124
- if(settings.polygons)
1125
- console.log('MarchingSquaresJS-isoBands: returning single polygons for each grid cell');
1126
- else
1127
- console.log('MarchingSquaresJS-isoBands: returning polygon paths for entire data grid');
1128
-
1129
- if (multiBand)
1130
- console.log('MarchingSquaresJS-isoBands: multiple bands requested, returning array of band polygons instead of polygons for a single band');
1131
- }
1132
-
1133
- /* Done with all input validation, now let's start computing stuff */
1134
-
1135
- /* loop over all minV values */
1136
- minV.forEach(function(lowerBound, b) {
1137
- bandPolygons = [];
1138
-
1139
- /* store bounds for current computation in settings object */
1140
- settings.minV = lowerBound;
1141
- settings.maxV = lowerBound + bandWidth[b];
1142
-
1143
- if(settings.verbose)
1144
- console.log('MarchingSquaresJS-isoBands: computing isobands for [' + lowerBound + ':' + (lowerBound + bandWidth[b]) + ']');
1145
-
1146
- if (settings.polygons) {
1147
- /* compose list of polygons for each single cell */
1148
- if (useQuadTree) {
1149
- /* go through list of cells retrieved from QuadTree */
1150
- root
1151
- .cellsInBand(settings.minV, settings.maxV, true)
1152
- .forEach(function(c) {
1153
- bandPolygons = bandPolygons.concat(
1154
- cell2Polygons(
1155
- prepareCell(data,
1156
- c.x,
1157
- c.y,
1158
- settings),
1159
- c.x,
1160
- c.y,
1161
- settings
1162
- ));
1163
- });
1164
- } else {
1165
- /* go through entire array of input data */
1166
- for (j = 0; j < data.length - 1; ++j) {
1167
- for (i = 0; i < data[0].length - 1; ++i)
1168
- bandPolygons = bandPolygons.concat(
1169
- cell2Polygons(
1170
- prepareCell(data,
1171
- i,
1172
- j,
1173
- settings),
1174
- i,
1175
- j,
1176
- settings
1177
- ));
1178
- }
1179
- }
1180
- } else {
1181
- /* sparse grid of input data cells */
1182
- cellGrid = [];
1183
- for (i = 0; i < data[0].length - 1; ++i)
1184
- cellGrid[i] = [];
1185
-
1186
- /* compose list of polygons for entire input grid */
1187
- if (useQuadTree) {
1188
- /* collect the cells */
1189
- root
1190
- .cellsInBand(settings.minV, settings.maxV, false)
1191
- .forEach(function(c) {
1192
- cellGrid[c.x][c.y] = prepareCell(data,
1193
- c.x,
1194
- c.y,
1195
- settings);
1196
- });
1197
- } else {
1198
- /* prepare cells */
1199
- for (i = 0; i < data[0].length - 1; ++i) {
1200
- for (j = 0; j < data.length - 1; ++j) {
1201
- cellGrid[i][j] = prepareCell(data,
1202
- i,
1203
- j,
1204
- settings);
1205
- }
1206
- }
1207
- }
1208
-
1209
- bandPolygons = traceBandPaths(data, cellGrid, settings);
1210
- }
1211
-
1212
- /* finally, add polygons to output array */
1213
- if (multiBand)
1214
- ret.push(bandPolygons);
1215
- else
1216
- ret = bandPolygons;
1217
-
1218
- if(typeof settings.successCallback === 'function')
1219
- settings.successCallback(ret, lowerBound, bandWidth[b]);
1220
- });
1221
-
1222
- return ret;
1223
- }
1224
-
1225
- /*
1226
- * Thats all for the public interface, below follows the actual
1227
- * implementation
1228
- */
1229
-
1230
- /*
1231
- * For isoBands, each square is defined by the three states
1232
- * of its corner points. However, since computers use power-2
1233
- * values, we use 2bits per trit, i.e.:
1234
- *
1235
- * 00 ... below minV
1236
- * 01 ... between minV and maxV
1237
- * 10 ... above maxV
1238
- *
1239
- * Hence we map the 4-trit configurations as follows:
1240
- *
1241
- * 0000 => 0
1242
- * 0001 => 1
1243
- * 0002 => 2
1244
- * 0010 => 4
1245
- * 0011 => 5
1246
- * 0012 => 6
1247
- * 0020 => 8
1248
- * 0021 => 9
1249
- * 0022 => 10
1250
- * 0100 => 16
1251
- * 0101 => 17
1252
- * 0102 => 18
1253
- * 0110 => 20
1254
- * 0111 => 21
1255
- * 0112 => 22
1256
- * 0120 => 24
1257
- * 0121 => 25
1258
- * 0122 => 26
1259
- * 0200 => 32
1260
- * 0201 => 33
1261
- * 0202 => 34
1262
- * 0210 => 36
1263
- * 0211 => 37
1264
- * 0212 => 38
1265
- * 0220 => 40
1266
- * 0221 => 41
1267
- * 0222 => 42
1268
- * 1000 => 64
1269
- * 1001 => 65
1270
- * 1002 => 66
1271
- * 1010 => 68
1272
- * 1011 => 69
1273
- * 1012 => 70
1274
- * 1020 => 72
1275
- * 1021 => 73
1276
- * 1022 => 74
1277
- * 1100 => 80
1278
- * 1101 => 81
1279
- * 1102 => 82
1280
- * 1110 => 84
1281
- * 1111 => 85
1282
- * 1112 => 86
1283
- * 1120 => 88
1284
- * 1121 => 89
1285
- * 1122 => 90
1286
- * 1200 => 96
1287
- * 1201 => 97
1288
- * 1202 => 98
1289
- * 1210 => 100
1290
- * 1211 => 101
1291
- * 1212 => 102
1292
- * 1220 => 104
1293
- * 1221 => 105
1294
- * 1222 => 106
1295
- * 2000 => 128
1296
- * 2001 => 129
1297
- * 2002 => 130
1298
- * 2010 => 132
1299
- * 2011 => 133
1300
- * 2012 => 134
1301
- * 2020 => 136
1302
- * 2021 => 137
1303
- * 2022 => 138
1304
- * 2100 => 144
1305
- * 2101 => 145
1306
- * 2102 => 146
1307
- * 2110 => 148
1308
- * 2111 => 149
1309
- * 2112 => 150
1310
- * 2120 => 152
1311
- * 2121 => 153
1312
- * 2122 => 154
1313
- * 2200 => 160
1314
- * 2201 => 161
1315
- * 2202 => 162
1316
- * 2210 => 164
1317
- * 2211 => 165
1318
- * 2212 => 166
1319
- * 2220 => 168
1320
- * 2221 => 169
1321
- * 2222 => 170
1322
- */
1323
-
1324
- /*
1325
- * ####################################
1326
- * Some small helper functions
1327
- * ####################################
1328
- */
1329
-
1330
- function computeCenterAverage(bl, br, tr, tl, minV, maxV) {
1331
- var average = (tl + tr + br + bl) / 4;
1332
-
1333
- if (average > maxV)
1334
- return 2; /* above isoband limits */
1335
-
1336
- if (average < minV)
1337
- return 0; /* below isoband limits */
1338
-
1339
- return 1; /* within isoband limits */
1340
- }
1341
-
1342
-
1343
- function prepareCell(grid, x, y, opt) {
1344
- var cell,
1345
- center_avg;
1346
-
1347
- /* compose the 4-trit corner representation */
1348
- var cval = 0;
1349
- var x3 = grid[y + 1][x];
1350
- var x2 = grid[y + 1][x + 1];
1351
- var x1 = grid[y][x + 1];
1352
- var x0 = grid[y][x];
1353
- var minV = opt.minV;
1354
- var maxV = opt.maxV;
1355
-
1356
- /*
1357
- * Note that missing data within the grid will result
1358
- * in horribly failing to trace full polygon paths
1359
- */
1360
- if(isNaN(x0) || isNaN(x1) || isNaN(x2) || isNaN(x3)) {
1361
- return;
1362
- }
1363
-
1364
- /*
1365
- * Here we detect the type of the cell
1366
- *
1367
- * x3 ---- x2
1368
- * | |
1369
- * | |
1370
- * x0 ---- x1
1371
- *
1372
- * with edge points
1373
- *
1374
- * x0 = (x,y),
1375
- * x1 = (x + 1, y),
1376
- * x2 = (x + 1, y + 1), and
1377
- * x3 = (x, y + 1)
1378
- *
1379
- * and compute the polygon intersections with the edges
1380
- * of the cell. Each edge value may be (i) below, (ii) within,
1381
- * or (iii) above the values of the isoband limits. We
1382
- * encode this property using 2 bits of information, where
1383
- *
1384
- * 00 ... below,
1385
- * 01 ... within, and
1386
- * 10 ... above
1387
- *
1388
- * Then we store the cells value as vector
1389
- *
1390
- * cval = (x0, x1, x2, x3)
1391
- *
1392
- * where x0 are the two least significant bits (0th, 1st),
1393
- * x1 the 2nd and 3rd bit, and so on. This essentially
1394
- * enables us to work with a single integer number
1395
- */
1396
-
1397
- cval |= (x3 < minV) ? 0 : (x3 > maxV) ? 128 : 64;
1398
- cval |= (x2 < minV) ? 0 : (x2 > maxV) ? 32 : 16;
1399
- cval |= (x1 < minV) ? 0 : (x1 > maxV) ? 8 : 4;
1400
- cval |= (x0 < minV) ? 0 : (x0 > maxV) ? 2 : 1;
1401
-
1402
- /* make sure cval is a number */
1403
- cval = +cval;
1404
-
1405
- /*
1406
- * cell center average trit for ambiguous cases, where
1407
- * 0 ... below iso band
1408
- * 1 ... within iso band
1409
- * 2 ... above isoband
1410
- */
1411
- center_avg = 0;
1412
-
1413
- cell = {
1414
- cval: cval,
1415
- polygons: [],
1416
- edges: {},
1417
- x0: x0,
1418
- x1: x1,
1419
- x2: x2,
1420
- x3: x3,
1421
- x: x,
1422
- y: y
1423
- };
1424
-
1425
- /*
1426
- * Compute interpolated intersections of the polygon(s)
1427
- * with the cell borders and (i) add edges for polygon
1428
- * trace-back, or (ii) a list of small closed polygons
1429
- * according to look-up table
1430
- */
1431
- switch (cval) {
1432
- case 85: /* 1111 */
1433
- shapeCoordinates.square(cell, x0, x1, x2, x3, opt);
1434
- /* fall through */
1435
- case 0: /* 0000 */
1436
- /* fall through */
1437
- case 170: /* 2222 */
1438
- break;
1439
-
1440
- /* single triangle cases */
1441
-
1442
- case 169: /* 2221 */
1443
- shapeCoordinates.triangle_bl(cell, x0, x1, x2, x3, opt);
1444
- break;
1445
-
1446
- case 166: /* 2212 */
1447
- shapeCoordinates.triangle_br(cell, x0, x1, x2, x3, opt);
1448
- break;
1449
-
1450
- case 154: /* 2122 */
1451
- shapeCoordinates.triangle_tr(cell, x0, x1, x2, x3, opt);
1452
- break;
1453
-
1454
- case 106: /* 1222 */
1455
- shapeCoordinates.triangle_tl(cell, x0, x1, x2, x3, opt);
1456
- break;
1457
-
1458
- case 1: /* 0001 */
1459
- shapeCoordinates.triangle_bl(cell, x0, x1, x2, x3, opt);
1460
- break;
1461
-
1462
- case 4: /* 0010 */
1463
- shapeCoordinates.triangle_br(cell, x0, x1, x2, x3, opt);
1464
- break;
1465
-
1466
- case 16: /* 0100 */
1467
- shapeCoordinates.triangle_tr(cell, x0, x1, x2, x3, opt);
1468
- break;
1469
-
1470
- case 64: /* 1000 */
1471
- shapeCoordinates.triangle_tl(cell, x0, x1, x2, x3, opt);
1472
- break;
1473
-
1474
-
1475
- /* single trapezoid cases */
1476
-
1477
- case 168: /* 2220 */
1478
- shapeCoordinates.tetragon_bl(cell, x0, x1, x2, x3, opt);
1479
- break;
1480
-
1481
- case 162: /* 2202 */
1482
- shapeCoordinates.tetragon_br(cell, x0, x1, x2, x3, opt);
1483
- break;
1484
-
1485
- case 138: /* 2022 */
1486
- shapeCoordinates.tetragon_tr(cell, x0, x1, x2, x3, opt);
1487
- break;
1488
-
1489
- case 42: /* 0222 */
1490
- shapeCoordinates.tetragon_tl(cell, x0, x1, x2, x3, opt);
1491
- break;
1492
-
1493
- case 2: /* 0002 */
1494
- shapeCoordinates.tetragon_bl(cell, x0, x1, x2, x3, opt);
1495
- break;
1496
-
1497
- case 8: /* 0020 */
1498
- shapeCoordinates.tetragon_br(cell, x0, x1, x2, x3, opt);
1499
- break;
1500
-
1501
- case 32: /* 0200 */
1502
- shapeCoordinates.tetragon_tr(cell, x0, x1, x2, x3, opt);
1503
- break;
1504
-
1505
- case 128: /* 2000 */
1506
- shapeCoordinates.tetragon_tl(cell, x0, x1, x2, x3, opt);
1507
- break;
1508
-
1509
-
1510
- /* single rectangle cases */
1511
-
1512
- case 5: /* 0011 */
1513
- shapeCoordinates.tetragon_b(cell, x0, x1, x2, x3, opt);
1514
- break;
1515
-
1516
- case 20: /* 0110 */
1517
- shapeCoordinates.tetragon_r(cell, x0, x1, x2, x3, opt);
1518
- break;
1519
-
1520
- case 80: /* 1100 */
1521
- shapeCoordinates.tetragon_t(cell, x0, x1, x2, x3, opt);
1522
- break;
1523
-
1524
- case 65: /* 1001 */
1525
- shapeCoordinates.tetragon_l(cell, x0, x1, x2, x3, opt);
1526
- break;
1527
-
1528
- case 165: /* 2211 */
1529
- shapeCoordinates.tetragon_b(cell, x0, x1, x2, x3, opt);
1530
- break;
1531
-
1532
- case 150: /* 2112 */
1533
- shapeCoordinates.tetragon_r(cell, x0, x1, x2, x3, opt);
1534
- break;
1535
-
1536
- case 90: /* 1122 */
1537
- shapeCoordinates.tetragon_t(cell, x0, x1, x2, x3, opt);
1538
- break;
1539
-
1540
- case 105: /* 1221 */
1541
- shapeCoordinates.tetragon_l(cell, x0, x1, x2, x3, opt);
1542
- break;
1543
-
1544
- case 160: /* 2200 */
1545
- shapeCoordinates.tetragon_lr(cell, x0, x1, x2, x3, opt);
1546
- break;
1547
-
1548
- case 130: /* 2002 */
1549
- shapeCoordinates.tetragon_tb(cell, x0, x1, x2, x3, opt);
1550
- break;
1551
-
1552
- case 10: /* 0022 */
1553
- shapeCoordinates.tetragon_lr(cell, x0, x1, x2, x3, opt);
1554
- break;
1555
-
1556
- case 40: /* 0220 */
1557
- shapeCoordinates.tetragon_tb(cell, x0, x1, x2, x3, opt);
1558
- break;
1559
-
1560
-
1561
- /* single pentagon cases */
1562
-
1563
- case 101: /* 1211 */
1564
- shapeCoordinates.pentagon_tr(cell, x0, x1, x2, x3, opt);
1565
- break;
1566
-
1567
- case 149: /* 2111 */
1568
- shapeCoordinates.pentagon_tl(cell, x0, x1, x2, x3, opt);
1569
- break;
1570
-
1571
- case 86: /* 1112 */
1572
- shapeCoordinates.pentagon_bl(cell, x0, x1, x2, x3, opt);
1573
- break;
1574
-
1575
- case 89: /* 1121 */
1576
- shapeCoordinates.pentagon_br(cell, x0, x1, x2, x3, opt);
1577
- break;
1578
-
1579
- case 69: /* 1011 */
1580
- shapeCoordinates.pentagon_tr(cell, x0, x1, x2, x3, opt);
1581
- break;
1582
-
1583
- case 21: /* 0111 */
1584
- shapeCoordinates.pentagon_tl(cell, x0, x1, x2, x3, opt);
1585
- break;
1586
-
1587
- case 84: /* 1110 */
1588
- shapeCoordinates.pentagon_bl(cell, x0, x1, x2, x3, opt);
1589
- break;
1590
-
1591
- case 81: /* 1101 */
1592
- shapeCoordinates.pentagon_br(cell, x0, x1, x2, x3, opt);
1593
- break;
1594
-
1595
- case 96: /* 1200 */
1596
- shapeCoordinates.pentagon_tr_rl(cell, x0, x1, x2, x3, opt);
1597
- break;
1598
-
1599
- case 24: /* 0120 */
1600
- shapeCoordinates.pentagon_rb_bt(cell, x0, x1, x2, x3, opt);
1601
- break;
1602
-
1603
- case 6: /* 0012 */
1604
- shapeCoordinates.pentagon_bl_lr(cell, x0, x1, x2, x3, opt);
1605
- break;
1606
-
1607
- case 129: /* 2001 */
1608
- shapeCoordinates.pentagon_lt_tb(cell, x0, x1, x2, x3, opt);
1609
- break;
1610
-
1611
- case 74: /* 1022 */
1612
- shapeCoordinates.pentagon_tr_rl(cell, x0, x1, x2, x3, opt);
1613
- break;
1614
-
1615
- case 146: /* 2102 */
1616
- shapeCoordinates.pentagon_rb_bt(cell, x0, x1, x2, x3, opt);
1617
- break;
1618
-
1619
- case 164: /* 2210 */
1620
- shapeCoordinates.pentagon_bl_lr(cell, x0, x1, x2, x3, opt);
1621
- break;
1622
-
1623
- case 41: /* 0221 */
1624
- shapeCoordinates.pentagon_lt_tb(cell, x0, x1, x2, x3, opt);
1625
- break;
1626
-
1627
- case 66: /* 1002 */
1628
- shapeCoordinates.pentagon_bl_tb(cell, x0, x1, x2, x3, opt);
1629
- break;
1630
-
1631
- case 144: /* 2100 */
1632
- shapeCoordinates.pentagon_lt_rl(cell, x0, x1, x2, x3, opt);
1633
- break;
1634
-
1635
- case 36: /* 0210 */
1636
- shapeCoordinates.pentagon_tr_bt(cell, x0, x1, x2, x3, opt);
1637
- break;
1638
-
1639
- case 9: /* 0021 */
1640
- shapeCoordinates.pentagon_rb_lr(cell, x0, x1, x2, x3, opt);
1641
- break;
1642
-
1643
- case 104: /* 1220 */
1644
- shapeCoordinates.pentagon_bl_tb(cell, x0, x1, x2, x3, opt);
1645
- break;
1646
-
1647
- case 26: /* 0122 */
1648
- shapeCoordinates.pentagon_lt_rl(cell, x0, x1, x2, x3, opt);
1649
- break;
1650
-
1651
- case 134: /* 2012 */
1652
- shapeCoordinates.pentagon_tr_bt(cell, x0, x1, x2, x3, opt);
1653
- break;
1654
-
1655
- case 161: /* 2201 */
1656
- shapeCoordinates.pentagon_rb_lr(cell, x0, x1, x2, x3, opt);
1657
- break;
1658
-
1659
-
1660
- /* single hexagon cases */
1661
-
1662
- case 37: /* 0211 */
1663
- shapeCoordinates.hexagon_lt_tr(cell, x0, x1, x2, x3, opt);
1664
- break;
1665
-
1666
- case 148: /* 2110 */
1667
- shapeCoordinates.hexagon_bl_lt(cell, x0, x1, x2, x3, opt);
1668
- break;
1669
-
1670
- case 82: /* 1102 */
1671
- shapeCoordinates.hexagon_bl_rb(cell, x0, x1, x2, x3, opt);
1672
- break;
1673
-
1674
- case 73: /* 1021 */
1675
- shapeCoordinates.hexagon_tr_rb(cell, x0, x1, x2, x3, opt);
1676
- break;
1677
-
1678
- case 133: /* 2011 */
1679
- shapeCoordinates.hexagon_lt_tr(cell, x0, x1, x2, x3, opt);
1680
- break;
1681
-
1682
- case 22: /* 0112 */
1683
- shapeCoordinates.hexagon_bl_lt(cell, x0, x1, x2, x3, opt);
1684
- break;
1685
-
1686
- case 88: /* 1120 */
1687
- shapeCoordinates.hexagon_bl_rb(cell, x0, x1, x2, x3, opt);
1688
- break;
1689
-
1690
- case 97: /* 1201 */
1691
- shapeCoordinates.hexagon_tr_rb(cell, x0, x1, x2, x3, opt);
1692
- break;
1693
-
1694
- case 145: /* 2101 */
1695
- shapeCoordinates.hexagon_lt_rb(cell, x0, x1, x2, x3, opt);
1696
- break;
1697
-
1698
- case 25: /* 0121 */
1699
- shapeCoordinates.hexagon_lt_rb(cell, x0, x1, x2, x3, opt);
1700
- break;
1701
-
1702
- case 70: /* 1012 */
1703
- shapeCoordinates.hexagon_bl_tr(cell, x0, x1, x2, x3, opt);
1704
- break;
1705
-
1706
- case 100: /* 1210 */
1707
- shapeCoordinates.hexagon_bl_tr(cell, x0, x1, x2, x3, opt);
1708
- break;
1709
-
1710
-
1711
- /* 6-sided saddles */
1712
-
1713
- case 17: /* 0101 */
1714
- center_avg = computeCenterAverage(x0, x1, x2, x3, minV, maxV);
1715
- /* should never be center_avg === 2 */
1716
- if (center_avg === 0) {
1717
- shapeCoordinates.triangle_bl(cell, x0, x1, x2, x3, opt);
1718
- shapeCoordinates.triangle_tr(cell, x0, x1, x2, x3, opt);
1719
- } else {
1720
- shapeCoordinates.hexagon_lt_rb(cell, x0, x1, x2, x3, opt);
1721
- }
1722
- break;
1723
-
1724
- case 68: /* 1010 */
1725
- center_avg = computeCenterAverage(x0, x1, x2, x3, minV, maxV);
1726
- /* should never be center_avg === 2 */
1727
- if (center_avg === 0) {
1728
- shapeCoordinates.triangle_tl(cell, x0, x1, x2, x3, opt);
1729
- shapeCoordinates.triangle_br(cell, x0, x1, x2, x3, opt);
1730
- } else {
1731
- shapeCoordinates.hexagon_bl_tr(cell, x0, x1, x2, x3, opt);
1732
- }
1733
- break;
1734
-
1735
- case 153: /* 2121 */
1736
- center_avg = computeCenterAverage(x0, x1, x2, x3, minV, maxV);
1737
- /* should never be center_avg === 0 */
1738
- if (center_avg === 2) {
1739
- shapeCoordinates.triangle_bl(cell, x0, x1, x2, x3, opt);
1740
- shapeCoordinates.triangle_tr(cell, x0, x1, x2, x3, opt);
1741
- } else {
1742
- shapeCoordinates.hexagon_lt_rb(cell, x0, x1, x2, x3, opt);
1743
- }
1744
- break;
1745
-
1746
- case 102: /* 1212 */
1747
- center_avg = computeCenterAverage(x0, x1, x2, x3, minV, maxV);
1748
- /* should never be center_avg === 0 */
1749
- if (center_avg === 2) {
1750
- shapeCoordinates.triangle_tl(cell, x0, x1, x2, x3, opt);
1751
- shapeCoordinates.triangle_br(cell, x0, x1, x2, x3, opt);
1752
- } else {
1753
- shapeCoordinates.hexagon_bl_tr(cell, x0, x1, x2, x3, opt);
1754
- }
1755
- break;
1756
-
1757
-
1758
- /* 7-sided saddles */
1759
-
1760
- case 152: /* 2120 */
1761
-
1762
- center_avg = computeCenterAverage(x0, x1, x2, x3, minV, maxV);
1763
- /* should never be center_avg === 0 */
1764
- if (center_avg === 2) {
1765
- shapeCoordinates.triangle_tr(cell, x0, x1, x2, x3, opt);
1766
- shapeCoordinates.tetragon_bl(cell, x0, x1, x2, x3, opt);
1767
- } else {
1768
- shapeCoordinates.heptagon_tr(cell, x0, x1, x2, x3, opt);
1769
- }
1770
- break;
1771
-
1772
- case 137: /* 2021 */
1773
- center_avg = computeCenterAverage(x0, x1, x2, x3, minV, maxV);
1774
- /* should never be center_avg === 0 */
1775
- if (center_avg === 2) {
1776
- shapeCoordinates.triangle_bl(cell, x0, x1, x2, x3, opt);
1777
- shapeCoordinates.tetragon_tr(cell, x0, x1, x2, x3, opt);
1778
- } else {
1779
- shapeCoordinates.heptagon_bl(cell, x0, x1, x2, x3, opt);
1780
- }
1781
- break;
1782
-
1783
- case 98: /* 1202 */
1784
- center_avg = computeCenterAverage(x0, x1, x2, x3, minV, maxV);
1785
- /* should never be center_avg === 0 */
1786
- if (center_avg === 2) {
1787
- shapeCoordinates.triangle_tl(cell, x0, x1, x2, x3, opt);
1788
- shapeCoordinates.tetragon_br(cell, x0, x1, x2, x3, opt);
1789
- } else {
1790
- shapeCoordinates.heptagon_tl(cell, x0, x1, x2, x3, opt);
1791
- }
1792
- break;
1793
-
1794
- case 38: /* 0212 */
1795
- center_avg = computeCenterAverage(x0, x1, x2, x3, minV, maxV);
1796
- /* should never be center_avg === 0 */
1797
- if (center_avg === 2) {
1798
- shapeCoordinates.triangle_br(cell, x0, x1, x2, x3, opt);
1799
- shapeCoordinates.tetragon_tl(cell, x0, x1, x2, x3, opt);
1800
- } else {
1801
- shapeCoordinates.heptagon_br(cell, x0, x1, x2, x3, opt);
1802
- }
1803
- break;
1804
-
1805
- case 18: /* 0102 */
1806
- center_avg = computeCenterAverage(x0, x1, x2, x3, minV, maxV);
1807
- /* should never be center_avg === 2 */
1808
- if (center_avg === 0) {
1809
- shapeCoordinates.triangle_tr(cell, x0, x1, x2, x3, opt);
1810
- shapeCoordinates.tetragon_bl(cell, x0, x1, x2, x3, opt);
1811
- } else {
1812
- shapeCoordinates.heptagon_tr(cell, x0, x1, x2, x3, opt);
1813
- }
1814
- break;
1815
-
1816
- case 33: /* 0201 */
1817
- center_avg = computeCenterAverage(x0, x1, x2, x3, minV, maxV);
1818
- /* should never be center_avg === 2 */
1819
- if (center_avg === 0) {
1820
- shapeCoordinates.triangle_bl(cell, x0, x1, x2, x3, opt);
1821
- shapeCoordinates.tetragon_tr(cell, x0, x1, x2, x3, opt);
1822
- } else {
1823
- shapeCoordinates.heptagon_bl(cell, x0, x1, x2, x3, opt);
1824
- }
1825
- break;
1826
-
1827
- case 72: /* 1020 */
1828
- center_avg = computeCenterAverage(x0, x1, x2, x3, minV, maxV);
1829
- /* should never be center_avg === 2 */
1830
- if (center_avg === 0) {
1831
- shapeCoordinates.triangle_tl(cell, x0, x1, x2, x3, opt);
1832
- shapeCoordinates.tetragon_br(cell, x0, x1, x2, x3, opt);
1833
- } else {
1834
- shapeCoordinates.heptagon_tl(cell, x0, x1, x2, x3, opt);
1835
- }
1836
- break;
1837
-
1838
- case 132: /* 2010 */
1839
- center_avg = computeCenterAverage(x0, x1, x2, x3, minV, maxV);
1840
- /* should never be center_avg === 2 */
1841
- if (center_avg === 0) {
1842
- shapeCoordinates.triangle_br(cell, x0, x1, x2, x3, opt);
1843
- shapeCoordinates.tetragon_tl(cell, x0, x1, x2, x3, opt);
1844
- } else {
1845
- shapeCoordinates.heptagon_br(cell, x0, x1, x2, x3, opt);
1846
- }
1847
- break;
1848
-
1849
-
1850
- /* 8-sided saddles */
1851
-
1852
- case 136: /* 2020 */
1853
- center_avg = computeCenterAverage(x0, x1, x2, x3, minV, maxV);
1854
- if (center_avg === 0) {
1855
- shapeCoordinates.tetragon_tl(cell, x0, x1, x2, x3, opt);
1856
- shapeCoordinates.tetragon_br(cell, x0, x1, x2, x3, opt);
1857
- } else if (center_avg === 1) {
1858
- shapeCoordinates.octagon(cell, x0, x1, x2, x3, opt);
1859
- } else {
1860
- shapeCoordinates.tetragon_bl(cell, x0, x1, x2, x3, opt);
1861
- shapeCoordinates.tetragon_tr(cell, x0, x1, x2, x3, opt);
1862
- }
1863
- break;
1864
-
1865
- case 34: /* 0202 */
1866
- center_avg = computeCenterAverage(x0, x1, x2, x3, minV, maxV);
1867
- if (center_avg === 0) {
1868
- shapeCoordinates.tetragon_bl(cell, x0, x1, x2, x3, opt);
1869
- shapeCoordinates.tetragon_tr(cell, x0, x1, x2, x3, opt);
1870
- } else if (center_avg === 1) {
1871
- shapeCoordinates.octagon(cell, x0, x1, x2, x3, opt);
1872
- } else {
1873
- shapeCoordinates.tetragon_tl(cell, x0, x1, x2, x3, opt);
1874
- shapeCoordinates.tetragon_br(cell, x0, x1, x2, x3, opt);
1875
- }
1876
- break;
1877
- }
1878
-
1879
- return cell;
1880
- }
1881
-
1882
-
1883
- export {isoBands};