@cesium/engine 25.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 (225) hide show
  1. package/Build/Workers/{chunk-3VDDRF2E.js → chunk-2EFYUSUY.js} +14 -14
  2. package/Build/Workers/{chunk-4GF4MVPY.js → chunk-5LSOO2KD.js} +7 -7
  3. package/Build/Workers/{chunk-I3A6DXYZ.js → chunk-6HK6IXK2.js} +4 -4
  4. package/Build/Workers/{chunk-CZ23Y3RM.js → chunk-6YR6JBMY.js} +2 -2
  5. package/Build/Workers/{chunk-J7KQEKPK.js → chunk-76FDC45O.js} +13 -13
  6. package/Build/Workers/{chunk-ZCCIIBZT.js → chunk-7D2HZKH7.js} +6 -6
  7. package/Build/Workers/{chunk-HSVQATK2.js → chunk-7KVKHY7O.js} +6 -6
  8. package/Build/Workers/{chunk-ITD2IN7N.js → chunk-A3O6EDBK.js} +2 -2
  9. package/Build/Workers/{chunk-ND3NTTOF.js → chunk-A6X24AZI.js} +6 -6
  10. package/Build/Workers/{chunk-DH26SNAB.js → chunk-AHWAZRBV.js} +6 -2
  11. package/Build/Workers/{chunk-3XY3MVPG.js → chunk-B4CQSLZJ.js} +4 -4
  12. package/Build/Workers/{chunk-DYT5NR6P.js → chunk-C7JQVRLM.js} +3 -3
  13. package/Build/Workers/{chunk-WC57YYBN.js → chunk-CDJDJ5LK.js} +2 -2
  14. package/Build/Workers/{chunk-VQKLRBIK.js → chunk-CEEZE3YZ.js} +7 -7
  15. package/Build/Workers/{chunk-4QQXGTCE.js → chunk-CLCTQVVL.js} +8 -8
  16. package/Build/Workers/{chunk-WNN5D4W3.js → chunk-DBD5WWG2.js} +10 -10
  17. package/Build/Workers/{chunk-URUCCIPS.js → chunk-DIGUUD6G.js} +6 -6
  18. package/Build/Workers/{chunk-BTX2NL3P.js → chunk-E7NZJOK7.js} +196 -22
  19. package/Build/Workers/{chunk-3LSD7OOA.js → chunk-EHTS2YPT.js} +16 -16
  20. package/Build/Workers/{chunk-35H3UBIO.js → chunk-ENNFMWDW.js} +11 -11
  21. package/Build/Workers/{chunk-GL7DNVUS.js → chunk-FCP2QY4G.js} +5 -5
  22. package/Build/Workers/{chunk-3RFFPH4M.js → chunk-FDK4K5IA.js} +1 -1
  23. package/Build/Workers/{chunk-WTQGE7Q6.js → chunk-FGQFQHN5.js} +17 -17
  24. package/Build/Workers/{chunk-WUBKZFF6.js → chunk-GSWMAFTE.js} +9 -9
  25. package/Build/Workers/{chunk-3TKLDHV3.js → chunk-GXWQZBAI.js} +2 -2
  26. package/Build/Workers/{chunk-A7A433MD.js → chunk-HHV3MCGV.js} +5 -5
  27. package/Build/Workers/{chunk-A7ZBMVFS.js → chunk-HS6AD4P2.js} +14 -14
  28. package/Build/Workers/{chunk-QXNQQYPV.js → chunk-IGAZBTFZ.js} +8 -8
  29. package/Build/Workers/{chunk-ZAPOS52G.js → chunk-ILME5BXA.js} +8 -8
  30. package/Build/Workers/{chunk-4MTRQFJP.js → chunk-JKXV6PG5.js} +1 -1
  31. package/Build/Workers/{chunk-FVLVVOBQ.js → chunk-JW6OZT4R.js} +10 -10
  32. package/Build/Workers/{chunk-EZARA5FJ.js → chunk-KGXSYGBG.js} +13 -13
  33. package/Build/Workers/{chunk-J3OFS2RD.js → chunk-LD64RPYV.js} +12 -12
  34. package/Build/Workers/{chunk-AWFZHD2B.js → chunk-LGNDTZVX.js} +4 -4
  35. package/Build/Workers/{chunk-AEAVLYPS.js → chunk-LNSQVXFH.js} +2 -2
  36. package/Build/Workers/{chunk-TA777BGS.js → chunk-N7CCOFLX.js} +1 -1
  37. package/Build/Workers/{chunk-7LSFAEWF.js → chunk-NIWITKQK.js} +10 -10
  38. package/Build/Workers/{chunk-4XXHJI6Y.js → chunk-OBEU25PI.js} +17 -17
  39. package/Build/Workers/{chunk-5T6QQAJW.js → chunk-QVLAFFJY.js} +1 -1
  40. package/Build/Workers/{chunk-J647NNZW.js → chunk-R4FPNAZ2.js} +6 -6
  41. package/Build/Workers/{chunk-HVMG6AG4.js → chunk-RG4F5R57.js} +9 -9
  42. package/Build/Workers/{chunk-ST2UWDUU.js → chunk-SF6K72D7.js} +5 -5
  43. package/Build/Workers/{chunk-H2A4USJR.js → chunk-SGRGNDOD.js} +10 -10
  44. package/Build/Workers/{chunk-DFEI5MAV.js → chunk-SM2CDCYF.js} +7 -7
  45. package/Build/Workers/{chunk-TAI4HLII.js → chunk-SS5ABQGY.js} +4 -4
  46. package/Build/Workers/{chunk-ACFFCHHZ.js → chunk-T5QBPLE3.js} +11 -11
  47. package/Build/Workers/{chunk-BVAIWR7O.js → chunk-TVZD72WJ.js} +12 -12
  48. package/Build/Workers/{chunk-6SDGQI27.js → chunk-UEY73NRN.js} +1 -1
  49. package/Build/Workers/{chunk-K6NFIRFB.js → chunk-UVO6COT2.js} +5 -5
  50. package/Build/Workers/{chunk-77RL3MBD.js → chunk-VAL7DYNR.js} +25 -4
  51. package/Build/Workers/{chunk-WN6P5UDH.js → chunk-WBSY7HDY.js} +12 -12
  52. package/Build/Workers/{chunk-FIBS5S7R.js → chunk-XDWCTQCZ.js} +2 -2
  53. package/Build/Workers/{chunk-CKQP3DSS.js → chunk-XLXSDIP5.js} +6 -6
  54. package/Build/Workers/{chunk-LH5SF3XV.js → chunk-XQ3SKCMM.js} +5 -5
  55. package/Build/Workers/{chunk-QSDY4NS7.js → chunk-YKU2Q3A2.js} +9 -9
  56. package/Build/Workers/{chunk-GPIGURCG.js → chunk-ZMBHFYOX.js} +7 -7
  57. package/Build/Workers/{chunk-QO2CGXMP.js → chunk-ZSGUV73H.js} +6 -6
  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/Cartesian2.js +1 -1
  113. package/Source/Core/Cartesian3.js +1 -1
  114. package/Source/Core/Cartesian4.js +1 -1
  115. package/Source/Core/Color.js +1 -0
  116. package/Source/Core/ComponentDatatype.js +35 -0
  117. package/Source/Core/InterpolationAlgorithm.js +57 -50
  118. package/Source/Core/Ion.js +1 -1
  119. package/Source/Core/MapProjection.js +1 -0
  120. package/Source/Core/Matrix2.js +1 -1
  121. package/Source/Core/Matrix3.js +1 -1
  122. package/Source/Core/Matrix4.js +1 -1
  123. package/Source/Core/Resource.js +1 -1
  124. package/Source/Core/ScreenSpaceEventHandler.js +51 -41
  125. package/Source/Core/TerrainMesh.js +3 -3
  126. package/Source/Core/TerrainPicker.js +1 -0
  127. package/Source/Core/createColorRamp.js +37 -0
  128. package/Source/Core/globalTypes.js +25 -0
  129. package/Source/Core/writeTextToCanvas.js +1 -0
  130. package/Source/DataSources/CzmlDataSource.js +12 -0
  131. package/Source/DataSources/KmlDataSource.js +528 -555
  132. package/Source/DataSources/PathGraphics.js +8 -1
  133. package/Source/DataSources/PathMode.js +27 -0
  134. package/Source/DataSources/PathVisualizer.js +298 -1
  135. package/Source/Renderer/Pass.js +3 -2
  136. package/Source/Renderer/Texture.js +1 -1
  137. package/Source/Renderer/VertexArray.js +1 -0
  138. package/Source/Renderer/createUniform.js +346 -239
  139. package/Source/Renderer/createUniformArray.js +494 -381
  140. package/Source/Scene/ArcGisMapService.js +1 -1
  141. package/Source/Scene/BillboardTexture.js +5 -3
  142. package/Source/Scene/BufferPoint.js +1 -0
  143. package/Source/Scene/BufferPointCollection.js +14 -1
  144. package/Source/Scene/BufferPolygon.js +3 -2
  145. package/Source/Scene/BufferPolygonCollection.js +10 -0
  146. package/Source/Scene/BufferPolyline.js +1 -0
  147. package/Source/Scene/BufferPolylineCollection.js +2 -0
  148. package/Source/Scene/BufferPrimitiveCollection.js +79 -28
  149. package/Source/Scene/CameraEventAggregator.js +30 -18
  150. package/Source/Scene/Cesium3DTile.js +54 -1
  151. package/Source/Scene/Cesium3DTileContent.js +195 -254
  152. package/Source/Scene/Cesium3DTileContentFactory.js +10 -2
  153. package/Source/Scene/Cesium3DTileOptimizations.js +4 -6
  154. package/Source/Scene/Cesium3DTileset.js +45 -5
  155. package/Source/Scene/ClippingPlaneCollection.js +2 -2
  156. package/Source/Scene/ClippingPolygon.js +2 -0
  157. package/Source/Scene/ClippingPolygonCollection.js +2 -2
  158. package/Source/Scene/Composite3DTileContent.js +254 -292
  159. package/Source/Scene/DerivedCommand.js +4 -0
  160. package/Source/Scene/EdgeDisplayMode.js +50 -0
  161. package/Source/Scene/Empty3DTileContent.js +100 -132
  162. package/Source/Scene/Expression.js +6 -8
  163. package/Source/Scene/GaussianSplat3DTileContent.js +436 -478
  164. package/Source/Scene/GeoJsonPrimitive.js +874 -0
  165. package/Source/Scene/Geometry3DTileContent.js +151 -185
  166. package/Source/Scene/GlobeSurfaceShaderSet.js +501 -409
  167. package/Source/Scene/GlobeSurfaceTile.js +540 -401
  168. package/Source/Scene/GlobeSurfaceTileProvider.js +1259 -1146
  169. package/Source/Scene/GltfBufferViewLoader.js +3 -3
  170. package/Source/Scene/GltfLoader.js +110 -0
  171. package/Source/Scene/GltfLoaderUtil.js +20 -4
  172. package/Source/Scene/GltfPipeline/forEachTextureInMaterial.js +10 -0
  173. package/Source/Scene/GltfPipeline/removeUnusedElements.js +21 -11
  174. package/Source/Scene/ImageryLayer.js +2 -2
  175. package/Source/Scene/ImageryLayerCollection.js +2 -2
  176. package/Source/Scene/Implicit3DTileContent.js +179 -214
  177. package/Source/Scene/MVTDataProvider.js +147 -0
  178. package/Source/Scene/Material.js +1 -0
  179. package/Source/Scene/Model/EdgeVisibilityPipelineStage.js +79 -311
  180. package/Source/Scene/Model/Extensions/Gpm/GltfGpmLoader.js +4 -0
  181. package/Source/Scene/Model/Model.js +37 -0
  182. package/Source/Scene/Model/Model3DTileContent.js +424 -458
  183. package/Source/Scene/Model/ModelDrawCommand.js +31 -3
  184. package/Source/Scene/Model/ModelUtility.js +5 -0
  185. package/Source/Scene/Model/createVectorTileBuffersFromModelComponents.js +466 -150
  186. package/Source/Scene/ModelComponents.js +39 -1
  187. package/Source/Scene/Multiple3DTileContent.js +291 -334
  188. package/Source/Scene/Picking.js +5 -0
  189. package/Source/Scene/PntsParser.js +1 -0
  190. package/Source/Scene/QuadtreePrimitive.js +3 -2
  191. package/Source/Scene/ResourceCacheKey.js +5 -5
  192. package/Source/Scene/Scene.js +27 -0
  193. package/Source/Scene/Tileset3DTileContent.js +113 -146
  194. package/Source/Scene/UrlTemplate3DTilesDataProvider.js +499 -0
  195. package/Source/Scene/Vector3DTileContent.js +205 -234
  196. package/Source/Scene/VectorGltf3DTileContent.js +85 -36
  197. package/Source/Scene/VoxelPrimitive.js +159 -175
  198. package/Source/Scene/VoxelProvider.js +64 -91
  199. package/Source/Scene/buildVectorGltfFromMVT.js +1059 -0
  200. package/Source/Scene/buildVoxelCustomShader.js +199 -0
  201. package/Source/Scene/decodeMVT.js +634 -0
  202. package/Source/Scene/findMeshoptExtension.js +23 -0
  203. package/Source/Scene/renderBufferPointCollection.js +113 -62
  204. package/Source/Scene/renderBufferPolygonCollection.js +98 -55
  205. package/Source/Scene/renderBufferPolylineCollection.js +270 -143
  206. package/Source/Shaders/BufferPointMaterialFS.glsl +1 -0
  207. package/Source/Shaders/BufferPointMaterialFS.js +1 -0
  208. package/Source/Shaders/BufferPointMaterialVS.glsl +19 -9
  209. package/Source/Shaders/BufferPointMaterialVS.js +20 -10
  210. package/Source/Shaders/BufferPolygonMaterialVS.glsl +13 -4
  211. package/Source/Shaders/BufferPolygonMaterialVS.js +14 -5
  212. package/Source/Shaders/BufferPolylineMaterialVS.glsl +16 -2
  213. package/Source/Shaders/BufferPolylineMaterialVS.js +17 -3
  214. package/Source/Shaders/Builtin/Constants/passCesium3DTileEdgesDirect.glsl +9 -0
  215. package/Source/Shaders/Builtin/Constants/passCesium3DTileEdgesDirect.js +11 -0
  216. package/Source/Shaders/Builtin/Constants/passOverlay.glsl +1 -1
  217. package/Source/Shaders/Builtin/Constants/passOverlay.js +1 -1
  218. package/Source/Shaders/Builtin/CzmBuiltins.js +2 -0
  219. package/Source/Shaders/Model/EdgeVisibilityStageVS.glsl +0 -1
  220. package/Source/Shaders/Model/EdgeVisibilityStageVS.js +0 -1
  221. package/Source/Workers/decodeGoogleEarthEnterprisePacket.js +2 -2
  222. package/Source/Workers/incrementallyBuildTerrainPicker.js +2 -0
  223. package/index.d.ts +311 -288
  224. package/index.js +103 -92
  225. 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.141.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-AEAVLYPS.js";
