@cesium/engine 26.0.0 → 26.1.0

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 (160) hide show
  1. package/Build/Workers/{chunk-EF2QYXGA.js → chunk-2EFYUSUY.js} +14 -14
  2. package/Build/Workers/{chunk-KFSTQKNM.js → chunk-5LSOO2KD.js} +7 -7
  3. package/Build/Workers/{chunk-VQYETPWC.js → chunk-6HK6IXK2.js} +4 -4
  4. package/Build/Workers/{chunk-AYKR4VBR.js → chunk-6YR6JBMY.js} +2 -2
  5. package/Build/Workers/{chunk-DOBXCNC3.js → chunk-76FDC45O.js} +13 -13
  6. package/Build/Workers/{chunk-54I6Y66F.js → chunk-7D2HZKH7.js} +6 -6
  7. package/Build/Workers/{chunk-4MGMYHOO.js → chunk-7KVKHY7O.js} +6 -6
  8. package/Build/Workers/{chunk-IRBKFCEJ.js → chunk-A3O6EDBK.js} +2 -2
  9. package/Build/Workers/{chunk-V7VQKN6N.js → chunk-A6X24AZI.js} +5 -5
  10. package/Build/Workers/{chunk-ZP7JMQV4.js → chunk-AHWAZRBV.js} +6 -2
  11. package/Build/Workers/{chunk-YLY7NKAB.js → chunk-B4CQSLZJ.js} +4 -4
  12. package/Build/Workers/{chunk-J6BWOHUF.js → chunk-C7JQVRLM.js} +3 -3
  13. package/Build/Workers/{chunk-KSSWJIZW.js → chunk-CDJDJ5LK.js} +2 -2
  14. package/Build/Workers/{chunk-G7PXZRVF.js → chunk-CEEZE3YZ.js} +7 -7
  15. package/Build/Workers/{chunk-INUEEEQA.js → chunk-CLCTQVVL.js} +8 -8
  16. package/Build/Workers/{chunk-O3EA5HS7.js → chunk-DBD5WWG2.js} +10 -10
  17. package/Build/Workers/{chunk-E7VQ76KE.js → chunk-DIGUUD6G.js} +6 -6
  18. package/Build/Workers/{chunk-424RNO3D.js → chunk-E7NZJOK7.js} +196 -22
  19. package/Build/Workers/{chunk-ACXQXN46.js → chunk-EHTS2YPT.js} +16 -16
  20. package/Build/Workers/{chunk-VWV2IJRB.js → chunk-ENNFMWDW.js} +11 -11
  21. package/Build/Workers/{chunk-FRQZECAO.js → chunk-FCP2QY4G.js} +5 -5
  22. package/Build/Workers/{chunk-ZZ46LWL6.js → chunk-FDK4K5IA.js} +1 -1
  23. package/Build/Workers/{chunk-C6KNZ7T4.js → chunk-FGQFQHN5.js} +17 -17
  24. package/Build/Workers/{chunk-MYP774IS.js → chunk-GSWMAFTE.js} +8 -8
  25. package/Build/Workers/{chunk-Y5BF6AFU.js → chunk-GXWQZBAI.js} +2 -2
  26. package/Build/Workers/{chunk-DDWSZVMY.js → chunk-HHV3MCGV.js} +5 -5
  27. package/Build/Workers/{chunk-52JDLOEM.js → chunk-HS6AD4P2.js} +14 -14
  28. package/Build/Workers/{chunk-Q3PY526V.js → chunk-IGAZBTFZ.js} +6 -6
  29. package/Build/Workers/{chunk-EBSIOBXY.js → chunk-ILME5BXA.js} +8 -8
  30. package/Build/Workers/{chunk-C6J67V5A.js → chunk-JKXV6PG5.js} +1 -1
  31. package/Build/Workers/{chunk-SMQZZOW6.js → chunk-JW6OZT4R.js} +10 -10
  32. package/Build/Workers/{chunk-F6QDY6HU.js → chunk-KGXSYGBG.js} +13 -13
  33. package/Build/Workers/{chunk-UOOIQ3KX.js → chunk-LD64RPYV.js} +12 -12
  34. package/Build/Workers/{chunk-CFQP6LYM.js → chunk-LGNDTZVX.js} +4 -4
  35. package/Build/Workers/{chunk-U3ZA64U7.js → chunk-LNSQVXFH.js} +2 -2
  36. package/Build/Workers/{chunk-TKKIREQ6.js → chunk-N7CCOFLX.js} +1 -1
  37. package/Build/Workers/{chunk-UA25D5MX.js → chunk-NIWITKQK.js} +10 -10
  38. package/Build/Workers/{chunk-KKOSKAZB.js → chunk-OBEU25PI.js} +17 -17
  39. package/Build/Workers/{chunk-M3B5JKSM.js → chunk-QVLAFFJY.js} +1 -1
  40. package/Build/Workers/{chunk-6YEE6JDR.js → chunk-R4FPNAZ2.js} +6 -6
  41. package/Build/Workers/{chunk-7J2HKPRH.js → chunk-RG4F5R57.js} +9 -9
  42. package/Build/Workers/{chunk-CXOYE2WM.js → chunk-SF6K72D7.js} +5 -5
  43. package/Build/Workers/{chunk-CZEYZU4N.js → chunk-SGRGNDOD.js} +10 -10
  44. package/Build/Workers/{chunk-DBOEKL43.js → chunk-SM2CDCYF.js} +7 -7
  45. package/Build/Workers/{chunk-Y57HREW5.js → chunk-SS5ABQGY.js} +4 -4
  46. package/Build/Workers/{chunk-QRWGUWI6.js → chunk-T5QBPLE3.js} +11 -11
  47. package/Build/Workers/{chunk-ZK3CF7ZD.js → chunk-TVZD72WJ.js} +12 -12
  48. package/Build/Workers/{chunk-IYOUHCZB.js → chunk-UEY73NRN.js} +1 -1
  49. package/Build/Workers/{chunk-7WM2PX4V.js → chunk-UVO6COT2.js} +5 -5
  50. package/Build/Workers/{chunk-P3CK7MCY.js → chunk-VAL7DYNR.js} +4 -4
  51. package/Build/Workers/{chunk-EPYXRCDB.js → chunk-WBSY7HDY.js} +12 -12
  52. package/Build/Workers/{chunk-4S7IE3LB.js → chunk-XDWCTQCZ.js} +2 -2
  53. package/Build/Workers/{chunk-QN67VG36.js → chunk-XLXSDIP5.js} +6 -6
  54. package/Build/Workers/{chunk-S4MCOY6I.js → chunk-XQ3SKCMM.js} +5 -5
  55. package/Build/Workers/{chunk-XZMBNNDX.js → chunk-YKU2Q3A2.js} +9 -9
  56. package/Build/Workers/{chunk-3VFEWOBI.js → chunk-ZMBHFYOX.js} +7 -7
  57. package/Build/Workers/{chunk-MPZHGZU6.js → chunk-ZSGUV73H.js} +4 -4
  58. package/Build/Workers/combineGeometry.js +24 -24
  59. package/Build/Workers/createBoxGeometry.js +18 -18
  60. package/Build/Workers/createBoxOutlineGeometry.js +16 -16
  61. package/Build/Workers/createCircleGeometry.js +26 -26
  62. package/Build/Workers/createCircleOutlineGeometry.js +19 -19
  63. package/Build/Workers/createCoplanarPolygonGeometry.js +33 -33
  64. package/Build/Workers/createCoplanarPolygonOutlineGeometry.js +31 -31
  65. package/Build/Workers/createCorridorGeometry.js +29 -29
  66. package/Build/Workers/createCorridorOutlineGeometry.js +28 -28
  67. package/Build/Workers/createCylinderGeometry.js +20 -20
  68. package/Build/Workers/createCylinderOutlineGeometry.js +18 -18
  69. package/Build/Workers/createEllipseGeometry.js +26 -26
  70. package/Build/Workers/createEllipseOutlineGeometry.js +19 -19
  71. package/Build/Workers/createEllipsoidGeometry.js +19 -19
  72. package/Build/Workers/createEllipsoidOutlineGeometry.js +18 -18
  73. package/Build/Workers/createFrustumGeometry.js +18 -18
  74. package/Build/Workers/createFrustumOutlineGeometry.js +18 -18
  75. package/Build/Workers/createGeometry.js +24 -24
  76. package/Build/Workers/createGroundPolylineGeometry.js +22 -22
  77. package/Build/Workers/createPlaneGeometry.js +16 -16
  78. package/Build/Workers/createPlaneOutlineGeometry.js +15 -15
  79. package/Build/Workers/createPolygonGeometry.js +32 -32
  80. package/Build/Workers/createPolygonOutlineGeometry.js +30 -30
  81. package/Build/Workers/createPolylineGeometry.js +25 -25
  82. package/Build/Workers/createPolylineVolumeGeometry.js +31 -31
  83. package/Build/Workers/createPolylineVolumeOutlineGeometry.js +27 -27
  84. package/Build/Workers/createRectangleGeometry.js +27 -27
  85. package/Build/Workers/createRectangleOutlineGeometry.js +20 -20
  86. package/Build/Workers/createSimplePolylineGeometry.js +23 -23
  87. package/Build/Workers/createSphereGeometry.js +19 -19
  88. package/Build/Workers/createSphereOutlineGeometry.js +18 -18
  89. package/Build/Workers/createTaskProcessorWorker.js +3 -3
  90. package/Build/Workers/createVectorTileClampedPolylines.js +14 -14
  91. package/Build/Workers/createVectorTileGeometries.js +24 -24
  92. package/Build/Workers/createVectorTilePoints.js +13 -13
  93. package/Build/Workers/createVectorTilePolygons.js +22 -22
  94. package/Build/Workers/createVectorTilePolylines.js +14 -14
  95. package/Build/Workers/createVerticesFromCesium3DTilesTerrain.js +25 -25
  96. package/Build/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js +22 -22
  97. package/Build/Workers/createVerticesFromHeightmap.js +22 -22
  98. package/Build/Workers/createVerticesFromQuantizedTerrainMesh.js +20 -20
  99. package/Build/Workers/createWallGeometry.js +24 -24
  100. package/Build/Workers/createWallOutlineGeometry.js +23 -23
  101. package/Build/Workers/decodeDraco.js +10 -10
  102. package/Build/Workers/decodeGoogleEarthEnterprisePacket.js +987 -2320
  103. package/Build/Workers/decodeI3S.js +10 -10
  104. package/Build/Workers/gaussianSplatSorter.js +4 -4
  105. package/Build/Workers/gaussianSplatTextureGenerator.js +4 -4
  106. package/Build/Workers/incrementallyBuildTerrainPicker.js +10 -10
  107. package/Build/Workers/transcodeKTX2.js +6 -6
  108. package/Build/Workers/transferTypedArrayTest.js +1 -1
  109. package/Build/Workers/upsampleQuantizedTerrainMesh.js +22 -22
  110. package/Build/Workers/upsampleVerticesFromCesium3DTilesTerrain.js +25 -25
  111. package/Source/Core/BoundingRectangle.js +6 -8
  112. package/Source/Core/Color.js +1 -0
  113. package/Source/Core/InterpolationAlgorithm.js +57 -50
  114. package/Source/Core/Ion.js +1 -1
  115. package/Source/Core/TerrainMesh.js +3 -3
  116. package/Source/Core/TerrainPicker.js +1 -0
  117. package/Source/Core/writeTextToCanvas.js +1 -0
  118. package/Source/DataSources/CzmlDataSource.js +12 -0
  119. package/Source/DataSources/KmlDataSource.js +528 -555
  120. package/Source/DataSources/PathGraphics.js +8 -1
  121. package/Source/DataSources/PathMode.js +27 -0
  122. package/Source/DataSources/PathVisualizer.js +298 -1
  123. package/Source/Renderer/Texture.js +1 -1
  124. package/Source/Renderer/VertexArray.js +1 -0
  125. package/Source/Scene/ArcGisMapService.js +1 -1
  126. package/Source/Scene/BillboardTexture.js +5 -3
  127. package/Source/Scene/Cesium3DTileOptimizations.js +4 -6
  128. package/Source/Scene/ClippingPlaneCollection.js +2 -2
  129. package/Source/Scene/ClippingPolygon.js +2 -0
  130. package/Source/Scene/ClippingPolygonCollection.js +2 -2
  131. package/Source/Scene/DerivedCommand.js +4 -0
  132. package/Source/Scene/Expression.js +6 -8
  133. package/Source/Scene/GlobeSurfaceShaderSet.js +501 -409
  134. package/Source/Scene/GlobeSurfaceTile.js +540 -401
  135. package/Source/Scene/GlobeSurfaceTileProvider.js +1259 -1146
  136. package/Source/Scene/GltfBufferViewLoader.js +3 -3
  137. package/Source/Scene/GltfLoader.js +1 -0
  138. package/Source/Scene/GltfLoaderUtil.js +20 -4
  139. package/Source/Scene/GltfPipeline/forEachTextureInMaterial.js +10 -0
  140. package/Source/Scene/GltfPipeline/removeUnusedElements.js +21 -11
  141. package/Source/Scene/ImageryLayer.js +2 -2
  142. package/Source/Scene/ImageryLayerCollection.js +2 -2
  143. package/Source/Scene/Material.js +1 -0
  144. package/Source/Scene/Model/Extensions/Gpm/GltfGpmLoader.js +4 -0
  145. package/Source/Scene/Model/Model.js +3 -0
  146. package/Source/Scene/Model/ModelUtility.js +1 -0
  147. package/Source/Scene/Picking.js +5 -0
  148. package/Source/Scene/PntsParser.js +1 -0
  149. package/Source/Scene/QuadtreePrimitive.js +3 -2
  150. package/Source/Scene/ResourceCacheKey.js +5 -5
  151. package/Source/Scene/Scene.js +1 -0
  152. package/Source/Scene/findMeshoptExtension.js +23 -0
  153. package/Source/Scene/renderBufferPointCollection.js +13 -8
  154. package/Source/Scene/renderBufferPolygonCollection.js +9 -13
  155. package/Source/Scene/renderBufferPolylineCollection.js +120 -192
  156. package/Source/Workers/decodeGoogleEarthEnterprisePacket.js +2 -2
  157. package/Source/Workers/incrementallyBuildTerrainPicker.js +2 -0
  158. package/index.d.ts +59 -254
  159. package/index.js +155 -153
  160. package/package.json +4 -4
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license
3
3
  * Cesium - https://github.com/CesiumGS/cesium
