@cesium/engine 13.0.0 → 13.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 (117) hide show
  1. package/Build/Workers/{chunk-BFNZUP2C.js → chunk-2ONAV62A.js} +14 -13
  2. package/Build/Workers/{chunk-OUIF26MQ.js → chunk-2SRHVCFD.js} +6 -6
  3. package/Build/Workers/{chunk-GBXJIWAZ.js → chunk-3SCCWLZS.js} +9 -9
  4. package/Build/Workers/{chunk-4IM6WQEI.js → chunk-54I6VSRP.js} +6 -6
  5. package/Build/Workers/{chunk-JISDBAYP.js → chunk-5I3LPAS7.js} +5 -5
  6. package/Build/Workers/{chunk-W2DVQETH.js → chunk-5ICYLS6B.js} +35 -21
  7. package/Build/Workers/{chunk-GJZQSAES.js → chunk-5JY4LYO3.js} +7 -7
  8. package/Build/Workers/{chunk-CQDSGG3R.js → chunk-APCS5YJI.js} +7 -7
  9. package/Build/Workers/{chunk-ZIWULRRD.js → chunk-AXYZUG4N.js} +1 -1
  10. package/Build/Workers/{chunk-H4Y7ADFL.js → chunk-B34JXFHF.js} +5 -5
  11. package/Build/Workers/{chunk-2OD54CUD.js → chunk-B6IJY6AN.js} +7 -7
  12. package/Build/Workers/{chunk-Z7OYBX6P.js → chunk-BMFWWTD7.js} +5 -5
  13. package/Build/Workers/{chunk-PMNQULFU.js → chunk-CBE4HRBH.js} +7 -7
  14. package/Build/Workers/{chunk-3ZMTG4X5.js → chunk-CNPP6TQ2.js} +4 -4
  15. package/Build/Workers/{chunk-KKVKSTWC.js → chunk-DWIKWWEE.js} +5 -5
  16. package/Build/Workers/{chunk-KRCUHV7P.js → chunk-EHGQQA7C.js} +1 -1
  17. package/Build/Workers/{chunk-YBDL7YPF.js → chunk-EJ5DT5BP.js} +1 -1
  18. package/Build/Workers/{chunk-6HWW6KNV.js → chunk-EYZFEJX3.js} +6 -6
  19. package/Build/Workers/{chunk-FANORJU6.js → chunk-FNCXBBCF.js} +2 -2
  20. package/Build/Workers/{chunk-2IIE2UZ3.js → chunk-GIOZHX7U.js} +2 -2
  21. package/Build/Workers/{chunk-KCCTLUKK.js → chunk-GSLKQJM2.js} +10 -10
  22. package/Build/Workers/{chunk-PD2MCNV7.js → chunk-HI73PIPQ.js} +2 -2
  23. package/Build/Workers/{chunk-RR4M3ZGF.js → chunk-IP7F2MVW.js} +7 -7
  24. package/Build/Workers/{chunk-GNG3V432.js → chunk-IXNXKVOB.js} +4 -4
  25. package/Build/Workers/{chunk-D3VPMNUR.js → chunk-J7BMSSY7.js} +13 -13
  26. package/Build/Workers/{chunk-NVFEDMX4.js → chunk-K62EHZFT.js} +15 -15
  27. package/Build/Workers/{chunk-FLPIQK2R.js → chunk-K6SQV4IS.js} +6 -6
  28. package/Build/Workers/{chunk-22NU5WU5.js → chunk-KO232FLP.js} +2 -2
  29. package/Build/Workers/{chunk-XQP37R5E.js → chunk-KRVALCCI.js} +5 -5
  30. package/Build/Workers/{chunk-MSKD73KW.js → chunk-LFUFGHL3.js} +10 -10
  31. package/Build/Workers/{chunk-T5H7YWC7.js → chunk-LQT2ZK7D.js} +17 -17
  32. package/Build/Workers/{chunk-MMILY4S7.js → chunk-M2AA2ARJ.js} +11 -11
  33. package/Build/Workers/{chunk-Q4MTXEB7.js → chunk-MGABCOOH.js} +6 -6
  34. package/Build/Workers/{chunk-W2E67GLE.js → chunk-NQDKNE7V.js} +13 -13
  35. package/Build/Workers/{chunk-YDEZMDB7.js → chunk-OARMSJUU.js} +2 -2
  36. package/Build/Workers/{chunk-S4SCKDK4.js → chunk-OGRXNUR2.js} +1 -1
  37. package/Build/Workers/{chunk-3VHIUS7I.js → chunk-OZTFRHA2.js} +6 -6
  38. package/Build/Workers/{chunk-CUMDCSMT.js → chunk-PBJQFLKS.js} +11 -11
  39. package/Build/Workers/{chunk-H7BML7HH.js → chunk-PM76TX2X.js} +6 -6
  40. package/Build/Workers/{chunk-HMMPNR4Z.js → chunk-PTFIVVLX.js} +12 -12
  41. package/Build/Workers/{chunk-BZMHXDKV.js → chunk-R2KGFZBA.js} +13 -13
  42. package/Build/Workers/{chunk-6ZOS2ACR.js → chunk-S3UM4OKP.js} +7 -7
  43. package/Build/Workers/{chunk-2TSF7N76.js → chunk-SAKQO5NX.js} +2 -2
  44. package/Build/Workers/{chunk-4HS475MU.js → chunk-T34EOLFR.js} +14 -14
  45. package/Build/Workers/{chunk-EXDSJZ7J.js → chunk-THDHWSEJ.js} +4 -4
  46. package/Build/Workers/{chunk-RGZWZ4PP.js → chunk-TOHDFUJM.js} +4 -4
  47. package/Build/Workers/{chunk-BLTSMJIP.js → chunk-UBAHTE4Q.js} +1 -1
  48. package/Build/Workers/{chunk-OZZD3VY4.js → chunk-WAJNX74N.js} +17 -17
  49. package/Build/Workers/{chunk-DIAH2ZTB.js → chunk-WE4KF4AM.js} +9 -9
  50. package/Build/Workers/{chunk-RC5N5SJL.js → chunk-WUIDEXAN.js} +7 -7
  51. package/Build/Workers/{chunk-RIQGQMS4.js → chunk-YVGU235V.js} +4 -4
  52. package/Build/Workers/{chunk-WXJY6NDI.js → chunk-ZWSWJYJP.js} +13 -13
  53. package/Build/Workers/combineGeometry.js +22 -22
  54. package/Build/Workers/createBoxGeometry.js +16 -16
  55. package/Build/Workers/createBoxOutlineGeometry.js +14 -14
  56. package/Build/Workers/createCircleGeometry.js +24 -24
  57. package/Build/Workers/createCircleOutlineGeometry.js +17 -17
  58. package/Build/Workers/createCoplanarPolygonGeometry.js +31 -31
  59. package/Build/Workers/createCoplanarPolygonOutlineGeometry.js +29 -29
  60. package/Build/Workers/createCorridorGeometry.js +27 -27
  61. package/Build/Workers/createCorridorOutlineGeometry.js +26 -26
  62. package/Build/Workers/createCylinderGeometry.js +18 -18
  63. package/Build/Workers/createCylinderOutlineGeometry.js +16 -16
  64. package/Build/Workers/createEllipseGeometry.js +24 -24
  65. package/Build/Workers/createEllipseOutlineGeometry.js +17 -17
  66. package/Build/Workers/createEllipsoidGeometry.js +17 -17
  67. package/Build/Workers/createEllipsoidOutlineGeometry.js +16 -16
  68. package/Build/Workers/createFrustumGeometry.js +16 -16
  69. package/Build/Workers/createFrustumOutlineGeometry.js +16 -16
  70. package/Build/Workers/createGeometry.js +22 -22
  71. package/Build/Workers/createGroundPolylineGeometry.js +20 -20
  72. package/Build/Workers/createPlaneGeometry.js +14 -14
  73. package/Build/Workers/createPlaneOutlineGeometry.js +13 -13
  74. package/Build/Workers/createPolygonGeometry.js +30 -30
  75. package/Build/Workers/createPolygonOutlineGeometry.js +28 -28
  76. package/Build/Workers/createPolylineGeometry.js +23 -23
  77. package/Build/Workers/createPolylineVolumeGeometry.js +29 -29
  78. package/Build/Workers/createPolylineVolumeOutlineGeometry.js +25 -25
  79. package/Build/Workers/createRectangleGeometry.js +25 -25
  80. package/Build/Workers/createRectangleOutlineGeometry.js +18 -18
  81. package/Build/Workers/createSimplePolylineGeometry.js +21 -21
  82. package/Build/Workers/createSphereGeometry.js +17 -17
  83. package/Build/Workers/createSphereOutlineGeometry.js +16 -16
  84. package/Build/Workers/createTaskProcessorWorker.js +3 -3
  85. package/Build/Workers/createVectorTileClampedPolylines.js +13 -13
  86. package/Build/Workers/createVectorTileGeometries.js +22 -22
  87. package/Build/Workers/createVectorTilePoints.js +12 -12
  88. package/Build/Workers/createVectorTilePolygons.js +20 -20
  89. package/Build/Workers/createVectorTilePolylines.js +13 -13
  90. package/Build/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js +20 -20
  91. package/Build/Workers/createVerticesFromHeightmap.js +20 -20
  92. package/Build/Workers/createVerticesFromQuantizedTerrainMesh.js +17 -17
  93. package/Build/Workers/createWallGeometry.js +22 -22
  94. package/Build/Workers/createWallOutlineGeometry.js +21 -21
  95. package/Build/Workers/decodeDraco.js +11 -11
  96. package/Build/Workers/decodeGoogleEarthEnterprisePacket.js +5 -5
  97. package/Build/Workers/decodeI3S.js +10 -10
  98. package/Build/Workers/transcodeKTX2.js +7 -7
  99. package/Build/Workers/transferTypedArrayTest.js +1 -1
  100. package/Build/Workers/upsampleQuantizedTerrainMesh.js +20 -20
  101. package/Source/Core/Check.d.ts +2 -1
  102. package/Source/Core/ITwinPlatform.js +3 -38
  103. package/Source/Core/Ion.js +1 -1
  104. package/Source/Core/JulianDate.js +14 -7
  105. package/Source/Core/defined.d.ts +11 -0
  106. package/Source/DataSources/ModelGraphics.js +23 -1
  107. package/Source/DataSources/ModelVisualizer.js +22 -1
  108. package/Source/Scene/ArcGisMapService.js +1 -1
  109. package/Source/Scene/Cesium3DTileset.js +1 -1
  110. package/Source/Scene/DynamicEnvironmentMapManager.js +123 -66
  111. package/Source/Scene/ITwinData.js +70 -0
  112. package/Source/Scene/Model/Model.js +1 -1
  113. package/Source/Shaders/DepthPlaneVS.glsl +1 -1
  114. package/Source/Shaders/DepthPlaneVS.js +1 -1
  115. package/index.d.ts +26 -4
  116. package/index.js +61 -61
  117. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license