28
+ } from "./chunk-LNSQVXFH.js";
29
29
  import {
30
30
  Color_default
31
- } from "./chunk-CKQP3DSS.js";
31
+ } from "./chunk-XLXSDIP5.js";
32
32
  import {
33
33
  createTaskProcessorWorker_default
34
- } from "./chunk-FIBS5S7R.js";
34
+ } from "./chunk-XDWCTQCZ.js";
35
35
  import {
36
36
  WebMercatorProjection_default
37
- } from "./chunk-HSVQATK2.js";
37
+ } from "./chunk-7KVKHY7O.js";
38
38
  import {
39
39
  Cartographic_default,
40
40
  Ellipsoid_default
41
- } from "./chunk-ND3NTTOF.js";
41
+ } from "./chunk-A6X24AZI.js";
42
42
  import {
43
43
  Cartesian3_default,
44
44
  Matrix3_default
45
- } from "./chunk-QO2CGXMP.js";
45
+ } from "./chunk-ZSGUV73H.js";
46
46
  import {
47
47
  Math_default
48
- } from "./chunk-DYT5NR6P.js";
48
+ } from "./chunk-C7JQVRLM.js";
49
49
  import {
50
50
  Check_default
51
- } from "./chunk-CZ23Y3RM.js";
51
+ } from "./chunk-6YR6JBMY.js";
52
52
  import {
53
53
  __toESM,
54
54
  defined_default
55
- } from "./chunk-DH26SNAB.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.141.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-3RFFPH4M.js";
29
+ } from "./chunk-FDK4K5IA.js";
30
30
  import {
31
31
  createTaskProcessorWorker_default
32
- } from "./chunk-FIBS5S7R.js";
32
+ } from "./chunk-XDWCTQCZ.js";
33
33
  import {
34
34
  defined_default
35
- } from "./chunk-DH26SNAB.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.141.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-3RFFPH4M.js";
29
+ } from "./chunk-FDK4K5IA.js";
30
30
  import {
31
31
  createTaskProcessorWorker_default
32
- } from "./chunk-FIBS5S7R.js";
32
+ } from "./chunk-XDWCTQCZ.js";
33
33
  import {
34
34
  defined_default
35
- } from "./chunk-DH26SNAB.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.141.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-FIBS5S7R.js";
28
+ } from "./chunk-XDWCTQCZ.js";
29
29
  import {
30
30
  AxisAlignedBoundingBox_default
31
- } from "./chunk-A7A433MD.js";
32
- import "./chunk-4MTRQFJP.js";
31
+ } from "./chunk-HHV3MCGV.js";
32
+ import "./chunk-JKXV6PG5.js";
33
33
  import {
34
34
  Matrix4_default
35
- } from "./chunk-QXNQQYPV.js";
36
- import "./chunk-3TKLDHV3.js";
35
+ } from "./chunk-IGAZBTFZ.js";
36
+ import "./chunk-GXWQZBAI.js";
37
37
  import {
38
38
  Cartesian3_default
39
- } from "./chunk-QO2CGXMP.js";
40
- import "./chunk-DYT5NR6P.js";
41
- import "./chunk-CZ23Y3RM.js";
42
- import "./chunk-DH26SNAB.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.141.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-FIBS5S7R.js";
28
+ } from "./chunk-XDWCTQCZ.js";
29
29
  import {
30
30
  WebGLConstants_default
31
- } from "./chunk-TA777BGS.js";
31
+ } from "./chunk-N7CCOFLX.js";
32
32
  import {
33
33
  RuntimeError_default
34
- } from "./chunk-3TKLDHV3.js";
34
+ } from "./chunk-GXWQZBAI.js";
35
35
  import {
36
36
  Check_default
37
- } from "./chunk-CZ23Y3RM.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-DH26SNAB.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.141.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.141.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-35H3UBIO.js";
29
+ } from "./chunk-ENNFMWDW.js";
30
30
  import {
31
31
  createTaskProcessorWorker_default
32
- } from "./chunk-FIBS5S7R.js";
32
+ } from "./chunk-XDWCTQCZ.js";
33
33
  import {
34
34
  OrientedBoundingBox_default
35
- } from "./chunk-WN6P5UDH.js";
35
+ } from "./chunk-WBSY7HDY.js";
36
36
  import {
37
37
  AttributeCompression_default
38
- } from "./chunk-HVMG6AG4.js";
39
- import "./chunk-FVLVVOBQ.js";
40
- import "./chunk-A7A433MD.js";
41
- import "./chunk-GPIGURCG.js";
42
- import "./chunk-URUCCIPS.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-LH5SF3XV.js";
45
+ } from "./chunk-XQ3SKCMM.js";
46
46
  import {
47
47
  BoundingSphere_default
48
- } from "./chunk-QSDY4NS7.js";
49
- import "./chunk-4MTRQFJP.js";
48
+ } from "./chunk-YKU2Q3A2.js";
49
+ import "./chunk-JKXV6PG5.js";
50
50
  import {
51
51
  Rectangle_default
52
- } from "./chunk-WUBKZFF6.js";
53
- import "./chunk-QXNQQYPV.js";
54
- import "./chunk-77RL3MBD.js";
55
- import "./chunk-TA777BGS.js";
56
- import "./chunk-3TKLDHV3.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-ND3NTTOF.js";
61
+ } from "./chunk-A6X24AZI.js";
62
62
  import {
63
63
  Cartesian3_default
64
- } from "./chunk-QO2CGXMP.js";
64
+ } from "./chunk-ZSGUV73H.js";
65
65
  import {
66
66
  Math_default
67
- } from "./chunk-DYT5NR6P.js";
67
+ } from "./chunk-C7JQVRLM.js";
68
68
  import {
69
69
  Check_default,
70
70
  DeveloperError_default
71
- } from "./chunk-CZ23Y3RM.js";
71
+ } from "./chunk-6YR6JBMY.js";
72
72
  import {
73
73
  defined_default
74
- } from "./chunk-DH26SNAB.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.141.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-BTX2NL3P.js";
29
- import "./chunk-K6NFIRFB.js";
30
- import "./chunk-35H3UBIO.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-FIBS5S7R.js";
34
- import "./chunk-HSVQATK2.js";
35
- import "./chunk-WN6P5UDH.js";
36
- import "./chunk-HVMG6AG4.js";
37
- import "./chunk-FVLVVOBQ.js";
38
- import "./chunk-A7A433MD.js";
39
- import "./chunk-GPIGURCG.js";
40
- import "./chunk-URUCCIPS.js";
41
- import "./chunk-LH5SF3XV.js";
42
- import "./chunk-QSDY4NS7.js";
43
- import "./chunk-4MTRQFJP.js";
44
- import "./chunk-WUBKZFF6.js";
45
- import "./chunk-QXNQQYPV.js";
46
- import "./chunk-77RL3MBD.js";
47
- import "./chunk-TA777BGS.js";
48
- import "./chunk-3TKLDHV3.js";
49
- import "./chunk-ND3NTTOF.js";
50
- import "./chunk-QO2CGXMP.js";
51
- import "./chunk-DYT5NR6P.js";
52
- import "./chunk-CZ23Y3RM.js";
53
- import "./chunk-DH26SNAB.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
 