4
- * Version 1.142.0
4
+ * Version 1.143.0
5
5
  *
6
6
  * Copyright 2011-2022 Cesium Contributors
7
7
  *
@@ -25,34 +25,34 @@
25
25
 
26
26
  import {
27
27
  require_draco_decoder_nodejs
28
- } from "./chunk-U3ZA64U7.js";
28
+ } from "./chunk-LNSQVXFH.js";
29
29
  import {
30
30
  Color_default
31
- } from "./chunk-QN67VG36.js";
31
+ } from "./chunk-XLXSDIP5.js";
32
32
  import {
33
33
  createTaskProcessorWorker_default
34
- } from "./chunk-4S7IE3LB.js";
34
+ } from "./chunk-XDWCTQCZ.js";
35
35
  import {
36
36
  WebMercatorProjection_default
37
- } from "./chunk-4MGMYHOO.js";
37
+ } from "./chunk-7KVKHY7O.js";
38
38
  import {
39
39
  Cartographic_default,
40
40
  Ellipsoid_default
41
- } from "./chunk-V7VQKN6N.js";
41
+ } from "./chunk-A6X24AZI.js";
42
42
  import {
43
43
  Cartesian3_default,
44
44
  Matrix3_default
45
- } from "./chunk-MPZHGZU6.js";
45
+ } from "./chunk-ZSGUV73H.js";
46
46
  import {
47
47
  Math_default
48
- } from "./chunk-J6BWOHUF.js";
48
+ } from "./chunk-C7JQVRLM.js";
49
49
  import {
50
50
  Check_default
51
- } from "./chunk-AYKR4VBR.js";
51
+ } from "./chunk-6YR6JBMY.js";
52
52
  import {
53
53
  __toESM,
54
54
  defined_default
55
- } from "./chunk-ZP7JMQV4.js";
55
+ } from "./chunk-AHWAZRBV.js";
56
56
 
