@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.
- package/Build/Workers/{chunk-BFNZUP2C.js → chunk-2ONAV62A.js} +14 -13
- package/Build/Workers/{chunk-OUIF26MQ.js → chunk-2SRHVCFD.js} +6 -6
- package/Build/Workers/{chunk-GBXJIWAZ.js → chunk-3SCCWLZS.js} +9 -9
- package/Build/Workers/{chunk-4IM6WQEI.js → chunk-54I6VSRP.js} +6 -6
- package/Build/Workers/{chunk-JISDBAYP.js → chunk-5I3LPAS7.js} +5 -5
- package/Build/Workers/{chunk-W2DVQETH.js → chunk-5ICYLS6B.js} +35 -21
- package/Build/Workers/{chunk-GJZQSAES.js → chunk-5JY4LYO3.js} +7 -7
- package/Build/Workers/{chunk-CQDSGG3R.js → chunk-APCS5YJI.js} +7 -7
- package/Build/Workers/{chunk-ZIWULRRD.js → chunk-AXYZUG4N.js} +1 -1
- package/Build/Workers/{chunk-H4Y7ADFL.js → chunk-B34JXFHF.js} +5 -5
- package/Build/Workers/{chunk-2OD54CUD.js → chunk-B6IJY6AN.js} +7 -7
- package/Build/Workers/{chunk-Z7OYBX6P.js → chunk-BMFWWTD7.js} +5 -5
- package/Build/Workers/{chunk-PMNQULFU.js → chunk-CBE4HRBH.js} +7 -7
- package/Build/Workers/{chunk-3ZMTG4X5.js → chunk-CNPP6TQ2.js} +4 -4
- package/Build/Workers/{chunk-KKVKSTWC.js → chunk-DWIKWWEE.js} +5 -5
- package/Build/Workers/{chunk-KRCUHV7P.js → chunk-EHGQQA7C.js} +1 -1
- package/Build/Workers/{chunk-YBDL7YPF.js → chunk-EJ5DT5BP.js} +1 -1
- package/Build/Workers/{chunk-6HWW6KNV.js → chunk-EYZFEJX3.js} +6 -6
- package/Build/Workers/{chunk-FANORJU6.js → chunk-FNCXBBCF.js} +2 -2
- package/Build/Workers/{chunk-2IIE2UZ3.js → chunk-GIOZHX7U.js} +2 -2
- package/Build/Workers/{chunk-KCCTLUKK.js → chunk-GSLKQJM2.js} +10 -10
- package/Build/Workers/{chunk-PD2MCNV7.js → chunk-HI73PIPQ.js} +2 -2
- package/Build/Workers/{chunk-RR4M3ZGF.js → chunk-IP7F2MVW.js} +7 -7
- package/Build/Workers/{chunk-GNG3V432.js → chunk-IXNXKVOB.js} +4 -4
- package/Build/Workers/{chunk-D3VPMNUR.js → chunk-J7BMSSY7.js} +13 -13
- package/Build/Workers/{chunk-NVFEDMX4.js → chunk-K62EHZFT.js} +15 -15
- package/Build/Workers/{chunk-FLPIQK2R.js → chunk-K6SQV4IS.js} +6 -6
- package/Build/Workers/{chunk-22NU5WU5.js → chunk-KO232FLP.js} +2 -2
- package/Build/Workers/{chunk-XQP37R5E.js → chunk-KRVALCCI.js} +5 -5
- package/Build/Workers/{chunk-MSKD73KW.js → chunk-LFUFGHL3.js} +10 -10
- package/Build/Workers/{chunk-T5H7YWC7.js → chunk-LQT2ZK7D.js} +17 -17
- package/Build/Workers/{chunk-MMILY4S7.js → chunk-M2AA2ARJ.js} +11 -11
- package/Build/Workers/{chunk-Q4MTXEB7.js → chunk-MGABCOOH.js} +6 -6
- package/Build/Workers/{chunk-W2E67GLE.js → chunk-NQDKNE7V.js} +13 -13
- package/Build/Workers/{chunk-YDEZMDB7.js → chunk-OARMSJUU.js} +2 -2
- package/Build/Workers/{chunk-S4SCKDK4.js → chunk-OGRXNUR2.js} +1 -1
- package/Build/Workers/{chunk-3VHIUS7I.js → chunk-OZTFRHA2.js} +6 -6
- package/Build/Workers/{chunk-CUMDCSMT.js → chunk-PBJQFLKS.js} +11 -11
- package/Build/Workers/{chunk-H7BML7HH.js → chunk-PM76TX2X.js} +6 -6
- package/Build/Workers/{chunk-HMMPNR4Z.js → chunk-PTFIVVLX.js} +12 -12
- package/Build/Workers/{chunk-BZMHXDKV.js → chunk-R2KGFZBA.js} +13 -13
- package/Build/Workers/{chunk-6ZOS2ACR.js → chunk-S3UM4OKP.js} +7 -7
- package/Build/Workers/{chunk-2TSF7N76.js → chunk-SAKQO5NX.js} +2 -2
- package/Build/Workers/{chunk-4HS475MU.js → chunk-T34EOLFR.js} +14 -14
- package/Build/Workers/{chunk-EXDSJZ7J.js → chunk-THDHWSEJ.js} +4 -4
- package/Build/Workers/{chunk-RGZWZ4PP.js → chunk-TOHDFUJM.js} +4 -4
- package/Build/Workers/{chunk-BLTSMJIP.js → chunk-UBAHTE4Q.js} +1 -1
- package/Build/Workers/{chunk-OZZD3VY4.js → chunk-WAJNX74N.js} +17 -17
- package/Build/Workers/{chunk-DIAH2ZTB.js → chunk-WE4KF4AM.js} +9 -9
- package/Build/Workers/{chunk-RC5N5SJL.js → chunk-WUIDEXAN.js} +7 -7
- package/Build/Workers/{chunk-RIQGQMS4.js → chunk-YVGU235V.js} +4 -4
- package/Build/Workers/{chunk-WXJY6NDI.js → chunk-ZWSWJYJP.js} +13 -13
- package/Build/Workers/combineGeometry.js +22 -22
- package/Build/Workers/createBoxGeometry.js +16 -16
- package/Build/Workers/createBoxOutlineGeometry.js +14 -14
- package/Build/Workers/createCircleGeometry.js +24 -24
- package/Build/Workers/createCircleOutlineGeometry.js +17 -17
- package/Build/Workers/createCoplanarPolygonGeometry.js +31 -31
- package/Build/Workers/createCoplanarPolygonOutlineGeometry.js +29 -29
- package/Build/Workers/createCorridorGeometry.js +27 -27
- package/Build/Workers/createCorridorOutlineGeometry.js +26 -26
- package/Build/Workers/createCylinderGeometry.js +18 -18
- package/Build/Workers/createCylinderOutlineGeometry.js +16 -16
- package/Build/Workers/createEllipseGeometry.js +24 -24
- package/Build/Workers/createEllipseOutlineGeometry.js +17 -17
- package/Build/Workers/createEllipsoidGeometry.js +17 -17
- package/Build/Workers/createEllipsoidOutlineGeometry.js +16 -16
- package/Build/Workers/createFrustumGeometry.js +16 -16
- package/Build/Workers/createFrustumOutlineGeometry.js +16 -16
- package/Build/Workers/createGeometry.js +22 -22
- package/Build/Workers/createGroundPolylineGeometry.js +20 -20
- package/Build/Workers/createPlaneGeometry.js +14 -14
- package/Build/Workers/createPlaneOutlineGeometry.js +13 -13
- package/Build/Workers/createPolygonGeometry.js +30 -30
- package/Build/Workers/createPolygonOutlineGeometry.js +28 -28
- package/Build/Workers/createPolylineGeometry.js +23 -23
- package/Build/Workers/createPolylineVolumeGeometry.js +29 -29
- package/Build/Workers/createPolylineVolumeOutlineGeometry.js +25 -25
- package/Build/Workers/createRectangleGeometry.js +25 -25
- package/Build/Workers/createRectangleOutlineGeometry.js +18 -18
- package/Build/Workers/createSimplePolylineGeometry.js +21 -21
- package/Build/Workers/createSphereGeometry.js +17 -17
- package/Build/Workers/createSphereOutlineGeometry.js +16 -16
- package/Build/Workers/createTaskProcessorWorker.js +3 -3
- package/Build/Workers/createVectorTileClampedPolylines.js +13 -13
- package/Build/Workers/createVectorTileGeometries.js +22 -22
- package/Build/Workers/createVectorTilePoints.js +12 -12
- package/Build/Workers/createVectorTilePolygons.js +20 -20
- package/Build/Workers/createVectorTilePolylines.js +13 -13
- package/Build/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js +20 -20
- package/Build/Workers/createVerticesFromHeightmap.js +20 -20
- package/Build/Workers/createVerticesFromQuantizedTerrainMesh.js +17 -17
- package/Build/Workers/createWallGeometry.js +22 -22
- package/Build/Workers/createWallOutlineGeometry.js +21 -21
- package/Build/Workers/decodeDraco.js +11 -11
- package/Build/Workers/decodeGoogleEarthEnterprisePacket.js +5 -5
- package/Build/Workers/decodeI3S.js +10 -10
- package/Build/Workers/transcodeKTX2.js +7 -7
- package/Build/Workers/transferTypedArrayTest.js +1 -1
- package/Build/Workers/upsampleQuantizedTerrainMesh.js +20 -20
- package/Source/Core/Check.d.ts +2 -1
- package/Source/Core/ITwinPlatform.js +3 -38
- package/Source/Core/Ion.js +1 -1
- package/Source/Core/JulianDate.js +14 -7
- package/Source/Core/defined.d.ts +11 -0
- package/Source/DataSources/ModelGraphics.js +23 -1
- package/Source/DataSources/ModelVisualizer.js +22 -1
- package/Source/Scene/ArcGisMapService.js +1 -1
- package/Source/Scene/Cesium3DTileset.js +1 -1
- package/Source/Scene/DynamicEnvironmentMapManager.js +123 -66
- package/Source/Scene/ITwinData.js +70 -0
- package/Source/Scene/Model/Model.js +1 -1
- package/Source/Shaders/DepthPlaneVS.glsl +1 -1
- package/Source/Shaders/DepthPlaneVS.js +1 -1
- package/index.d.ts +26 -4
- package/index.js +61 -61
- 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.
|
|
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-
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
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-
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
37
|
-
import "./chunk-
|
|
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-
|
|
40
|
+
} from "./chunk-BMFWWTD7.js";
|
|
41
41
|
import {
|
|
42
42
|
GeometryAttributes_default
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-KO232FLP.js";
|
|
44
44
|
import {
|
|
45
45
|
GeometryAttribute_default,
|
|
46
46
|
Geometry_default,
|
|
47
47
|
PrimitiveType_default
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-CBE4HRBH.js";
|
|
49
49
|
import {
|
|
50
50
|
BoundingSphere_default
|
|
51
|
-
} from "./chunk-
|
|
52
|
-
import "./chunk-
|
|
51
|
+
} from "./chunk-B6IJY6AN.js";
|
|
52
|
+
import "./chunk-2ONAV62A.js";
|
|
53
53
|
import {
|
|
54
54
|
ComponentDatatype_default
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-B34JXFHF.js";
|
|
56
56
|
import {
|
|
57
57
|
Cartesian3_default,
|
|
58
58
|
Ellipsoid_default
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-KRVALCCI.js";
|
|
60
60
|
import {
|
|
61
61
|
Math_default
|
|
62
|
-
} from "./chunk-
|
|
63
|
-
import "./chunk-
|
|
64
|
-
import "./chunk-
|
|
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-
|
|
67
|
+
} from "./chunk-UBAHTE4Q.js";
|
|
68
68
|
import {
|
|
69
69
|
DeveloperError_default
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-FNCXBBCF.js";
|
|
71
71
|
import {
|
|
72
72
|
defined_default
|
|
73
|
-
} from "./chunk-
|
|
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.
|
|
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-
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
31
|
-
import "./chunk-
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./chunk-
|
|
34
|
-
import "./chunk-
|
|
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-
|
|
37
|
+
} from "./chunk-BMFWWTD7.js";
|
|
38
38
|
import {
|
|
39
39
|
GeometryAttributes_default
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-KO232FLP.js";
|
|
41
41
|
import {
|
|
42
42
|
GeometryAttribute_default,
|
|
43
43
|
Geometry_default,
|
|
44
44
|
PrimitiveType_default
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-CBE4HRBH.js";
|
|
46
46
|
import {
|
|
47
47
|
BoundingSphere_default
|
|
48
|
-
} from "./chunk-
|
|
49
|
-
import "./chunk-
|
|
48
|
+
} from "./chunk-B6IJY6AN.js";
|
|
49
|
+
import "./chunk-2ONAV62A.js";
|
|
50
50
|
import {
|
|
51
51
|
ComponentDatatype_default
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-B34JXFHF.js";
|
|
53
53
|
import {
|
|
54
54
|
Cartesian3_default,
|
|
55
55
|
Ellipsoid_default
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-KRVALCCI.js";
|
|
57
57
|
import {
|
|
58
58
|
Math_default
|
|
59
|
-
} from "./chunk-
|
|
60
|
-
import "./chunk-
|
|
61
|
-
import "./chunk-
|
|
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-
|
|
64
|
+
} from "./chunk-UBAHTE4Q.js";
|
|
65
65
|
import {
|
|
66
66
|
DeveloperError_default
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-FNCXBBCF.js";
|
|
68
68
|
import {
|
|
69
69
|
defined_default
|
|
70
|
-
} from "./chunk-
|
|
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.
|
|
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-
|
|
28
|
+
} from "./chunk-GIOZHX7U.js";
|
|
29
29
|
import {
|
|
30
30
|
createTaskProcessorWorker_default
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-OARMSJUU.js";
|
|
32
32
|
import {
|
|
33
33
|
IndexDatatype_default
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-BMFWWTD7.js";
|
|
35
35
|
import {
|
|
36
36
|
ComponentDatatype_default
|
|
37
|
-
} from "./chunk-
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import "./chunk-
|
|
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-
|
|
43
|
-
import "./chunk-
|
|
44
|
-
import "./chunk-
|
|
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-
|
|
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.
|
|
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-
|
|
28
|
+
} from "./chunk-OARMSJUU.js";
|
|
29
29
|
import {
|
|
30
30
|
RuntimeError_default
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-SAKQO5NX.js";
|
|
32
32
|
import {
|
|
33
33
|
Check_default
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-FNCXBBCF.js";
|
|
35
35
|
import {
|
|
36
36
|
__commonJS,
|
|
37
37
|
__toESM,
|
|
38
38
|
defined_default
|
|
39
|
-
} from "./chunk-
|
|
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.
|
|
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-
|
|
28
|
+
} from "./chunk-GIOZHX7U.js";
|
|
29
29
|
import {
|
|
30
30
|
Color_default
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-PM76TX2X.js";
|
|
32
32
|
import {
|
|
33
33
|
createTaskProcessorWorker_default
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-OARMSJUU.js";
|
|
35
35
|
import {
|
|
36
36
|
WebMercatorProjection_default
|
|
37
|
-
} from "./chunk-
|
|
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-
|
|
43
|
+
} from "./chunk-KRVALCCI.js";
|
|
44
44
|
import {
|
|
45
45
|
Math_default
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-TOHDFUJM.js";
|
|
47
47
|
import {
|
|
48
48
|
defaultValue_default
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-UBAHTE4Q.js";
|
|
50
50
|
import {
|
|
51
51
|
Check_default
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-FNCXBBCF.js";
|
|
53
53
|
import {
|
|
54
54
|
__toESM,
|
|
55
55
|
defined_default
|
|
56
|
-
} from "./chunk-
|
|
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.
|
|
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-
|
|
28
|
+
} from "./chunk-OARMSJUU.js";
|
|
29
29
|
import {
|
|
30
30
|
WebGLConstants_default
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-AXYZUG4N.js";
|
|
32
32
|
import {
|
|
33
33
|
RuntimeError_default
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-SAKQO5NX.js";
|
|
35
35
|
import {
|
|
36
36
|
defaultValue_default
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-UBAHTE4Q.js";
|
|
38
38
|
import {
|
|
39
39
|
Check_default
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-FNCXBBCF.js";
|
|
41
41
|
import {
|
|
42
42
|
__commonJS,
|
|
43
43
|
__require,
|
|
44
44
|
__toESM,
|
|
45
45
|
defined_default
|
|
46
|
-
} from "./chunk-
|
|
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.
|
|
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-
|
|
29
|
+
} from "./chunk-LFUFGHL3.js";
|
|
30
30
|
import {
|
|
31
31
|
createTaskProcessorWorker_default
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-OARMSJUU.js";
|
|
33
33
|
import {
|
|
34
34
|
OrientedBoundingBox_default
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-GSLKQJM2.js";
|
|
36
36
|
import {
|
|
37
37
|
AttributeCompression_default
|
|
38
|
-
} from "./chunk-
|
|
39
|
-
import "./chunk-
|
|
40
|
-
import "./chunk-
|
|
41
|
-
import "./chunk-
|
|
42
|
-
import "./chunk-
|
|
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-
|
|
45
|
+
} from "./chunk-BMFWWTD7.js";
|
|
46
46
|
import {
|
|
47
47
|
BoundingSphere_default
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-B6IJY6AN.js";
|
|
49
49
|
import {
|
|
50
50
|
Rectangle_default
|
|
51
|
-
} from "./chunk-
|
|
52
|
-
import "./chunk-
|
|
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-
|
|
58
|
+
} from "./chunk-KRVALCCI.js";
|
|
59
59
|
import {
|
|
60
60
|
Math_default
|
|
61
|
-
} from "./chunk-
|
|
62
|
-
import "./chunk-
|
|
63
|
-
import "./chunk-
|
|
64
|
-
import "./chunk-
|
|
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-
|
|
68
|
+
} from "./chunk-FNCXBBCF.js";
|
|
69
69
|
import {
|
|
70
70
|
defined_default
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-OGRXNUR2.js";
|
|
72
72
|
|
|
73
73
|
// packages/engine/Source/Core/Intersections2D.js
|
|
74
74
|
var Intersections2D = {};
|
package/Source/Core/Check.d.ts
CHANGED
|
@@ -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
|
-
|
|
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
|
-
|
|
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
|
/**
|
package/Source/Core/Ion.js
CHANGED
|
@@ -4,7 +4,7 @@ import Resource from "./Resource.js";
|
|
|
4
4
|
|
|
5
5
|
let defaultTokenCredit;
|
|
6
6
|
const defaultAccessToken =
|
|
7
|
-
"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.
|
|
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
|
|
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 >
|
|
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 ?
|
|
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 ?
|
|
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 ?
|
|
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
|
|
788
|
-
|
|
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,
|