3
3
  * Cesium - https://github.com/CesiumGS/cesium
4
- * Version 1.124
4
+ * Version 1.125
5
5
  *
6
6
  * Copyright 2011-2022 Cesium Contributors
7
7
  *
@@ -25,52 +25,52 @@
25
25
 
26
26
  import {
27
27
  WallGeometryLibrary_default
28
- } from "./chunk-6HWW6KNV.js";
29
- import "./chunk-MMILY4S7.js";
30
- import "./chunk-4IM6WQEI.js";
28
+ } from "./chunk-EYZFEJX3.js";
29
+ import "./chunk-M2AA2ARJ.js";
30
+ import "./chunk-54I6VSRP.js";
31
31
  import {
32
32
  VertexFormat_default
33
- } from "./chunk-EXDSJZ7J.js";
34
- import "./chunk-JISDBAYP.js";
35
- import "./chunk-Q4MTXEB7.js";
36
- import "./chunk-CQDSGG3R.js";
37
- import "./chunk-3VHIUS7I.js";
33
+ } from "./chunk-THDHWSEJ.js";
34
+ import "./chunk-5I3LPAS7.js";
35
+ import "./chunk-MGABCOOH.js";
36
+ import "./chunk-APCS5YJI.js";
37
+ import "./chunk-OZTFRHA2.js";
38
38
  import {
39
39
  IndexDatatype_default
40
- } from "./chunk-Z7OYBX6P.js";
40
+ } from "./chunk-BMFWWTD7.js";
41
41
  import {
42
42
  GeometryAttributes_default
43
- } from "./chunk-22NU5WU5.js";
43
+ } from "./chunk-KO232FLP.js";
44
44
  import {
45
45
  GeometryAttribute_default,
46
46
  Geometry_default,
47
47
  PrimitiveType_default
48
- } from "./chunk-PMNQULFU.js";
48
+ } from "./chunk-CBE4HRBH.js";
49
49
  import {
50
50
  BoundingSphere_default
51
- } from "./chunk-2OD54CUD.js";
52
- import "./chunk-BFNZUP2C.js";
51
+ } from "./chunk-B6IJY6AN.js";
52
+ import "./chunk-2ONAV62A.js";
53
53
  import {
54
54
  ComponentDatatype_default
55
- } from "./chunk-H4Y7ADFL.js";
55
+ } from "./chunk-B34JXFHF.js";
56
56
  import {
57
57
  Cartesian3_default,
58
58
  Ellipsoid_default
59
- } from "./chunk-XQP37R5E.js";
59
+ } from "./chunk-KRVALCCI.js";
60
60
  import {
61
61
  Math_default
62
- } from "./chunk-RGZWZ4PP.js";
63
- import "./chunk-ZIWULRRD.js";
64
- import "./chunk-2TSF7N76.js";
62
+ } from "./chunk-TOHDFUJM.js";
63
+ import "./chunk-AXYZUG4N.js";
64
+ import "./chunk-SAKQO5NX.js";
65
65
  import {
66
66
  defaultValue_default
67
- } from "./chunk-BLTSMJIP.js";
67
+ } from "./chunk-UBAHTE4Q.js";
68
68
  import {
69
69
  DeveloperError_default
70
- } from "./chunk-FANORJU6.js";
70
+ } from "./chunk-FNCXBBCF.js";
71
71
  import {
72
72
  defined_default
73
- } from "./chunk-S4SCKDK4.js";
73
+ } from "./chunk-OGRXNUR2.js";
74
74
 