57
57
  // packages/engine/Source/Workers/decodeI3S.js
58
58
  var import_draco_decoder_nodejs = __toESM(require_draco_decoder_nodejs(), 1);
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license
3
3
  * Cesium - https://github.com/CesiumGS/cesium
4
- * Version 1.142.0
4
+ * Version 1.143.0
5
5
  *
6
6
  * Copyright 2011-2022 Cesium Contributors
7
7
  *
@@ -26,13 +26,13 @@
26
26
  import {
27
27
  initSync,
28
28
  radix_sort_gaussians_indexes
29
- } from "./chunk-ZZ46LWL6.js";
29
+ } from "./chunk-FDK4K5IA.js";
30
30
  import {
31
31
  createTaskProcessorWorker_default
32
- } from "./chunk-4S7IE3LB.js";
32
+ } from "./chunk-XDWCTQCZ.js";
33
33
  import {
34
34
  defined_default
35
- } from "./chunk-ZP7JMQV4.js";
35
+ } from "./chunk-AHWAZRBV.js";
36
36
 
37
37
  // packages/engine/Source/Workers/gaussianSplatSorter.js
38
38
  async function initWorker(parameters, transferableObjects) {
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license
3
3
  * Cesium - https://github.com/CesiumGS/cesium
4
- * Version 1.142.0
4
+ * Version 1.143.0
5
5
  *
6
6
  * Copyright 2011-2022 Cesium Contributors
7
7
  *
@@ -26,13 +26,13 @@
26
26
  import {
27
27
  generate_splat_texture,
28
28
  initSync
29
- } from "./chunk-ZZ46LWL6.js";
29
+ } from "./chunk-FDK4K5IA.js";
30
30
  import {
31
31
  createTaskProcessorWorker_default
32
- } from "./chunk-4S7IE3LB.js";
32
+ } from "./chunk-XDWCTQCZ.js";
33
33
  import {
34
34
  defined_default
35
- } from "./chunk-ZP7JMQV4.js";
35
+ } from "./chunk-AHWAZRBV.js";
36
36
 
