@pggis/pg-sdk 3.2.10 → 3.2.12

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 (107) hide show
  1. package/dist/index.js +10 -0
  2. package/dist/pggis.min.css +1 -1
  3. package/dist/pggis.min.js +14789 -35
  4. package/dist/resources/Workers/{chunk-MY3VNFGQ.js → chunk-23UFSGND.js} +7 -7
  5. package/dist/resources/Workers/{chunk-IQBYFRVW.js → chunk-2A75IWRS.js} +7 -7
  6. package/dist/resources/Workers/{chunk-VRGFV2UO.js → chunk-2FRVPMCS.js} +10 -10
  7. package/dist/resources/Workers/{chunk-46UD5ABS.js → chunk-2FWRMUTY.js} +4 -4
  8. package/dist/resources/Workers/{chunk-DTAIXKTO.js → chunk-2UPKWTMJ.js} +6 -6
  9. package/dist/resources/Workers/{chunk-6VJVYK2V.js → chunk-34FXV7D7.js} +2 -2
  10. package/dist/resources/Workers/{chunk-ODW7WYM4.js → chunk-3VAZEH7M.js} +2 -2
  11. package/dist/resources/Workers/{chunk-U2VCRRQW.js → chunk-4DO5W5XZ.js} +6 -6
  12. package/dist/resources/Workers/{chunk-VK3EJHWI.js → chunk-4H7PY4U5.js} +2 -2
  13. package/dist/resources/Workers/{chunk-RV7ZYPFT.js → chunk-5QULIR53.js} +4 -4
  14. package/dist/resources/Workers/{chunk-JY5YEZFA.js → chunk-7TC63SJW.js} +8 -8
  15. package/dist/resources/Workers/{chunk-JJ4VBOQ3.js → chunk-7ZFGPDJA.js} +4 -4
  16. package/dist/resources/Workers/{chunk-FP6GYBFX.js → chunk-A5DWLWCY.js} +10 -10
  17. package/dist/resources/Workers/{chunk-5M3U6ZMA.js → chunk-BBWDMCVU.js} +1 -1
  18. package/dist/resources/Workers/{chunk-WZU2YLWG.js → chunk-BG4UCVXN.js} +3 -3
  19. package/dist/resources/Workers/{chunk-5WQ523AW.js → chunk-BIKA3NRA.js} +5 -5
  20. package/dist/resources/Workers/{chunk-PTQQUQC3.js → chunk-BROJAZRZ.js} +13 -13
  21. package/dist/resources/Workers/{chunk-YUCVWAY6.js → chunk-DDUQAJ4P.js} +7 -7
  22. package/dist/resources/Workers/{chunk-2HJWSU7B.js → chunk-EERJKOAF.js} +4 -4
  23. package/dist/resources/Workers/{chunk-LZGHD6NY.js → chunk-EG6PTBY2.js} +15 -15
  24. package/dist/resources/Workers/{chunk-IX2JCCNM.js → chunk-EHWHNOEX.js} +1 -1
  25. package/dist/resources/Workers/{chunk-NKPBIX7F.js → chunk-F3YA3Y2Z.js} +1 -1
  26. package/dist/resources/Workers/{chunk-L2ZN645J.js → chunk-F4HFJMGM.js} +6 -6
  27. package/dist/resources/Workers/{chunk-F6SE42BK.js → chunk-FJKNFAKQ.js} +15 -472
  28. package/dist/resources/Workers/{chunk-PNBGBETF.js → chunk-FNIRWHJB.js} +10 -10
  29. package/dist/resources/Workers/{chunk-RAEV7K66.js → chunk-FZRIVR7Y.js} +5 -5
  30. package/dist/resources/Workers/{chunk-AIPU2VSX.js → chunk-G43QFN4Q.js} +6 -6
  31. package/dist/resources/Workers/{chunk-ZUA2UUNV.js → chunk-GATZHF3K.js} +2 -2
  32. package/dist/resources/Workers/{chunk-ZK5JOS3D.js → chunk-GRC2ZTAF.js} +14 -14
  33. package/dist/resources/Workers/{chunk-5YLJ77FF.js → chunk-HU6N6EXB.js} +10 -10
  34. package/dist/resources/Workers/{chunk-4EBHOMFX.js → chunk-I46ZRR5W.js} +17 -17
  35. package/dist/resources/Workers/{chunk-LZ7JIV3K.js → chunk-JURN7NPV.js} +17 -17
  36. package/dist/resources/Workers/{chunk-JCNXK6EL.js → chunk-KKCR2YOP.js} +11 -11
  37. package/dist/resources/Workers/{chunk-S6SKF6DT.js → chunk-LPR3YNP2.js} +5 -5
  38. package/dist/resources/Workers/{chunk-UDO6BFSF.js → chunk-M7ERACJJ.js} +13 -13
  39. package/dist/resources/Workers/{chunk-BZP4T2JJ.js → chunk-MDWEGWPA.js} +10 -10
  40. package/dist/resources/Workers/{chunk-72SANQJV.js → chunk-OGXZVPPM.js} +9 -5
  41. package/dist/resources/Workers/{chunk-AR5DNBJ4.js → chunk-PGSJK77E.js} +6 -6
  42. package/dist/resources/Workers/{chunk-GEJTYLCO.js → chunk-PPH7OFP3.js} +5 -5
  43. package/dist/resources/Workers/{chunk-OVLG3FRS.js → chunk-SH5USDPI.js} +6 -6
  44. package/dist/resources/Workers/{chunk-6HZQPRUS.js → chunk-SOWMRMWA.js} +1 -1
  45. package/dist/resources/Workers/{chunk-JXDC723O.js → chunk-STW2DGFI.js} +2 -2
  46. package/dist/resources/Workers/{chunk-5HDYHG3F.js → chunk-T3XIFPYR.js} +13 -13
  47. package/dist/resources/Workers/chunk-TTUZP4BO.js +501 -0
  48. package/dist/resources/Workers/{chunk-7XEAYGZK.js → chunk-UEXTBDBE.js} +10 -10
  49. package/dist/resources/Workers/{chunk-GV56Q4LU.js → chunk-VOXYEYJT.js} +11 -11
  50. package/dist/resources/Workers/{chunk-NY3K4IM3.js → chunk-X4356LRH.js} +12 -12
  51. package/dist/resources/Workers/{chunk-S4MAZ3SS.js → chunk-XGI5BXZY.js} +2 -2
  52. package/dist/resources/Workers/{chunk-UAEW6HKG.js → chunk-Y2ME2IJV.js} +13 -13
  53. package/dist/resources/Workers/{chunk-XWXM2O2R.js → chunk-Y5UQJLYE.js} +6 -6
  54. package/dist/resources/Workers/{chunk-QZAD5O7I.js → chunk-YJEBABKH.js} +7 -7
  55. package/dist/resources/Workers/{chunk-UGK3FCDY.js → chunk-YWTJ2B4B.js} +1 -1
  56. package/dist/resources/Workers/{chunk-R5X4OQT4.js → chunk-Z3TIFFGF.js} +7 -7
  57. package/dist/resources/Workers/{chunk-WBQCVXR3.js → chunk-ZT7KWISZ.js} +4 -4
  58. package/dist/resources/Workers/combineGeometry.js +24 -23
  59. package/dist/resources/Workers/createBoxGeometry.js +18 -17
  60. package/dist/resources/Workers/createBoxOutlineGeometry.js +16 -15
  61. package/dist/resources/Workers/createCircleGeometry.js +26 -25
  62. package/dist/resources/Workers/createCircleOutlineGeometry.js +19 -18
  63. package/dist/resources/Workers/createCoplanarPolygonGeometry.js +33 -32
  64. package/dist/resources/Workers/createCoplanarPolygonOutlineGeometry.js +31 -30
  65. package/dist/resources/Workers/createCorridorGeometry.js +29 -28
  66. package/dist/resources/Workers/createCorridorOutlineGeometry.js +28 -27
  67. package/dist/resources/Workers/createCylinderGeometry.js +20 -19
  68. package/dist/resources/Workers/createCylinderOutlineGeometry.js +18 -17
  69. package/dist/resources/Workers/createEllipseGeometry.js +26 -25
  70. package/dist/resources/Workers/createEllipseOutlineGeometry.js +19 -18
  71. package/dist/resources/Workers/createEllipsoidGeometry.js +19 -18
  72. package/dist/resources/Workers/createEllipsoidOutlineGeometry.js +18 -17
  73. package/dist/resources/Workers/createFrustumGeometry.js +18 -17
  74. package/dist/resources/Workers/createFrustumOutlineGeometry.js +18 -17
  75. package/dist/resources/Workers/createGeometry.js +54 -33
  76. package/dist/resources/Workers/createGroundPolylineGeometry.js +22 -21
  77. package/dist/resources/Workers/createPlaneGeometry.js +16 -15
  78. package/dist/resources/Workers/createPlaneOutlineGeometry.js +15 -14
  79. package/dist/resources/Workers/createPolygonGeometry.js +32 -31
  80. package/dist/resources/Workers/createPolygonOutlineGeometry.js +30 -29
  81. package/dist/resources/Workers/createPolylineGeometry.js +25 -24
  82. package/dist/resources/Workers/createPolylineVolumeGeometry.js +31 -30
  83. package/dist/resources/Workers/createPolylineVolumeOutlineGeometry.js +27 -26
  84. package/dist/resources/Workers/createRectangleGeometry.js +27 -26
  85. package/dist/resources/Workers/createRectangleOutlineGeometry.js +20 -19
  86. package/dist/resources/Workers/createSimplePolylineGeometry.js +23 -22
  87. package/dist/resources/Workers/createSphereGeometry.js +19 -18
  88. package/dist/resources/Workers/createSphereOutlineGeometry.js +18 -17
  89. package/dist/resources/Workers/createTaskProcessorWorker.js +3 -3
  90. package/dist/resources/Workers/createVectorTileClampedPolylines.js +14 -14
  91. package/dist/resources/Workers/createVectorTileGeometries.js +24 -23
  92. package/dist/resources/Workers/createVectorTilePoints.js +12 -12
  93. package/dist/resources/Workers/createVectorTilePolygons.js +22 -21
  94. package/dist/resources/Workers/createVectorTilePolylines.js +14 -14
  95. package/dist/resources/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js +22 -21
  96. package/dist/resources/Workers/createVerticesFromHeightmap.js +22 -21
  97. package/dist/resources/Workers/createVerticesFromQuantizedTerrainMesh.js +19 -18
  98. package/dist/resources/Workers/createWallGeometry.js +24 -23
  99. package/dist/resources/Workers/createWallOutlineGeometry.js +23 -22
  100. package/dist/resources/Workers/decodeDraco.js +11 -11
  101. package/dist/resources/Workers/decodeGoogleEarthEnterprisePacket.js +5 -5
  102. package/dist/resources/Workers/decodeI3S.js +601 -92
  103. package/dist/resources/Workers/transcodeKTX2.js +7 -7
  104. package/dist/resources/Workers/transferTypedArrayTest.js +1 -1
  105. package/dist/resources/Workers/upsampleQuantizedTerrainMesh.js +22 -21
  106. package/package.json +7 -10
  107. package/dist/index.cjs +0 -43
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license
3
3
  * Cesium - https://github.com/CesiumGS/cesium