75
75
  // packages/engine/Source/Core/WallGeometry.js
76
76
  var scratchCartesian3Position1 = new Cartesian3_default();
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license
3
3
  * Cesium - https://github.com/CesiumGS/cesium
4
- * Version 1.124
4
+ * Version 1.125
5
5
  *
6
6
  * Copyright 2011-2022 Cesium Contributors
7
7
  *
@@ -25,49 +25,49 @@
25
25
 
26
26
  import {
27
27
  WallGeometryLibrary_default
28
- } from "./chunk-6HWW6KNV.js";
29
- import "./chunk-MMILY4S7.js";
30
- import "./chunk-4IM6WQEI.js";
31
- import "./chunk-JISDBAYP.js";
32
- import "./chunk-Q4MTXEB7.js";
33
- import "./chunk-CQDSGG3R.js";
34
- import "./chunk-3VHIUS7I.js";
28
+ } from "./chunk-EYZFEJX3.js";
29
+ import "./chunk-M2AA2ARJ.js";
30
+ import "./chunk-54I6VSRP.js";
31
+ import "./chunk-5I3LPAS7.js";
32
+ import "./chunk-MGABCOOH.js";
33
+ import "./chunk-APCS5YJI.js";
34
+ import "./chunk-OZTFRHA2.js";
35
35
  import {
36
36
  IndexDatatype_default
37
- } from "./chunk-Z7OYBX6P.js";
37
+ } from "./chunk-BMFWWTD7.js";
38
38
  import {
39
39
  GeometryAttributes_default
40
- } from "./chunk-22NU5WU5.js";
40
+ } from "./chunk-KO232FLP.js";
41
41
  import {
42
42
  GeometryAttribute_default,
43
43
  Geometry_default,
44
44
  PrimitiveType_default
45
- } from "./chunk-PMNQULFU.js";
45
+ } from "./chunk-CBE4HRBH.js";
46
46
  import {
47
47
  BoundingSphere_default
48
- } from "./chunk-2OD54CUD.js";
49
- import "./chunk-BFNZUP2C.js";
48
+ } from "./chunk-B6IJY6AN.js";
49
+ import "./chunk-2ONAV62A.js";
50
50
  import {
51
51
  ComponentDatatype_default
52
- } from "./chunk-H4Y7ADFL.js";
52
+ } from "./chunk-B34JXFHF.js";
53
53
  import {
54
54
  Cartesian3_default,
55
55
  Ellipsoid_default
56
- } from "./chunk-XQP37R5E.js";
56
+ } from "./chunk-KRVALCCI.js";
57
57
  import {
58
58
  Math_default
59
- } from "./chunk-RGZWZ4PP.js";
60
- import "./chunk-ZIWULRRD.js";
61
- import "./chunk-2TSF7N76.js";
59
+ } from "./chunk-TOHDFUJM.js";
60
+ import "./chunk-AXYZUG4N.js";
61
+ import "./chunk-SAKQO5NX.js";
62
62
  import {
63
63
  defaultValue_default
64
- } from "./chunk-BLTSMJIP.js";
64
+ } from "./chunk-UBAHTE4Q.js";
65
65
  import {
66
66
  DeveloperError_default
67
- } from "./chunk-FANORJU6.js";
67
+ } from "./chunk-FNCXBBCF.js";
68
68
  import {
69
69
  defined_default
70
- } from "./chunk-S4SCKDK4.js";
70
+ } from "./chunk-OGRXNUR2.js";
71
71
 