37
37
  // packages/engine/Source/Workers/gaussianSplatTextureGenerator.js
38
38
  async function initWorker(parameters, transferableObjects) {
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license
3
3
  * Cesium - https://github.com/CesiumGS/cesium
4
- * Version 1.142.0
4
+ * Version 1.143.0
5
5
  *
6
6
  * Copyright 2011-2022 Cesium Contributors
7
7
  *
@@ -25,21 +25,21 @@
25
25
 
26
26
  import {
27
27
  createTaskProcessorWorker_default
28
- } from "./chunk-4S7IE3LB.js";
28
+ } from "./chunk-XDWCTQCZ.js";
29
29
  import {
30
30
  AxisAlignedBoundingBox_default
31
- } from "./chunk-DDWSZVMY.js";
32
- import "./chunk-C6J67V5A.js";
31
+ } from "./chunk-HHV3MCGV.js";
32
+ import "./chunk-JKXV6PG5.js";
33
33
  import {
34
34
  Matrix4_default
35
- } from "./chunk-Q3PY526V.js";
36
- import "./chunk-Y5BF6AFU.js";
35
+ } from "./chunk-IGAZBTFZ.js";
36
+ import "./chunk-GXWQZBAI.js";
37
37
  import {
38
38
  Cartesian3_default
39
- } from "./chunk-MPZHGZU6.js";
40
- import "./chunk-J6BWOHUF.js";
41
- import "./chunk-AYKR4VBR.js";
42
- import "./chunk-ZP7JMQV4.js";
39
+ } from "./chunk-ZSGUV73H.js";
40
+ import "./chunk-C7JQVRLM.js";
41
+ import "./chunk-6YR6JBMY.js";
42
+ import "./chunk-AHWAZRBV.js";
43
43
 
44
44
  // packages/engine/Source/Workers/incrementallyBuildTerrainPicker.js
45
45
  var scratchAABBCornerMin = new Cartesian3_default();
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license
3
3
  * Cesium - https://github.com/CesiumGS/cesium
4
- * Version 1.142.0
4
+ * Version 1.143.0
5
5
  *
6
6
  * Copyright 2011-2022 Cesium Contributors
7
7
  *
@@ -25,22 +25,22 @@
25
25
 
