@cesium/engine 26.0.0 → 26.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Build/Workers/{chunk-EF2QYXGA.js → chunk-2EFYUSUY.js} +14 -14
- package/Build/Workers/{chunk-KFSTQKNM.js → chunk-5LSOO2KD.js} +7 -7
- package/Build/Workers/{chunk-VQYETPWC.js → chunk-6HK6IXK2.js} +4 -4
- package/Build/Workers/{chunk-AYKR4VBR.js → chunk-6YR6JBMY.js} +2 -2
- package/Build/Workers/{chunk-DOBXCNC3.js → chunk-76FDC45O.js} +13 -13
- package/Build/Workers/{chunk-54I6Y66F.js → chunk-7D2HZKH7.js} +6 -6
- package/Build/Workers/{chunk-4MGMYHOO.js → chunk-7KVKHY7O.js} +6 -6
- package/Build/Workers/{chunk-IRBKFCEJ.js → chunk-A3O6EDBK.js} +2 -2
- package/Build/Workers/{chunk-V7VQKN6N.js → chunk-A6X24AZI.js} +5 -5
- package/Build/Workers/{chunk-ZP7JMQV4.js → chunk-AHWAZRBV.js} +6 -2
- package/Build/Workers/{chunk-YLY7NKAB.js → chunk-B4CQSLZJ.js} +4 -4
- package/Build/Workers/{chunk-J6BWOHUF.js → chunk-C7JQVRLM.js} +3 -3
- package/Build/Workers/{chunk-KSSWJIZW.js → chunk-CDJDJ5LK.js} +2 -2
- package/Build/Workers/{chunk-G7PXZRVF.js → chunk-CEEZE3YZ.js} +7 -7
- package/Build/Workers/{chunk-INUEEEQA.js → chunk-CLCTQVVL.js} +8 -8
- package/Build/Workers/{chunk-O3EA5HS7.js → chunk-DBD5WWG2.js} +10 -10
- package/Build/Workers/{chunk-E7VQ76KE.js → chunk-DIGUUD6G.js} +6 -6
- package/Build/Workers/{chunk-424RNO3D.js → chunk-E7NZJOK7.js} +196 -22
- package/Build/Workers/{chunk-ACXQXN46.js → chunk-EHTS2YPT.js} +16 -16
- package/Build/Workers/{chunk-VWV2IJRB.js → chunk-ENNFMWDW.js} +11 -11
- package/Build/Workers/{chunk-FRQZECAO.js → chunk-FCP2QY4G.js} +5 -5
- package/Build/Workers/{chunk-ZZ46LWL6.js → chunk-FDK4K5IA.js} +1 -1
- package/Build/Workers/{chunk-C6KNZ7T4.js → chunk-FGQFQHN5.js} +17 -17
- package/Build/Workers/{chunk-MYP774IS.js → chunk-GSWMAFTE.js} +8 -8
- package/Build/Workers/{chunk-Y5BF6AFU.js → chunk-GXWQZBAI.js} +2 -2
- package/Build/Workers/{chunk-DDWSZVMY.js → chunk-HHV3MCGV.js} +5 -5
- package/Build/Workers/{chunk-52JDLOEM.js → chunk-HS6AD4P2.js} +14 -14
- package/Build/Workers/{chunk-Q3PY526V.js → chunk-IGAZBTFZ.js} +6 -6
- package/Build/Workers/{chunk-EBSIOBXY.js → chunk-ILME5BXA.js} +8 -8
- package/Build/Workers/{chunk-C6J67V5A.js → chunk-JKXV6PG5.js} +1 -1
- package/Build/Workers/{chunk-SMQZZOW6.js → chunk-JW6OZT4R.js} +10 -10
- package/Build/Workers/{chunk-F6QDY6HU.js → chunk-KGXSYGBG.js} +13 -13
- package/Build/Workers/{chunk-UOOIQ3KX.js → chunk-LD64RPYV.js} +12 -12
- package/Build/Workers/{chunk-CFQP6LYM.js → chunk-LGNDTZVX.js} +4 -4
- package/Build/Workers/{chunk-U3ZA64U7.js → chunk-LNSQVXFH.js} +2 -2
- package/Build/Workers/{chunk-TKKIREQ6.js → chunk-N7CCOFLX.js} +1 -1
- package/Build/Workers/{chunk-UA25D5MX.js → chunk-NIWITKQK.js} +10 -10
- package/Build/Workers/{chunk-KKOSKAZB.js → chunk-OBEU25PI.js} +17 -17
- package/Build/Workers/{chunk-M3B5JKSM.js → chunk-QVLAFFJY.js} +1 -1
- package/Build/Workers/{chunk-6YEE6JDR.js → chunk-R4FPNAZ2.js} +6 -6
- package/Build/Workers/{chunk-7J2HKPRH.js → chunk-RG4F5R57.js} +9 -9
- package/Build/Workers/{chunk-CXOYE2WM.js → chunk-SF6K72D7.js} +5 -5
- package/Build/Workers/{chunk-CZEYZU4N.js → chunk-SGRGNDOD.js} +10 -10
- package/Build/Workers/{chunk-DBOEKL43.js → chunk-SM2CDCYF.js} +7 -7
- package/Build/Workers/{chunk-Y57HREW5.js → chunk-SS5ABQGY.js} +4 -4
- package/Build/Workers/{chunk-QRWGUWI6.js → chunk-T5QBPLE3.js} +11 -11
- package/Build/Workers/{chunk-ZK3CF7ZD.js → chunk-TVZD72WJ.js} +12 -12
- package/Build/Workers/{chunk-IYOUHCZB.js → chunk-UEY73NRN.js} +1 -1
- package/Build/Workers/{chunk-7WM2PX4V.js → chunk-UVO6COT2.js} +5 -5
- package/Build/Workers/{chunk-P3CK7MCY.js → chunk-VAL7DYNR.js} +4 -4
- package/Build/Workers/{chunk-EPYXRCDB.js → chunk-WBSY7HDY.js} +12 -12
- package/Build/Workers/{chunk-4S7IE3LB.js → chunk-XDWCTQCZ.js} +2 -2
- package/Build/Workers/{chunk-QN67VG36.js → chunk-XLXSDIP5.js} +6 -6
- package/Build/Workers/{chunk-S4MCOY6I.js → chunk-XQ3SKCMM.js} +5 -5
- package/Build/Workers/{chunk-XZMBNNDX.js → chunk-YKU2Q3A2.js} +9 -9
- package/Build/Workers/{chunk-3VFEWOBI.js → chunk-ZMBHFYOX.js} +7 -7
- package/Build/Workers/{chunk-MPZHGZU6.js → chunk-ZSGUV73H.js} +4 -4
- package/Build/Workers/combineGeometry.js +24 -24
- package/Build/Workers/createBoxGeometry.js +18 -18
- package/Build/Workers/createBoxOutlineGeometry.js +16 -16
- package/Build/Workers/createCircleGeometry.js +26 -26
- package/Build/Workers/createCircleOutlineGeometry.js +19 -19
- package/Build/Workers/createCoplanarPolygonGeometry.js +33 -33
- package/Build/Workers/createCoplanarPolygonOutlineGeometry.js +31 -31
- package/Build/Workers/createCorridorGeometry.js +29 -29
- package/Build/Workers/createCorridorOutlineGeometry.js +28 -28
- package/Build/Workers/createCylinderGeometry.js +20 -20
- package/Build/Workers/createCylinderOutlineGeometry.js +18 -18
- package/Build/Workers/createEllipseGeometry.js +26 -26
- package/Build/Workers/createEllipseOutlineGeometry.js +19 -19
- package/Build/Workers/createEllipsoidGeometry.js +19 -19
- package/Build/Workers/createEllipsoidOutlineGeometry.js +18 -18
- package/Build/Workers/createFrustumGeometry.js +18 -18
- package/Build/Workers/createFrustumOutlineGeometry.js +18 -18
- package/Build/Workers/createGeometry.js +24 -24
- package/Build/Workers/createGroundPolylineGeometry.js +22 -22
- package/Build/Workers/createPlaneGeometry.js +16 -16
- package/Build/Workers/createPlaneOutlineGeometry.js +15 -15
- package/Build/Workers/createPolygonGeometry.js +32 -32
- package/Build/Workers/createPolygonOutlineGeometry.js +30 -30
- package/Build/Workers/createPolylineGeometry.js +25 -25
- package/Build/Workers/createPolylineVolumeGeometry.js +31 -31
- package/Build/Workers/createPolylineVolumeOutlineGeometry.js +27 -27
- package/Build/Workers/createRectangleGeometry.js +27 -27
- package/Build/Workers/createRectangleOutlineGeometry.js +20 -20
- package/Build/Workers/createSimplePolylineGeometry.js +23 -23
- package/Build/Workers/createSphereGeometry.js +19 -19
- package/Build/Workers/createSphereOutlineGeometry.js +18 -18
- package/Build/Workers/createTaskProcessorWorker.js +3 -3
- package/Build/Workers/createVectorTileClampedPolylines.js +14 -14
- package/Build/Workers/createVectorTileGeometries.js +24 -24
- package/Build/Workers/createVectorTilePoints.js +13 -13
- package/Build/Workers/createVectorTilePolygons.js +22 -22
- package/Build/Workers/createVectorTilePolylines.js +14 -14
- package/Build/Workers/createVerticesFromCesium3DTilesTerrain.js +25 -25
- package/Build/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js +22 -22
- package/Build/Workers/createVerticesFromHeightmap.js +22 -22
- package/Build/Workers/createVerticesFromQuantizedTerrainMesh.js +20 -20
- package/Build/Workers/createWallGeometry.js +24 -24
- package/Build/Workers/createWallOutlineGeometry.js +23 -23
- package/Build/Workers/decodeDraco.js +10 -10
- package/Build/Workers/decodeGoogleEarthEnterprisePacket.js +987 -2320
- package/Build/Workers/decodeI3S.js +10 -10
- package/Build/Workers/gaussianSplatSorter.js +4 -4
- package/Build/Workers/gaussianSplatTextureGenerator.js +4 -4
- package/Build/Workers/incrementallyBuildTerrainPicker.js +10 -10
- package/Build/Workers/transcodeKTX2.js +6 -6
- package/Build/Workers/transferTypedArrayTest.js +1 -1
- package/Build/Workers/upsampleQuantizedTerrainMesh.js +22 -22
- package/Build/Workers/upsampleVerticesFromCesium3DTilesTerrain.js +25 -25
- package/Source/Core/BoundingRectangle.js +6 -8
- package/Source/Core/Color.js +1 -0
- package/Source/Core/InterpolationAlgorithm.js +57 -50
- package/Source/Core/Ion.js +1 -1
- package/Source/Core/TerrainMesh.js +3 -3
- package/Source/Core/TerrainPicker.js +1 -0
- package/Source/Core/writeTextToCanvas.js +1 -0
- package/Source/DataSources/CzmlDataSource.js +12 -0
- package/Source/DataSources/KmlDataSource.js +528 -555
- package/Source/DataSources/PathGraphics.js +8 -1
- package/Source/DataSources/PathMode.js +27 -0
- package/Source/DataSources/PathVisualizer.js +298 -1
- package/Source/Renderer/Texture.js +1 -1
- package/Source/Renderer/VertexArray.js +1 -0
- package/Source/Scene/ArcGisMapService.js +1 -1
- package/Source/Scene/BillboardTexture.js +5 -3
- package/Source/Scene/Cesium3DTileOptimizations.js +4 -6
- package/Source/Scene/ClippingPlaneCollection.js +2 -2
- package/Source/Scene/ClippingPolygon.js +2 -0
- package/Source/Scene/ClippingPolygonCollection.js +2 -2
- package/Source/Scene/DerivedCommand.js +4 -0
- package/Source/Scene/Expression.js +6 -8
- package/Source/Scene/GlobeSurfaceShaderSet.js +501 -409
- package/Source/Scene/GlobeSurfaceTile.js +540 -401
- package/Source/Scene/GlobeSurfaceTileProvider.js +1259 -1146
- package/Source/Scene/GltfBufferViewLoader.js +3 -3
- package/Source/Scene/GltfLoader.js +1 -0
- package/Source/Scene/GltfLoaderUtil.js +20 -4
- package/Source/Scene/GltfPipeline/forEachTextureInMaterial.js +10 -0
- package/Source/Scene/GltfPipeline/removeUnusedElements.js +21 -11
- package/Source/Scene/ImageryLayer.js +2 -2
- package/Source/Scene/ImageryLayerCollection.js +2 -2
- package/Source/Scene/Material.js +1 -0
- package/Source/Scene/Model/Extensions/Gpm/GltfGpmLoader.js +4 -0
- package/Source/Scene/Model/Model.js +3 -0
- package/Source/Scene/Model/ModelUtility.js +1 -0
- package/Source/Scene/Picking.js +5 -0
- package/Source/Scene/PntsParser.js +1 -0
- package/Source/Scene/QuadtreePrimitive.js +3 -2
- package/Source/Scene/ResourceCacheKey.js +5 -5
- package/Source/Scene/Scene.js +1 -0
- package/Source/Scene/findMeshoptExtension.js +23 -0
- package/Source/Scene/renderBufferPointCollection.js +13 -8
- package/Source/Scene/renderBufferPolygonCollection.js +9 -13
- package/Source/Scene/renderBufferPolylineCollection.js +120 -192
- package/Source/Workers/decodeGoogleEarthEnterprisePacket.js +2 -2
- package/Source/Workers/incrementallyBuildTerrainPicker.js +2 -0
- package/index.d.ts +59 -254
- package/index.js +155 -153
- 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.
|
|
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-
|
|
28
|
+
} from "./chunk-LNSQVXFH.js";
|
|
29
29
|
import {
|
|
30
30
|
Color_default
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-XLXSDIP5.js";
|
|
32
32
|
import {
|
|
33
33
|
createTaskProcessorWorker_default
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-XDWCTQCZ.js";
|
|
35
35
|
import {
|
|
36
36
|
WebMercatorProjection_default
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-7KVKHY7O.js";
|
|
38
38
|
import {
|
|
39
39
|
Cartographic_default,
|
|
40
40
|
Ellipsoid_default
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-A6X24AZI.js";
|
|
42
42
|
import {
|
|
43
43
|
Cartesian3_default,
|
|
44
44
|
Matrix3_default
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-ZSGUV73H.js";
|
|
46
46
|
import {
|
|
47
47
|
Math_default
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-C7JQVRLM.js";
|
|
49
49
|
import {
|
|
50
50
|
Check_default
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-6YR6JBMY.js";
|
|
52
52
|
import {
|
|
53
53
|
__toESM,
|
|
54
54
|
defined_default
|
|
55
|
-
} from "./chunk-
|
|
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.
|
|
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-
|
|
29
|
+
} from "./chunk-FDK4K5IA.js";
|
|
30
30
|
import {
|
|
31
31
|
createTaskProcessorWorker_default
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-XDWCTQCZ.js";
|
|
33
33
|
import {
|
|
34
34
|
defined_default
|
|
35
|
-
} from "./chunk-
|
|
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.
|
|
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-
|
|
29
|
+
} from "./chunk-FDK4K5IA.js";
|
|
30
30
|
import {
|
|
31
31
|
createTaskProcessorWorker_default
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-XDWCTQCZ.js";
|
|
33
33
|
import {
|
|
34
34
|
defined_default
|
|
35
|
-
} from "./chunk-
|
|
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.
|
|
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-
|
|
28
|
+
} from "./chunk-XDWCTQCZ.js";
|
|
29
29
|
import {
|
|
30
30
|
AxisAlignedBoundingBox_default
|
|
31
|
-
} from "./chunk-
|
|
32
|
-
import "./chunk-
|
|
31
|
+
} from "./chunk-HHV3MCGV.js";
|
|
32
|
+
import "./chunk-JKXV6PG5.js";
|
|
33
33
|
import {
|
|
34
34
|
Matrix4_default
|
|
35
|
-
} from "./chunk-
|
|
36
|
-
import "./chunk-
|
|
35
|
+
} from "./chunk-IGAZBTFZ.js";
|
|
36
|
+
import "./chunk-GXWQZBAI.js";
|
|
37
37
|
import {
|
|
38
38
|
Cartesian3_default
|
|
39
|
-
} from "./chunk-
|
|
40
|
-
import "./chunk-
|
|
41
|
-
import "./chunk-
|
|
42
|
-
import "./chunk-
|
|
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.
|
|
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-
|
|
28
|
+
} from "./chunk-XDWCTQCZ.js";
|
|
29
29
|
import {
|
|
30
30
|
WebGLConstants_default
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-N7CCOFLX.js";
|
|
32
32
|
import {
|
|
33
33
|
RuntimeError_default
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-GXWQZBAI.js";
|
|
35
35
|
import {
|
|
36
36
|
Check_default
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-6YR6JBMY.js";
|
|
38
38
|
import {
|
|
39
39
|
__commonJS,
|
|
40
40
|
__require,
|
|
41
41
|
__toESM,
|
|
42
42
|
defined_default
|
|
43
|
-
} from "./chunk-
|
|
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.
|
|
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-
|
|
29
|
+
} from "./chunk-ENNFMWDW.js";
|
|
30
30
|
import {
|
|
31
31
|
createTaskProcessorWorker_default
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-XDWCTQCZ.js";
|
|
33
33
|
import {
|
|
34
34
|
OrientedBoundingBox_default
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-WBSY7HDY.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-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-
|
|
45
|
+
} from "./chunk-XQ3SKCMM.js";
|
|
46
46
|
import {
|
|
47
47
|
BoundingSphere_default
|
|
48
|
-
} from "./chunk-
|
|
49
|
-
import "./chunk-
|
|
48
|
+
} from "./chunk-YKU2Q3A2.js";
|
|
49
|
+
import "./chunk-JKXV6PG5.js";
|
|
50
50
|
import {
|
|
51
51
|
Rectangle_default
|
|
52
|
-
} from "./chunk-
|
|
53
|
-
import "./chunk-
|
|
54
|
-
import "./chunk-
|
|
55
|
-
import "./chunk-
|
|
56
|
-
import "./chunk-
|
|
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-
|
|
61
|
+
} from "./chunk-A6X24AZI.js";
|
|
62
62
|
import {
|
|
63
63
|
Cartesian3_default
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-ZSGUV73H.js";
|
|
65
65
|
import {
|
|
66
66
|
Math_default
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-C7JQVRLM.js";
|
|
68
68
|
import {
|
|
69
69
|
Check_default,
|
|
70
70
|
DeveloperError_default
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-6YR6JBMY.js";
|
|
72
72
|
import {
|
|
73
73
|
defined_default
|
|
74
|
-
} from "./chunk-
|
|
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.
|
|
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-
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
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-
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
37
|
-
import "./chunk-
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import "./chunk-
|
|
40
|
-
import "./chunk-
|
|
41
|
-
import "./chunk-
|
|
42
|
-
import "./chunk-
|
|
43
|
-
import "./chunk-
|
|
44
|
-
import "./chunk-
|
|
45
|
-
import "./chunk-
|
|
46
|
-
import "./chunk-
|
|
47
|
-
import "./chunk-
|
|
48
|
-
import "./chunk-
|
|
49
|
-
import "./chunk-
|
|
50
|
-
import "./chunk-
|
|
51
|
-
import "./chunk-
|
|
52
|
-
import "./chunk-
|
|
53
|
-
import "./chunk-
|
|
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
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
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
|
|
package/Source/Core/Color.js
CHANGED
|
@@ -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
|
|
8
|
+
* @interface
|
|
7
9
|
*
|
|
8
10
|
* @see LagrangePolynomialApproximation
|
|
9
11
|
* @see LinearApproximation
|
|
10
12
|
* @see HermitePolynomialApproximation
|
|
11
13
|
*/
|
|
12
|
-
|
|
14
|
+
class InterpolationAlgorithm {
|
|
15
|
+
/**
|
|
16
|
+
* Gets the name of this interpolation algorithm.
|
|
17
|
+
* @type {string}
|
|
18
|
+
*/
|
|
19
|
+
type;
|
|
13
20
|
|
|
14
|
-
/**
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
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
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
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
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
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;
|
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.eyJqdGkiOiIzNzRjZTkzNC05M2UwLTRlNDItOWU0My1hYjk5YjFiNTNhYTMiLCJpZCI6MjU5LCJzdWIiOiJDZXNpdW1KUyIsImlzcyI6Imh0dHBzOi8vYXBpLmNlc2l1bS5jb20iLCJhdWQiOiIxLjE0MyBSZWxlYXNlIC0gRGVsZXRlIG9uIFNlcHRlbWJlciAxLCAyMDI2IiwiaWF0IjoxNzgyMzY4NzY4fQ.kDcFqK7jTTloOcBbwb-epSQGd1Lu12_hRuqk1XRE_H8";
|
|
8
8
|
/**
|
|
9
9
|
* Default settings for accessing the Cesium ion API.
|
|
10
10
|
*
|
|
@@ -328,7 +328,7 @@ function computeTransform2D(mesh, projection, result) {
|
|
|
328
328
|
* @param {SceneMode} mode The scene mode (3D, 2D, or Columbus View).
|
|
329
329
|
* @param {MapProjection} projection The map projection.
|
|
330
330
|
* @returns {Cartesian3} The point on the mesh where the ray intersects, or undefined if there is no intersection.
|
|
331
|
-
* @
|
|
331
|
+
* @ignore
|
|
332
332
|
*/
|
|
333
333
|
TerrainMesh.prototype.pick = function (ray, cullBackFaces, mode, projection) {
|
|
334
334
|
const intersection = this._terrainPicker.rayIntersect(
|
|
@@ -347,7 +347,7 @@ TerrainMesh.prototype.pick = function (ray, cullBackFaces, mode, projection) {
|
|
|
347
347
|
* Updates the terrain mesh to account for changes in vertical exaggeration.
|
|
348
348
|
* @param {Number} exaggeration A scalar used to exaggerate terrain.
|
|
349
349
|
* @param {Number} exaggerationRelativeHeight The relative height from which terrain is exaggerated.
|
|
350
|
-
* @
|
|
350
|
+
* @ignore
|
|
351
351
|
*/
|
|
352
352
|
TerrainMesh.prototype.updateExaggeration = function (
|
|
353
353
|
exaggeration,
|
|
@@ -363,7 +363,7 @@ TerrainMesh.prototype.updateExaggeration = function (
|
|
|
363
363
|
/**
|
|
364
364
|
* Updates the terrain mesh to account for changes in scene mode.
|
|
365
365
|
* @param {SceneMode} mode The scene mode (3D, 2D, or Columbus View).
|
|
366
|
-
* @
|
|
366
|
+
* @ignore
|
|
367
367
|
*/
|
|
368
368
|
TerrainMesh.prototype.updateSceneMode = function (mode) {
|
|
369
369
|
this._terrainPicker.needsRebuild = true;
|
|
@@ -246,6 +246,7 @@ const scratchAABBMax = new Cartesian3();
|
|
|
246
246
|
* @param {number} y The y coordinate of the node.
|
|
247
247
|
* @param {number} level The level of the node.
|
|
248
248
|
* @returns {AxisAlignedBoundingBox} The axis-aligned bounding box for the node.
|
|
249
|
+
* @ignore
|
|
249
250
|
*/
|
|
250
251
|
function createAABBForNode(x, y, level) {
|
|
251
252
|
const sizeAtLevel = 1.0 / Math.pow(2, level);
|
|
@@ -9,6 +9,7 @@ import DeveloperError from "./DeveloperError.js";
|
|
|
9
9
|
* Rounds metrics, excluding width, to whole pixels. This is purely to minimize
|
|
10
10
|
* rendering differences with migration to in-browser measureText(), and may be
|
|
11
11
|
* revised in the future. See: github.com/CesiumGS/cesium/pull/13081
|
|
12
|
+
* @ignore
|
|
12
13
|
*/
|
|
13
14
|
function measureText(context2D, textString) {
|
|
14
15
|
const metrics = context2D.measureText(textString);
|
|
@@ -65,6 +65,7 @@ import LabelGraphics from "./LabelGraphics.js";
|
|
|
65
65
|
import ModelGraphics from "./ModelGraphics.js";
|
|
66
66
|
import NodeTransformationProperty from "./NodeTransformationProperty.js";
|
|
67
67
|
import PathGraphics from "./PathGraphics.js";
|
|
68
|
+
import PathMode from "./PathMode.js";
|
|
68
69
|
import PointGraphics from "./PointGraphics.js";
|
|
69
70
|
import PolygonGraphics from "./PolygonGraphics.js";
|
|
70
71
|
import PolylineArrowMaterialProperty from "./PolylineArrowMaterialProperty.js";
|
|
@@ -562,6 +563,8 @@ function unwrapInterval(type, czmlInterval, sourceUri) {
|
|
|
562
563
|
return czmlInterval.distanceDisplayCondition;
|
|
563
564
|
case Object:
|
|
564
565
|
return czmlInterval.object ?? czmlInterval.value ?? czmlInterval;
|
|
566
|
+
case PathMode:
|
|
567
|
+
return PathMode[czmlInterval.pathMode ?? czmlInterval];
|
|
565
568
|
case Quaternion:
|
|
566
569
|
return unwrapQuaternionInterval(czmlInterval);
|
|
567
570
|
case Rotation:
|
|
@@ -3654,6 +3657,15 @@ function processPath(entity, packet, entityCollection, sourceUri) {
|
|
|
3654
3657
|
sourceUri,
|
|
3655
3658
|
entityCollection,
|
|
3656
3659
|
);
|
|
3660
|
+
processPacketData(
|
|
3661
|
+
PathMode,
|
|
3662
|
+
path,
|
|
3663
|
+
"materialMode",
|
|
3664
|
+
pathData.materialMode,
|
|
3665
|
+
interval,
|
|
3666
|
+
sourceUri,
|
|
3667
|
+
entityCollection,
|
|
3668
|
+
);
|
|
3657
3669
|
}
|
|
3658
3670
|
|
|
3659
3671
|
function processPoint(entity, packet, entityCollection, sourceUri) {
|