72
72
  // packages/engine/Source/Core/WallOutlineGeometry.js
73
73
  var scratchCartesian3Position1 = new Cartesian3_default();
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license
3
3
  * Cesium - https://github.com/CesiumGS/cesium
4
- * Version 1.124
4
+ * Version 1.125
5
5
  *
6
6
  * Copyright 2011-2022 Cesium Contributors
7
7
  *
@@ -25,27 +25,27 @@
25
25
 
26
26
  import {
27
27
  require_draco_decoder_nodejs
28
- } from "./chunk-2IIE2UZ3.js";
28
+ } from "./chunk-GIOZHX7U.js";
29
29
  import {
30
30
  createTaskProcessorWorker_default
31
- } from "./chunk-YDEZMDB7.js";
31
+ } from "./chunk-OARMSJUU.js";
32
32
  import {
33
33
  IndexDatatype_default
34
- } from "./chunk-Z7OYBX6P.js";
34
+ } from "./chunk-BMFWWTD7.js";
35
35
  import {
36
36
  ComponentDatatype_default
37
- } from "./chunk-H4Y7ADFL.js";
38
- import "./chunk-RGZWZ4PP.js";
39
- import "./chunk-ZIWULRRD.js";
37
+ } from "./chunk-B34JXFHF.js";
38
+ import "./chunk-TOHDFUJM.js";
39
+ import "./chunk-AXYZUG4N.js";
40
40
  import {
41
41
  RuntimeError_default
42
- } from "./chunk-2TSF7N76.js";
43
- import "./chunk-BLTSMJIP.js";
44
- import "./chunk-FANORJU6.js";
42
+ } from "./chunk-SAKQO5NX.js";
43
+ import "./chunk-UBAHTE4Q.js";
44
+ import "./chunk-FNCXBBCF.js";
45
45
  import {
46
46
  __toESM,
47
47
  defined_default
48
- } from "./chunk-S4SCKDK4.js";
48
+ } from "./chunk-OGRXNUR2.js";
49
49
 
50
50
  // packages/engine/Source/Workers/decodeDraco.js
51
51
  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.124