26
26
  import {
27
27
  createTaskProcessorWorker_default
28
- } from "./chunk-4S7IE3LB.js";
28
+ } from "./chunk-XDWCTQCZ.js";
29
29
  import {
30
30
  WebGLConstants_default
31
- } from "./chunk-TKKIREQ6.js";
31
+ } from "./chunk-N7CCOFLX.js";
32
32
  import {
33
33
  RuntimeError_default
34
- } from "./chunk-Y5BF6AFU.js";
34
+ } from "./chunk-GXWQZBAI.js";
35
35
  import {
36
36
  Check_default
37
- } from "./chunk-AYKR4VBR.js";
37
+ } from "./chunk-6YR6JBMY.js";
38
38
  import {
39
39
  __commonJS,
40
40
  __require,
41
41
  __toESM,
42
42
  defined_default
43
- } from "./chunk-ZP7JMQV4.js";
43
+ } from "./chunk-AHWAZRBV.js";
44
44
 
45
45
  // packages/engine/Source/ThirdParty/Workers/basis_transcoder.js
46
46
  var require_basis_transcoder = __commonJS({
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license
3
3
  * Cesium - https://github.com/CesiumGS/cesium
4
- * Version 1.142.0
4
+ * Version 1.143.0
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.142.0
4
+ * Version 1.143.0
5
5
  *
6
6
  * Copyright 2011-2022 Cesium Contributors
7
7
  *
@@ -26,52 +26,52 @@
26
26
  import {
27
27
  EllipsoidalOccluder_default,
28
28
  TerrainEncoding_default
29
- } from "./chunk-VWV2IJRB.js";
29
+ } from "./chunk-ENNFMWDW.js";
30
30
  import {
31
31
  createTaskProcessorWorker_default
32
- } from "./chunk-4S7IE3LB.js";
32
+ } from "./chunk-XDWCTQCZ.js";
33
33
  import {
34
34
  OrientedBoundingBox_default
35
- } from "./chunk-EPYXRCDB.js";
35
+ } from "./chunk-WBSY7HDY.js";
36
36
  import {
37
37
  AttributeCompression_default
38
- } from "./chunk-7J2HKPRH.js";
39
- import "./chunk-SMQZZOW6.js";
40
- import "./chunk-DDWSZVMY.js";
41
- import "./chunk-3VFEWOBI.js";
42
- import "./chunk-E7VQ76KE.js";
38
+ } from "./chunk-RG4F5R57.js";
39
+ import "./chunk-JW6OZT4R.js";
40
+ import "./chunk-HHV3MCGV.js";
41
+ import "./chunk-ZMBHFYOX.js";
42
+ import "./chunk-DIGUUD6G.js";
43
43
  import {
44
44
  IndexDatatype_default
45
- } from "./chunk-S4MCOY6I.js";
45
+ } from "./chunk-XQ3SKCMM.js";
46
46
  import {
47
47
  BoundingSphere_default
48
- } from "./chunk-XZMBNNDX.js";
49
- import "./chunk-C6J67V5A.js";
48
+ } from "./chunk-YKU2Q3A2.js";
49
+ import "./chunk-JKXV6PG5.js";
50
50
  import {
51
51
  Rectangle_default
52
- } from "./chunk-MYP774IS.js";
53
- import "./chunk-Q3PY526V.js";
54
- import "./chunk-P3CK7MCY.js";
55
- import "./chunk-TKKIREQ6.js";
56
- import "./chunk-Y5BF6AFU.js";
52
+ } from "./chunk-GSWMAFTE.js";
53
+ import "./chunk-IGAZBTFZ.js";
54
+ import "./chunk-VAL7DYNR.js";
55
+ import "./chunk-N7CCOFLX.js";
56
+ import "./chunk-GXWQZBAI.js";
57
57
  import {
58
58
  Cartesian2_default,
59
59
  Cartographic_default,
60
60
  Ellipsoid_default
61
- } from "./chunk-V7VQKN6N.js";
61
+ } from "./chunk-A6X24AZI.js";
62
62
  import {
63
63
  Cartesian3_default
64
- } from "./chunk-MPZHGZU6.js";
64
+ } from "./chunk-ZSGUV73H.js";
65
65
  import {
66
66
  Math_default
67
- } from "./chunk-J6BWOHUF.js";
67
+ } from "./chunk-C7JQVRLM.js";
68
68
  import {
69
69
  Check_default,
70
70
  DeveloperError_default
71
- } from "./chunk-AYKR4VBR.js";
71
+ } from "./chunk-6YR6JBMY.js";
72
72
  import {
73
73
  defined_default
74
- } from "./chunk-ZP7JMQV4.js";
74
+ } from "./chunk-AHWAZRBV.js";
75
75
 
76
76
  // packages/engine/Source/Core/Intersections2D.js
77
77
  var Intersections2D = {};
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license
3
3
  * Cesium - https://github.com/CesiumGS/cesium
4
- * Version 1.142.0
4
+ * Version 1.143.0
5
5
  *
6
6
  * Copyright 2011-2022 Cesium Contributors
7
7
  *
@@ -25,32 +25,32 @@
25
25
 