@@ -651,7 +651,7 @@ class Cartesian2 {
651
651
  * @param {Cartesian2} cartesian
652
652
  * @param {number[]} array
653
653
  * @param {number} offset
654
- * @private
654
+ * @ignore
655
655
  */
656
656
  static equalsArray(cartesian, array, offset) {
657
657
  return cartesian.x === array[offset] && cartesian.y === array[offset + 1];
@@ -723,7 +723,7 @@ class Cartesian3 {
723
723
  * @param {Cartesian3} cartesian
724
724
  * @param {number[]} array
725
725
  * @param {number} offset
726
- * @private
726
+ * @ignore
727
727
  */
728
728
  static equalsArray(cartesian, array, offset) {
729
729
  return (
@@ -727,7 +727,7 @@ class Cartesian4 {
727
727
  * @param {Cartesian4} cartesian
728
728
  * @param {number[]} array
729
729
  * @param {number} offset
730
- * @private
730
+ * @ignore
731
731
  */
732
732
  static equalsArray(cartesian, array, offset) {
733
733
  return (
@@ -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;
@@ -336,6 +336,41 @@ ComponentDatatype.fromName = function (name) {
336
336
  }
337
337
  };
338
338
 
339
+ /**
340
+ * Converts a single normalized integer value to a floating-point value in
341
+ * the range [-1, 1] (for signed types) or [0, 1] (for unsigned types),
342
+ * following the WebGL and glTF normalization conventions.
343
+ *
344
+ * @param {number} value The integer value to dequantize.
345
+ * @param {ComponentDatatype} componentDatatype The component datatype of the value.
346
+ * @returns {number} The dequantized floating-point value.
347
+ *
348
+ * @example
349
+ * const floatValue = Cesium.ComponentDatatype.dequantize(32767, Cesium.ComponentDatatype.SHORT); // 1.0
350
+ */
351
+ ComponentDatatype.dequantize = function (value, componentDatatype) {
352
+ switch (componentDatatype) {
353
+ case ComponentDatatype.BYTE:
354
+ return Math.max(value / 127.0, -1.0);
355
+ case ComponentDatatype.UNSIGNED_BYTE:
356
+ return value / 255.0;
357
+ case ComponentDatatype.SHORT:
358
+ return Math.max(value / 32767.0, -1.0);
359
+ case ComponentDatatype.UNSIGNED_SHORT:
360
+ return value / 65535.0;
361
+ case ComponentDatatype.INT:
362
+ return Math.max(value / 2147483647.0, -1.0);
363
+ case ComponentDatatype.UNSIGNED_INT:
364
+ return value / 4294967295.0;
365
+ //>>includeStart('debug', pragmas.debug);
366
+ default:
367
+ throw new DeveloperError(
368
+ "componentDatatype is not a valid integer type for dequantization.",
369
+ );
370
+ //>>includeEnd('debug');
371
+ }
372
+ };
373
+
339
374
  Object.freeze(ComponentDatatype);
340
375
 
341
376
  export default ComponentDatatype;
@@ -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.eyJqdGkiOiJmODUzYTQzYi1jMWM2LTQ2MTEtYWE4OS0wYzIwNTkyNjk1NDMiLCJpZCI6MjU5LCJpYXQiOjE3NzcwOTU1MzF9.pWL_6uenO0yB3nCXJNs8wWT9mic_UBo_d1CYDpwaXdQ";
7
+ "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiIzNzRjZTkzNC05M2UwLTRlNDItOWU0My1hYjk5YjFiNTNhYTMiLCJpZCI6MjU5LCJzdWIiOiJDZXNpdW1KUyIsImlzcyI6Imh0dHBzOi8vYXBpLmNlc2l1bS5jb20iLCJhdWQiOiIxLjE0MyBSZWxlYXNlIC0gRGVsZXRlIG9uIFNlcHRlbWJlciAxLCAyMDI2IiwiaWF0IjoxNzgyMzY4NzY4fQ.kDcFqK7jTTloOcBbwb-epSQGd1Lu12_hRuqk1XRE_H8";
8
8
  /**
9
9
  * Default settings for accessing the Cesium ion API.
10
10
  *
@@ -21,6 +21,7 @@ class MapProjection {
21
21
  *
22
22
  * @type {Ellipsoid}
23
23
  * @readonly
24
+ * @constant
24
25
  */
25
26
  ellipsoid;
26
27
 
@@ -914,7 +914,7 @@ class Matrix2 {
914
914
  * @param {Matrix2} matrix
915
915
  * @param {number[]} array
916
916
  * @param {number} offset
917
- * @private
917
+ * @ignore
918
918
  */
919
919
  static equalsArray(matrix, array, offset) {
920
920
  return (
@@ -1618,7 +1618,7 @@ class Matrix3 {
1618
1618
  * @param {Matrix3} matrix
1619
1619
  * @param {number[]} array
1620
1620
  * @param {number} offset
1621
- * @private
1621
+ * @ignore
1622
1622
  */
1623
1623
  static equalsArray(matrix, array, offset) {
1624
1624
  return (
@@ -2978,7 +2978,7 @@ class Matrix4 {
2978
2978
  * @param {Matrix4} matrix
2979
2979
  * @param {number[]} array
2980
2980
  * @param {number} offset
2981
- * @private
2981
+ * @ignore
2982
2982
  */
2983
2983
  static equalsArray(matrix, array, offset) {
2984
2984
  return (
@@ -173,7 +173,7 @@ function defaultClone(value, defaultValue) {
173
173
  *
174
174
  * @returns {Resource} If resource is a String, a Resource constructed with the url and options. Otherwise the resource parameter is returned.
175
175
  *
176
- * @private
176
+ * @ignore
177
177
  */
178
178
  Resource.createIfNeeded = function (resource) {
179
179
  if (resource instanceof Resource) {