4
+ * Version 1.125
5
5
  *
6
6
  * Copyright 2011-2022 Cesium Contributors
7
7
  *
@@ -25,18 +25,18 @@
25
25
 
26
26
  import {
27
27
  createTaskProcessorWorker_default
28
- } from "./chunk-YDEZMDB7.js";
28
+ } from "./chunk-OARMSJUU.js";
29
29
  import {
30
30
  RuntimeError_default
31
- } from "./chunk-2TSF7N76.js";
31
+ } from "./chunk-SAKQO5NX.js";
32
32
  import {
33
33
  Check_default
34
- } from "./chunk-FANORJU6.js";
34
+ } from "./chunk-FNCXBBCF.js";
35
35
  import {
36
36
  __commonJS,
37
37
  __toESM,
38
38
  defined_default
39
- } from "./chunk-S4SCKDK4.js";
39
+ } from "./chunk-OGRXNUR2.js";
40
40
 
41
41
  // node_modules/pako/lib/zlib/adler32.js
42
42
  var require_adler32 = __commonJS({
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license
3
3
  * Cesium - https://github.com/CesiumGS/cesium
4
- * Version 1.124
4
+ * Version 1.125
5
5
  *
6
6
  * Copyright 2011-2022 Cesium Contributors
7
7
  *
@@ -25,35 +25,35 @@
25
25
 
26
26
  import {
27
27
  require_draco_decoder_nodejs
28
- } from "./chunk-2IIE2UZ3.js";
28
+ } from "./chunk-GIOZHX7U.js";
29
29
  import {
30
30
  Color_default
31
- } from "./chunk-H7BML7HH.js";
31
+ } from "./chunk-PM76TX2X.js";
32
32
  import {
33
33
  createTaskProcessorWorker_default
34
- } from "./chunk-YDEZMDB7.js";
34
+ } from "./chunk-OARMSJUU.js";
35
35
  import {
36
36
  WebMercatorProjection_default
37
- } from "./chunk-FLPIQK2R.js";
37
+ } from "./chunk-K6SQV4IS.js";
38
38
  import {
39
39
  Cartesian3_default,
40
40
  Cartographic_default,
41
41
  Ellipsoid_default,
42
42
  Matrix3_default
43
- } from "./chunk-XQP37R5E.js";
43
+ } from "./chunk-KRVALCCI.js";
44
44
  import {
45
45
  Math_default
46
- } from "./chunk-RGZWZ4PP.js";
46
+ } from "./chunk-TOHDFUJM.js";
47
47
  import {
48
48
  defaultValue_default
49
- } from "./chunk-BLTSMJIP.js";
49
+ } from "./chunk-UBAHTE4Q.js";
50
50
  import {
51
51
  Check_default
52
- } from "./chunk-FANORJU6.js";
52
+ } from "./chunk-FNCXBBCF.js";
53
53
  import {
54
54
  __toESM,
55
55
  defined_default
56
- } from "./chunk-S4SCKDK4.js";
56
+ } from "./chunk-OGRXNUR2.js";
57
57
 
58
58
  // packages/engine/Source/Workers/decodeI3S.js
59
59
  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.124
4
+ * Version 1.125
5
5
  *
6
6
  * Copyright 2011-2022 Cesium Contributors
7
7
  *
@@ -25,25 +25,25 @@
25
25
 
26
26
  import {
27
27
  createTaskProcessorWorker_default
28
- } from "./chunk-YDEZMDB7.js";
28
+ } from "./chunk-OARMSJUU.js";
29
29
  import {
30
30
  WebGLConstants_default
31
- } from "./chunk-ZIWULRRD.js";
31
+ } from "./chunk-AXYZUG4N.js";
32
32
  import {
33
33
  RuntimeError_default
34
- } from "./chunk-2TSF7N76.js";
34
+ } from "./chunk-SAKQO5NX.js";
35
35
  import {
36
36
  defaultValue_default
37
- } from "./chunk-BLTSMJIP.js";
37
+ } from "./chunk-UBAHTE4Q.js";
38
38
  import {
39
39
  Check_default
40
- } from "./chunk-FANORJU6.js";
40
+ } from "./chunk-FNCXBBCF.js";
41
41
  import {
42
42
  __commonJS,
43
43
  __require,
44
44
  __toESM,
45
45
  defined_default
46
- } from "./chunk-S4SCKDK4.js";
46
+ } from "./chunk-OGRXNUR2.js";
47
47
 
48
48
  // packages/engine/Source/ThirdParty/Workers/basis_transcoder.js
49
49
  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.124
4
+ * Version 1.125
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.124
4
+ * Version 1.125
5
5
  *
6
6
  * Copyright 2011-2022 Cesium Contributors
7
7
  *