26
26
  import {
27
27
  Cesium3DTilesTerrainGeometryProcessor_default
28
- } from "./chunk-424RNO3D.js";
29
- import "./chunk-7WM2PX4V.js";
30
- import "./chunk-VWV2IJRB.js";
28
+ } from "./chunk-E7NZJOK7.js";
29
+ import "./chunk-UVO6COT2.js";
30
+ import "./chunk-ENNFMWDW.js";
31
31
  import {
32
32
  createTaskProcessorWorker_default
33
- } from "./chunk-4S7IE3LB.js";
34
- import "./chunk-4MGMYHOO.js";
35
- import "./chunk-EPYXRCDB.js";
36
- import "./chunk-7J2HKPRH.js";
37
- import "./chunk-SMQZZOW6.js";
38
- import "./chunk-DDWSZVMY.js";
39
- import "./chunk-3VFEWOBI.js";
40
- import "./chunk-E7VQ76KE.js";
41
- import "./chunk-S4MCOY6I.js";
42
- import "./chunk-XZMBNNDX.js";
43
- import "./chunk-C6J67V5A.js";
44
- import "./chunk-MYP774IS.js";
45
- import "./chunk-Q3PY526V.js";
46
- import "./chunk-P3CK7MCY.js";
47
- import "./chunk-TKKIREQ6.js";
48
- import "./chunk-Y5BF6AFU.js";
49
- import "./chunk-V7VQKN6N.js";
50
- import "./chunk-MPZHGZU6.js";
51
- import "./chunk-J6BWOHUF.js";
52
- import "./chunk-AYKR4VBR.js";
53
- import "./chunk-ZP7JMQV4.js";
33
+ } from "./chunk-XDWCTQCZ.js";
34
+ import "./chunk-7KVKHY7O.js";
35
+ import "./chunk-WBSY7HDY.js";
36
+ import "./chunk-RG4F5R57.js";
37
+ import "./chunk-JW6OZT4R.js";
38
+ import "./chunk-HHV3MCGV.js";
39
+ import "./chunk-ZMBHFYOX.js";
40
+ import "./chunk-DIGUUD6G.js";
41
+ import "./chunk-XQ3SKCMM.js";
42
+ import "./chunk-YKU2Q3A2.js";
43
+ import "./chunk-JKXV6PG5.js";
44
+ import "./chunk-GSWMAFTE.js";
45
+ import "./chunk-IGAZBTFZ.js";
46
+ import "./chunk-VAL7DYNR.js";
47
+ import "./chunk-N7CCOFLX.js";
48
+ import "./chunk-GXWQZBAI.js";
49
+ import "./chunk-A6X24AZI.js";
50
+ import "./chunk-ZSGUV73H.js";
51
+ import "./chunk-C7JQVRLM.js";
52
+ import "./chunk-6YR6JBMY.js";
53
+ import "./chunk-AHWAZRBV.js";
54
54
 
55
55
  // packages/engine/Source/Workers/upsampleVerticesFromCesium3DTilesTerrain.js
