@hztxi/cesium-engine 25.0.6 → 26.2.1
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-2GJAWJJT.js +1344 -0
- package/Build/Workers/chunk-2J2VS5RI.js +288 -0
- package/Build/Workers/chunk-2NCNUVAT.js +56 -0
- package/Build/Workers/chunk-2ZYRUVVU.js +301 -0
- package/Build/Workers/chunk-36IU7N4V.js +1284 -0
- package/Build/Workers/chunk-375SHKGW.js +44 -0
- package/Build/Workers/chunk-3BDLET5S.js +198 -0
- package/Build/Workers/chunk-3PRHI4KX.js +241 -0
- package/Build/Workers/chunk-3R6E2SH4.js +672 -0
- package/Build/Workers/chunk-3ZKKXEXL.js +415 -0
- package/Build/Workers/chunk-47KVKPTO.js +415 -0
- package/Build/Workers/chunk-4N227IPR.js +973 -0
- package/Build/Workers/chunk-4P6OAPBM.js +97 -0
- package/Build/Workers/chunk-4ZOLEPZK.js +519 -0
- package/Build/Workers/chunk-5EF3WWQG.js +352 -0
- package/Build/Workers/chunk-5FYUSABU.js +945 -0
- package/Build/Workers/chunk-5I76476T.js +288 -0
- package/Build/Workers/chunk-5PBZKBAP.js +511 -0
- package/Build/Workers/chunk-5RVAAW26.js +82 -0
- package/Build/Workers/chunk-5VWK76PO.js +511 -0
- package/Build/Workers/chunk-5WU37CUJ.js +630 -0
- package/Build/Workers/chunk-6EBDN5WS.js +97 -0
- package/Build/Workers/chunk-75HIWCEV.js +301 -0
- package/Build/Workers/chunk-77DBX23X.js +455 -0
- package/Build/Workers/chunk-7AMVPXZY.js +1992 -0
- package/Build/Workers/chunk-7BMDD6SM.js +124 -0
- package/Build/Workers/chunk-7GQOWCSN.js +959 -0
- package/Build/Workers/chunk-7J2ONMKC.js +198 -0
- package/Build/Workers/chunk-7MHUHXZZ.js +219 -0
- package/Build/Workers/chunk-7MQPHOAS.js +455 -0
- package/Build/Workers/chunk-7NJ5O7TP.js +387 -0
- package/Build/Workers/chunk-7OME2OKM.js +171 -0
- package/Build/Workers/chunk-7Y642MCO.js +352 -0
- package/Build/Workers/chunk-7ZFKBLUE.js +1054 -0
- package/Build/Workers/chunk-A2BROW3D.js +352 -0
- package/Build/Workers/chunk-A7LGY5XS.js +140 -0
- package/Build/Workers/chunk-AN2NVYL6.js +1483 -0
- package/Build/Workers/chunk-B4XOVZGA.js +476 -0
- package/Build/Workers/chunk-B7PT2VL5.js +630 -0
- package/Build/Workers/chunk-C6XQGBPV.js +476 -0
- package/Build/Workers/chunk-CAEC5DA2.js +57 -0
- package/Build/Workers/chunk-CBCOHH5O.js +837 -0
- package/Build/Workers/chunk-CDLPLYLV.js +1287 -0
- package/Build/Workers/chunk-CEKCKPFN.js +368 -0
- package/Build/Workers/chunk-CEMXKBQO.js +1800 -0
- package/Build/Workers/chunk-CHMDKP5L.js +2342 -0
- package/Build/Workers/chunk-CKW3STKA.js +1067 -0
- package/Build/Workers/chunk-CV5RICKT.js +1992 -0
- package/Build/Workers/chunk-CWGB3D4Z.js +257 -0
- package/Build/Workers/chunk-DBWSISJT.js +56 -0
- package/Build/Workers/chunk-DQEUGBGA.js +2719 -0
- package/Build/Workers/chunk-DSBSPPPJ.js +1344 -0
- package/Build/Workers/chunk-DSGLDRTI.js +278 -0
- package/Build/Workers/chunk-DUBE5G2H.js +497 -0
- package/Build/Workers/chunk-DXD7OPSP.js +1992 -0
- package/Build/Workers/chunk-DXECZBSA.js +368 -0
- package/Build/Workers/chunk-DZIRO6ZK.js +682 -0
- package/Build/Workers/chunk-E4CRPGX5.js +140 -0
- package/Build/Workers/chunk-E4IVMEBH.js +52 -0
- package/Build/Workers/chunk-E4PBNWWK.js +58 -0
- package/Build/Workers/chunk-E5MWOMVC.js +57 -0
- package/Build/Workers/chunk-ECN3VUMA.js +73 -0
- package/Build/Workers/chunk-ECSKVHUB.js +476 -0
- package/Build/Workers/chunk-EE3XBOQI.js +1483 -0
- package/Build/Workers/chunk-EHA2ZDPZ.js +415 -0
- package/Build/Workers/chunk-EKEKPAJF.js +454 -0
- package/Build/Workers/chunk-EL4B5CSQ.js +162 -0
- package/Build/Workers/chunk-EOHKUXPX.js +198 -0
- package/Build/Workers/chunk-ERENMHG2.js +754 -0
- package/Build/Workers/chunk-ESQGFRLZ.js +163 -0
- package/Build/Workers/chunk-FAYBQGKO.js +219 -0
- package/Build/Workers/chunk-FGCXPEZM.js +3201 -0
- package/Build/Workers/chunk-FHCRXPA6.js +44 -0
- package/Build/Workers/chunk-FQ42MT7M.js +58 -0
- package/Build/Workers/chunk-FQDYQG4P.js +1284 -0
- package/Build/Workers/chunk-FTCBY5HH.js +138 -0
- package/Build/Workers/chunk-FV4OWDV4.js +9230 -0
- package/Build/Workers/chunk-FYRNNQSL.js +280 -0
- package/Build/Workers/chunk-GI5RWJAY.js +101 -0
- package/Build/Workers/chunk-GNLMSDRO.js +945 -0
- package/Build/Workers/chunk-GVUJ6O3R.js +73 -0
- package/Build/Workers/chunk-HCGU7OCG.js +97 -0
- package/Build/Workers/chunk-HRIPVWSC.js +58 -0
- package/Build/Workers/chunk-IC3BR6SC.js +102 -0
- package/Build/Workers/chunk-IU3YAYPT.js +1344 -0
- package/Build/Workers/chunk-J7MZR7B2.js +1483 -0
- package/Build/Workers/chunk-JMF4ATAS.js +3794 -0
- package/Build/Workers/chunk-KEJKMITY.js +82 -0
- package/Build/Workers/chunk-KSIEJYNL.js +3822 -0
- package/Build/Workers/chunk-KT3GG7AW.js +754 -0
- package/Build/Workers/chunk-KW2QZDUS.js +147 -0
- package/Build/Workers/chunk-KYCEM22I.js +1800 -0
- package/Build/Workers/chunk-L6B5XPBL.js +73 -0
- package/Build/Workers/chunk-LGJXN2VP.js +352 -0
- package/Build/Workers/chunk-LJTQW46H.js +57 -0
- package/Build/Workers/chunk-LMQGYJME.js +672 -0
- package/Build/Workers/chunk-LOBYJQA4.js +76 -0
- package/Build/Workers/chunk-LOF32O7F.js +163 -0
- package/Build/Workers/chunk-LOTIJA7D.js +124 -0
- package/Build/Workers/chunk-LY2UG3HV.js +38 -0
- package/Build/Workers/chunk-M7Z3MPAX.js +973 -0
- package/Build/Workers/chunk-MHNLTQHO.js +3201 -0
- package/Build/Workers/chunk-ML7OMD72.js +2342 -0
- package/Build/Workers/chunk-NBTGXEMT.js +945 -0
- package/Build/Workers/chunk-NCPJBP24.js +140 -0
- package/Build/Workers/chunk-NFY5V6MR.js +102 -0
- package/Build/Workers/chunk-NQZC37F7.js +38 -0
- package/Build/Workers/chunk-O3X3D2Z3.js +352 -0
- package/Build/Workers/chunk-OBUIHPKF.js +352 -0
- package/Build/Workers/chunk-OYPSUED3.js +1067 -0
- package/Build/Workers/chunk-PAEWNYIV.js +138 -0
- package/Build/Workers/chunk-PANJ7YH6.js +102 -0
- package/Build/Workers/chunk-PCL3Y7H5.js +82 -0
- package/Build/Workers/chunk-PIIUGRQD.js +387 -0
- package/Build/Workers/chunk-POKD22OT.js +2719 -0
- package/Build/Workers/chunk-PQMA7MFS.js +9237 -0
- package/Build/Workers/chunk-PURIPUSY.js +682 -0
- package/Build/Workers/chunk-QIOOTLWN.js +56 -0
- package/Build/Workers/chunk-QQZPPXY4.js +3822 -0
- package/Build/Workers/chunk-QUPRALOD.js +101 -0
- package/Build/Workers/chunk-QXLQLGL2.js +1067 -0
- package/Build/Workers/chunk-RBEVHHXK.js +3201 -0
- package/Build/Workers/chunk-RC4YC3VU.js +278 -0
- package/Build/Workers/chunk-RGNNWVR6.js +171 -0
- package/Build/Workers/chunk-RHO5HV52.js +305 -0
- package/Build/Workers/chunk-SBBIEHYT.js +44 -0
- package/Build/Workers/chunk-SVCZUP5R.js +837 -0
- package/Build/Workers/chunk-SWVZTU6X.js +305 -0
- package/Build/Workers/chunk-T3EUPM5A.js +454 -0
- package/Build/Workers/chunk-TA6IU2XL.js +171 -0
- package/Build/Workers/chunk-TBHW5UME.js +973 -0
- package/Build/Workers/chunk-TLSGD5TR.js +280 -0
- package/Build/Workers/chunk-TOXDLWKZ.js +368 -0
- package/Build/Workers/chunk-TPOX6IOR.js +1054 -0
- package/Build/Workers/chunk-TZBM6TAB.js +124 -0
- package/Build/Workers/chunk-U2OY6MX6.js +398 -0
- package/Build/Workers/chunk-UCY4B5EV.js +288 -0
- package/Build/Workers/chunk-ULNBTI6R.js +138 -0
- package/Build/Workers/chunk-UMUS2AQQ.js +398 -0
- package/Build/Workers/chunk-UZ7GTP2L.js +162 -0
- package/Build/Workers/chunk-V52FEPCV.js +754 -0
- package/Build/Workers/chunk-VBEXZBG5.js +147 -0
- package/Build/Workers/chunk-VC76B6GM.js +959 -0
- package/Build/Workers/chunk-VCUOYHWC.js +519 -0
- package/Build/Workers/chunk-VJIL5H6K.js +2719 -0
- package/Build/Workers/chunk-VMF7KOGY.js +162 -0
- package/Build/Workers/chunk-W3C7OHXF.js +387 -0
- package/Build/Workers/chunk-W5OCKMPJ.js +101 -0
- package/Build/Workers/chunk-WB5GWYDP.js +455 -0
- package/Build/Workers/chunk-WN6MAL25.js +682 -0
- package/Build/Workers/chunk-WTR7KMQA.js +693 -0
- package/Build/Workers/chunk-WTTFMU3P.js +241 -0
- package/Build/Workers/chunk-WULONJZC.js +1800 -0
- package/Build/Workers/chunk-WZPMAVTV.js +511 -0
- package/Build/Workers/chunk-XHT5SVP4.js +52 -0
- package/Build/Workers/chunk-XITBARMZ.js +2342 -0
- package/Build/Workers/chunk-XLQZNQ4Z.js +163 -0
- package/Build/Workers/chunk-XZ6HDXKM.js +76 -0
- package/Build/Workers/chunk-Y7KVUJEB.js +219 -0
- package/Build/Workers/chunk-Y7NDFEQ3.js +398 -0
- package/Build/Workers/chunk-YBBQDYX2.js +301 -0
- package/Build/Workers/chunk-YHPYPVAB.js +837 -0
- package/Build/Workers/chunk-YNKK6BXY.js +454 -0
- package/Build/Workers/chunk-YRAJ74HR.js +305 -0
- package/Build/Workers/chunk-YULTZK5O.js +147 -0
- package/Build/Workers/chunk-YUNQYP3Z.js +9237 -0
- package/Build/Workers/chunk-Z6JV4DZG.js +1046 -0
- package/Build/Workers/chunk-Z7BONRW2.js +241 -0
- package/Build/Workers/chunk-ZK2R3DEJ.js +1054 -0
- package/Build/Workers/chunk-ZTK5EBUI.js +76 -0
- package/Build/Workers/chunk-ZZPDORJK.js +56 -0
- package/Build/Workers/combineGeometry.js +24 -24
- package/Build/Workers/createBoxGeometry.js +18 -18
- package/Build/Workers/createBoxOutlineGeometry.js +18 -18
- package/Build/Workers/createCircleGeometry.js +26 -26
- package/Build/Workers/createCircleOutlineGeometry.js +19 -19
- package/Build/Workers/createCoplanarPolygonGeometry.js +39 -39
- package/Build/Workers/createCoplanarPolygonOutlineGeometry.js +33 -33
- package/Build/Workers/createCorridorGeometry.js +36 -37
- package/Build/Workers/createCorridorOutlineGeometry.js +34 -35
- package/Build/Workers/createCylinderGeometry.js +20 -20
- package/Build/Workers/createCylinderOutlineGeometry.js +20 -20
- 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 +20 -20
- package/Build/Workers/createGeometry.js +25 -24
- package/Build/Workers/createGroundPolylineGeometry.js +98 -34
- package/Build/Workers/createMvtTile.js +111 -19
- package/Build/Workers/createPlaneGeometry.js +18 -18
- package/Build/Workers/createPlaneOutlineGeometry.js +17 -17
- package/Build/Workers/createPolygonGeometry.js +36 -36
- package/Build/Workers/createPolygonOutlineGeometry.js +33 -33
- package/Build/Workers/createPolylineGeometry.js +28 -28
- package/Build/Workers/createPolylineVolumeGeometry.js +38 -36
- package/Build/Workers/createPolylineVolumeOutlineGeometry.js +32 -31
- package/Build/Workers/createRectangleGeometry.js +29 -29
- package/Build/Workers/createRectangleOutlineGeometry.js +23 -23
- package/Build/Workers/createSimplePolylineGeometry.js +26 -26
- 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 +26 -26
- package/Build/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js +23 -23
- package/Build/Workers/createVerticesFromHeightmap.js +23 -23
- package/Build/Workers/createVerticesFromQuantizedTerrainMesh.js +21 -21
- package/Build/Workers/createWallGeometry.js +26 -26
- package/Build/Workers/createWallOutlineGeometry.js +26 -26
- package/Build/Workers/decodeDraco.js +10 -10
- package/Build/Workers/decodeGoogleEarthEnterprisePacket.js +993 -2334
- 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 +23 -23
- package/Build/Workers/upsampleVerticesFromCesium3DTilesTerrain.js +26 -26
- package/Source/Core/ArcGISTiledElevationTerrainProvider.js +1 -5
- package/Source/Core/BoundingRectangle.js +6 -8
- package/Source/Core/BoundingSphere.js +0 -3
- package/Source/Core/Cartesian2.js +1 -1
- package/Source/Core/Cartesian3.js +1 -1
- package/Source/Core/Cartesian4.js +1 -1
- package/Source/Core/Cesium3DTilesTerrainGeometryProcessor.js +3 -4
- package/Source/Core/Color.js +1 -0
- package/Source/Core/ComponentDatatype.js +35 -0
- package/Source/Core/CoplanarPolygonGeometry.js +2 -2
- package/Source/Core/CorridorGeometry.js +2 -4
- package/Source/Core/CorridorOutlineGeometry.js +1 -3
- package/Source/Core/EarthOrientationParameters.js +2 -2
- package/Source/Core/EllipseGeometryLibrary.js +2 -2
- package/Source/Core/EllipsoidGeodesic.js +3 -3
- package/Source/Core/EllipsoidRhumbLine.js +1 -1
- package/Source/Core/GroundPolylineGeometry.js +99 -4
- package/Source/Core/Heap.js +1 -1
- package/Source/Core/HermitePolynomialApproximation.js +215 -179
- package/Source/Core/InterpolationAlgorithm.js +58 -50
- package/Source/Core/Ion.js +1 -1
- package/Source/Core/JulianDate.js +1 -1
- package/Source/Core/LagrangePolynomialApproximation.js +55 -52
- package/Source/Core/LinearApproximation.js +69 -66
- package/Source/Core/MapProjection.js +1 -0
- package/Source/Core/Math.js +59 -0
- package/Source/Core/Matrix2.js +3 -3
- package/Source/Core/Matrix3.js +3 -3
- package/Source/Core/Matrix4.js +1 -1
- package/Source/Core/OrthographicFrustum.js +1 -1
- package/Source/Core/PerspectiveFrustum.js +1 -1
- package/Source/Core/PolygonGeometry.js +2 -2
- package/Source/Core/PolygonGeometryLibrary.js +1 -1
- package/Source/Core/PolygonOutlineGeometry.js +1 -1
- package/Source/Core/PolylineGeometry.js +1 -1
- package/Source/Core/PolylinePipeline.js +9 -2
- package/Source/Core/PolylineVolumeGeometryLibrary.js +1 -1
- package/Source/Core/Rectangle.js +7 -1
- package/Source/Core/RectangleOutlineGeometry.js +1 -1
- package/Source/Core/Resource.js +1 -1
- package/Source/Core/ScreenSpaceEventHandler.js +51 -41
- package/Source/Core/SimplePolylineGeometry.js +1 -1
- package/Source/Core/TerrainEncoding.js +2 -2
- package/Source/Core/TerrainMesh.js +3 -3
- package/Source/Core/TerrainPicker.js +180 -168
- package/Source/Core/TimeIntervalCollection.js +1 -3
- package/Source/Core/Tipsify.js +1 -1
- package/Source/Core/Transforms.js +5 -1
- package/Source/Core/VectorPipeline.js +1117 -0
- package/Source/Core/VectorProvider.js +429 -0
- package/Source/Core/WallOutlineGeometry.js +1 -1
- package/Source/Core/createColorRamp.js +37 -0
- package/Source/Core/getTimestamp.js +4 -2
- package/Source/Core/globalTypes.js +25 -0
- package/Source/Core/writeTextToCanvas.js +1 -0
- package/Source/DataSources/CompositeEntityCollection.js +0 -1
- package/Source/DataSources/CzmlDataSource.js +14 -0
- package/Source/DataSources/DataSourceDisplay.js +1 -1
- package/Source/DataSources/GeoJsonDataSource.js +0 -1
- package/Source/DataSources/GeometryVisualizer.js +1 -1
- package/Source/DataSources/KmlDataSource.js +529 -557
- package/Source/DataSources/PathGraphics.js +8 -1
- package/Source/DataSources/PathMode.js +27 -0
- package/Source/DataSources/PathVisualizer.js +298 -1
- package/Source/DataSources/PolylineGeometryUpdater.js +125 -7
- package/Source/DataSources/PolylineVisualizer.js +1 -1
- package/Source/DataSources/StaticOutlineGeometryBatch.js +1 -1
- package/Source/Renderer/AutomaticUniforms.js +23 -0
- package/Source/Renderer/Context.js +9 -3
- package/Source/Renderer/DrawCommand.js +22 -0
- package/Source/Renderer/Framebuffer.js +4 -0
- package/Source/Renderer/Pass.js +11 -9
- package/Source/Renderer/Texture.js +12 -1
- package/Source/Renderer/UniformState.js +7 -0
- package/Source/Renderer/VertexArray.js +1 -1
- package/Source/Renderer/createUniform.js +346 -239
- package/Source/Renderer/createUniformArray.js +494 -381
- package/Source/Scene/ArcGisMapServerImageryProvider.js +0 -5
- package/Source/Scene/ArcGisMapService.js +1 -1
- package/Source/Scene/Billboard.js +2 -1
- package/Source/Scene/BillboardCollection.js +15 -5
- package/Source/Scene/BillboardTexture.js +5 -3
- package/Source/Scene/BufferPointCollection.js +11 -1
- package/Source/Scene/BufferPolygonCollection.js +26 -0
- package/Source/Scene/BufferPolylineCollection.js +2 -0
- package/Source/Scene/BufferPrimitiveCollection.js +105 -32
- package/Source/Scene/Camera.js +137 -8
- package/Source/Scene/CameraEventAggregator.js +30 -18
- package/Source/Scene/CameraFlightPath.js +17 -0
- package/Source/Scene/Cesium3DTile.js +102 -4
- package/Source/Scene/Cesium3DTileContent.js +195 -254
- package/Source/Scene/Cesium3DTileContentFactory.js +10 -2
- package/Source/Scene/Cesium3DTileOptimizations.js +4 -6
- package/Source/Scene/Cesium3DTileStyle.js +40 -0
- package/Source/Scene/Cesium3DTileset.js +213 -8
- package/Source/Scene/Cesium3DTilesetTraversal.js +14 -0
- package/Source/Scene/ClippingPlaneCollection.js +4 -4
- package/Source/Scene/ClippingPolygon.js +2 -0
- package/Source/Scene/ClippingPolygonCollection.js +2 -2
- package/Source/Scene/ColumbusWorlds.js +190 -0
- package/Source/Scene/Composite3DTileContent.js +254 -292
- package/Source/Scene/Controllers/Controller.js +63 -0
- package/Source/Scene/Controllers/ControllerHost.js +78 -0
- package/Source/Scene/Controllers/HybridScreenSpacePanCameraController.js +106 -0
- package/Source/Scene/Controllers/MouseButton.js +32 -0
- package/Source/Scene/Controllers/ScreenSpaceElevatorCameraController.js +295 -0
- package/Source/Scene/Controllers/ScreenSpaceInputBindings.js +154 -0
- package/Source/Scene/Controllers/ScreenSpaceMapCameraController.js +310 -0
- package/Source/Scene/Controllers/ScreenSpaceTiltOrbitCameraController.js +642 -0
- package/Source/Scene/Controllers/ScreenSpaceZoomCameraController.js +431 -0
- package/Source/Scene/Controllers/defaultPickWorldPosition.js +84 -0
- package/Source/Scene/DerivedCommand.js +98 -0
- package/Source/Scene/EdgeDisplayMode.js +50 -0
- package/Source/Scene/EdgeFramebuffer.js +1 -5
- package/Source/Scene/Empty3DTileContent.js +100 -132
- package/Source/Scene/Expression.js +6 -8
- package/Source/Scene/FrameState.js +27 -0
- package/Source/Scene/GaussianSplat3DTileContent.js +436 -478
- package/Source/Scene/GeoJsonPrimitive.js +874 -0
- package/Source/Scene/Geometry3DTileContent.js +151 -185
- package/Source/Scene/Globe.js +110 -22
- package/Source/Scene/GlobeDepth.js +243 -6
- package/Source/Scene/GlobeSurfaceShaderSet.js +637 -540
- package/Source/Scene/GlobeSurfaceTile.js +575 -398
- package/Source/Scene/GlobeSurfaceTileProvider.js +2289 -1842
- package/Source/Scene/GltfBufferViewLoader.js +3 -3
- package/Source/Scene/GltfLoader.js +146 -3
- 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/GltfSpzLoader.js +1 -1
- package/Source/Scene/GltfVertexBufferLoader.js +6 -3
- package/Source/Scene/GroundPolylinePrimitive.js +2 -1
- package/Source/Scene/I3SDataProvider.js +1 -1
- package/Source/Scene/I3SLayer.js +1 -1
- package/Source/Scene/I3SNode.js +2 -2
- package/Source/Scene/ImageryLayer.js +2 -2
- package/Source/Scene/ImageryLayerCollection.js +190 -6
- package/Source/Scene/Implicit3DTileContent.js +192 -216
- package/Source/Scene/ImplicitTileCoordinates.js +17 -0
- package/Source/Scene/IonImageryProvider.js +1 -5
- package/Source/Scene/Label.js +4 -4
- package/Source/Scene/LabelCollection.js +4 -1
- package/Source/Scene/MVTDataProvider.js +555 -0
- package/Source/Scene/Material.js +1 -0
- package/Source/Scene/Model/B3dmLoader.js +1 -2
- package/Source/Scene/Model/EdgeVisibilityPipelineStage.js +82 -312
- package/Source/Scene/Model/Extensions/Gpm/GltfGpmLoader.js +4 -0
- package/Source/Scene/Model/I3dmLoader.js +1 -1
- package/Source/Scene/Model/InstancingPipelineStage.js +4 -7
- package/Source/Scene/Model/MaterialPipelineStage.js +124 -1
- package/Source/Scene/Model/Model.js +45 -10
- package/Source/Scene/Model/Model3DTileContent.js +424 -458
- package/Source/Scene/Model/ModelClippingPlanesPipelineStage.js +28 -1
- package/Source/Scene/Model/ModelDrawCommand.js +180 -8
- package/Source/Scene/Model/ModelDrawCommands.js +4 -0
- package/Source/Scene/Model/ModelSceneGraph.js +21 -0
- package/Source/Scene/Model/ModelUtility.js +5 -0
- package/Source/Scene/Model/PickingPipelineStage.js +29 -0
- package/Source/Scene/Model/PrimitiveRenderResources.js +24 -0
- package/Source/Scene/Model/createVectorTileBuffersFromModelComponents.js +645 -153
- package/Source/Scene/ModelComponents.js +112 -0
- package/Source/Scene/Multiple3DTileContent.js +291 -334
- package/Source/Scene/MvtLabelCandidates.js +295 -0
- package/Source/Scene/MvtLabelManager.js +1069 -0
- package/Source/Scene/Picking.js +19 -3
- package/Source/Scene/PlanarFillIdFramebuffer.js +172 -0
- package/Source/Scene/PntsParser.js +1 -1
- package/Source/Scene/Polyline.js +32 -5
- package/Source/Scene/PolylineCollection.js +39 -0
- package/Source/Scene/PostProcessStage.js +4 -2
- package/Source/Scene/Primitive.js +12 -13
- package/Source/Scene/PrimitivePipeline.js +158 -28
- package/Source/Scene/QuadtreePrimitive.js +3 -2
- package/Source/Scene/ResourceCache.js +7 -4
- package/Source/Scene/ResourceCacheKey.js +21 -18
- package/Source/Scene/Scene.js +655 -6
- package/Source/Scene/SceneTransforms.js +18 -0
- package/Source/Scene/ScreenSpaceCameraController.js +12 -3
- package/Source/Scene/ShadowMap.js +9 -3
- package/Source/Scene/ShadowMapShader.js +50 -2
- package/Source/Scene/SnapFramebuffer.js +121 -0
- package/Source/Scene/Snapping.js +184 -0
- package/Source/Scene/TerrainFillMesh.js +3 -2
- package/Source/Scene/Tileset3DTileContent.js +113 -146
- package/Source/Scene/UrlTemplate3DTilesDataProvider.js +543 -0
- package/Source/Scene/Vector3DTileContent.js +207 -237
- package/Source/Scene/VectorGltf3DTileContent.js +185 -45
- package/Source/Scene/View.js +10 -8
- package/Source/Scene/VoxelPrimitive.js +159 -175
- package/Source/Scene/VoxelProvider.js +64 -91
- package/Source/Scene/VoxelTraversal.js +1 -1
- package/Source/Scene/buildVectorGltfFromMVT.js +1208 -0
- package/Source/Scene/buildVoxelCustomShader.js +199 -0
- package/Source/Scene/createElevationBandMaterial.js +1 -1
- package/Source/Scene/decodeMVT.js +877 -0
- package/Source/Scene/findMeshoptExtension.js +23 -0
- package/Source/Scene/renderBufferPointCollection.js +114 -64
- package/Source/Scene/renderBufferPolygonCollection.js +245 -53
- package/Source/Scene/renderBufferPolylineCollection.js +271 -145
- package/Source/Shaders/BillboardCollectionVS.glsl +23 -25
- package/Source/Shaders/BillboardCollectionVS.js +23 -25
- package/Source/Shaders/BufferPointMaterialFS.glsl +1 -0
- package/Source/Shaders/BufferPointMaterialFS.js +1 -0
- package/Source/Shaders/BufferPointMaterialVS.glsl +19 -9
- package/Source/Shaders/BufferPointMaterialVS.js +20 -10
- package/Source/Shaders/BufferPolygonMaterialFS.glsl +13 -0
- package/Source/Shaders/BufferPolygonMaterialFS.js +13 -0
- package/Source/Shaders/BufferPolygonMaterialVS.glsl +22 -4
- package/Source/Shaders/BufferPolygonMaterialVS.js +23 -5
- package/Source/Shaders/BufferPolylineMaterialVS.glsl +16 -2
- package/Source/Shaders/BufferPolylineMaterialVS.js +17 -3
- package/Source/Shaders/Builtin/Constants/passCesium3DTile.glsl +1 -1
- package/Source/Shaders/Builtin/Constants/passCesium3DTile.js +1 -1
- package/Source/Shaders/Builtin/Constants/passCesium3DTileClassification.glsl +1 -1
- package/Source/Shaders/Builtin/Constants/passCesium3DTileClassification.js +1 -1
- package/Source/Shaders/Builtin/Constants/passCesium3DTileClassificationIgnoreShow.glsl +1 -1
- package/Source/Shaders/Builtin/Constants/passCesium3DTileClassificationIgnoreShow.js +1 -1
- package/Source/Shaders/Builtin/Constants/passCesium3DTileEdgesDirect.glsl +9 -0
- package/Source/Shaders/Builtin/Constants/passCesium3DTileEdgesDirect.js +11 -0
- package/Source/Shaders/Builtin/Constants/passCesium3DTilePlanarFillId.glsl +9 -0
- package/Source/Shaders/Builtin/Constants/passCesium3DTilePlanarFillId.js +11 -0
- package/Source/Shaders/Builtin/Constants/passClassification.glsl +1 -1
- package/Source/Shaders/Builtin/Constants/passClassification.js +1 -1
- package/Source/Shaders/Builtin/Constants/passGaussianSplats.glsl +1 -1
- package/Source/Shaders/Builtin/Constants/passGaussianSplats.js +1 -1
- package/Source/Shaders/Builtin/Constants/passOpaque.glsl +1 -1
- package/Source/Shaders/Builtin/Constants/passOpaque.js +1 -1
- package/Source/Shaders/Builtin/Constants/passOverlay.glsl +1 -1
- package/Source/Shaders/Builtin/Constants/passOverlay.js +1 -1
- package/Source/Shaders/Builtin/Constants/passTranslucent.glsl +1 -1
- package/Source/Shaders/Builtin/Constants/passTranslucent.js +1 -1
- package/Source/Shaders/Builtin/Constants/passVoxels.glsl +1 -1
- package/Source/Shaders/Builtin/Constants/passVoxels.js +1 -1
- package/Source/Shaders/Builtin/CzmBuiltins.js +4 -0
- package/Source/Shaders/GlobeFS.glsl +10 -6
- package/Source/Shaders/GlobeFS.js +10 -6
- package/Source/Shaders/Materials/PolylineGlowMaterial.glsl +1 -1
- package/Source/Shaders/Materials/PolylineGlowMaterial.js +1 -1
- package/Source/Shaders/Model/EdgeVisibilityStageVS.glsl +0 -1
- package/Source/Shaders/Model/EdgeVisibilityStageVS.js +0 -1
- package/Source/Shaders/Model/MaterialStageFS.glsl +8 -2
- package/Source/Shaders/Model/MaterialStageFS.js +8 -2
- package/Source/Shaders/Model/ModelFS.glsl +105 -0
- package/Source/Shaders/Model/ModelFS.js +105 -0
- package/Source/Shaders/PolylineShadowVolumeFS.glsl +14 -0
- package/Source/Shaders/PolylineShadowVolumeFS.js +14 -0
- package/Source/Shaders/RestoreDepth.glsl +8 -0
- package/Source/Shaders/RestoreDepth.js +10 -0
- package/Source/Shaders/VectorCommon.glsl +178 -0
- package/Source/Shaders/VectorCommon.js +180 -0
- package/Source/ThirdParty/zip-module.wasm +0 -0
- package/Source/Widget/CesiumWidget.js +30 -0
- package/Source/Workers/createMvtTile.js +39 -0
- package/Source/Workers/decodeGoogleEarthEnterprisePacket.js +2 -2
- package/Source/Workers/incrementallyBuildTerrainPicker.js +2 -0
- package/index.d.ts +535 -1393
- package/index.js +125 -93
- package/package.json +13 -13
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
-
* Version 1.
|
|
4
|
+
* Version 1.144.1
|
|
5
5
|
*
|
|
6
6
|
* Copyright 2011-2022 Cesium Contributors
|
|
7
7
|
*
|
|
@@ -25,26 +25,26 @@
|
|
|
25
25
|
|
|
26
26
|
import {
|
|
27
27
|
EllipsoidGeometry_default
|
|
28
|
-
} from "./chunk-
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
31
|
-
import "./chunk-
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./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-
|
|
28
|
+
} from "./chunk-5PBZKBAP.js";
|
|
29
|
+
import "./chunk-NQZC37F7.js";
|
|
30
|
+
import "./chunk-PAEWNYIV.js";
|
|
31
|
+
import "./chunk-A7LGY5XS.js";
|
|
32
|
+
import "./chunk-FHCRXPA6.js";
|
|
33
|
+
import "./chunk-36IU7N4V.js";
|
|
34
|
+
import "./chunk-DBWSISJT.js";
|
|
35
|
+
import "./chunk-2ZYRUVVU.js";
|
|
36
|
+
import "./chunk-YUNQYP3Z.js";
|
|
37
|
+
import "./chunk-MHNLTQHO.js";
|
|
38
|
+
import "./chunk-RC4YC3VU.js";
|
|
39
|
+
import "./chunk-B7PT2VL5.js";
|
|
40
|
+
import "./chunk-HRIPVWSC.js";
|
|
41
|
+
import "./chunk-CV5RICKT.js";
|
|
42
|
+
import "./chunk-XITBARMZ.js";
|
|
43
|
+
import "./chunk-4ZOLEPZK.js";
|
|
44
|
+
import "./chunk-LOF32O7F.js";
|
|
45
45
|
import {
|
|
46
46
|
defined_default
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-5RVAAW26.js";
|
|
48
48
|
|
|
49
49
|
// packages/engine/Source/Workers/createEllipsoidGeometry.js
|
|
50
50
|
function createEllipsoidGeometry(ellipsoidGeometry, offset) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
-
* Version 1.
|
|
4
|
+
* Version 1.144.1
|
|
5
5
|
*
|
|
6
6
|
* Copyright 2011-2022 Cesium Contributors
|
|
7
7
|
*
|
|
@@ -25,25 +25,25 @@
|
|
|
25
25
|
|
|
26
26
|
import {
|
|
27
27
|
EllipsoidOutlineGeometry_default
|
|
28
|
-
} from "./chunk-
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
31
|
-
import "./chunk-
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./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-
|
|
28
|
+
} from "./chunk-TOXDLWKZ.js";
|
|
29
|
+
import "./chunk-NQZC37F7.js";
|
|
30
|
+
import "./chunk-A7LGY5XS.js";
|
|
31
|
+
import "./chunk-FHCRXPA6.js";
|
|
32
|
+
import "./chunk-36IU7N4V.js";
|
|
33
|
+
import "./chunk-DBWSISJT.js";
|
|
34
|
+
import "./chunk-2ZYRUVVU.js";
|
|
35
|
+
import "./chunk-YUNQYP3Z.js";
|
|
36
|
+
import "./chunk-MHNLTQHO.js";
|
|
37
|
+
import "./chunk-RC4YC3VU.js";
|
|
38
|
+
import "./chunk-B7PT2VL5.js";
|
|
39
|
+
import "./chunk-HRIPVWSC.js";
|
|
40
|
+
import "./chunk-CV5RICKT.js";
|
|
41
|
+
import "./chunk-XITBARMZ.js";
|
|
42
|
+
import "./chunk-4ZOLEPZK.js";
|
|
43
|
+
import "./chunk-LOF32O7F.js";
|
|
44
44
|
import {
|
|
45
45
|
defined_default
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-5RVAAW26.js";
|
|
47
47
|
|
|
48
48
|
// packages/engine/Source/Workers/createEllipsoidOutlineGeometry.js
|
|
49
49
|
function createEllipsoidOutlineGeometry(ellipsoidGeometry, offset) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
-
* Version 1.
|
|
4
|
+
* Version 1.144.1
|
|
5
5
|
*
|
|
6
6
|
* Copyright 2011-2022 Cesium Contributors
|
|
7
7
|
*
|
|
@@ -25,25 +25,25 @@
|
|
|
25
25
|
|
|
26
26
|
import {
|
|
27
27
|
FrustumGeometry_default
|
|
28
|
-
} from "./chunk-
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
31
|
-
import "./chunk-
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./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-
|
|
28
|
+
} from "./chunk-AN2NVYL6.js";
|
|
29
|
+
import "./chunk-PAEWNYIV.js";
|
|
30
|
+
import "./chunk-TA6IU2XL.js";
|
|
31
|
+
import "./chunk-FHCRXPA6.js";
|
|
32
|
+
import "./chunk-36IU7N4V.js";
|
|
33
|
+
import "./chunk-DBWSISJT.js";
|
|
34
|
+
import "./chunk-2ZYRUVVU.js";
|
|
35
|
+
import "./chunk-YUNQYP3Z.js";
|
|
36
|
+
import "./chunk-MHNLTQHO.js";
|
|
37
|
+
import "./chunk-RC4YC3VU.js";
|
|
38
|
+
import "./chunk-B7PT2VL5.js";
|
|
39
|
+
import "./chunk-HRIPVWSC.js";
|
|
40
|
+
import "./chunk-CV5RICKT.js";
|
|
41
|
+
import "./chunk-XITBARMZ.js";
|
|
42
|
+
import "./chunk-4ZOLEPZK.js";
|
|
43
|
+
import "./chunk-LOF32O7F.js";
|
|
44
44
|
import {
|
|
45
45
|
defined_default
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-5RVAAW26.js";
|
|
47
47
|
|
|
48
48
|
// packages/engine/Source/Workers/createFrustumGeometry.js
|
|
49
49
|
function createFrustumGeometry(frustumGeometry, offset) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
-
* Version 1.
|
|
4
|
+
* Version 1.144.1
|
|
5
5
|
*
|
|
6
6
|
* Copyright 2011-2022 Cesium Contributors
|
|
7
7
|
*
|
|
@@ -27,41 +27,41 @@ import {
|
|
|
27
27
|
FrustumGeometry_default,
|
|
28
28
|
OrthographicFrustum_default,
|
|
29
29
|
PerspectiveFrustum_default
|
|
30
|
-
} from "./chunk-
|
|
31
|
-
import "./chunk-
|
|
32
|
-
import "./chunk-
|
|
30
|
+
} from "./chunk-AN2NVYL6.js";
|
|
31
|
+
import "./chunk-PAEWNYIV.js";
|
|
32
|
+
import "./chunk-TA6IU2XL.js";
|
|
33
33
|
import {
|
|
34
34
|
GeometryAttributes_default
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-FHCRXPA6.js";
|
|
36
|
+
import {
|
|
37
|
+
BoundingSphere_default
|
|
38
|
+
} from "./chunk-36IU7N4V.js";
|
|
39
|
+
import "./chunk-DBWSISJT.js";
|
|
36
40
|
import {
|
|
37
41
|
GeometryAttribute_default,
|
|
38
42
|
Geometry_default,
|
|
39
43
|
PrimitiveType_default
|
|
40
|
-
} from "./chunk-
|
|
41
|
-
import {
|
|
42
|
-
BoundingSphere_default
|
|
43
|
-
} from "./chunk-37WL527K.js";
|
|
44
|
-
import "./chunk-XAVNBZQ6.js";
|
|
44
|
+
} from "./chunk-2ZYRUVVU.js";
|
|
45
45
|
import {
|
|
46
46
|
Quaternion_default
|
|
47
|
-
} from "./chunk-
|
|
48
|
-
import "./chunk-
|
|
47
|
+
} from "./chunk-YUNQYP3Z.js";
|
|
48
|
+
import "./chunk-MHNLTQHO.js";
|
|
49
49
|
import {
|
|
50
50
|
ComponentDatatype_default
|
|
51
|
-
} from "./chunk-
|
|
52
|
-
import "./chunk-
|
|
53
|
-
import "./chunk-
|
|
54
|
-
import "./chunk-
|
|
51
|
+
} from "./chunk-RC4YC3VU.js";
|
|
52
|
+
import "./chunk-B7PT2VL5.js";
|
|
53
|
+
import "./chunk-HRIPVWSC.js";
|
|
54
|
+
import "./chunk-CV5RICKT.js";
|
|
55
55
|
import {
|
|
56
56
|
Cartesian3_default
|
|
57
|
-
} from "./chunk-
|
|
58
|
-
import "./chunk-
|
|
57
|
+
} from "./chunk-XITBARMZ.js";
|
|
58
|
+
import "./chunk-4ZOLEPZK.js";
|
|
59
59
|
import {
|
|
60
60
|
Check_default
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-LOF32O7F.js";
|
|
62
62
|
import {
|
|
63
63
|
defined_default
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-5RVAAW26.js";
|
|
65
65
|
|
|
66
66
|
// packages/engine/Source/Core/FrustumOutlineGeometry.js
|
|
67
67
|
var PERSPECTIVE = 0;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
-
* Version 1.
|
|
4
|
+
* Version 1.144.1
|
|
5
5
|
*
|
|
6
6
|
* Copyright 2011-2022 Cesium Contributors
|
|
7
7
|
*
|
|
@@ -25,37 +25,37 @@
|
|
|
25
25
|
|
|
26
26
|
import {
|
|
27
27
|
PrimitivePipeline_default
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-GNLMSDRO.js";
|
|
29
29
|
import {
|
|
30
30
|
createTaskProcessorWorker_default
|
|
31
|
-
} from "./chunk-
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./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-
|
|
31
|
+
} from "./chunk-GI5RWJAY.js";
|
|
32
|
+
import "./chunk-VBEXZBG5.js";
|
|
33
|
+
import "./chunk-VJIL5H6K.js";
|
|
34
|
+
import "./chunk-T3EUPM5A.js";
|
|
35
|
+
import "./chunk-IC3BR6SC.js";
|
|
36
|
+
import "./chunk-DSBSPPPJ.js";
|
|
37
|
+
import "./chunk-TA6IU2XL.js";
|
|
38
|
+
import "./chunk-A7LGY5XS.js";
|
|
39
|
+
import "./chunk-FHCRXPA6.js";
|
|
40
|
+
import "./chunk-36IU7N4V.js";
|
|
41
|
+
import "./chunk-DBWSISJT.js";
|
|
42
|
+
import "./chunk-2ZYRUVVU.js";
|
|
43
|
+
import "./chunk-YUNQYP3Z.js";
|
|
44
|
+
import "./chunk-MHNLTQHO.js";
|
|
45
|
+
import "./chunk-RC4YC3VU.js";
|
|
46
|
+
import "./chunk-B7PT2VL5.js";
|
|
47
|
+
import "./chunk-HRIPVWSC.js";
|
|
48
|
+
import "./chunk-CV5RICKT.js";
|
|
49
|
+
import "./chunk-XITBARMZ.js";
|
|
50
|
+
import "./chunk-4ZOLEPZK.js";
|
|
51
51
|
import {
|
|
52
52
|
DeveloperError_default
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-LOF32O7F.js";
|
|
54
54
|
import {
|
|
55
55
|
__glob,
|
|
56
56
|
__require,
|
|
57
57
|
defined_default
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-5RVAAW26.js";
|
|
59
59
|
|
|
60
60
|
// import("./**/*.js") in packages/engine/Source/Workers/createGeometry.js
|
|
61
61
|
var globImport_js = __glob({
|
|
@@ -78,6 +78,7 @@ var globImport_js = __glob({
|
|
|
78
78
|
"./createFrustumOutlineGeometry.js": () => import("./createFrustumOutlineGeometry.js"),
|
|
79
79
|
"./createGeometry.js": () => import("./createGeometry.js"),
|
|
80
80
|
"./createGroundPolylineGeometry.js": () => import("./createGroundPolylineGeometry.js"),
|
|
81
|
+
"./createMvtTile.js": () => import("./createMvtTile.js"),
|
|
81
82
|
"./createPlaneGeometry.js": () => import("./createPlaneGeometry.js"),
|
|
82
83
|
"./createPlaneOutlineGeometry.js": () => import("./createPlaneOutlineGeometry.js"),
|
|
83
84
|
"./createPolygonGeometry.js": () => import("./createPolygonGeometry.js"),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
-
* Version 1.
|
|
4
|
+
* Version 1.144.1
|
|
5
5
|
*
|
|
6
6
|
* Copyright 2011-2022 Cesium Contributors
|
|
7
7
|
*
|
|
@@ -25,72 +25,72 @@
|
|
|
25
25
|
|
|
26
26
|
import {
|
|
27
27
|
VerticalExaggeration_default
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-LOBYJQA4.js";
|
|
29
29
|
import {
|
|
30
30
|
WebMercatorProjection_default
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-VBEXZBG5.js";
|
|
32
32
|
import {
|
|
33
33
|
ArcType_default
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-2NCNUVAT.js";
|
|
35
35
|
import {
|
|
36
36
|
EncodedCartesian3_default
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-IC3BR6SC.js";
|
|
38
38
|
import {
|
|
39
39
|
EllipsoidGeodesic_default
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-7Y642MCO.js";
|
|
41
41
|
import {
|
|
42
42
|
arrayRemoveDuplicates_default
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-4P6OAPBM.js";
|
|
44
44
|
import {
|
|
45
45
|
EllipsoidRhumbLine_default
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-7MQPHOAS.js";
|
|
47
47
|
import {
|
|
48
48
|
IntersectionTests_default
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-DSBSPPPJ.js";
|
|
50
50
|
import {
|
|
51
51
|
Plane_default
|
|
52
|
-
} from "./chunk-
|
|
53
|
-
import {
|
|
54
|
-
GeometryAttribute_default,
|
|
55
|
-
Geometry_default
|
|
56
|
-
} from "./chunk-HRWFO57T.js";
|
|
52
|
+
} from "./chunk-TA6IU2XL.js";
|
|
57
53
|
import {
|
|
58
54
|
BoundingSphere_default,
|
|
59
55
|
GeographicProjection_default
|
|
60
|
-
} from "./chunk-
|
|
61
|
-
import "./chunk-
|
|
56
|
+
} from "./chunk-36IU7N4V.js";
|
|
57
|
+
import "./chunk-DBWSISJT.js";
|
|
58
|
+
import {
|
|
59
|
+
GeometryAttribute_default,
|
|
60
|
+
Geometry_default
|
|
61
|
+
} from "./chunk-2ZYRUVVU.js";
|
|
62
62
|
import {
|
|
63
63
|
Quaternion_default,
|
|
64
64
|
Rectangle_default,
|
|
65
65
|
Resource_default,
|
|
66
66
|
buildModuleUrl_default
|
|
67
|
-
} from "./chunk-
|
|
68
|
-
import "./chunk-
|
|
67
|
+
} from "./chunk-YUNQYP3Z.js";
|
|
68
|
+
import "./chunk-MHNLTQHO.js";
|
|
69
69
|
import {
|
|
70
70
|
ComponentDatatype_default
|
|
71
|
-
} from "./chunk-
|
|
72
|
-
import "./chunk-
|
|
73
|
-
import "./chunk-
|
|
71
|
+
} from "./chunk-RC4YC3VU.js";
|
|
72
|
+
import "./chunk-B7PT2VL5.js";
|
|
73
|
+
import "./chunk-HRIPVWSC.js";
|
|
74
74
|
import {
|
|
75
75
|
Cartesian2_default,
|
|
76
76
|
Cartographic_default,
|
|
77
77
|
Ellipsoid_default
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-CV5RICKT.js";
|
|
79
79
|
import {
|
|
80
80
|
Cartesian3_default,
|
|
81
81
|
Frozen_default,
|
|
82
82
|
Matrix3_default
|
|
83
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-XITBARMZ.js";
|
|
84
84
|
import {
|
|
85
85
|
Math_default
|
|
86
|
-
} from "./chunk-
|
|
86
|
+
} from "./chunk-4ZOLEPZK.js";
|
|
87
87
|
import {
|
|
88
88
|
Check_default,
|
|
89
89
|
DeveloperError_default
|
|
90
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-LOF32O7F.js";
|
|
91
91
|
import {
|
|
92
92
|
defined_default
|
|
93
|
-
} from "./chunk-
|
|
93
|
+
} from "./chunk-5RVAAW26.js";
|
|
94
94
|
|
|
95
95
|
// packages/engine/Source/Core/GeographicTilingScheme.js
|
|
96
96
|
var GeographicTilingScheme = class {
|
|
@@ -482,6 +482,7 @@ function GroundPolylineGeometry(options) {
|
|
|
482
482
|
this._projectionIndex = 0;
|
|
483
483
|
this._workerName = "createGroundPolylineGeometry";
|
|
484
484
|
this._scene3DOnly = false;
|
|
485
|
+
this._columbusRepeatWorlds = false;
|
|
485
486
|
this._verticalExaggeration = options.verticalExaggeration ?? 1;
|
|
486
487
|
this._verticalExaggerationRelativeHeight = options.verticalExaggerationRelativeHeight ?? 0;
|
|
487
488
|
}
|
|
@@ -495,11 +496,11 @@ Object.defineProperties(GroundPolylineGeometry.prototype, {
|
|
|
495
496
|
*/
|
|
496
497
|
packedLength: {
|
|
497
498
|
get: function() {
|
|
498
|
-
return 1 + this._positions.length * 3 + 1 + 1 + 1 + Ellipsoid_default.packedLength + 1 + 1 + 1 + 1;
|
|
499
|
+
return 1 + this._positions.length * 3 + 1 + 1 + 1 + Ellipsoid_default.packedLength + 1 + 1 + 1 + 1 + 1;
|
|
499
500
|
}
|
|
500
501
|
}
|
|
501
502
|
});
|
|
502
|
-
GroundPolylineGeometry.setProjectionAndEllipsoid = function(groundPolylineGeometry, mapProjection) {
|
|
503
|
+
GroundPolylineGeometry.setProjectionAndEllipsoid = function(groundPolylineGeometry, mapProjection, columbusRepeatWorlds) {
|
|
503
504
|
let projectionIndex = 0;
|
|
504
505
|
for (let i = 0; i < PROJECTION_COUNT; i++) {
|
|
505
506
|
if (mapProjection instanceof PROJECTIONS[i]) {
|
|
@@ -509,6 +510,7 @@ GroundPolylineGeometry.setProjectionAndEllipsoid = function(groundPolylineGeomet
|
|
|
509
510
|
}
|
|
510
511
|
groundPolylineGeometry._projectionIndex = projectionIndex;
|
|
511
512
|
groundPolylineGeometry._ellipsoid = mapProjection.ellipsoid;
|
|
513
|
+
groundPolylineGeometry._columbusRepeatWorlds = columbusRepeatWorlds === true;
|
|
512
514
|
};
|
|
513
515
|
var cart3Scratch1 = new Cartesian3_default();
|
|
514
516
|
var cart3Scratch2 = new Cartesian3_default();
|
|
@@ -609,6 +611,7 @@ GroundPolylineGeometry.pack = function(value, array, startingIndex) {
|
|
|
609
611
|
array[index++] = value._scene3DOnly ? 1 : 0;
|
|
610
612
|
array[index++] = value._verticalExaggeration;
|
|
611
613
|
array[index++] = value._verticalExaggerationRelativeHeight;
|
|
614
|
+
array[index] = value._columbusRepeatWorlds ? 1 : 0;
|
|
612
615
|
return array;
|
|
613
616
|
};
|
|
614
617
|
GroundPolylineGeometry.unpack = function(array, startingIndex, result) {
|
|
@@ -629,6 +632,7 @@ GroundPolylineGeometry.unpack = function(array, startingIndex, result) {
|
|
|
629
632
|
const scene3DOnly = array[index++] === 1;
|
|
630
633
|
const verticalExaggeration = array[index++];
|
|
631
634
|
const verticalExaggerationRelativeHeight = array[index++];
|
|
635
|
+
const columbusRepeatWorlds = array[index] === 1;
|
|
632
636
|
if (!defined_default(result)) {
|
|
633
637
|
result = new GroundPolylineGeometry({
|
|
634
638
|
positions
|
|
@@ -643,6 +647,7 @@ GroundPolylineGeometry.unpack = function(array, startingIndex, result) {
|
|
|
643
647
|
result._scene3DOnly = scene3DOnly;
|
|
644
648
|
result._verticalExaggeration = verticalExaggeration;
|
|
645
649
|
result._verticalExaggerationRelativeHeight = verticalExaggerationRelativeHeight;
|
|
650
|
+
result._columbusRepeatWorlds = columbusRepeatWorlds;
|
|
646
651
|
return result;
|
|
647
652
|
};
|
|
648
653
|
function direction(target, origin, result) {
|
|
@@ -984,7 +989,8 @@ GroundPolylineGeometry.createGeometry = function(groundPolylineGeometry) {
|
|
|
984
989
|
cartographicsArray,
|
|
985
990
|
compute2dAttributes,
|
|
986
991
|
groundPolylineGeometry._verticalExaggeration,
|
|
987
|
-
groundPolylineGeometry._verticalExaggerationRelativeHeight
|
|
992
|
+
groundPolylineGeometry._verticalExaggerationRelativeHeight,
|
|
993
|
+
groundPolylineGeometry._columbusRepeatWorlds
|
|
988
994
|
);
|
|
989
995
|
};
|
|
990
996
|
var lineDirectionScratch = new Cartesian3_default();
|
|
@@ -1111,6 +1117,43 @@ function nudgeCartographic(start, end) {
|
|
|
1111
1117
|
}
|
|
1112
1118
|
var startCartographicScratch = new Cartographic_default();
|
|
1113
1119
|
var endCartographicScratch = new Cartographic_default();
|
|
1120
|
+
var worldWidthCartographicScratch = new Cartographic_default(Math.PI, 0, 0);
|
|
1121
|
+
var worldWidthCartesianScratch = new Cartesian3_default();
|
|
1122
|
+
function getProjectedWorldWidth(projection) {
|
|
1123
|
+
const projected = projection.project(
|
|
1124
|
+
worldWidthCartographicScratch,
|
|
1125
|
+
worldWidthCartesianScratch
|
|
1126
|
+
);
|
|
1127
|
+
return Math.abs(projected.x) * 2;
|
|
1128
|
+
}
|
|
1129
|
+
function createWorldCopyState(worldWidth) {
|
|
1130
|
+
return {
|
|
1131
|
+
worldWidth,
|
|
1132
|
+
halfWidth: worldWidth * 0.5,
|
|
1133
|
+
lift: 0,
|
|
1134
|
+
previousEndX: 0,
|
|
1135
|
+
started: false
|
|
1136
|
+
};
|
|
1137
|
+
}
|
|
1138
|
+
function liftToWorldCopy2D(start2D, end2D, state) {
|
|
1139
|
+
if (state.worldWidth <= 0) {
|
|
1140
|
+
return;
|
|
1141
|
+
}
|
|
1142
|
+
const startX = start2D.x;
|
|
1143
|
+
const endX = end2D.x;
|
|
1144
|
+
if (state.started) {
|
|
1145
|
+
const jump = startX - state.previousEndX;
|
|
1146
|
+
if (jump > state.halfWidth) {
|
|
1147
|
+
state.lift -= state.worldWidth;
|
|
1148
|
+
} else if (jump < -state.halfWidth) {
|
|
1149
|
+
state.lift += state.worldWidth;
|
|
1150
|
+
}
|
|
1151
|
+
}
|
|
1152
|
+
start2D.x = startX + state.lift;
|
|
1153
|
+
end2D.x = endX + state.lift;
|
|
1154
|
+
state.previousEndX = endX;
|
|
1155
|
+
state.started = true;
|
|
1156
|
+
}
|
|
1114
1157
|
var segmentStartTopScratch = new Cartesian3_default();
|
|
1115
1158
|
var segmentEndTopScratch = new Cartesian3_default();
|
|
1116
1159
|
var segmentStartBottomScratch = new Cartesian3_default();
|
|
@@ -1130,6 +1173,8 @@ var segmentStart2DScratch = new Cartesian3_default();
|
|
|
1130
1173
|
var segmentEnd2DScratch = new Cartesian3_default();
|
|
1131
1174
|
var segmentStartNormal2DScratch = new Cartesian3_default();
|
|
1132
1175
|
var segmentEndNormal2DScratch = new Cartesian3_default();
|
|
1176
|
+
var segmentStart2DUnliftedScratch = new Cartesian3_default();
|
|
1177
|
+
var segmentEnd2DUnliftedScratch = new Cartesian3_default();
|
|
1133
1178
|
var offsetScratch = new Cartesian3_default();
|
|
1134
1179
|
var startUpScratch = new Cartesian3_default();
|
|
1135
1180
|
var endUpScratch = new Cartesian3_default();
|
|
@@ -1187,7 +1232,7 @@ var REFERENCE_INDICES = [
|
|
|
1187
1232
|
// top
|
|
1188
1233
|
];
|
|
1189
1234
|
var REFERENCE_INDICES_LENGTH = REFERENCE_INDICES.length;
|
|
1190
|
-
function generateGeometryAttributes(loop, projection, bottomPositionsArray, topPositionsArray, normalsArray, cartographicsArray, compute2dAttributes, verticalExaggeration, verticalExaggerationRelativeHeight) {
|
|
1235
|
+
function generateGeometryAttributes(loop, projection, bottomPositionsArray, topPositionsArray, normalsArray, cartographicsArray, compute2dAttributes, verticalExaggeration, verticalExaggerationRelativeHeight, columbusRepeatWorlds) {
|
|
1191
1236
|
let i;
|
|
1192
1237
|
let index;
|
|
1193
1238
|
const ellipsoid = projection._ellipsoid;
|
|
@@ -1216,6 +1261,7 @@ function generateGeometryAttributes(loop, projection, bottomPositionsArray, topP
|
|
|
1216
1261
|
startEndNormals2D = new Float32Array(arraySizeVec4);
|
|
1217
1262
|
texcoordNormalization2D = new Float32Array(vertexCount * 2);
|
|
1218
1263
|
}
|
|
1264
|
+
const worldWidth = columbusRepeatWorlds ? getProjectedWorldWidth(projection) : 0;
|
|
1219
1265
|
const cartographicsLength = cartographicsArray.length / 2;
|
|
1220
1266
|
let length2D = 0;
|
|
1221
1267
|
const startCartographic = startCartographicScratch;
|
|
@@ -1226,11 +1272,15 @@ function generateGeometryAttributes(loop, projection, bottomPositionsArray, topP
|
|
|
1226
1272
|
let segmentEndCartesian = segmentEndTopScratch;
|
|
1227
1273
|
if (compute2dAttributes) {
|
|
1228
1274
|
index = 0;
|
|
1275
|
+
const worldCopyState2 = createWorldCopyState(worldWidth);
|
|
1229
1276
|
for (i = 1; i < cartographicsLength; i++) {
|
|
1230
1277
|
startCartographic.latitude = cartographicsArray[index];
|
|
1231
1278
|
startCartographic.longitude = cartographicsArray[index + 1];
|
|
1232
1279
|
endCartographic.latitude = cartographicsArray[index + 2];
|
|
1233
1280
|
endCartographic.longitude = cartographicsArray[index + 3];
|
|
1281
|
+
if (worldWidth > 0) {
|
|
1282
|
+
nudgeCartographic(startCartographic, endCartographic);
|
|
1283
|
+
}
|
|
1234
1284
|
segmentStartCartesian = projection.project(
|
|
1235
1285
|
startCartographic,
|
|
1236
1286
|
segmentStartCartesian
|
|
@@ -1239,6 +1289,11 @@ function generateGeometryAttributes(loop, projection, bottomPositionsArray, topP
|
|
|
1239
1289
|
endCartographic,
|
|
1240
1290
|
segmentEndCartesian
|
|
1241
1291
|
);
|
|
1292
|
+
liftToWorldCopy2D(
|
|
1293
|
+
segmentStartCartesian,
|
|
1294
|
+
segmentEndCartesian,
|
|
1295
|
+
worldCopyState2
|
|
1296
|
+
);
|
|
1242
1297
|
length2D += Cartesian3_default.distance(
|
|
1243
1298
|
segmentStartCartesian,
|
|
1244
1299
|
segmentEndCartesian
|
|
@@ -1301,6 +1356,7 @@ function generateGeometryAttributes(loop, projection, bottomPositionsArray, topP
|
|
|
1301
1356
|
let lengthSoFar3D = 0;
|
|
1302
1357
|
let lengthSoFar2D = 0;
|
|
1303
1358
|
let sumHeights = 0;
|
|
1359
|
+
const worldCopyState = createWorldCopyState(worldWidth);
|
|
1304
1360
|
for (i = 0; i < segmentCount; i++) {
|
|
1305
1361
|
const startBottom = Cartesian3_default.clone(endBottom, segmentStartBottomScratch);
|
|
1306
1362
|
const startTop = Cartesian3_default.clone(endTop, segmentStartTopScratch);
|
|
@@ -1332,12 +1388,20 @@ function generateGeometryAttributes(loop, projection, bottomPositionsArray, topP
|
|
|
1332
1388
|
endCartographic.longitude = cartographicsArray[cartographicsIndex + 3];
|
|
1333
1389
|
let start2D;
|
|
1334
1390
|
let end2D;
|
|
1391
|
+
let start2DUnlifted;
|
|
1392
|
+
let end2DUnlifted;
|
|
1335
1393
|
let startGeometryNormal2D;
|
|
1336
1394
|
let endGeometryNormal2D;
|
|
1337
1395
|
if (compute2dAttributes) {
|
|
1338
1396
|
const nudgeResult = nudgeCartographic(startCartographic, endCartographic);
|
|
1339
1397
|
start2D = projection.project(startCartographic, segmentStart2DScratch);
|
|
1340
1398
|
end2D = projection.project(endCartographic, segmentEnd2DScratch);
|
|
1399
|
+
start2DUnlifted = Cartesian3_default.clone(
|
|
1400
|
+
start2D,
|
|
1401
|
+
segmentStart2DUnliftedScratch
|
|
1402
|
+
);
|
|
1403
|
+
end2DUnlifted = Cartesian3_default.clone(end2D, segmentEnd2DUnliftedScratch);
|
|
1404
|
+
liftToWorldCopy2D(start2D, end2D, worldCopyState);
|
|
1341
1405
|
const direction2D = direction(end2D, start2D, forwardOffset2DScratch);
|
|
1342
1406
|
direction2D.y = Math.abs(direction2D.y);
|
|
1343
1407
|
startGeometryNormal2D = segmentStartNormal2DScratch;
|
|
@@ -1347,14 +1411,14 @@ function generateGeometryAttributes(loop, projection, bottomPositionsArray, topP
|
|
|
1347
1411
|
projection,
|
|
1348
1412
|
startCartographic,
|
|
1349
1413
|
startGeometryNormal,
|
|
1350
|
-
|
|
1414
|
+
start2DUnlifted,
|
|
1351
1415
|
segmentStartNormal2DScratch
|
|
1352
1416
|
);
|
|
1353
1417
|
endGeometryNormal2D = projectNormal(
|
|
1354
1418
|
projection,
|
|
1355
1419
|
endCartographic,
|
|
1356
1420
|
endGeometryNormal,
|
|
1357
|
-
|
|
1421
|
+
end2DUnlifted,
|
|
1358
1422
|
segmentEndNormal2DScratch
|
|
1359
1423
|
);
|
|
1360
1424
|
} else if (nudgeResult === 1) {
|
|
@@ -1362,7 +1426,7 @@ function generateGeometryAttributes(loop, projection, bottomPositionsArray, topP
|
|
|
1362
1426
|
projection,
|
|
1363
1427
|
endCartographic,
|
|
1364
1428
|
endGeometryNormal,
|
|
1365
|
-
|
|
1429
|
+
end2DUnlifted,
|
|
1366
1430
|
segmentEndNormal2DScratch
|
|
1367
1431
|
);
|
|
1368
1432
|
startGeometryNormal2D.x = 0;
|
|
@@ -1375,7 +1439,7 @@ function generateGeometryAttributes(loop, projection, bottomPositionsArray, topP
|
|
|
1375
1439
|
projection,
|
|
1376
1440
|
startCartographic,
|
|
1377
1441
|
startGeometryNormal,
|
|
1378
|
-
|
|
1442
|
+
start2DUnlifted,
|
|
1379
1443
|
segmentStartNormal2DScratch
|
|
1380
1444
|
);
|
|
1381
1445
|
endGeometryNormal2D.x = 0;
|