@@ -26,49 +26,49 @@
26
26
  import {
27
27
  EllipsoidalOccluder_default,
28
28
  TerrainEncoding_default
29
- } from "./chunk-MSKD73KW.js";
29
+ } from "./chunk-LFUFGHL3.js";
30
30
  import {
31
31
  createTaskProcessorWorker_default
32
- } from "./chunk-YDEZMDB7.js";
32
+ } from "./chunk-OARMSJUU.js";
33
33
  import {
34
34
  OrientedBoundingBox_default
35
- } from "./chunk-KCCTLUKK.js";
35
+ } from "./chunk-GSLKQJM2.js";
36
36
  import {
37
37
  AttributeCompression_default
38
- } from "./chunk-RR4M3ZGF.js";
39
- import "./chunk-DIAH2ZTB.js";
40
- import "./chunk-OUIF26MQ.js";
41
- import "./chunk-CQDSGG3R.js";
42
- import "./chunk-3VHIUS7I.js";
38
+ } from "./chunk-IP7F2MVW.js";
39
+ import "./chunk-WE4KF4AM.js";
40
+ import "./chunk-2SRHVCFD.js";
41
+ import "./chunk-APCS5YJI.js";
42
+ import "./chunk-OZTFRHA2.js";
43
43
  import {
44
44
  IndexDatatype_default
45
- } from "./chunk-Z7OYBX6P.js";
45
+ } from "./chunk-BMFWWTD7.js";
46
46
  import {
47
47
  BoundingSphere_default
48
- } from "./chunk-2OD54CUD.js";
48
+ } from "./chunk-B6IJY6AN.js";
49
49
  import {
50
50
  Rectangle_default
51
- } from "./chunk-BFNZUP2C.js";
52
- import "./chunk-H4Y7ADFL.js";
51
+ } from "./chunk-2ONAV62A.js";
52
+ import "./chunk-B34JXFHF.js";
53
53
  import {
54
54
  Cartesian2_default,
55
55
  Cartesian3_default,
56
56
  Cartographic_default,
57
57
  Ellipsoid_default
58
- } from "./chunk-XQP37R5E.js";
58
+ } from "./chunk-KRVALCCI.js";
59
59
  import {
60
60
  Math_default
61
- } from "./chunk-RGZWZ4PP.js";
62
- import "./chunk-ZIWULRRD.js";
63
- import "./chunk-2TSF7N76.js";
64
- import "./chunk-BLTSMJIP.js";
61
+ } from "./chunk-TOHDFUJM.js";
62
+ import "./chunk-AXYZUG4N.js";
63
+ import "./chunk-SAKQO5NX.js";
64
+ import "./chunk-UBAHTE4Q.js";
65
65
  import {
66
66
  Check_default,
67
67
  DeveloperError_default
68
- } from "./chunk-FANORJU6.js";
68
+ } from "./chunk-FNCXBBCF.js";
69
69
  import {
70
70
  defined_default
71
- } from "./chunk-S4SCKDK4.js";
71
+ } from "./chunk-OGRXNUR2.js";
72
72
 
73
73
  // packages/engine/Source/Core/Intersections2D.js
74
74
  var Intersections2D = {};
@@ -2,7 +2,7 @@
2
2
  * Contains functions for checking that supplied arguments are of a specified type
3
3
  * or meet specified conditions
4
4
  */