4
- * Version 1.114
4
+ * Version 1.115
5
5
  *
6
6
  * Copyright 2011-2022 Cesium Contributors
7
7
  *
@@ -25,17 +25,17 @@
25
25
 
26
26
  import {
27
27
  Math_default
28
- } from "./chunk-RV7ZYPFT.js";
28
+ } from "./chunk-5QULIR53.js";
29
29
  import {
30
30
  defaultValue_default
31
- } from "./chunk-5M3U6ZMA.js";
31
+ } from "./chunk-BBWDMCVU.js";
32
32
  import {
33
33
  Check_default,
34
34
  DeveloperError_default
35
- } from "./chunk-S4MAZ3SS.js";
35
+ } from "./chunk-XGI5BXZY.js";
36
36
  import {
37
37
  defined_default
38
- } from "./chunk-UGK3FCDY.js";
38
+ } from "./chunk-YWTJ2B4B.js";
39
39
 
40
40
  // packages/engine/Source/Core/Cartesian3.js
41
41
  function Cartesian3(x, y, z) {
@@ -1251,6 +1251,10 @@ Ellipsoid.prototype.geodeticSurfaceNormalCartographic = function(cartographic, r
1251
1251
  return Cartesian3_default.normalize(result, result);
1252
1252
  };
1253
1253
  Ellipsoid.prototype.geodeticSurfaceNormal = function(cartesian, result) {
1254
+ Check_default.typeOf.object("cartesian", cartesian);
1255
+ if (isNaN(cartesian.x) || isNaN(cartesian.y) || isNaN(cartesian.z)) {
1256
+ throw new DeveloperError_default("cartesian has a NaN component");
1257
+ }
1254
1258
  if (Cartesian3_default.equalsEpsilon(cartesian, Cartesian3_default.ZERO, Math_default.EPSILON14)) {
1255
1259
  return void 0;
1256
1260
  }
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license
3
3
  * Cesium - https://github.com/CesiumGS/cesium
4
- * Version 1.114
4
+ * Version 1.115
5
5
  *
6
6
  * Copyright 2011-2022 Cesium Contributors
7
7
  *
@@ -25,19 +25,19 @@
25
25
 
26
26
  import {
27
27
  FeatureDetection_default
28
- } from "./chunk-F6SE42BK.js";
28
+ } from "./chunk-TTUZP4BO.js";
29
29
  import {
30
30
  Math_default
31
- } from "./chunk-RV7ZYPFT.js";
31
+ } from "./chunk-5QULIR53.js";
32
32
  import {
33
33
  defaultValue_default
34
- } from "./chunk-5M3U6ZMA.js";
34
+ } from "./chunk-BBWDMCVU.js";
35
35
  import {
36
36
  Check_default
37
- } from "./chunk-S4MAZ3SS.js";
37
+ } from "./chunk-XGI5BXZY.js";
38
38
  import {
39
39
  defined_default
40
- } from "./chunk-UGK3FCDY.js";
40
+ } from "./chunk-YWTJ2B4B.js";
41
41
 
