@cveo/dsh-digital-earth 0.0.0-stage → 1.0.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/CHANGELOG.md +19 -0
- package/LICENSE +21 -0
- package/NOTICE +13 -0
- package/README.en.md +124 -0
- package/README.md +124 -3
- package/client.js +2297 -0
- package/cordis.patch.yml +3 -0
- package/icon.svg +7 -0
- package/index.js +590 -0
- package/locale/en.json +6 -0
- package/locale/zh.json +6 -0
- package/package.json +74 -6
- package/preview.png +0 -0
- package/vendor/cesium/Assets/IAU2006_XYS/IAU2006_XYS_0.json +1 -0
- package/vendor/cesium/Assets/IAU2006_XYS/IAU2006_XYS_1.json +1 -0
- package/vendor/cesium/Assets/IAU2006_XYS/IAU2006_XYS_10.json +1 -0
- package/vendor/cesium/Assets/IAU2006_XYS/IAU2006_XYS_11.json +1 -0
- package/vendor/cesium/Assets/IAU2006_XYS/IAU2006_XYS_12.json +1 -0
- package/vendor/cesium/Assets/IAU2006_XYS/IAU2006_XYS_13.json +1 -0
- package/vendor/cesium/Assets/IAU2006_XYS/IAU2006_XYS_14.json +1 -0
- package/vendor/cesium/Assets/IAU2006_XYS/IAU2006_XYS_15.json +1 -0
- package/vendor/cesium/Assets/IAU2006_XYS/IAU2006_XYS_16.json +1 -0
- package/vendor/cesium/Assets/IAU2006_XYS/IAU2006_XYS_17.json +1 -0
- package/vendor/cesium/Assets/IAU2006_XYS/IAU2006_XYS_18.json +1 -0
- package/vendor/cesium/Assets/IAU2006_XYS/IAU2006_XYS_19.json +1 -0
- package/vendor/cesium/Assets/IAU2006_XYS/IAU2006_XYS_2.json +1 -0
- package/vendor/cesium/Assets/IAU2006_XYS/IAU2006_XYS_20.json +1 -0
- package/vendor/cesium/Assets/IAU2006_XYS/IAU2006_XYS_21.json +1 -0
- package/vendor/cesium/Assets/IAU2006_XYS/IAU2006_XYS_22.json +1 -0
- package/vendor/cesium/Assets/IAU2006_XYS/IAU2006_XYS_23.json +1 -0
- package/vendor/cesium/Assets/IAU2006_XYS/IAU2006_XYS_24.json +1 -0
- package/vendor/cesium/Assets/IAU2006_XYS/IAU2006_XYS_25.json +1 -0
- package/vendor/cesium/Assets/IAU2006_XYS/IAU2006_XYS_26.json +1 -0
- package/vendor/cesium/Assets/IAU2006_XYS/IAU2006_XYS_27.json +1 -0
- package/vendor/cesium/Assets/IAU2006_XYS/IAU2006_XYS_3.json +1 -0
- package/vendor/cesium/Assets/IAU2006_XYS/IAU2006_XYS_4.json +1 -0
- package/vendor/cesium/Assets/IAU2006_XYS/IAU2006_XYS_5.json +1 -0
- package/vendor/cesium/Assets/IAU2006_XYS/IAU2006_XYS_6.json +1 -0
- package/vendor/cesium/Assets/IAU2006_XYS/IAU2006_XYS_7.json +1 -0
- package/vendor/cesium/Assets/IAU2006_XYS/IAU2006_XYS_8.json +1 -0
- package/vendor/cesium/Assets/IAU2006_XYS/IAU2006_XYS_9.json +1 -0
- package/vendor/cesium/Assets/Images/bing_maps_credit.png +0 -0
- package/vendor/cesium/Assets/Images/cesium_credit.png +0 -0
- package/vendor/cesium/Assets/Images/google_earth_credit.png +0 -0
- package/vendor/cesium/Assets/Images/ion-credit.png +0 -0
- package/vendor/cesium/Assets/Textures/LensFlare/DirtMask.jpg +0 -0
- package/vendor/cesium/Assets/Textures/LensFlare/StarBurst.jpg +0 -0
- package/vendor/cesium/Assets/Textures/NaturalEarthII/0/0/0.jpg +0 -0
- package/vendor/cesium/Assets/Textures/NaturalEarthII/0/1/0.jpg +0 -0
- package/vendor/cesium/Assets/Textures/NaturalEarthII/1/0/0.jpg +0 -0
- package/vendor/cesium/Assets/Textures/NaturalEarthII/1/0/1.jpg +0 -0
- package/vendor/cesium/Assets/Textures/NaturalEarthII/1/1/0.jpg +0 -0
- package/vendor/cesium/Assets/Textures/NaturalEarthII/1/1/1.jpg +0 -0
- package/vendor/cesium/Assets/Textures/NaturalEarthII/1/2/0.jpg +0 -0
- package/vendor/cesium/Assets/Textures/NaturalEarthII/1/2/1.jpg +0 -0
- package/vendor/cesium/Assets/Textures/NaturalEarthII/1/3/0.jpg +0 -0
- package/vendor/cesium/Assets/Textures/NaturalEarthII/1/3/1.jpg +0 -0
- package/vendor/cesium/Assets/Textures/NaturalEarthII/2/0/0.jpg +0 -0
- package/vendor/cesium/Assets/Textures/NaturalEarthII/2/0/1.jpg +0 -0
- package/vendor/cesium/Assets/Textures/NaturalEarthII/2/0/2.jpg +0 -0
- package/vendor/cesium/Assets/Textures/NaturalEarthII/2/0/3.jpg +0 -0
- package/vendor/cesium/Assets/Textures/NaturalEarthII/2/1/0.jpg +0 -0
- package/vendor/cesium/Assets/Textures/NaturalEarthII/2/1/1.jpg +0 -0
- package/vendor/cesium/Assets/Textures/NaturalEarthII/2/1/2.jpg +0 -0
- package/vendor/cesium/Assets/Textures/NaturalEarthII/2/1/3.jpg +0 -0
- package/vendor/cesium/Assets/Textures/NaturalEarthII/2/2/0.jpg +0 -0
- package/vendor/cesium/Assets/Textures/NaturalEarthII/2/2/1.jpg +0 -0
- package/vendor/cesium/Assets/Textures/NaturalEarthII/2/2/2.jpg +0 -0
- package/vendor/cesium/Assets/Textures/NaturalEarthII/2/2/3.jpg +0 -0
- package/vendor/cesium/Assets/Textures/NaturalEarthII/2/3/0.jpg +0 -0
- package/vendor/cesium/Assets/Textures/NaturalEarthII/2/3/1.jpg +0 -0
- package/vendor/cesium/Assets/Textures/NaturalEarthII/2/3/2.jpg +0 -0
- package/vendor/cesium/Assets/Textures/NaturalEarthII/2/3/3.jpg +0 -0
- package/vendor/cesium/Assets/Textures/NaturalEarthII/2/4/0.jpg +0 -0
- package/vendor/cesium/Assets/Textures/NaturalEarthII/2/4/1.jpg +0 -0
- package/vendor/cesium/Assets/Textures/NaturalEarthII/2/4/2.jpg +0 -0
- package/vendor/cesium/Assets/Textures/NaturalEarthII/2/4/3.jpg +0 -0
- package/vendor/cesium/Assets/Textures/NaturalEarthII/2/5/0.jpg +0 -0
- package/vendor/cesium/Assets/Textures/NaturalEarthII/2/5/1.jpg +0 -0
- package/vendor/cesium/Assets/Textures/NaturalEarthII/2/5/2.jpg +0 -0
- package/vendor/cesium/Assets/Textures/NaturalEarthII/2/5/3.jpg +0 -0
- package/vendor/cesium/Assets/Textures/NaturalEarthII/2/6/0.jpg +0 -0
- package/vendor/cesium/Assets/Textures/NaturalEarthII/2/6/1.jpg +0 -0
- package/vendor/cesium/Assets/Textures/NaturalEarthII/2/6/2.jpg +0 -0
- package/vendor/cesium/Assets/Textures/NaturalEarthII/2/6/3.jpg +0 -0
- package/vendor/cesium/Assets/Textures/NaturalEarthII/2/7/0.jpg +0 -0
- package/vendor/cesium/Assets/Textures/NaturalEarthII/2/7/1.jpg +0 -0
- package/vendor/cesium/Assets/Textures/NaturalEarthII/2/7/2.jpg +0 -0
- package/vendor/cesium/Assets/Textures/NaturalEarthII/2/7/3.jpg +0 -0
- package/vendor/cesium/Assets/Textures/NaturalEarthII/tilemapresource.xml +14 -0
- package/vendor/cesium/Assets/Textures/SkyBox/tycho2t3_80_mx.jpg +0 -0
- package/vendor/cesium/Assets/Textures/SkyBox/tycho2t3_80_my.jpg +0 -0
- package/vendor/cesium/Assets/Textures/SkyBox/tycho2t3_80_mz.jpg +0 -0
- package/vendor/cesium/Assets/Textures/SkyBox/tycho2t3_80_px.jpg +0 -0
- package/vendor/cesium/Assets/Textures/SkyBox/tycho2t3_80_py.jpg +0 -0
- package/vendor/cesium/Assets/Textures/SkyBox/tycho2t3_80_pz.jpg +0 -0
- package/vendor/cesium/Assets/Textures/maki/airfield.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/airport.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/alcohol-shop.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/america-football.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/art-gallery.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/bakery.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/bank.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/bar.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/baseball.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/basketball.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/beer.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/bicycle.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/building.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/bus.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/cafe.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/camera.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/campsite.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/car.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/cemetery.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/cesium.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/chemist.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/cinema.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/circle-stroked.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/circle.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/city.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/clothing-store.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/college.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/commercial.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/cricket.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/cross.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/dam.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/danger.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/disability.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/dog-park.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/embassy.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/emergency-telephone.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/entrance.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/farm.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/fast-food.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/ferry.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/fire-station.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/fuel.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/garden.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/gift.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/golf.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/grocery.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/hairdresser.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/harbor.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/heart.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/heliport.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/hospital.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/ice-cream.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/industrial.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/land-use.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/laundry.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/library.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/lighthouse.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/lodging.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/logging.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/london-underground.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/marker-stroked.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/marker.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/minefield.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/mobilephone.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/monument.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/museum.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/music.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/oil-well.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/park.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/park2.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/parking-garage.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/parking.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/pharmacy.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/pitch.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/place-of-worship.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/playground.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/police.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/polling-place.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/post.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/prison.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/rail-above.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/rail-light.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/rail-metro.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/rail-underground.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/rail.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/religious-christian.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/religious-jewish.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/religious-muslim.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/restaurant.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/roadblock.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/rocket.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/school.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/scooter.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/shop.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/skiing.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/slaughterhouse.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/soccer.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/square-stroked.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/square.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/star-stroked.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/star.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/suitcase.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/swimming.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/telephone.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/tennis.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/theatre.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/toilets.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/town-hall.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/town.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/triangle-stroked.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/triangle.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/village.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/warehouse.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/waste-basket.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/water.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/wetland.png +0 -0
- package/vendor/cesium/Assets/Textures/maki/zoo.png +0 -0
- package/vendor/cesium/Assets/Textures/moonSmall.jpg +0 -0
- package/vendor/cesium/Assets/Textures/pin.svg +1 -0
- package/vendor/cesium/Assets/Textures/waterNormals.jpg +0 -0
- package/vendor/cesium/Assets/Textures/waterNormalsSmall.jpg +0 -0
- package/vendor/cesium/Assets/approximateTerrainHeights.json +1 -0
- package/vendor/cesium/Cesium.js +18348 -0
- package/vendor/cesium/LICENSE.md +1068 -0
- package/vendor/cesium/ThirdParty/Workers/package.json +1 -0
- package/vendor/cesium/ThirdParty/Workers/zip-web-worker.js +1 -0
- package/vendor/cesium/ThirdParty/basis_transcoder.wasm +0 -0
- package/vendor/cesium/ThirdParty/draco_decoder.wasm +0 -0
- package/vendor/cesium/ThirdParty/google-earth-dbroot-parser.js +1 -0
- package/vendor/cesium/ThirdParty/wasm_splats_bg.wasm +0 -0
- package/vendor/cesium/ThirdParty/zip-module.wasm +0 -0
- package/vendor/cesium/Widgets/Animation/Animation.css +127 -0
- package/vendor/cesium/Widgets/Animation/lighter.css +70 -0
- package/vendor/cesium/Widgets/BaseLayerPicker/BaseLayerPicker.css +108 -0
- package/vendor/cesium/Widgets/BaseLayerPicker/lighter.css +22 -0
- package/vendor/cesium/Widgets/Cesium3DTilesInspector/Cesium3DTilesInspector.css +102 -0
- package/vendor/cesium/Widgets/CesiumInspector/CesiumInspector.css +113 -0
- package/vendor/cesium/Widgets/CesiumWidget/CesiumWidget.css +119 -0
- package/vendor/cesium/Widgets/CesiumWidget/lighter.css +14 -0
- package/vendor/cesium/Widgets/FullscreenButton/FullscreenButton.css +8 -0
- package/vendor/cesium/Widgets/Geocoder/Geocoder.css +70 -0
- package/vendor/cesium/Widgets/Geocoder/lighter.css +17 -0
- package/vendor/cesium/Widgets/I3SBuildingSceneLayerExplorer/I3SBuildingSceneLayerExplorer.css +27 -0
- package/vendor/cesium/Widgets/Images/ImageryProviders/ArcGisMapServiceWorldHillshade.png +0 -0
- package/vendor/cesium/Widgets/Images/ImageryProviders/ArcGisMapServiceWorldImagery.png +0 -0
- package/vendor/cesium/Widgets/Images/ImageryProviders/ArcGisMapServiceWorldOcean.png +0 -0
- package/vendor/cesium/Widgets/Images/ImageryProviders/azureAerial.png +0 -0
- package/vendor/cesium/Widgets/Images/ImageryProviders/azureRoads.png +0 -0
- package/vendor/cesium/Widgets/Images/ImageryProviders/bingAerial.png +0 -0
- package/vendor/cesium/Widgets/Images/ImageryProviders/bingAerialLabels.png +0 -0
- package/vendor/cesium/Widgets/Images/ImageryProviders/bingRoads.png +0 -0
- package/vendor/cesium/Widgets/Images/ImageryProviders/blueMarble.png +0 -0
- package/vendor/cesium/Widgets/Images/ImageryProviders/earthAtNight.png +0 -0
- package/vendor/cesium/Widgets/Images/ImageryProviders/googleContour.png +0 -0
- package/vendor/cesium/Widgets/Images/ImageryProviders/googleRoadmap.png +0 -0
- package/vendor/cesium/Widgets/Images/ImageryProviders/googleSatellite.png +0 -0
- package/vendor/cesium/Widgets/Images/ImageryProviders/googleSatelliteLabels.png +0 -0
- package/vendor/cesium/Widgets/Images/ImageryProviders/mapQuestOpenStreetMap.png +0 -0
- package/vendor/cesium/Widgets/Images/ImageryProviders/mapboxSatellite.png +0 -0
- package/vendor/cesium/Widgets/Images/ImageryProviders/mapboxStreets.png +0 -0
- package/vendor/cesium/Widgets/Images/ImageryProviders/mapboxTerrain.png +0 -0
- package/vendor/cesium/Widgets/Images/ImageryProviders/naturalEarthII.png +0 -0
- package/vendor/cesium/Widgets/Images/ImageryProviders/openStreetMap.png +0 -0
- package/vendor/cesium/Widgets/Images/ImageryProviders/sentinel-2.png +0 -0
- package/vendor/cesium/Widgets/Images/ImageryProviders/stadiaAlidadeSmooth.png +0 -0
- package/vendor/cesium/Widgets/Images/ImageryProviders/stadiaAlidadeSmoothDark.png +0 -0
- package/vendor/cesium/Widgets/Images/ImageryProviders/stamenToner.png +0 -0
- package/vendor/cesium/Widgets/Images/ImageryProviders/stamenWatercolor.png +0 -0
- package/vendor/cesium/Widgets/Images/NavigationHelp/Mouse.svg +84 -0
- package/vendor/cesium/Widgets/Images/NavigationHelp/MouseLeft.svg +76 -0
- package/vendor/cesium/Widgets/Images/NavigationHelp/MouseMiddle.svg +76 -0
- package/vendor/cesium/Widgets/Images/NavigationHelp/MouseRight.svg +76 -0
- package/vendor/cesium/Widgets/Images/NavigationHelp/Touch.svg +120 -0
- package/vendor/cesium/Widgets/Images/NavigationHelp/TouchDrag.svg +129 -0
- package/vendor/cesium/Widgets/Images/NavigationHelp/TouchRotate.svg +76 -0
- package/vendor/cesium/Widgets/Images/NavigationHelp/TouchTilt.svg +135 -0
- package/vendor/cesium/Widgets/Images/NavigationHelp/TouchZoom.svg +74 -0
- package/vendor/cesium/Widgets/Images/TerrainProviders/CesiumWorldTerrain.png +0 -0
- package/vendor/cesium/Widgets/Images/TerrainProviders/Ellipsoid.png +0 -0
- package/vendor/cesium/Widgets/Images/TimelineIcons.png +0 -0
- package/vendor/cesium/Widgets/Images/info-loading.gif +0 -0
- package/vendor/cesium/Widgets/InfoBox/InfoBox.css +92 -0
- package/vendor/cesium/Widgets/InfoBox/InfoBoxDescription.css +178 -0
- package/vendor/cesium/Widgets/NavigationHelpButton/NavigationHelpButton.css +93 -0
- package/vendor/cesium/Widgets/NavigationHelpButton/lighter.css +38 -0
- package/vendor/cesium/Widgets/PerformanceWatchdog/PerformanceWatchdog.css +15 -0
- package/vendor/cesium/Widgets/ProjectionPicker/ProjectionPicker.css +38 -0
- package/vendor/cesium/Widgets/SceneModePicker/SceneModePicker.css +56 -0
- package/vendor/cesium/Widgets/SelectionIndicator/SelectionIndicator.css +20 -0
- package/vendor/cesium/Widgets/Timeline/Timeline.css +103 -0
- package/vendor/cesium/Widgets/Timeline/lighter.css +23 -0
- package/vendor/cesium/Widgets/VRButton/VRButton.css +8 -0
- package/vendor/cesium/Widgets/Viewer/Viewer.css +107 -0
- package/vendor/cesium/Widgets/VoxelInspector/VoxelInspector.css +16 -0
- package/vendor/cesium/Widgets/lighter.css +237 -0
- package/vendor/cesium/Widgets/lighterShared.css +46 -0
- package/vendor/cesium/Widgets/shared.css +103 -0
- package/vendor/cesium/Widgets/widgets.css +1342 -0
- package/vendor/cesium/Workers/chunk-3XZ3CL24.js +26 -0
- package/vendor/cesium/Workers/chunk-674HC7OA.js +26 -0
- package/vendor/cesium/Workers/chunk-6LO6MWK3.js +26 -0
- package/vendor/cesium/Workers/chunk-F6M5ZWO4.js +29 -0
- package/vendor/cesium/Workers/chunk-FZYUOFLY.js +70 -0
- package/vendor/cesium/Workers/chunk-GACOCTFW.js +26 -0
- package/vendor/cesium/Workers/chunk-MDI2T7LJ.js +27 -0
- package/vendor/cesium/Workers/chunk-P6X455E3.js +27 -0
- package/vendor/cesium/Workers/chunk-SOIWLLGP.js +26 -0
- package/vendor/cesium/Workers/chunk-UBKFZE5C.js +26 -0
- package/vendor/cesium/Workers/combineGeometry.js +26 -0
- package/vendor/cesium/Workers/createBoxGeometry.js +26 -0
- package/vendor/cesium/Workers/createBoxOutlineGeometry.js +26 -0
- package/vendor/cesium/Workers/createCircleGeometry.js +26 -0
- package/vendor/cesium/Workers/createCircleOutlineGeometry.js +26 -0
- package/vendor/cesium/Workers/createCoplanarPolygonGeometry.js +26 -0
- package/vendor/cesium/Workers/createCoplanarPolygonOutlineGeometry.js +26 -0
- package/vendor/cesium/Workers/createCorridorGeometry.js +26 -0
- package/vendor/cesium/Workers/createCorridorOutlineGeometry.js +26 -0
- package/vendor/cesium/Workers/createCylinderGeometry.js +26 -0
- package/vendor/cesium/Workers/createCylinderOutlineGeometry.js +26 -0
- package/vendor/cesium/Workers/createEllipseGeometry.js +26 -0
- package/vendor/cesium/Workers/createEllipseOutlineGeometry.js +26 -0
- package/vendor/cesium/Workers/createEllipsoidGeometry.js +26 -0
- package/vendor/cesium/Workers/createEllipsoidOutlineGeometry.js +26 -0
- package/vendor/cesium/Workers/createFrustumGeometry.js +26 -0
- package/vendor/cesium/Workers/createFrustumOutlineGeometry.js +26 -0
- package/vendor/cesium/Workers/createGeometry.js +26 -0
- package/vendor/cesium/Workers/createGroundPolylineGeometry.js +26 -0
- package/vendor/cesium/Workers/createPlaneGeometry.js +26 -0
- package/vendor/cesium/Workers/createPlaneOutlineGeometry.js +26 -0
- package/vendor/cesium/Workers/createPolygonGeometry.js +26 -0
- package/vendor/cesium/Workers/createPolygonOutlineGeometry.js +26 -0
- package/vendor/cesium/Workers/createPolylineGeometry.js +26 -0
- package/vendor/cesium/Workers/createPolylineVolumeGeometry.js +26 -0
- package/vendor/cesium/Workers/createPolylineVolumeOutlineGeometry.js +26 -0
- package/vendor/cesium/Workers/createRectangleGeometry.js +26 -0
- package/vendor/cesium/Workers/createRectangleOutlineGeometry.js +26 -0
- package/vendor/cesium/Workers/createSimplePolylineGeometry.js +26 -0
- package/vendor/cesium/Workers/createSphereGeometry.js +26 -0
- package/vendor/cesium/Workers/createSphereOutlineGeometry.js +26 -0
- package/vendor/cesium/Workers/createTaskProcessorWorker.js +26 -0
- package/vendor/cesium/Workers/createVectorTileClampedPolylines.js +26 -0
- package/vendor/cesium/Workers/createVectorTileGeometries.js +26 -0
- package/vendor/cesium/Workers/createVectorTilePoints.js +26 -0
- package/vendor/cesium/Workers/createVectorTilePolygons.js +26 -0
- package/vendor/cesium/Workers/createVectorTilePolylines.js +26 -0
- package/vendor/cesium/Workers/createVerticesFromCesium3DTilesTerrain.js +26 -0
- package/vendor/cesium/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js +26 -0
- package/vendor/cesium/Workers/createVerticesFromHeightmap.js +26 -0
- package/vendor/cesium/Workers/createVerticesFromQuantizedTerrainMesh.js +26 -0
- package/vendor/cesium/Workers/createWallGeometry.js +26 -0
- package/vendor/cesium/Workers/createWallOutlineGeometry.js +26 -0
- package/vendor/cesium/Workers/decodeDraco.js +26 -0
- package/vendor/cesium/Workers/decodeGoogleEarthEnterprisePacket.js +26 -0
- package/vendor/cesium/Workers/decodeI3S.js +26 -0
- package/vendor/cesium/Workers/gaussianSplatSorter.js +26 -0
- package/vendor/cesium/Workers/gaussianSplatTextureGenerator.js +26 -0
- package/vendor/cesium/Workers/incrementallyBuildTerrainPicker.js +26 -0
- package/vendor/cesium/Workers/transcodeKTX2.js +56 -0
- package/vendor/cesium/Workers/transferTypedArrayTest.js +26 -0
- package/vendor/cesium/Workers/upsampleQuantizedTerrainMesh.js +26 -0
- package/vendor/cesium/Workers/upsampleVerticesFromCesium3DTilesTerrain.js +26 -0
- package/vendor/cesium/index.cjs +18348 -0
- package/vendor/cesium/index.js +18348 -0
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
+
* Version 1.147.0
|
|
5
|
+
*
|
|
6
|
+
* Copyright 2011-2022 Cesium Contributors
|
|
7
|
+
*
|
|
8
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
9
|
+
* you may not use this file except in compliance with the License.
|
|
10
|
+
* You may obtain a copy of the License at
|
|
11
|
+
*
|
|
12
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
13
|
+
*
|
|
14
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
15
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
16
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
17
|
+
* See the License for the specific language governing permissions and
|
|
18
|
+
* limitations under the License.
|
|
19
|
+
*
|
|
20
|
+
* Columbus View (Pat. Pend.)
|
|
21
|
+
*
|
|
22
|
+
* Portions licensed separately.
|
|
23
|
+
* See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
|
|
24
|
+
*/
|
|
25
|
+
|
|
26
|
+
import{fa as r,g as n}from"./chunk-FZYUOFLY.js";function u(e,t){return n(e.buffer,t)&&(e=r.unpack(e,t)),r.createGeometry(e)}var a=u;export{a as default};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
+
* Version 1.147.0
|
|
5
|
+
*
|
|
6
|
+
* Copyright 2011-2022 Cesium Contributors
|
|
7
|
+
*
|
|
8
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
9
|
+
* you may not use this file except in compliance with the License.
|
|
10
|
+
* You may obtain a copy of the License at
|
|
11
|
+
*
|
|
12
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
13
|
+
*
|
|
14
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
15
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
16
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
17
|
+
* See the License for the specific language governing permissions and
|
|
18
|
+
* limitations under the License.
|
|
19
|
+
*
|
|
20
|
+
* Columbus View (Pat. Pend.)
|
|
21
|
+
*
|
|
22
|
+
* Portions licensed separately.
|
|
23
|
+
* See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
|
|
24
|
+
*/
|
|
25
|
+
|
|
26
|
+
import{a as r}from"./chunk-UBKFZE5C.js";import{g as o}from"./chunk-FZYUOFLY.js";function i(e,t){return o(t)&&(e=r.unpack(e,t)),r.createGeometry(e)}var a=i;export{a as default};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
+
* Version 1.147.0
|
|
5
|
+
*
|
|
6
|
+
* Copyright 2011-2022 Cesium Contributors
|
|
7
|
+
*
|
|
8
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
9
|
+
* you may not use this file except in compliance with the License.
|
|
10
|
+
* You may obtain a copy of the License at
|
|
11
|
+
*
|
|
12
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
13
|
+
*
|
|
14
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
15
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
16
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
17
|
+
* See the License for the specific language governing permissions and
|
|
18
|
+
* limitations under the License.
|
|
19
|
+
*
|
|
20
|
+
* Columbus View (Pat. Pend.)
|
|
21
|
+
*
|
|
22
|
+
* Portions licensed separately.
|
|
23
|
+
* See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
|
|
24
|
+
*/
|
|
25
|
+
|
|
26
|
+
import{a as A}from"./chunk-UBKFZE5C.js";import{B as T,C as b,D as N,E as g,F,g as w,i as h,ia as k,ja as _,l as s,m as y,x as m}from"./chunk-FZYUOFLY.js";var d=0,j=1;function P(e){h.typeOf.object("options",e),h.typeOf.object("options.frustum",e.frustum),h.typeOf.object("options.origin",e.origin),h.typeOf.object("options.orientation",e.orientation);let t=e.frustum,n=e.orientation,u=e.origin,r=e._drawNearPlane??!0,p,a;t instanceof _?(p=d,a=_.packedLength):t instanceof k&&(p=j,a=k.packedLength),this._frustumType=p,this._frustum=t.clone(),this._origin=s.clone(u),this._orientation=m.clone(n),this._drawNearPlane=r,this._workerName="createFrustumOutlineGeometry",this.packedLength=2+a+s.packedLength+m.packedLength}P.pack=function(e,t,n){h.typeOf.object("value",e),h.defined("array",t),n=n??0;let u=e._frustumType,r=e._frustum;return t[n++]=u,u===d?(_.pack(r,t,n),n+=_.packedLength):(k.pack(r,t,n),n+=k.packedLength),s.pack(e._origin,t,n),n+=s.packedLength,m.pack(e._orientation,t,n),n+=m.packedLength,t[n]=e._drawNearPlane?1:0,t};var C=new _,E=new k,G=new m,R=new s;P.unpack=function(e,t,n){h.defined("array",e),t=t??0;let u=e[t++],r;u===d?(r=_.unpack(e,t,C),t+=_.packedLength):(r=k.unpack(e,t,E),t+=k.packedLength);let p=s.unpack(e,t,R);t+=s.packedLength;let a=m.unpack(e,t,G);t+=m.packedLength;let l=e[t]===1;if(!w(n))return new P({frustum:r,origin:p,orientation:a,_drawNearPlane:l});let o=u===n._frustumType?n._frustum:void 0;return n._frustum=r.clone(o),n._frustumType=u,n._origin=s.clone(p,n._origin),n._orientation=m.clone(a,n._orientation),n._drawNearPlane=l,n};P.createGeometry=function(e){let t=e._frustumType,n=e._frustum,u=e._origin,r=e._orientation,p=e._drawNearPlane,a=new Float64Array(24);A._computeNearFarPlanes(u,r,t,n,a);let l=new F({position:new g({componentDatatype:y.DOUBLE,componentsPerAttribute:3,values:a})}),o,c,O=p?2:1,i=new Uint16Array(8*(O+1)),f=p?0:1;for(;f<2;++f)o=p?f*8:0,c=f*4,i[o]=c,i[o+1]=c+1,i[o+2]=c+1,i[o+3]=c+2,i[o+4]=c+2,i[o+5]=c+3,i[o+6]=c+3,i[o+7]=c;for(f=0;f<2;++f)o=(O+f)*8,c=f*4,i[o]=c,i[o+1]=c+4,i[o+2]=c+1,i[o+3]=c+5,i[o+4]=c+2,i[o+5]=c+6,i[o+6]=c+3,i[o+7]=c+7;return new N({attributes:l,indices:i,primitiveType:b.LINES,boundingSphere:T.fromVertices(a)})};var L=P;function S(e,t){return w(t)&&(e=L.unpack(e,t)),L.createGeometry(e)}var V=S;export{V as default};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
+
* Version 1.147.0
|
|
5
|
+
*
|
|
6
|
+
* Copyright 2011-2022 Cesium Contributors
|
|
7
|
+
*
|
|
8
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
9
|
+
* you may not use this file except in compliance with the License.
|
|
10
|
+
* You may obtain a copy of the License at
|
|
11
|
+
*
|
|
12
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
13
|
+
*
|
|
14
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
15
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
16
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
17
|
+
* See the License for the specific language governing permissions and
|
|
18
|
+
* limitations under the License.
|
|
19
|
+
*
|
|
20
|
+
* Columbus View (Pat. Pend.)
|
|
21
|
+
*
|
|
22
|
+
* Portions licensed separately.
|
|
23
|
+
* See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
|
|
24
|
+
*/
|
|
25
|
+
|
|
26
|
+
import{a as k}from"./chunk-SOIWLLGP.js";import{a as w}from"./chunk-MDI2T7LJ.js";import{a,b as p,g as r,h as y}from"./chunk-FZYUOFLY.js";var g=p({"./combineGeometry.js":()=>import("./combineGeometry.js"),"./createBoxGeometry.js":()=>import("./createBoxGeometry.js"),"./createBoxOutlineGeometry.js":()=>import("./createBoxOutlineGeometry.js"),"./createCircleGeometry.js":()=>import("./createCircleGeometry.js"),"./createCircleOutlineGeometry.js":()=>import("./createCircleOutlineGeometry.js"),"./createCoplanarPolygonGeometry.js":()=>import("./createCoplanarPolygonGeometry.js"),"./createCoplanarPolygonOutlineGeometry.js":()=>import("./createCoplanarPolygonOutlineGeometry.js"),"./createCorridorGeometry.js":()=>import("./createCorridorGeometry.js"),"./createCorridorOutlineGeometry.js":()=>import("./createCorridorOutlineGeometry.js"),"./createCylinderGeometry.js":()=>import("./createCylinderGeometry.js"),"./createCylinderOutlineGeometry.js":()=>import("./createCylinderOutlineGeometry.js"),"./createEllipseGeometry.js":()=>import("./createEllipseGeometry.js"),"./createEllipseOutlineGeometry.js":()=>import("./createEllipseOutlineGeometry.js"),"./createEllipsoidGeometry.js":()=>import("./createEllipsoidGeometry.js"),"./createEllipsoidOutlineGeometry.js":()=>import("./createEllipsoidOutlineGeometry.js"),"./createFrustumGeometry.js":()=>import("./createFrustumGeometry.js"),"./createFrustumOutlineGeometry.js":()=>import("./createFrustumOutlineGeometry.js"),"./createGeometry.js":()=>import("./createGeometry.js"),"./createGroundPolylineGeometry.js":()=>import("./createGroundPolylineGeometry.js"),"./createPlaneGeometry.js":()=>import("./createPlaneGeometry.js"),"./createPlaneOutlineGeometry.js":()=>import("./createPlaneOutlineGeometry.js"),"./createPolygonGeometry.js":()=>import("./createPolygonGeometry.js"),"./createPolygonOutlineGeometry.js":()=>import("./createPolygonOutlineGeometry.js"),"./createPolylineGeometry.js":()=>import("./createPolylineGeometry.js"),"./createPolylineVolumeGeometry.js":()=>import("./createPolylineVolumeGeometry.js"),"./createPolylineVolumeOutlineGeometry.js":()=>import("./createPolylineVolumeOutlineGeometry.js"),"./createRectangleGeometry.js":()=>import("./createRectangleGeometry.js"),"./createRectangleOutlineGeometry.js":()=>import("./createRectangleOutlineGeometry.js"),"./createSimplePolylineGeometry.js":()=>import("./createSimplePolylineGeometry.js"),"./createSphereGeometry.js":()=>import("./createSphereGeometry.js"),"./createSphereOutlineGeometry.js":()=>import("./createSphereOutlineGeometry.js"),"./createTaskProcessorWorker.js":()=>import("./createTaskProcessorWorker.js"),"./createVectorTileClampedPolylines.js":()=>import("./createVectorTileClampedPolylines.js"),"./createVectorTileGeometries.js":()=>import("./createVectorTileGeometries.js"),"./createVectorTilePoints.js":()=>import("./createVectorTilePoints.js"),"./createVectorTilePolygons.js":()=>import("./createVectorTilePolygons.js"),"./createVectorTilePolylines.js":()=>import("./createVectorTilePolylines.js"),"./createVerticesFromCesium3DTilesTerrain.js":()=>import("./createVerticesFromCesium3DTilesTerrain.js"),"./createVerticesFromGoogleEarthEnterpriseBuffer.js":()=>import("./createVerticesFromGoogleEarthEnterpriseBuffer.js"),"./createVerticesFromHeightmap.js":()=>import("./createVerticesFromHeightmap.js"),"./createVerticesFromQuantizedTerrainMesh.js":()=>import("./createVerticesFromQuantizedTerrainMesh.js"),"./createWallGeometry.js":()=>import("./createWallGeometry.js"),"./createWallOutlineGeometry.js":()=>import("./createWallOutlineGeometry.js"),"./decodeDraco.js":()=>import("./decodeDraco.js"),"./decodeGoogleEarthEnterprisePacket.js":()=>import("./decodeGoogleEarthEnterprisePacket.js"),"./decodeI3S.js":()=>import("./decodeI3S.js"),"./gaussianSplatSorter.js":()=>import("./gaussianSplatSorter.js"),"./gaussianSplatTextureGenerator.js":()=>import("./gaussianSplatTextureGenerator.js"),"./incrementallyBuildTerrainPicker.js":()=>import("./incrementallyBuildTerrainPicker.js"),"./transcodeKTX2.js":()=>import("./transcodeKTX2.js"),"./transferTypedArrayTest.js":()=>import("./transferTypedArrayTest.js"),"./upsampleQuantizedTerrainMesh.js":()=>import("./upsampleQuantizedTerrainMesh.js"),"./upsampleVerticesFromCesium3DTilesTerrain.js":()=>import("./upsampleVerticesFromCesium3DTilesTerrain.js")});var c={};async function b(s,t){let e=c[t]??c[s];return r(e)?e:r(t)?(typeof exports=="object"?e=a(t):e=(await import(t)).default,c[t]=e,e):(typeof exports=="object"?e=a(`Workers/${s}`):e=(r(t)?await import(t):await g(`./${s}.js`)).default,c[s]=e,e)}async function h(s,t){let e=s.subTasks,n=e.length,u=new Array(n);for(let o=0;o<n;o++){let i=e[o],m=i.geometry,f=i.moduleName,l=i.modulePath;if(r(f)&&r(l))throw new y("Must only set moduleName or modulePath");r(f)||r(l)?u[o]=b(f,l).then(d=>d(m,i.offset)):u[o]=m}return Promise.all(u).then(function(o){return k.packCreateGeometryResults(o,t)})}var C=w(h);export{C as default};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
+
* Version 1.147.0
|
|
5
|
+
*
|
|
6
|
+
* Copyright 2011-2022 Cesium Contributors
|
|
7
|
+
*
|
|
8
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
9
|
+
* you may not use this file except in compliance with the License.
|
|
10
|
+
* You may obtain a copy of the License at
|
|
11
|
+
*
|
|
12
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
13
|
+
*
|
|
14
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
15
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
16
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
17
|
+
* See the License for the specific language governing permissions and
|
|
18
|
+
* limitations under the License.
|
|
19
|
+
*
|
|
20
|
+
* Columbus View (Pat. Pend.)
|
|
21
|
+
*
|
|
22
|
+
* Portions licensed separately.
|
|
23
|
+
* See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
|
|
24
|
+
*/
|
|
25
|
+
|
|
26
|
+
import{b as Le,c as De}from"./chunk-P6X455E3.js";import{$ as Ce,B as U,Ba as _e,D as xe,E as Bt,J as Nt,M as Kt,N as zt,W as Ne,Y as Qt,f as W,g as m,h as mt,i as tt,j as d,k as At,l as t,m as Rt,o as Pt,p as bt,u as w,v as B,w as vt,x as Jt,z as Y}from"./chunk-FZYUOFLY.js";var te=class{constructor(o){o=o??bt.EMPTY_OBJECT,this._ellipsoid=o.ellipsoid??B.default,this._rectangle=o.rectangle??Y.MAX_VALUE,this._projection=new vt(this._ellipsoid),this._numberOfLevelZeroTilesX=o.numberOfLevelZeroTilesX??2,this._numberOfLevelZeroTilesY=o.numberOfLevelZeroTilesY??1}get ellipsoid(){return this._ellipsoid}get rectangle(){return this._rectangle}get projection(){return this._projection}getNumberOfXTilesAtLevel(o){return this._numberOfLevelZeroTilesX<<o}getNumberOfYTilesAtLevel(o){return this._numberOfLevelZeroTilesY<<o}rectangleToNativeRectangle(o,a){tt.defined("rectangle",o);let e=d.toDegrees(o.west),i=d.toDegrees(o.south),r=d.toDegrees(o.east),c=d.toDegrees(o.north);return m(a)?(a.west=e,a.south=i,a.east=r,a.north=c,a):new Y(e,i,r,c)}tileXYToNativeRectangle(o,a,e,i){let r=this.tileXYToRectangle(o,a,e,i);return r.west=d.toDegrees(r.west),r.south=d.toDegrees(r.south),r.east=d.toDegrees(r.east),r.north=d.toDegrees(r.north),r}tileXYToRectangle(o,a,e,i){let r=this._rectangle,c=this.getNumberOfXTilesAtLevel(e),l=this.getNumberOfYTilesAtLevel(e),s=r.width/c,p=o*s+r.west,h=(o+1)*s+r.west,f=r.height/l,T=r.north-a*f,D=r.north-(a+1)*f;return m(i)||(i=new Y(p,D,h,T)),i.west=p,i.south=D,i.east=h,i.north=T,i}positionToTileXY(o,a,e){let i=this._rectangle;if(!Y.contains(i,o))return;let r=this.getNumberOfXTilesAtLevel(a),c=this.getNumberOfYTilesAtLevel(a),l=i.width/r,s=i.height/c,p=o.longitude;i.east<i.west&&(p+=d.TWO_PI);let h=(p-i.west)/l|0;h>=r&&(h=r-1);let f=(i.north-o.latitude)/s|0;return f>=c&&(f=c-1),m(e)?(e.x=h,e.y=f,e):new At(h,f)}},Oe=te;var Ie=new t,He=new t,ke=new w,ee=new t,hn=new t,ye=new U,dn=new Oe,Ct=[new w,new w,new w,new w],_t=new At,S={};S.initialize=function(){let n=S._initPromise;return m(n)||(n=Le.fetchJson(De("Assets/approximateTerrainHeights.json")).then(function(o){S._terrainHeights=o}),S._initPromise=n),n};S.getMinimumMaximumHeights=function(n,o){if(tt.defined("rectangle",n),!m(S._terrainHeights))throw new mt("You must call ApproximateTerrainHeights.initialize and wait for the promise to resolve before using this function");o=o??B.default;let a=Me(n),e=S._defaultMinTerrainHeight,i=S._defaultMaxTerrainHeight;if(m(a)){let r=`${a.level}-${a.x}-${a.y}`,c=S._terrainHeights[r];m(c)&&(e=c[0],i=c[1]),o.cartographicToCartesian(Y.northeast(n,ke),Ie),o.cartographicToCartesian(Y.southwest(n,ke),He),t.midpoint(He,Ie,ee);let l=o.scaleToGeodeticSurface(ee,hn);if(m(l)){let s=t.distance(ee,l);e=Math.min(e,-s)}else e=S._defaultMinTerrainHeight}return e=Math.max(S._defaultMinTerrainHeight,e),{minimumTerrainHeight:e,maximumTerrainHeight:i}};S.getBoundingSphere=function(n,o){if(tt.defined("rectangle",n),!m(S._terrainHeights))throw new mt("You must call ApproximateTerrainHeights.initialize and wait for the promise to resolve before using this function");o=o??B.default;let a=Me(n),e=S._defaultMaxTerrainHeight;if(m(a)){let r=`${a.level}-${a.x}-${a.y}`,c=S._terrainHeights[r];m(c)&&(e=c[1])}let i=U.fromRectangle3D(n,o,0);return U.fromRectangle3D(n,o,e,ye),U.union(i,ye,i)};function Me(n){w.fromRadians(n.east,n.north,0,Ct[0]),w.fromRadians(n.west,n.north,0,Ct[1]),w.fromRadians(n.east,n.south,0,Ct[2]),w.fromRadians(n.west,n.south,0,Ct[3]);let o=0,a=0,e=0,i=0,r=S._terrainHeightsMaxLevel,c;for(c=0;c<=r;++c){let l=!1;for(let s=0;s<4;++s){let p=Ct[s];if(dn.positionToTileXY(p,c,_t),s===0)e=_t.x,i=_t.y;else if(e!==_t.x||i!==_t.y){l=!0;break}}if(l)break;o=e,a=i}if(c!==0)return{x:o,y:a,level:c>r?r:c-1}}S._terrainHeightsMaxLevel=6;S._defaultMaxTerrainHeight=9e3;S._defaultMinTerrainHeight=-1e5;S._terrainHeights=void 0;S._initPromise=void 0;Object.defineProperties(S,{initialized:{get:function(){return m(S._terrainHeights)}}});var jt=S;var le=[vt,_e],pn=le.length,Ke=Math.cos(d.toRadians(30)),Ae=Math.cos(d.toRadians(150)),Qe=0,tn=1e3;function at(n){n=n??bt.EMPTY_OBJECT;let o=n.positions;if(!m(o)||o.length<2)throw new mt("At least two positions are required.");if(m(n.arcType)&&n.arcType!==W.GEODESIC&&n.arcType!==W.RHUMB)throw new mt("Valid options for arcType are ArcType.GEODESIC and ArcType.RHUMB.");this.width=n.width??1,this._positions=o,this.granularity=n.granularity??9999,this.loop=n.loop??!1,this.arcType=n.arcType??W.GEODESIC,this._ellipsoid=B.default,this._projectionIndex=0,this._workerName="createGroundPolylineGeometry",this._scene3DOnly=!1}Object.defineProperties(at.prototype,{packedLength:{get:function(){return 1+this._positions.length*3+1+1+1+B.packedLength+1+1}}});at.setProjectionAndEllipsoid=function(n,o){let a=0;for(let e=0;e<pn;e++)if(o instanceof le[e]){a=e;break}n._projectionIndex=a,n._ellipsoid=o.ellipsoid};var gn=new t,Re=new t,Pe=new t;function se(n,o,a,e,i){let r=R(e,n,0,gn),c=R(e,n,a,Re),l=R(e,o,0,Pe),s=et(c,r,Re),p=et(l,r,Pe);return t.cross(p,s,i),t.normalize(i,i)}var fn=new w,un=new t,mn=new t,wn=new t;function ne(n,o,a,e,i,r,c,l,s,p,h){if(i===0)return;let f;r===W.GEODESIC?f=new Ce(n,o,c):r===W.RHUMB&&(f=new Qt(n,o,c));let T=f.surfaceDistance;if(T<i)return;let D=se(n,o,e,c,wn),O=Math.ceil(T/i),I=T/O,z=I,q=O-1,g=l.length;for(let j=0;j<q;j++){let b=f.interpolateUsingSurfaceDistance(z,fn),y=R(c,b,a,un),H=R(c,b,e,mn);t.pack(D,l,g),t.pack(y,s,g),t.pack(H,p,g),h.push(b.latitude),h.push(b.longitude),g+=3,z+=I}}var oe=new w;function R(n,o,a,e){return w.clone(o,oe),oe.height=a,w.toCartesian(oe,n,e)}at.pack=function(n,o,a){tt.typeOf.object("value",n),tt.defined("array",o);let e=a??0,i=n._positions,r=i.length;o[e++]=r;for(let c=0;c<r;++c){let l=i[c];t.pack(l,o,e),e+=3}return o[e++]=n.granularity,o[e++]=n.loop?1:0,o[e++]=n.arcType,B.pack(n._ellipsoid,o,e),e+=B.packedLength,o[e++]=n._projectionIndex,o[e]=n._scene3DOnly?1:0,o};at.unpack=function(n,o,a){tt.defined("array",n);let e=o??0,i=n[e++],r=new Array(i);for(let T=0;T<i;T++)r[T]=t.unpack(n,e),e+=3;let c=n[e++],l=n[e++]===1,s=n[e++],p=B.unpack(n,e);e+=B.packedLength;let h=n[e++],f=n[e]===1;return m(a)||(a=new at({positions:r})),a._positions=r,a.granularity=c,a.loop=l,a.arcType=s,a._ellipsoid=p,a._projectionIndex=h,a._scene3DOnly=f,a};function et(n,o,a){return t.subtract(n,o,a),t.normalize(a,a),a}function be(n,o,a,e){return e=et(n,o,e),e=t.cross(e,a,e),e=t.normalize(e,e),e=t.cross(a,e,e),e}var Sn=new t,Tn=new t,En=new t,en=new t,xn=0,Nn=-1;function ie(n,o,a,e,i){let r=et(a,o,en),c=be(n,o,r,Sn),l=be(e,o,r,Tn);if(d.equalsEpsilon(t.dot(c,l),Nn,d.EPSILON5))return i=t.cross(r,c,i),i=t.normalize(i,i),i;i=t.add(l,c,i),i=t.normalize(i,i);let s=t.cross(r,i,En);return t.dot(l,s)<xn&&(i=t.negate(i,i)),i}var Ut=zt.fromPointNormal(t.ZERO,t.UNIT_Y),Cn=new t,_n=new t,Ln=new t,Dn=new t,On=new t,Ft=new t,Xt=new w,ve=new w,Be=new w;at.createGeometry=function(n){let o=!n._scene3DOnly,a=n.loop,e=n._ellipsoid,i=n.granularity,r=n.arcType,c=new le[n._projectionIndex](e),l=Qe,s=tn,p,h,f=n._positions,T=f.length;T===2&&(a=!1);let D,O,I,z,q=new Qt(void 0,void 0,e),g,j,b,y=[f[0]];for(h=0;h<T-1;h++)D=f[h],O=f[h+1],g=Kt.lineSegmentPlane(D,O,Ut,Ft),m(g)&&!t.equalsEpsilon(g,D,d.EPSILON7)&&!t.equalsEpsilon(g,O,d.EPSILON7)&&(n.arcType===W.GEODESIC?y.push(t.clone(g)):n.arcType===W.RHUMB&&(b=e.cartesianToCartographic(g,Xt).longitude,I=e.cartesianToCartographic(D,Xt),z=e.cartesianToCartographic(O,ve),q.setEndPoints(I,z),j=q.findIntersectionWithLongitude(b,Be),g=e.cartographicToCartesian(j,Ft),m(g)&&!t.equalsEpsilon(g,D,d.EPSILON7)&&!t.equalsEpsilon(g,O,d.EPSILON7)&&y.push(t.clone(g)))),y.push(O);a&&(D=f[T-1],O=f[0],g=Kt.lineSegmentPlane(D,O,Ut,Ft),m(g)&&!t.equalsEpsilon(g,D,d.EPSILON7)&&!t.equalsEpsilon(g,O,d.EPSILON7)&&(n.arcType===W.GEODESIC?y.push(t.clone(g)):n.arcType===W.RHUMB&&(b=e.cartesianToCartographic(g,Xt).longitude,I=e.cartesianToCartographic(D,Xt),z=e.cartesianToCartographic(O,ve),q.setEndPoints(I,z),j=q.findIntersectionWithLongitude(b,Be),g=e.cartographicToCartesian(j,Ft),m(g)&&!t.equalsEpsilon(g,D,d.EPSILON7)&&!t.equalsEpsilon(g,O,d.EPSILON7)&&y.push(t.clone(g)))));let H=y.length,C=new Array(H);for(h=0;h<H;h++){let X=w.fromCartesian(y[h],e);X.height=0,C[h]=X}if(C=Ne(C,w.equalsEpsilon),H=C.length,H<2)return;let k=[],P=[],v=[],x=[],N=Cn,L=_n,_=Ln,F=Dn,M=On,u=C[0],Z=C[1],Dt=C[H-1];for(N=R(e,Dt,l,N),F=R(e,Z,l,F),L=R(e,u,l,L),_=R(e,u,s,_),a?M=ie(N,L,_,F,M):M=se(u,Z,s,e,M),t.pack(M,P,0),t.pack(L,v,0),t.pack(_,x,0),k.push(u.latitude),k.push(u.longitude),ne(u,Z,l,s,i,r,e,P,v,x,k),h=1;h<H-1;++h){N=t.clone(L,N),L=t.clone(F,L);let X=C[h];R(e,X,s,_),R(e,C[h+1],l,F),ie(N,L,_,F,M),p=P.length,t.pack(M,P,p),t.pack(L,v,p),t.pack(_,x,p),k.push(X.latitude),k.push(X.longitude),ne(C[h],C[h+1],l,s,i,r,e,P,v,x,k)}let A=C[H-1],wt=C[H-2];if(L=R(e,A,l,L),_=R(e,A,s,_),a){let X=C[0];N=R(e,wt,l,N),F=R(e,X,l,F),M=ie(N,L,_,F,M)}else M=se(wt,A,s,e,M);if(p=P.length,t.pack(M,P,p),t.pack(L,v,p),t.pack(_,x,p),k.push(A.latitude),k.push(A.longitude),a){for(ne(A,u,l,s,i,r,e,P,v,x,k),p=P.length,h=0;h<3;++h)P[p+h]=P[h],v[p+h]=v[h],x[p+h]=x[h];k.push(u.latitude),k.push(u.longitude)}return Qn(a,c,v,x,P,k,o)};var In=new t,Hn=new Pt,kn=new Jt;function ze(n,o,a,e){let i=et(a,o,In),r=t.dot(i,n);if(r>Ke||r<Ae){let c=et(e,a,en),l=r<Ae?d.PI_OVER_TWO:-d.PI_OVER_TWO,s=Jt.fromAxisAngle(c,l,kn),p=Pt.fromQuaternion(s,Hn);return Pt.multiplyByVector(p,n,n),!0}return!1}var je=new w,yn=new t,Fe=new t;function Lt(n,o,a,e,i){let r=w.toCartesian(o,n._ellipsoid,yn),c=t.add(r,a,Fe),l=!1,s=n._ellipsoid,p=s.cartesianToCartographic(c,je);Math.abs(o.longitude-p.longitude)>d.PI_OVER_TWO&&(l=!0,c=t.subtract(r,a,Fe),p=s.cartesianToCartographic(c,je)),p.height=0;let h=n.project(p,i);return i=t.subtract(h,e,i),i.z=0,i=t.normalize(i,i),l&&t.negate(i,i),i}var Mn=new t,Xe=new t;function Ye(n,o,a,e,i,r){let c=t.subtract(o,n,Mn);t.normalize(c,c);let l=a-Qe,s=t.multiplyByScalar(c,l,Xe);t.add(n,s,i);let p=e-tn;s=t.multiplyByScalar(c,p,Xe),t.add(o,s,r)}var An=new t;function Yt(n,o){let a=zt.getPointDistance(Ut,n),e=zt.getPointDistance(Ut,o),i=An;d.equalsEpsilon(a,0,d.EPSILON2)?(i=et(o,n,i),t.multiplyByScalar(i,d.EPSILON2,i),t.add(n,i,n)):d.equalsEpsilon(e,0,d.EPSILON2)&&(i=et(n,o,i),t.multiplyByScalar(i,d.EPSILON2,i),t.add(o,i,o))}function Rn(n,o){let a=Math.abs(n.longitude),e=Math.abs(o.longitude);if(d.equalsEpsilon(a,d.PI,d.EPSILON11)){let i=d.sign(o.longitude);return n.longitude=i*(a-d.EPSILON11),1}else if(d.equalsEpsilon(e,d.PI,d.EPSILON11)){let i=d.sign(n.longitude);return o.longitude=i*(e-d.EPSILON11),2}return 0}var nn=new w,on=new w,Ue=new t,ae=new t,qe=new t,Ge=new t,Pn=new t,We=new t,bn=[nn,on],vn=new Y,Bn=new t,zn=new t,jn=new t,Fn=new t,Xn=new t,Yn=new t,re=new t,ce=new t,Un=new t,qn=new t,Gn=new t,Ze=new t,Wn=new t,Zn=new t,Vn=new Nt,$n=new Nt,Ve=new t,Jn=new t,$e=new t,Kn=[new U,new U],an=[0,2,1,0,3,2,0,7,3,0,4,7,0,5,4,0,1,5,5,7,4,5,6,7,5,2,6,5,1,2,3,6,2,3,7,6],Je=an.length;function Qn(n,o,a,e,i,r,c){let l,s,p=o._ellipsoid,h=a.length/3-1,f=h*8,T=f*4,D=h*36,O=f>65535?new Uint32Array(D):new Uint16Array(D),I=new Float64Array(f*3),z=new Float32Array(T),q=new Float32Array(T),g=new Float32Array(T),j=new Float32Array(T),b=new Float32Array(T),y,H,C,k;c&&(y=new Float32Array(T),H=new Float32Array(T),C=new Float32Array(T),k=new Float32Array(f*2));let P=r.length/2,v=0,x=nn;x.height=0;let N=on;N.height=0;let L=Ue,_=ae;if(c)for(s=0,l=1;l<P;l++)x.latitude=r[s],x.longitude=r[s+1],N.latitude=r[s+2],N.longitude=r[s+3],L=o.project(x,L),_=o.project(N,_),v+=t.distance(L,_),s+=2;let F=e.length/3;_=t.unpack(e,0,_);let M=0;for(s=3,l=1;l<F;l++)L=t.clone(_,L),_=t.unpack(e,s,_),M+=t.distance(L,_),s+=3;let u;s=3;let Z=0,Dt=0,A=0,wt=0,X=!1,rt=t.unpack(a,0,Ge),ct=t.unpack(e,0,ae),G=t.unpack(i,0,We);if(n){let st=t.unpack(a,a.length-6,qe);ze(G,st,rt,ct)&&(G=t.negate(G,G))}let de=0,pe=0,qt=0;for(l=0;l<h;l++){let st=t.clone(rt,qe),Wt=t.clone(ct,Ue),pt=t.clone(G,Pn);X&&(pt=t.negate(pt,pt)),rt=t.unpack(a,s,Ge),ct=t.unpack(e,s,ae),G=t.unpack(i,s,We),X=ze(G,st,rt,ct),x.latitude=r[Z],x.longitude=r[Z+1],N.latitude=r[Z+2],N.longitude=r[Z+3];let lt,gt,nt,ot;if(c){let E=Rn(x,N);lt=o.project(x,Xn),gt=o.project(N,Yn);let ut=et(gt,lt,Ve);ut.y=Math.abs(ut.y),nt=re,ot=ce,E===0||t.dot(ut,t.UNIT_Y)>Ke?(nt=Lt(o,x,pt,lt,re),ot=Lt(o,N,G,gt,ce)):E===1?(ot=Lt(o,N,G,gt,ce),nt.x=0,nt.y=d.sign(x.longitude-Math.abs(N.longitude)),nt.z=0):(nt=Lt(o,x,pt,lt,re),ot.x=0,ot.y=d.sign(x.longitude-N.longitude),ot.z=0)}let ue=t.distance(Wt,ct),me=Nt.fromCartesian(st,Vn),Ot=t.subtract(rt,st,Un),rn=t.normalize(Ot,Ze),Tt=t.subtract(Wt,st,qn);Tt=t.normalize(Tt,Tt);let ft=t.cross(rn,Tt,Ze);ft=t.normalize(ft,ft);let It=t.cross(Tt,pt,Wn);It=t.normalize(It,It);let Ht=t.subtract(ct,rt,Gn);Ht=t.normalize(Ht,Ht);let kt=t.cross(G,Ht,Zn);kt=t.normalize(kt,kt);let cn=ue/M,sn=de/M,Zt=0,Et,yt,ht,we=0,Se=0;if(c){Zt=t.distance(lt,gt),Et=Nt.fromCartesian(lt,$n),yt=t.subtract(gt,lt,Ve),ht=t.normalize(yt,Jn);let E=ht.x;ht.x=ht.y,ht.y=-E,we=Zt/v,Se=pe/v}for(u=0;u<8;u++){let E=wt+u*4,ut=Dt+u*2,xt=E+3,Ee=u<4?1:-1,Mt=u===2||u===3||u===6||u===7?1:-1;t.pack(me.high,z,E),z[xt]=Ot.x,t.pack(me.low,q,E),q[xt]=Ot.y,t.pack(It,g,E),g[xt]=Ot.z,t.pack(kt,j,E),j[xt]=cn*Ee,t.pack(ft,b,E);let dt=sn*Mt;dt===0&&Mt<0&&(dt=9),b[xt]=dt,c&&(y[E]=Et.high.x,y[E+1]=Et.high.y,y[E+2]=Et.low.x,y[E+3]=Et.low.y,C[E]=-nt.y,C[E+1]=nt.x,C[E+2]=ot.y,C[E+3]=-ot.x,H[E]=yt.x,H[E+1]=yt.y,H[E+2]=ht.x,H[E+3]=ht.y,k[ut]=we*Ee,dt=Se*Mt,dt===0&&Mt<0&&(dt=9),k[ut+1]=dt)}let V=jn,$=Fn,J=Bn,K=zn,ln=Y.fromCartographicArray(bn,vn),Te=jt.getMinimumMaximumHeights(ln,p),Vt=Te.minimumTerrainHeight,$t=Te.maximumTerrainHeight;qt+=Math.abs(Vt),qt+=Math.abs($t),Ye(st,Wt,Vt,$t,V,J),Ye(rt,ct,Vt,$t,$,K);let Q=t.multiplyByScalar(ft,d.EPSILON5,$e);t.add(V,Q,V),t.add($,Q,$),t.add(J,Q,J),t.add(K,Q,K),Yt(V,$),Yt(J,K),t.pack(V,I,A),t.pack($,I,A+3),t.pack(K,I,A+6),t.pack(J,I,A+9),Q=t.multiplyByScalar(ft,-2*d.EPSILON5,$e),t.add(V,Q,V),t.add($,Q,$),t.add(J,Q,J),t.add(K,Q,K),Yt(V,$),Yt(J,K),t.pack(V,I,A+12),t.pack($,I,A+15),t.pack(K,I,A+18),t.pack(J,I,A+21),Z+=2,s+=3,Dt+=16,A+=24,wt+=32,de+=ue,pe+=Zt}s=0;let ge=0;for(l=0;l<h;l++){for(u=0;u<Je;u++)O[s+u]=an[u]+ge;ge+=8,s+=Je}let Gt=Kn;U.fromVertices(a,t.ZERO,3,Gt[0]),U.fromVertices(e,t.ZERO,3,Gt[1]);let fe=U.fromBoundingSpheres(Gt);fe.radius+=qt/(h*2);let St={position:new Bt({componentDatatype:Rt.DOUBLE,componentsPerAttribute:3,normalize:!1,values:I}),startHiAndForwardOffsetX:it(z),startLoAndForwardOffsetY:it(q),startNormalAndForwardOffsetZ:it(g),endNormalAndTextureCoordinateNormalizationX:it(j),rightNormalAndTextureCoordinateNormalizationY:it(b)};return c&&(St.startHiLo2D=it(y),St.offsetAndRight2D=it(H),St.startEndNormals2D=it(C),St.texcoordNormalization2D=new Bt({componentDatatype:Rt.FLOAT,componentsPerAttribute:2,normalize:!1,values:k})),new xe({attributes:St,indices:O,boundingSphere:fe})}function it(n){return new Bt({componentDatatype:Rt.FLOAT,componentsPerAttribute:4,normalize:!1,values:n})}at._projectNormal=Lt;var he=at;function to(n,o){return jt.initialize().then(function(){return m(o)&&(n=he.unpack(n,o)),he.createGeometry(n)})}var uo=to;export{uo as default};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
+
* Version 1.147.0
|
|
5
|
+
*
|
|
6
|
+
* Copyright 2011-2022 Cesium Contributors
|
|
7
|
+
*
|
|
8
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
9
|
+
* you may not use this file except in compliance with the License.
|
|
10
|
+
* You may obtain a copy of the License at
|
|
11
|
+
*
|
|
12
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
13
|
+
*
|
|
14
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
15
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
16
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
17
|
+
* See the License for the specific language governing permissions and
|
|
18
|
+
* limitations under the License.
|
|
19
|
+
*
|
|
20
|
+
* Columbus View (Pat. Pend.)
|
|
21
|
+
*
|
|
22
|
+
* Portions licensed separately.
|
|
23
|
+
* See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
|
|
24
|
+
*/
|
|
25
|
+
|
|
26
|
+
import{g as n,ma as r}from"./chunk-FZYUOFLY.js";function a(e,t){return n(t)&&(e=r.unpack(e,t)),r.createGeometry(e)}var i=a;export{i as default};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
+
* Version 1.147.0
|
|
5
|
+
*
|
|
6
|
+
* Copyright 2011-2022 Cesium Contributors
|
|
7
|
+
*
|
|
8
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
9
|
+
* you may not use this file except in compliance with the License.
|
|
10
|
+
* You may obtain a copy of the License at
|
|
11
|
+
*
|
|
12
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
13
|
+
*
|
|
14
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
15
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
16
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
17
|
+
* See the License for the specific language governing permissions and
|
|
18
|
+
* limitations under the License.
|
|
19
|
+
*
|
|
20
|
+
* Columbus View (Pat. Pend.)
|
|
21
|
+
*
|
|
22
|
+
* Portions licensed separately.
|
|
23
|
+
* See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
|
|
24
|
+
*/
|
|
25
|
+
|
|
26
|
+
import{g as n,na as t}from"./chunk-FZYUOFLY.js";function i(e,r){return n(r)&&(e=t.unpack(e,r)),t.createGeometry(e)}var a=i;export{a as default};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
+
* Version 1.147.0
|
|
5
|
+
*
|
|
6
|
+
* Copyright 2011-2022 Cesium Contributors
|
|
7
|
+
*
|
|
8
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
9
|
+
* you may not use this file except in compliance with the License.
|
|
10
|
+
* You may obtain a copy of the License at
|
|
11
|
+
*
|
|
12
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
13
|
+
*
|
|
14
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
15
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
16
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
17
|
+
* See the License for the specific language governing permissions and
|
|
18
|
+
* limitations under the License.
|
|
19
|
+
*
|
|
20
|
+
* Columbus View (Pat. Pend.)
|
|
21
|
+
*
|
|
22
|
+
* Portions licensed separately.
|
|
23
|
+
* See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
|
|
24
|
+
*/
|
|
25
|
+
|
|
26
|
+
import{g as l,oa as e,v as r}from"./chunk-FZYUOFLY.js";function c(i,d){return l(d)&&(i=e.unpack(i,d)),i._ellipsoid=r.clone(i._ellipsoid),e.createGeometry(i)}var a=c;export{a as default};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
+
* Version 1.147.0
|
|
5
|
+
*
|
|
6
|
+
* Copyright 2011-2022 Cesium Contributors
|
|
7
|
+
*
|
|
8
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
9
|
+
* you may not use this file except in compliance with the License.
|
|
10
|
+
* You may obtain a copy of the License at
|
|
11
|
+
*
|
|
12
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
13
|
+
*
|
|
14
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
15
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
16
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
17
|
+
* See the License for the specific language governing permissions and
|
|
18
|
+
* limitations under the License.
|
|
19
|
+
*
|
|
20
|
+
* Columbus View (Pat. Pend.)
|
|
21
|
+
*
|
|
22
|
+
* Portions licensed separately.
|
|
23
|
+
* See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
|
|
24
|
+
*/
|
|
25
|
+
|
|
26
|
+
import{g as t,pa as e,v as d}from"./chunk-FZYUOFLY.js";function n(i,l){return t(l)&&(i=e.unpack(i,l)),i._ellipsoid=d.clone(i._ellipsoid),e.createGeometry(i)}var u=n;export{u as default};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
+
* Version 1.147.0
|
|
5
|
+
*
|
|
6
|
+
* Copyright 2011-2022 Cesium Contributors
|
|
7
|
+
*
|
|
8
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
9
|
+
* you may not use this file except in compliance with the License.
|
|
10
|
+
* You may obtain a copy of the License at
|
|
11
|
+
*
|
|
12
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
13
|
+
*
|
|
14
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
15
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
16
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
17
|
+
* See the License for the specific language governing permissions and
|
|
18
|
+
* limitations under the License.
|
|
19
|
+
*
|
|
20
|
+
* Columbus View (Pat. Pend.)
|
|
21
|
+
*
|
|
22
|
+
* Portions licensed separately.
|
|
23
|
+
* See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
|
|
24
|
+
*/
|
|
25
|
+
|
|
26
|
+
import{g as r,qa as e,v as c}from"./chunk-FZYUOFLY.js";function t(i,d){return r(d)&&(i=e.unpack(i,d)),i._ellipsoid=c.clone(i._ellipsoid),e.createGeometry(i)}var l=t;export{l as default};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
+
* Version 1.147.0
|
|
5
|
+
*
|
|
6
|
+
* Copyright 2011-2022 Cesium Contributors
|
|
7
|
+
*
|
|
8
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
9
|
+
* you may not use this file except in compliance with the License.
|
|
10
|
+
* You may obtain a copy of the License at
|
|
11
|
+
*
|
|
12
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
13
|
+
*
|
|
14
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
15
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
16
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
17
|
+
* See the License for the specific language governing permissions and
|
|
18
|
+
* limitations under the License.
|
|
19
|
+
*
|
|
20
|
+
* Columbus View (Pat. Pend.)
|
|
21
|
+
*
|
|
22
|
+
* Portions licensed separately.
|
|
23
|
+
* See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
|
|
24
|
+
*/
|
|
25
|
+
|
|
26
|
+
import{g as c,ra as d,v as e}from"./chunk-FZYUOFLY.js";function t(i,r){return c(r)&&(i=d.unpack(i,r)),i._ellipsoid=e.clone(i._ellipsoid),d.createGeometry(i)}var n=t;export{n as default};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
+
* Version 1.147.0
|
|
5
|
+
*
|
|
6
|
+
* Copyright 2011-2022 Cesium Contributors
|
|
7
|
+
*
|
|
8
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
9
|
+
* you may not use this file except in compliance with the License.
|
|
10
|
+
* You may obtain a copy of the License at
|
|
11
|
+
*
|
|
12
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
13
|
+
*
|
|
14
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
15
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
16
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
17
|
+
* See the License for the specific language governing permissions and
|
|
18
|
+
* limitations under the License.
|
|
19
|
+
*
|
|
20
|
+
* Columbus View (Pat. Pend.)
|
|
21
|
+
*
|
|
22
|
+
* Portions licensed separately.
|
|
23
|
+
* See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
|
|
24
|
+
*/
|
|
25
|
+
|
|
26
|
+
import{g as c,sa as i,v as a}from"./chunk-FZYUOFLY.js";function e(d,r){return c(r)&&(d=i.unpack(d,r)),d._ellipsoid=a.clone(d._ellipsoid),i.createGeometry(d)}var t=e;export{t as default};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
+
* Version 1.147.0
|
|
5
|
+
*
|
|
6
|
+
* Copyright 2011-2022 Cesium Contributors
|
|
7
|
+
*
|
|
8
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
9
|
+
* you may not use this file except in compliance with the License.
|
|
10
|
+
* You may obtain a copy of the License at
|
|
11
|
+
*
|
|
12
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
13
|
+
*
|
|
14
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
15
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
16
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
17
|
+
* See the License for the specific language governing permissions and
|
|
18
|
+
* limitations under the License.
|
|
19
|
+
*
|
|
20
|
+
* Columbus View (Pat. Pend.)
|
|
21
|
+
*
|
|
22
|
+
* Portions licensed separately.
|
|
23
|
+
* See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
|
|
24
|
+
*/
|
|
25
|
+
|
|
26
|
+
import{g as n,ta as l,v as p,z as c}from"./chunk-FZYUOFLY.js";function o(i,d){return n(d)&&(i=l.unpack(i,d)),i._ellipsoid=p.clone(i._ellipsoid),i._rectangle=c.clone(i._rectangle),l.createGeometry(i)}var u=o;export{u as default};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
+
* Version 1.147.0
|
|
5
|
+
*
|
|
6
|
+
* Copyright 2011-2022 Cesium Contributors
|
|
7
|
+
*
|
|
8
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
9
|
+
* you may not use this file except in compliance with the License.
|
|
10
|
+
* You may obtain a copy of the License at
|
|
11
|
+
*
|
|
12
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
13
|
+
*
|
|
14
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
15
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
16
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
17
|
+
* See the License for the specific language governing permissions and
|
|
18
|
+
* limitations under the License.
|
|
19
|
+
*
|
|
20
|
+
* Columbus View (Pat. Pend.)
|
|
21
|
+
*
|
|
22
|
+
* Portions licensed separately.
|
|
23
|
+
* See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
|
|
24
|
+
*/
|
|
25
|
+
|
|
26
|
+
import{g as d,ua as l,v as e,z as p}from"./chunk-FZYUOFLY.js";function u(i,n){return d(n)&&(i=l.unpack(i,n)),i._ellipsoid=e.clone(i._ellipsoid),i._rectangle=p.clone(i._rectangle),l.createGeometry(i)}var o=u;export{o as default};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
+
* Version 1.147.0
|
|
5
|
+
*
|
|
6
|
+
* Copyright 2011-2022 Cesium Contributors
|
|
7
|
+
*
|
|
8
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
9
|
+
* you may not use this file except in compliance with the License.
|
|
10
|
+
* You may obtain a copy of the License at
|
|
11
|
+
*
|
|
12
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
13
|
+
*
|
|
14
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
15
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
16
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
17
|
+
* See the License for the specific language governing permissions and
|
|
18
|
+
* limitations under the License.
|
|
19
|
+
*
|
|
20
|
+
* Columbus View (Pat. Pend.)
|
|
21
|
+
*
|
|
22
|
+
* Portions licensed separately.
|
|
23
|
+
* See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
|
|
24
|
+
*/
|
|
25
|
+
|
|
26
|
+
import{g as c,v as e,va as i}from"./chunk-FZYUOFLY.js";function t(d,r){return c(r)&&(d=i.unpack(d,r)),d._ellipsoid=e.clone(d._ellipsoid),i.createGeometry(d)}var n=t;export{n as default};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
+
* Version 1.147.0
|
|
5
|
+
*
|
|
6
|
+
* Copyright 2011-2022 Cesium Contributors
|
|
7
|
+
*
|
|
8
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
9
|
+
* you may not use this file except in compliance with the License.
|
|
10
|
+
* You may obtain a copy of the License at
|
|
11
|
+
*
|
|
12
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
13
|
+
*
|
|
14
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
15
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
16
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
17
|
+
* See the License for the specific language governing permissions and
|
|
18
|
+
* limitations under the License.
|
|
19
|
+
*
|
|
20
|
+
* Columbus View (Pat. Pend.)
|
|
21
|
+
*
|
|
22
|
+
* Portions licensed separately.
|
|
23
|
+
* See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
|
|
24
|
+
*/
|
|
25
|
+
|
|
26
|
+
import{g as n,wa as r}from"./chunk-FZYUOFLY.js";function a(e,t){return n(t)&&(e=r.unpack(e,t)),r.createGeometry(e)}var i=a;export{i as default};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
+
* Version 1.147.0
|
|
5
|
+
*
|
|
6
|
+
* Copyright 2011-2022 Cesium Contributors
|
|
7
|
+
*
|
|
8
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
9
|
+
* you may not use this file except in compliance with the License.
|
|
10
|
+
* You may obtain a copy of the License at
|
|
11
|
+
*
|
|
12
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
13
|
+
*
|
|
14
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
15
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
16
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
17
|
+
* See the License for the specific language governing permissions and
|
|
18
|
+
* limitations under the License.
|
|
19
|
+
*
|
|
20
|
+
* Columbus View (Pat. Pend.)
|
|
21
|
+
*
|
|
22
|
+
* Portions licensed separately.
|
|
23
|
+
* See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
|
|
24
|
+
*/
|
|
25
|
+
|
|
26
|
+
import{g as n,xa as t}from"./chunk-FZYUOFLY.js";function i(e,r){return n(r)&&(e=t.unpack(e,r)),t.createGeometry(e)}var a=i;export{a as default};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
+
* Version 1.147.0
|
|
5
|
+
*
|
|
6
|
+
* Copyright 2011-2022 Cesium Contributors
|
|
7
|
+
*
|
|
8
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
9
|
+
* you may not use this file except in compliance with the License.
|
|
10
|
+
* You may obtain a copy of the License at
|
|
11
|
+
*
|
|
12
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
13
|
+
*
|
|
14
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
15
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
16
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
17
|
+
* See the License for the specific language governing permissions and
|
|
18
|
+
* limitations under the License.
|
|
19
|
+
*
|
|
20
|
+
* Columbus View (Pat. Pend.)
|
|
21
|
+
*
|
|
22
|
+
* Portions licensed separately.
|
|
23
|
+
* See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
|
|
24
|
+
*/
|
|
25
|
+
|
|
26
|
+
import{a}from"./chunk-MDI2T7LJ.js";import"./chunk-FZYUOFLY.js";export{a as default};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
+
* Version 1.147.0
|
|
5
|
+
*
|
|
6
|
+
* Copyright 2011-2022 Cesium Contributors
|
|
7
|
+
*
|
|
8
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
9
|
+
* you may not use this file except in compliance with the License.
|
|
10
|
+
* You may obtain a copy of the License at
|
|
11
|
+
*
|
|
12
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
13
|
+
*
|
|
14
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
15
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
16
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
17
|
+
* See the License for the specific language governing permissions and
|
|
18
|
+
* limitations under the License.
|
|
19
|
+
*
|
|
20
|
+
* Columbus View (Pat. Pend.)
|
|
21
|
+
*
|
|
22
|
+
* Portions licensed separately.
|
|
23
|
+
* See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
|
|
24
|
+
*/
|
|
25
|
+
|
|
26
|
+
import{a as J}from"./chunk-MDI2T7LJ.js";import{Da as Y,K as M,j as v,l as t,s as X,u as k,v as _,z as W}from"./chunk-FZYUOFLY.js";var V=32767,it=Math.cos(v.toRadians(150)),ct=new k,at=new t;function rt(e,s,c,i,o,A,h){let g=e.length,f=new Float64Array(g*3);for(let d=0;d<g;++d){let l=e[d],a=s[d],E=c[d],n=v.lerp(i.west,i.east,l/V),u=v.lerp(i.south,i.north,a/V),w=v.lerp(o,A,E/V),x=k.fromRadians(n,u,w,ct),P=h.cartographicToCartesian(x,at);t.pack(P,f,d*3)}return f}function dt(e){let s=e.length,c=new Uint32Array(s+1),i=0;for(let o=0;o<s;++o)c[o]=i,i+=e[o];return c[s]=i,c}var lt=new k,ht=new k;function ft(e,s,c,i){let o=i.length,A=e.length,h=new Uint8Array(A),g=lt,f=ht,d=0;for(let a=0;a<o;a++){let E=i[a],n=E;for(let u=1;u<E;u++){let w=d+u,x=w-1;f.longitude=e[w],f.latitude=s[w],g.longitude=e[x],g.latitude=s[x],k.equals(f,g)&&(n--,h[x]=1)}i[a]=n,d+=E}let l=0;for(let a=0;a<A;a++)h[a]!==1&&(e[l]=e[a],s[l]=s[a],c[l]=c[a],l++)}function st(e){let s=e*8,c=s*3,i=s*4;this.startEllipsoidNormals=new Float32Array(c),this.endEllipsoidNormals=new Float32Array(c),this.startPositionAndHeights=new Float32Array(i),this.startFaceNormalAndVertexCornerIds=new Float32Array(i),this.endPositionAndHeights=new Float32Array(i),this.endFaceNormalAndHalfWidths=new Float32Array(i),this.vertexBatchIds=new Uint16Array(s),this.indices=M.createTypedArray(s,36*e),this.vec3Offset=0,this.vec4Offset=0,this.batchIdOffset=0,this.indexOffset=0,this.volumeStartIndex=0}var Q=new t,ut=new t;function $(e,s,c,i,o){let A=t.subtract(c,s,ut),h=t.subtract(s,e,Q);return t.normalize(A,A),t.normalize(h,h),t.dot(A,h)<it&&(h=t.multiplyByScalar(h,-1,Q)),t.add(A,h,o),t.equals(o,t.ZERO)&&(o=t.subtract(e,s)),t.cross(o,i,o),t.cross(i,o,o),t.normalize(o,o),o}var ot=[0,2,6,0,6,4,0,1,3,0,3,2,0,4,5,0,5,1,5,3,1,5,7,3,7,5,4,7,4,6,7,6,2,7,2,3],j=ot.length,tt=new t,pt=new t,mt=new t,At=new t,Nt=new t;st.prototype.addVolume=function(e,s,c,i,o,A,h,g,f,d){let l=t.add(s,f,tt),a=d.geodeticSurfaceNormal(l,pt);l=t.add(c,f,tt);let E=d.geodeticSurfaceNormal(l,At),n=$(e,s,c,a,mt),u=$(i,c,s,E,Nt),w=this.startEllipsoidNormals,x=this.endEllipsoidNormals,P=this.startPositionAndHeights,H=this.startFaceNormalAndVertexCornerIds,b=this.endPositionAndHeights,r=this.endFaceNormalAndHalfWidths,F=this.vertexBatchIds,m=this.batchIdOffset,I=this.vec3Offset,p=this.vec4Offset,N;for(N=0;N<8;N++)t.pack(a,w,I),t.pack(E,x,I),t.pack(s,P,p),P[p+3]=o,t.pack(c,b,p),b[p+3]=A,t.pack(n,H,p),H[p+3]=N,t.pack(u,r,p),r[p+3]=h,F[m++]=g,I+=3,p+=4;this.batchIdOffset=m,this.vec3Offset=I,this.vec4Offset=p;let C=this.indices,y=this.volumeStartIndex,z=this.indexOffset;for(N=0;N<j;N++)C[z+N]=ot[N]+y;this.volumeStartIndex+=8,this.indexOffset+=j};var gt=new W,Et=new _,wt=new t,B=new t,It=new t,xt=new t,T=new t;function Pt(e,s){let c=new Uint16Array(e.positions),i=new Uint16Array(e.widths),o=new Uint32Array(e.counts),A=new Uint16Array(e.batchIds),h=gt,g=Et,f=wt,d=new Float64Array(e.packedBuffer),l=0,a=d[l++],E=d[l++];W.unpack(d,l,h),l+=W.packedLength,_.unpack(d,l,g),l+=_.packedLength,t.unpack(d,l,f);let n,u=c.length/3,w=c.subarray(0,u),x=c.subarray(u,2*u),P=c.subarray(2*u,3*u);X.zigZagDeltaDecode(w,x,P),ft(w,x,P,o);let H=o.length,b=0;for(n=0;n<H;n++){let y=o[n];b+=y-1}let r=new st(b),F=rt(w,x,P,h,a,E,g,f);u=w.length;let m=new Float32Array(u*3);for(n=0;n<u;++n)m[n*3]=F[n*3]-f.x,m[n*3+1]=F[n*3+1]-f.y,m[n*3+2]=F[n*3+2]-f.z;let I=0,p=0;for(n=0;n<H;n++){let y=o[n]-1,z=i[n]*.5,et=A[n],q=I;for(let D=0;D<y;D++){let S=t.unpack(m,I,It),O=t.unpack(m,I+3,xt),G=P[p],Z=P[p+1];G=v.lerp(a,E,G/V),Z=v.lerp(a,E,Z/V),p++;let L=B,R=T;if(D===0){let U=q+y*3,K=t.unpack(m,U,B);if(t.equals(K,S))t.unpack(m,U-3,L);else{let nt=t.subtract(S,O,B);L=t.add(nt,S,B)}}else t.unpack(m,I-3,L);if(D===y-1){let U=t.unpack(m,q,T);if(t.equals(U,O))t.unpack(m,q+3,R);else{let K=t.subtract(O,S,T);R=t.add(K,O,T)}}else t.unpack(m,I+6,R);r.addVolume(L,S,O,R,G,Z,z,et,f,g),I+=3}I+=3,p++}let N=r.indices;s.push(r.startEllipsoidNormals.buffer),s.push(r.endEllipsoidNormals.buffer),s.push(r.startPositionAndHeights.buffer),s.push(r.startFaceNormalAndVertexCornerIds.buffer),s.push(r.endPositionAndHeights.buffer),s.push(r.endFaceNormalAndHalfWidths.buffer),s.push(r.vertexBatchIds.buffer),s.push(N.buffer);let C={indexDatatype:N.BYTES_PER_ELEMENT===2?M.UNSIGNED_SHORT:M.UNSIGNED_INT,startEllipsoidNormals:r.startEllipsoidNormals.buffer,endEllipsoidNormals:r.endEllipsoidNormals.buffer,startPositionAndHeights:r.startPositionAndHeights.buffer,startFaceNormalAndVertexCornerIds:r.startFaceNormalAndVertexCornerIds.buffer,endPositionAndHeights:r.endPositionAndHeights.buffer,endFaceNormalAndHalfWidths:r.endFaceNormalAndHalfWidths.buffer,vertexBatchIds:r.vertexBatchIds.buffer,indices:N.buffer};if(e.keepDecodedPositions){let y=dt(o);s.push(F.buffer,y.buffer),C=Y(C,{decodedPositions:F.buffer,decodedPositionOffsets:y.buffer})}return C}var vt=J(Pt);export{vt as default};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
+
* Version 1.147.0
|
|
5
|
+
*
|
|
6
|
+
* Copyright 2011-2022 Cesium Contributors
|
|
7
|
+
*
|
|
8
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
9
|
+
* you may not use this file except in compliance with the License.
|
|
10
|
+
* You may obtain a copy of the License at
|
|
11
|
+
*
|
|
12
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
13
|
+
*
|
|
14
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
15
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
16
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
17
|
+
* See the License for the specific language governing permissions and
|
|
18
|
+
* limitations under the License.
|
|
19
|
+
*
|
|
20
|
+
* Columbus View (Pat. Pend.)
|
|
21
|
+
*
|
|
22
|
+
* Portions licensed separately.
|
|
23
|
+
* See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
|
|
24
|
+
*/
|
|
25
|
+
|
|
26
|
+
import{a as H}from"./chunk-MDI2T7LJ.js";import{B as E,H as W,K as Y,V as P,ca as j,ea as z,g as l,l as o,r as d}from"./chunk-FZYUOFLY.js";function X(e){this.offset=e.offset,this.count=e.count,this.color=e.color,this.batchIds=e.batchIds}var J=X;var S=new o,$=d.packedLength+o.packedLength,ee=d.packedLength+2,ne=d.packedLength+o.packedLength,te=o.packedLength+1,f={modelMatrix:new d,boundingVolume:new E};function oe(e,c){let n=c*$,i=o.unpack(e,n,S);n+=o.packedLength;let r=d.unpack(e,n,f.modelMatrix);d.multiplyByScale(r,i,r);let t=f.boundingVolume;return o.clone(o.ZERO,t.center),t.radius=Math.sqrt(3),f}function ce(e,c){let n=c*ee,i=e[n++],r=e[n++],t=o.fromElements(i,i,r,S),s=d.unpack(e,n,f.modelMatrix);d.multiplyByScale(s,t,s);let h=f.boundingVolume;return o.clone(o.ZERO,h.center),h.radius=Math.sqrt(2),f}function se(e,c){let n=c*ne,i=o.unpack(e,n,S);n+=o.packedLength;let r=d.unpack(e,n,f.modelMatrix);d.multiplyByScale(r,i,r);let t=f.boundingVolume;return o.clone(o.ZERO,t.center),t.radius=1,f}function ie(e,c){let n=c*te,i=e[n++],r=o.unpack(e,n,S),t=d.fromTranslation(r,f.modelMatrix);d.multiplyByUniformScale(t,i,t);let s=f.boundingVolume;return o.clone(o.ZERO,s.center),s.radius=1,f}var de=new o;function R(e,c,n,i,r){if(!l(c))return;let t=n.length,s=i.attributes.position.values,h=i.indices,a=e.positions,x=e.vertexBatchIds,I=e.indices,m=e.batchIds,g=e.batchTableColors,T=e.batchedIndices,U=e.indexOffsets,v=e.indexCounts,L=e.boundingVolumes,F=e.modelMatrix,Z=e.center,V=e.positionOffset,B=e.batchIdIndex,O=e.indexOffset,D=e.batchedIndicesOffset;for(let w=0;w<t;++w){let C=r(c,w),k=C.modelMatrix;d.multiply(F,k,k);let M=n[w],A=s.length;for(let u=0;u<A;u+=3){let y=o.unpack(s,u,de);d.multiplyByPoint(k,y,y),o.subtract(y,Z,y),o.pack(y,a,V*3+u),x[B++]=M}let b=h.length;for(let u=0;u<b;++u)I[O+u]=h[u]+V;let p=w+D;T[p]=new J({offset:O,count:b,color:P.fromRgba(g[M]),batchIds:[M]}),m[p]=M,U[p]=O,v[p]=b,L[p]=E.transform(C.boundingVolume,k),V+=A/3,O+=b}e.positionOffset=V,e.batchIdIndex=B,e.indexOffset=O,e.batchedIndicesOffset+=t}var K=new o,Q=new d;function re(e){let c=new Float64Array(e),n=0;o.unpack(c,n,K),n+=o.packedLength,d.unpack(c,n,Q)}function le(e){let c=e.length,n=0;for(let i=0;i<c;++i)n+=P.packedLength+3+e[i].batchIds.length;return n}function ae(e,c,n){let i=n.length,r=2+i*E.packedLength+1+le(c),t=new Float64Array(r),s=0;t[s++]=e,t[s++]=i;for(let a=0;a<i;++a)E.pack(n[a],t,s),s+=E.packedLength;let h=c.length;t[s++]=h;for(let a=0;a<h;++a){let x=c[a];P.pack(x.color,t,s),s+=P.packedLength,t[s++]=x.offset,t[s++]=x.count;let I=x.batchIds,m=I.length;t[s++]=m;for(let g=0;g<m;++g)t[s++]=I[g]}return t}function ue(e,c){let n=l(e.boxes)?new Float32Array(e.boxes):void 0,i=l(e.boxBatchIds)?new Uint16Array(e.boxBatchIds):void 0,r=l(e.cylinders)?new Float32Array(e.cylinders):void 0,t=l(e.cylinderBatchIds)?new Uint16Array(e.cylinderBatchIds):void 0,s=l(e.ellipsoids)?new Float32Array(e.ellipsoids):void 0,h=l(e.ellipsoidBatchIds)?new Uint16Array(e.ellipsoidBatchIds):void 0,a=l(e.spheres)?new Float32Array(e.spheres):void 0,x=l(e.sphereBatchIds)?new Uint16Array(e.sphereBatchIds):void 0,I=l(n)?i.length:0,m=l(r)?t.length:0,g=l(s)?h.length:0,T=l(a)?x.length:0,U=W.getUnitBox(),v=j.getUnitCylinder(),L=z.getUnitEllipsoid(),F=U.attributes.position.values,Z=v.attributes.position.values,V=L.attributes.position.values,B=F.length*I;B+=Z.length*m,B+=V.length*(g+T);let O=U.indices,D=v.indices,w=L.indices,C=O.length*I;C+=D.length*m,C+=w.length*(g+T);let k=new Float32Array(B),M=new Uint16Array(B/3),A=Y.createTypedArray(B/3,C),b=I+m+g+T,p=new Uint16Array(b),u=new Array(b),y=new Uint32Array(b),q=new Uint32Array(b),_=new Array(b);re(e.packedBuffer);let G={batchTableColors:new Uint32Array(e.batchTableColors),positions:k,vertexBatchIds:M,indices:A,batchIds:p,batchedIndices:u,indexOffsets:y,indexCounts:q,boundingVolumes:_,positionOffset:0,batchIdIndex:0,indexOffset:0,batchedIndicesOffset:0,modelMatrix:Q,center:K};R(G,n,i,U,oe),R(G,r,t,v,ce),R(G,s,h,L,se),R(G,a,x,L,ie);let N=ae(A.BYTES_PER_ELEMENT,u,_);return c.push(k.buffer,M.buffer,A.buffer),c.push(p.buffer,y.buffer,q.buffer),c.push(N.buffer),{positions:k.buffer,vertexBatchIds:M.buffer,indices:A.buffer,indexOffsets:y.buffer,indexCounts:q.buffer,batchIds:p.buffer,packedBuffer:N.buffer}}var ge=H(ue);export{ge as default};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
+
* Version 1.147.0
|
|
5
|
+
*
|
|
6
|
+
* Copyright 2011-2022 Cesium Contributors
|
|
7
|
+
*
|
|
8
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
9
|
+
* you may not use this file except in compliance with the License.
|
|
10
|
+
* You may obtain a copy of the License at
|
|
11
|
+
*
|
|
12
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
13
|
+
*
|
|
14
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
15
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
16
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
17
|
+
* See the License for the specific language governing permissions and
|
|
18
|
+
* limitations under the License.
|
|
19
|
+
*
|
|
20
|
+
* Columbus View (Pat. Pend.)
|
|
21
|
+
*
|
|
22
|
+
* Portions licensed separately.
|
|
23
|
+
* See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
|
|
24
|
+
*/
|
|
25
|
+
|
|
26
|
+
import{a as x}from"./chunk-MDI2T7LJ.js";import{j as r,l,s as w,u,v as m,z as a}from"./chunk-FZYUOFLY.js";var p=32767,F=new u,L=new l,b=new a,y=new m,i={min:void 0,max:void 0};function V(t){t=new Float64Array(t);let o=0;i.min=t[o++],i.max=t[o++],a.unpack(t,o,b),o+=a.packedLength,m.unpack(t,o,y)}function z(t,o){let e=new Uint16Array(t.positions);V(t.packedBuffer);let c=b,C=y,A=i.min,M=i.max,n=e.length/3,g=e.subarray(0,n),d=e.subarray(n,2*n),f=e.subarray(2*n,3*n);w.zigZagDeltaDecode(g,d,f);let h=new Float64Array(e.length);for(let s=0;s<n;++s){let P=g[s],k=d[s],E=f[s],H=r.lerp(c.west,c.east,P/p),R=r.lerp(c.south,c.north,k/p),T=r.lerp(A,M,E/p),v=u.fromRadians(H,R,T,F),D=C.cartographicToCartesian(v,L);l.pack(D,h,s*3)}return o.push(h.buffer),{positions:h.buffer}}var U=x(z);export{U as default};
|