5
- export const Check: {
5
+ const Check: {
6
6
  /**
7
7
  * Throws if test is not defined
8
8
  *
@@ -125,3 +125,4 @@ export const Check: {
125
125
  };
126
126
  };
127
127
  };
128
+ export default Check;
@@ -38,54 +38,19 @@ ITwinPlatform.ExportType = Object.freeze({
38
38
  });
39
39
 
40
40
  /**
41
- * Types of Reality data
41
+ * Types of Reality data. This is a partial list of types we know we can support
42
+ *
42
43
  * @see https://developer.bentley.com/apis/reality-management/rm-rd-details/#types
43
44
  * @enum {string}
44
45
  */
45
46
  ITwinPlatform.RealityDataType = Object.freeze({
46
47
  Cesium3DTiles: "Cesium3DTiles",
47
48
  PNTS: "PNTS",
48
- OPC: "OPC",
49
49
  RealityMesh3DTiles: "RealityMesh3DTiles",
50
50
  Terrain3DTiles: "Terrain3DTiles",
51
- "3MX": "3MX",
52
- "3SM": "3SM",
53
- CCCloudProject: "CCCloudProject",
54
- CCImageCollection: "CCImageCollection",
55
- CCOrientations: "CCOrientations",
56
- ContextCaptureInputs: "ContextCaptureInputs",
57
- ContextDetector: "ContextDetector",
58
- ContextScene: "ContextScene",
59
- DAE: "DAE",
60
- DGN: "DGN",
61
- DSM: "DSM",
62
- FBX: "FBX",
63
- GLB: "GLB",
64
- GLTF: "GLTF",
65
51
  KML: "KML",
66
- LAS: "LAS",
67
- LAZ: "LAZ",
68
- LOD: "LOD",
69
- LodTree: "LodTree",
70
- OBJ: "OBJ",
71
- OMI: "OMI",
72
- OMR: "OMR",
73
- Orthophoto: "Orthophoto",
74
- OrthophotoDSM: "OrthophotoDSM",
75
- OSGB: "OSGB",
76
- OVF: "OVF",
77
- OBT: "OBT",
78
- PLY: "PLY",
79
- PointCloud: "PointCloud",
80
- S3C: "S3C",
81
- ScanCollection: "ScanCollection",
82
- SHP: "SHP",
83
- SLPK: "SLPK",
84
- SpaceEyes3D: "SpaceEyes3D",
85
- STL: "STL",
86
- TSM: "TSM",
52
+ GeoJSON: "GeoJSON",
87
53
  Unstructured: "Unstructured",
88
- Other: "Other",
89
54
  });
90
55
 
91
56
  /**
@@ -4,7 +4,7 @@ import Resource from "./Resource.js";
4
4
 
5
5
  let defaultTokenCredit;
6
6
  const defaultAccessToken =
7
- "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiI0ZDdmNWJiNy0wMmNlLTQ1MWUtODM2YS02NGM1MTBlOGMwMWQiLCJpZCI6MjU5LCJpYXQiOjE3MzMxNTc4OTV9.B3URHf0VdHDtGckb-hv7uqATdn8KfvkiuoAFZUq8tAo";
7
+ "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiIzYTBjYzY2NC0yMGEyLTQxZDYtYmI2MC1hMWE4ZTBlMGNlNjciLCJpZCI6MjU5LCJpYXQiOjE3MzU4NTEwMzF9.nshpaoC5qpRD4F5diwcjwJ3tddp1OjCSXoMrv37Ales";
8
8
  /**
9
9
  * Default settings for accessing the Cesium ion API.
10
10
  *
@@ -10,7 +10,7 @@ import TimeStandard from "./TimeStandard.js";
10
10
 
11
11
  const gregorianDateScratch = new GregorianDate();
12
12
  const daysInMonth = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
13
- const daysInLeapFeburary = 29;
13
+ const daysInLeapFebruary = 29;
14
14
 
15
15
  function compareLeapSecondDates(leapSecond, dateToFind) {
16
16
  return JulianDate.compare(leapSecond.julianDate, dateToFind.julianDate);
@@ -430,7 +430,7 @@ JulianDate.fromIso8601 = function (iso8601String, result) {
430
430
  month > 12 ||
431
431
  day < 1 ||
432
432
  ((month !== 2 || !inLeapYear) && day > daysInMonth[month - 1]) ||
433
- (inLeapYear && month === 2 && day > daysInLeapFeburary)
433
+ (inLeapYear && month === 2 && day > daysInLeapFebruary)
434
434
  ) {
435
435
  throw new DeveloperError(iso8601ErrorMessage);
436
436
  }
@@ -542,7 +542,7 @@ JulianDate.fromIso8601 = function (iso8601String, result) {
542
542
  day++;
543
543
  }
544
544
 
545
- tmp = inLeapYear && month === 2 ? daysInLeapFeburary : daysInMonth[month - 1];
545
+ tmp = inLeapYear && month === 2 ? daysInLeapFebruary : daysInMonth[month - 1];
546
546
  while (day > tmp) {
547
547
  day -= tmp;
548
548
  month++;
@@ -553,7 +553,7 @@ JulianDate.fromIso8601 = function (iso8601String, result) {
553
553
  }
554
554
 
555
555
  tmp =
556
- inLeapYear && month === 2 ? daysInLeapFeburary : daysInMonth[month - 1];
556
+ inLeapYear && month === 2 ? daysInLeapFebruary : daysInMonth[month - 1];
557
557
  }
558
558
 
559
559
  //If UTC offset is at the beginning/end of the day, minutes can be negative.
@@ -575,7 +575,7 @@ JulianDate.fromIso8601 = function (iso8601String, result) {
575
575
  }
576
576
 
577
577
  tmp =
578
- inLeapYear && month === 2 ? daysInLeapFeburary : daysInMonth[month - 1];
578
+ inLeapYear && month === 2 ? daysInLeapFebruary : daysInMonth[month - 1];
579
579
  day += tmp;
580
580
  }
581
581
 
@@ -784,8 +784,15 @@ JulianDate.toIso8601 = function (julianDate, precision) {
784
784
  let millisecondStr;
785
785
 
786
786
  if (!defined(precision) && millisecond !== 0) {
787
- //Forces milliseconds into a number with at least 3 digits to whatever the default toString() precision is.
788
- millisecondStr = (millisecond * 0.01).toString().replace(".", "");
787
+ // Forces milliseconds into a number with at least 3 digits.
788
+ const millisecondHundreds = millisecond * 0.01;
789
+ // Below 1e-6, toString returns scientific notation, so it should be replaced by toFixed with appropriate number of digits.
790
+ // 20 digits is a trade-off choice guided by JavaScript's Number representation accuracy (15-17 decimal digits for most numbers).
791
+ // Using toFixed(20) ensures capturing enough precision while avoiding inaccuracies due to floating-point limitations.
792
+ millisecondStr =
793
+ millisecondHundreds < 1e-6
794
+ ? millisecondHundreds.toFixed(20).replace(".", "").replace(/0+$/, "")
795
+ : millisecondHundreds.toString().replace(".", "");
789
796
  return `${year.toString().padStart(4, "0")}-${month
790
797
  .toString()
791
798
  .padStart(2, "0")}-${day.toString().padStart(2, "0")}T${hour
@@ -0,0 +1,11 @@
1
+ /**
2
+ * @example
3
+ * if (Cesium.defined(positions)) {
4
+ * doSomething();
5
+ * } else {
6
+ * doSomethingElse();
7
+ * }
8
+ * @param value - The object.
9
+ * @returns Returns true if the object is defined, returns false otherwise.
10
+ */
11
+ export default function defined<Type>(value: Type): value is NonNullable<Type>;
@@ -18,6 +18,10 @@ function createArticulationStagePropertyBag(value) {
18
18
  return new PropertyBag(value);
19
19
  }
20
20
 
21
+ function createEnvironmentMapPropertyBag(value) {
22
+ return new PropertyBag(value);
23
+ }
24
+
21
25
  /**
22
26
  * @typedef {object} ModelGraphics.ConstructorOptions
23
27
  *
@@ -40,6 +44,7 @@ function createArticulationStagePropertyBag(value) {
40
44
  * @property {Property | ColorBlendMode} [colorBlendMode=ColorBlendMode.HIGHLIGHT] An enum Property specifying how the color blends with the model.
41
45
  * @property {Property | number} [colorBlendAmount=0.5] A numeric Property specifying the color strength when the <code>colorBlendMode</code> is <code>MIX</code>. A value of 0.0 results in the model's rendered color while a value of 1.0 results in a solid color, with any value in-between resulting in a mix of the two.
42
46
  * @property {Property | Cartesian2} [imageBasedLightingFactor=new Cartesian2(1.0, 1.0)] A property specifying the contribution from diffuse and specular image-based lighting.
47
+ * @property {PropertyBag | Object<string, *>} [environmentMapOptions] The properties for managing dynamic environment maps on this entity.
43
48
  * @property {Property | Color} [lightColor] A property specifying the light color when shading the model. When <code>undefined</code> the scene's light color is used instead.
44
49
  * @property {Property | DistanceDisplayCondition} [distanceDisplayCondition] A Property specifying at what distance from the camera that this model will be displayed.
45
50
  * @property {PropertyBag | Object<string, TranslationRotationScale>} [nodeTransformations] An object, where keys are names of nodes, and values are {@link TranslationRotationScale} Properties describing the transformation to apply to that node. The transformation is applied after the node's existing transformation as specified in the glTF, and does not replace the node's existing transformation.
@@ -101,6 +106,8 @@ function ModelGraphics(options) {
101
106
  this._colorBlendAmountSubscription = undefined;
102
107
  this._imageBasedLightingFactor = undefined;
103
108
  this._imageBasedLightingFactorSubscription = undefined;
109
+ this._environmentMapOptions = undefined;
110
+ this._environmentMapOptionsSubscription = undefined;
104
111
  this._lightColor = undefined;
105
112
  this._lightColorSubscription = undefined;
106
113
  this._distanceDisplayCondition = undefined;
@@ -279,6 +286,17 @@ Object.defineProperties(ModelGraphics.prototype, {
279
286
  "imageBasedLightingFactor",
280
287
  ),
281
288
 
289
+ /**
290
+ * Gets or sets the {@link DynamicEnvironmentMapManager.ConstructorOptions} to apply to this model. This is represented as an {@link PropertyBag}.
291
+ * @memberof ModelGraphics.prototype
292
+ * @type {PropertyBag}
293
+ */
294
+ environmentMapOptions: createPropertyDescriptor(
295
+ "environmentMapOptions",
296
+ undefined,
297
+ createEnvironmentMapPropertyBag,
298
+ ),
299
+
282
300
  /**
283
301
  * A property specifying the {@link Cartesian3} light color when shading the model. When <code>undefined</code> the scene's light color is used instead.
284
302
  * @memberOf ModelGraphics.prototype
@@ -361,6 +379,7 @@ ModelGraphics.prototype.clone = function (result) {
361
379
  result.colorBlendMode = this.colorBlendMode;
362
380
  result.colorBlendAmount = this.colorBlendAmount;
363
381
  result.imageBasedLightingFactor = this.imageBasedLightingFactor;
382
+ result.environmentMapOptions = this.environmentMapOptions;
364
383
  result.lightColor = this.lightColor;
365
384
  result.distanceDisplayCondition = this.distanceDisplayCondition;
366
385
  result.nodeTransformations = this.nodeTransformations;
@@ -430,7 +449,10 @@ ModelGraphics.prototype.merge = function (source) {
430
449
  this.imageBasedLightingFactor,
431
450
  source.imageBasedLightingFactor,
432
451
  );
433
-
452
+ this.environmentMapOptions = defaultValue(
453
+ this.environmentMapOptions,
454
+ source.environmentMapOptions,
455
+ );
434
456
  this.lightColor = defaultValue(this.lightColor, source.lightColor);
435
457
  this.distanceDisplayCondition = defaultValue(
436
458
  this.distanceDisplayCondition,