56
56
  function upsampleVerticesFromCesium3DTilesTerrain(options, transferableObjects) {
@@ -307,14 +307,12 @@ BoundingRectangle.intersect = function (left, right) {
307
307
  const leftY = left.y;
308
308
  const rightX = right.x;
309
309
  const rightY = right.y;
310
- if (
311
- !(
312
- leftX > rightX + right.width ||
313
- leftX + left.width < rightX ||
314
- leftY + left.height < rightY ||
315
- leftY > rightY + right.height
316
- )
317
- ) {
310
+ if (!(
311
+ leftX > rightX + right.width ||
312
+ leftX + left.width < rightX ||
313
+ leftY + left.height < rightY ||
314
+ leftY > rightY + right.height
315
+ )) {
318
316
  return Intersect.INTERSECTING;
319
317
  }
320
318
 
@@ -6,6 +6,7 @@ import CesiumMath from "./Math.js";
6
6
 
7
7
  /** @import {TypedArray} from "../Core/globalTypes.js"; */
8
8
 
9
+ /** @ignore */
9
10
  function hue2rgb(m1, m2, h) {
10
11
  if (h < 0) {
11
12
  h += 1;
@@ -1,65 +1,72 @@
1
+ // @ts-check
2
+
1
3
  import DeveloperError from "./DeveloperError.js";
2
4
 
3
5
  /**
4
6
  * The interface for interpolation algorithms.
5
7
  *
6
- * @interface InterpolationAlgorithm
8
+ * @interface
7
9
  *
8
10
  * @see LagrangePolynomialApproximation
9
11
  * @see LinearApproximation
10
12
  * @see HermitePolynomialApproximation
11
13
  */
12
- const InterpolationAlgorithm = {};
14
+ class InterpolationAlgorithm {
15
+ /**
16
+ * Gets the name of this interpolation algorithm.
17
+ * @type {string}
18
+ */
19
+ type;
13
20
 
14
- /**
15
- * Gets the name of this interpolation algorithm.
16
- * @type {string}
17
- */
18
- InterpolationAlgorithm.type = undefined;
21
+ /**
22
+ * Given the desired degree, returns the number of data points required for interpolation.
23
+ *
24
+ * @function
25
+ * @param {number} degree The desired degree of interpolation.
26
+ * @returns {number} The number of required data points needed for the desired degree of interpolation.
27
+ */
28
+ getRequiredDataPoints(degree) {
29
+ DeveloperError.throwInstantiationError();
30
+ }
19
31
 
20
- /**
21
- * Given the desired degree, returns the number of data points required for interpolation.
22
- * @function
23
- *
24
- * @param {number} degree The desired degree of interpolation.
25
- * @returns {number} The number of required data points needed for the desired degree of interpolation.
26
- */
27
- InterpolationAlgorithm.getRequiredDataPoints =
28
- DeveloperError.throwInstantiationError;
32
+ /**
33
+ * Performs zero order interpolation.
34
+ *
35
+ * @function
36
+ * @param {number} x The independent variable for which the dependent variables will be interpolated.
37
+ * @param {number[]} xTable The array of independent variables to use to interpolate. The values
38
+ * in this array must be in increasing order and the same value must not occur twice in the array.
39
+ * @param {number[]} yTable The array of dependent variables to use to interpolate. For a set of three
40
+ * dependent values (p,q,w) at time 1 and time 2 this should be as follows: {p1, q1, w1, p2, q2, w2}.
41
+ * @param {number} yStride The number of dependent variable values in yTable corresponding to
42
+ * each independent variable value in xTable.
43
+ * @param {number[]} [result] An existing array into which to store the result.
44
+ * @returns {number[]} The array of interpolated values, or the result parameter if one was provided.
45
+ */
46
+ interpolateOrderZero(x, xTable, yTable, yStride, result) {
47
+ DeveloperError.throwInstantiationError();
48
+ }
29
49
 
30
- /**
31
- * Performs zero order interpolation.
32
- * @function
33
- *
34
- * @param {number} x The independent variable for which the dependent variables will be interpolated.
35
- * @param {number[]} xTable The array of independent variables to use to interpolate. The values
36
- * in this array must be in increasing order and the same value must not occur twice in the array.
37
- * @param {number[]} yTable The array of dependent variables to use to interpolate. For a set of three
38
- * dependent values (p,q,w) at time 1 and time 2 this should be as follows: {p1, q1, w1, p2, q2, w2}.
39
- * @param {number} yStride The number of dependent variable values in yTable corresponding to
40
- * each independent variable value in xTable.
41
- * @param {number[]} [result] An existing array into which to store the result.
42
- *
43
- * @returns {number[]} The array of interpolated values, or the result parameter if one was provided.
44
- */
45
- InterpolationAlgorithm.interpolateOrderZero =
46
- DeveloperError.throwInstantiationError;
50
+ /**
51
+ * Performs higher order interpolation. Not all interpolators need to support high-order interpolation,
52
+ * if this function remains undefined on implementing objects, interpolateOrderZero will be used instead.
53
+ *
54
+ * @function
55
+ * @param {number} x The independent variable for which the dependent variables will be interpolated.
56
+ * @param {number[]} xTable The array of independent variables to use to interpolate. The values
57
+ * in this array must be in increasing order and the same value must not occur twice in the array.
58
+ * @param {number[]} yTable The array of dependent variables to use to interpolate. For a set of three
59
+ * dependent values (p,q,w) at time 1 and time 2 this should be as follows: {p1, q1, w1, p2, q2, w2}.
60
+ * @param {number} yStride The number of dependent variable values in yTable corresponding to
61
+ * each independent variable value in xTable.
62
+ * @param {number} inputOrder The number of derivatives supplied for input.
63
+ * @param {number} outputOrder The number of derivatives desired for output.
64
+ * @param {number[]} [result] An existing array into which to store the result.
65
+ * @returns {number[]} The array of interpolated values, or the result parameter if one was provided.
66
+ */
67
+ interpolate(x, xTable, yTable, yStride, inputOrder, outputOrder, result) {
68
+ DeveloperError.throwInstantiationError();
69
+ }
70
+ }
47
71
 
48
- /**
49
- * Performs higher order interpolation. Not all interpolators need to support high-order interpolation,
50
- * if this function remains undefined on implementing objects, interpolateOrderZero will be used instead.
51
- * @function
52
- * @param {number} x The independent variable for which the dependent variables will be interpolated.
53
- * @param {number[]} xTable The array of independent variables to use to interpolate. The values
54
- * in this array must be in increasing order and the same value must not occur twice in the array.
55
- * @param {number[]} yTable The array of dependent variables to use to interpolate. For a set of three
56
- * dependent values (p,q,w) at time 1 and time 2 this should be as follows: {p1, q1, w1, p2, q2, w2}.
57
- * @param {number} yStride The number of dependent variable values in yTable corresponding to
58
- * each independent variable value in xTable.
59
- * @param {number} inputOrder The number of derivatives supplied for input.
60
- * @param {number} outputOrder The number of derivatives desired for output.
61
- * @param {number[]} [result] An existing array into which to store the result.
62
- * @returns {number[]} The array of interpolated values, or the result parameter if one was provided.
63
- */
64
- InterpolationAlgorithm.interpolate = DeveloperError.throwInstantiationError;
65
72
  export default InterpolationAlgorithm;
@@ -4,7 +4,7 @@ import Resource from "./Resource.js";
4
4
 
5
5
  let defaultTokenCredit;
6
6
  const defaultAccessToken =
7
- "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiIxMDYxM2JlMS00NTIzLTQ0YWItYTg5My00NzRkMDgwNThiZDciLCJpZCI6MjU5LCJzdWIiOiJDZXNpdW1KUyIsImlzcyI6Imh0dHBzOi8vYXBpLmNlc2l1bS5jb20iLCJhdWQiOiIxLjE0MiBSZWxlYXNlIC0gRGVsZXRlIG9uIEF1Z3VzdCAxLCAyMDI2IiwiaWF0IjoxNzc5NjkwODE2fQ.Eq05fkRTh1lFGZUqr9vZZorz4HO_6rY_UmYi3fIHYaU";
7
+ "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiIzNzRjZTkzNC05M2UwLTRlNDItOWU0My1hYjk5YjFiNTNhYTMiLCJpZCI6MjU5LCJzdWIiOiJDZXNpdW1KUyIsImlzcyI6Imh0dHBzOi8vYXBpLmNlc2l1bS5jb20iLCJhdWQiOiIxLjE0MyBSZWxlYXNlIC0gRGVsZXRlIG9uIFNlcHRlbWJlciAxLCAyMDI2IiwiaWF0IjoxNzgyMzY4NzY4fQ.kDcFqK7jTTloOcBbwb-epSQGd1Lu12_hRuqk1XRE_H8";
8
8
  /**
9
9
  * Default settings for accessing the Cesium ion API.
10
10
  *
@@ -328,7 +328,7 @@ function computeTransform2D(mesh, projection, result) {
328
328
  * @param {SceneMode} mode The scene mode (3D, 2D, or Columbus View).
329
329
  * @param {MapProjection} projection The map projection.
330
330
  * @returns {Cartesian3} The point on the mesh where the ray intersects, or undefined if there is no intersection.
331
- * @private
331
+ * @ignore
332
332
  */
333
333
  TerrainMesh.prototype.pick = function (ray, cullBackFaces, mode, projection) {
334
334
  const intersection = this._terrainPicker.rayIntersect(
@@ -347,7 +347,7 @@ TerrainMesh.prototype.pick = function (ray, cullBackFaces, mode, projection) {
347
347
  * Updates the terrain mesh to account for changes in vertical exaggeration.
348
348
  * @param {Number} exaggeration A scalar used to exaggerate terrain.
349
349
  * @param {Number} exaggerationRelativeHeight The relative height from which terrain is exaggerated.
350
- * @private
350
+ * @ignore
351
351
  */
352
352
  TerrainMesh.prototype.updateExaggeration = function (
353
353
  exaggeration,
@@ -363,7 +363,7 @@ TerrainMesh.prototype.updateExaggeration = function (
363
363
  /**
364
364
  * Updates the terrain mesh to account for changes in scene mode.
365
365
  * @param {SceneMode} mode The scene mode (3D, 2D, or Columbus View).
366
- * @private
366
+ * @ignore
367
367
  */
368
368
  TerrainMesh.prototype.updateSceneMode = function (mode) {
369
369
  this._terrainPicker.needsRebuild = true;
@@ -246,6 +246,7 @@ const scratchAABBMax = new Cartesian3();
246
246
  * @param {number} y The y coordinate of the node.
247
247
  * @param {number} level The level of the node.
248
248
  * @returns {AxisAlignedBoundingBox} The axis-aligned bounding box for the node.
249
+ * @ignore
249
250
  */
250
251
  function createAABBForNode(x, y, level) {
251
252
  const sizeAtLevel = 1.0 / Math.pow(2, level);
@@ -9,6 +9,7 @@ import DeveloperError from "./DeveloperError.js";
9
9
  * Rounds metrics, excluding width, to whole pixels. This is purely to minimize
10
10
  * rendering differences with migration to in-browser measureText(), and may be
11
11
  * revised in the future. See: github.com/CesiumGS/cesium/pull/13081
12
+ * @ignore
12
13
  */
13
14
  function measureText(context2D, textString) {
14
15
  const metrics = context2D.measureText(textString);
@@ -65,6 +65,7 @@ import LabelGraphics from "./LabelGraphics.js";
65
65
  import ModelGraphics from "./ModelGraphics.js";
66
66
  import NodeTransformationProperty from "./NodeTransformationProperty.js";
67
67
  import PathGraphics from "./PathGraphics.js";
68
+ import PathMode from "./PathMode.js";
68
69
  import PointGraphics from "./PointGraphics.js";
69
70
  import PolygonGraphics from "./PolygonGraphics.js";
70
71
  import PolylineArrowMaterialProperty from "./PolylineArrowMaterialProperty.js";
@@ -562,6 +563,8 @@ function unwrapInterval(type, czmlInterval, sourceUri) {
562
563
  return czmlInterval.distanceDisplayCondition;
563
564
  case Object:
564
565
  return czmlInterval.object ?? czmlInterval.value ?? czmlInterval;
566
+ case PathMode:
567
+ return PathMode[czmlInterval.pathMode ?? czmlInterval];
565
568
  case Quaternion:
566
569
  return unwrapQuaternionInterval(czmlInterval);
567
570
  case Rotation:
@@ -3654,6 +3657,15 @@ function processPath(entity, packet, entityCollection, sourceUri) {
3654
3657
  sourceUri,
3655
3658
  entityCollection,
3656
3659
  );
3660
+ processPacketData(
3661
+ PathMode,
3662
+ path,
3663
+ "materialMode",
3664
+ pathData.materialMode,
3665
+ interval,
3666
+ sourceUri,
3667
+ entityCollection,
3668
+ );
3657
3669
  }
3658
3670
 
3659
3671
  function processPoint(entity, packet, entityCollection, sourceUri) {