42
42
  // packages/engine/Source/Core/Color.js
43
43
  function hue2rgb(m1, m2, h) {
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license
3
3
  * Cesium - https://github.com/CesiumGS/cesium
4
- * Version 1.114
4
+ * Version 1.115
5
5
  *
6
6
  * Copyright 2011-2022 Cesium Contributors
7
7
  *
@@ -25,16 +25,16 @@
25
25
 
26
26
  import {
27
27
  WebGLConstants_default
28
- } from "./chunk-6HZQPRUS.js";
28
+ } from "./chunk-SOWMRMWA.js";
29
29
  import {
30
30
  defaultValue_default
31
- } from "./chunk-5M3U6ZMA.js";
31
+ } from "./chunk-BBWDMCVU.js";
32
32
  import {
33
33
  DeveloperError_default
34
- } from "./chunk-S4MAZ3SS.js";
34
+ } from "./chunk-XGI5BXZY.js";
35
35
  import {
36
36
  defined_default
37
- } from "./chunk-UGK3FCDY.js";
37
+ } from "./chunk-YWTJ2B4B.js";
38
38
 
39
39
  // packages/engine/Source/Core/ComponentDatatype.js
40
40
  var ComponentDatatype = {
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license
3
3
  * Cesium - https://github.com/CesiumGS/cesium
4
- * Version 1.114
4
+ * Version 1.115
5
5
  *
6
6
  * Copyright 2011-2022 Cesium Contributors
7
7
  *
@@ -27,20 +27,20 @@ import {
27
27
  Cartesian3_default,
28
28
  Cartographic_default,
29
29
  Ellipsoid_default
30
- } from "./chunk-72SANQJV.js";
30
+ } from "./chunk-OGXZVPPM.js";
31
31
  import {
32
32
  Math_default
33
- } from "./chunk-RV7ZYPFT.js";
33
+ } from "./chunk-5QULIR53.js";
34
34
  import {
35
35
  defaultValue_default
36
- } from "./chunk-5M3U6ZMA.js";
36
+ } from "./chunk-BBWDMCVU.js";
37
37
  import {
38
38
  Check_default,
39
39
  DeveloperError_default
40
- } from "./chunk-S4MAZ3SS.js";
40
+ } from "./chunk-XGI5BXZY.js";
41
41
  import {
42
42
  defined_default
43
- } from "./chunk-UGK3FCDY.js";
43
+ } from "./chunk-YWTJ2B4B.js";
44
44
 
45
45
  // packages/engine/Source/Core/EllipsoidRhumbLine.js
46
46
  function calculateM(ellipticity, major, latitude) {
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license
3
3
  * Cesium - https://github.com/CesiumGS/cesium
4
- * Version 1.114
4
+ * Version 1.115
5
5
  *
6
6
  * Copyright 2011-2022 Cesium Contributors
7
7
  *
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license
3
3
  * Cesium - https://github.com/CesiumGS/cesium
4
- * Version 1.114
4
+ * Version 1.115
5
5
  *
6
6
  * Copyright 2011-2022 Cesium Contributors
7
7
  *
@@ -25,7 +25,7 @@
25
25
 
26
26
  import {
27
27
  defined_default
28
- } from "./chunk-UGK3FCDY.js";
28
+ } from "./chunk-YWTJ2B4B.js";
29
29
 
30
30
  // packages/engine/Source/Core/RuntimeError.js
31
31
  function RuntimeError(message) {
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license
3
3
  * Cesium - https://github.com/CesiumGS/cesium
4
- * Version 1.114
4
+ * Version 1.115
5
5
  *
6
6
  * Copyright 2011-2022 Cesium Contributors
7
7
  *
@@ -25,47 +25,47 @@
25
25
 
26
26
  import {
27
27
  VertexFormat_default
28
- } from "./chunk-46UD5ABS.js";
28
+ } from "./chunk-2FWRMUTY.js";
29
29
  import {
30
30
  Plane_default
31
- } from "./chunk-XWXM2O2R.js";
31
+ } from "./chunk-Y5UQJLYE.js";
32
32
  import {
33
33
  GeometryAttributes_default
34
- } from "./chunk-VK3EJHWI.js";
34
+ } from "./chunk-4H7PY4U5.js";
35
35
  import {
36
36
  GeometryAttribute_default,
37
37
  Geometry_default,
38
38
  PrimitiveType_default
39
- } from "./chunk-JY5YEZFA.js";
39
+ } from "./chunk-7TC63SJW.js";
40
40
  import {
41
41
  BoundingSphere_default,
42
42
  Intersect_default,
43
43
  Quaternion_default
44
- } from "./chunk-F6SE42BK.js";
44
+ } from "./chunk-FJKNFAKQ.js";
45
45
  import {
46
46
  Cartesian4_default,
47
47
  Matrix4_default
48
- } from "./chunk-QZAD5O7I.js";
48
+ } from "./chunk-YJEBABKH.js";
49
49
  import {
50
50
  ComponentDatatype_default
51
- } from "./chunk-GEJTYLCO.js";
51
+ } from "./chunk-PPH7OFP3.js";
52
52
  import {
53
53
  Cartesian3_default,
54
54
  Matrix3_default
55
- } from "./chunk-72SANQJV.js";
55
+ } from "./chunk-OGXZVPPM.js";
56
56
  import {
57
57
  Math_default
58
- } from "./chunk-RV7ZYPFT.js";
58
+ } from "./chunk-5QULIR53.js";
59
59
  import {
60
60
  defaultValue_default
61
- } from "./chunk-5M3U6ZMA.js";
61
+ } from "./chunk-BBWDMCVU.js";
62
62
  import {
63
63
  Check_default,
64
64
  DeveloperError_default
65
- } from "./chunk-S4MAZ3SS.js";
65
+ } from "./chunk-XGI5BXZY.js";
66
66
  import {
67
67
  defined_default
68
- } from "./chunk-UGK3FCDY.js";
68
+ } from "./chunk-YWTJ2B4B.js";
69
69
 
70
70
  // packages/engine/Source/Core/CullingVolume.js
71
71
  function CullingVolume(planes) {