@dp_unity/dpu-gis-viewer 0.0.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/README.md +0 -0
- package/dist/DPUStatic/Assets/IAU2006_XYS/IAU2006_XYS_0.json +1 -0
- package/dist/DPUStatic/Assets/IAU2006_XYS/IAU2006_XYS_1.json +1 -0
- package/dist/DPUStatic/Assets/IAU2006_XYS/IAU2006_XYS_10.json +1 -0
- package/dist/DPUStatic/Assets/IAU2006_XYS/IAU2006_XYS_11.json +1 -0
- package/dist/DPUStatic/Assets/IAU2006_XYS/IAU2006_XYS_12.json +1 -0
- package/dist/DPUStatic/Assets/IAU2006_XYS/IAU2006_XYS_13.json +1 -0
- package/dist/DPUStatic/Assets/IAU2006_XYS/IAU2006_XYS_14.json +1 -0
- package/dist/DPUStatic/Assets/IAU2006_XYS/IAU2006_XYS_15.json +1 -0
- package/dist/DPUStatic/Assets/IAU2006_XYS/IAU2006_XYS_16.json +1 -0
- package/dist/DPUStatic/Assets/IAU2006_XYS/IAU2006_XYS_17.json +1 -0
- package/dist/DPUStatic/Assets/IAU2006_XYS/IAU2006_XYS_18.json +1 -0
- package/dist/DPUStatic/Assets/IAU2006_XYS/IAU2006_XYS_19.json +1 -0
- package/dist/DPUStatic/Assets/IAU2006_XYS/IAU2006_XYS_2.json +1 -0
- package/dist/DPUStatic/Assets/IAU2006_XYS/IAU2006_XYS_20.json +1 -0
- package/dist/DPUStatic/Assets/IAU2006_XYS/IAU2006_XYS_21.json +1 -0
- package/dist/DPUStatic/Assets/IAU2006_XYS/IAU2006_XYS_22.json +1 -0
- package/dist/DPUStatic/Assets/IAU2006_XYS/IAU2006_XYS_23.json +1 -0
- package/dist/DPUStatic/Assets/IAU2006_XYS/IAU2006_XYS_24.json +1 -0
- package/dist/DPUStatic/Assets/IAU2006_XYS/IAU2006_XYS_25.json +1 -0
- package/dist/DPUStatic/Assets/IAU2006_XYS/IAU2006_XYS_26.json +1 -0
- package/dist/DPUStatic/Assets/IAU2006_XYS/IAU2006_XYS_27.json +1 -0
- package/dist/DPUStatic/Assets/IAU2006_XYS/IAU2006_XYS_3.json +1 -0
- package/dist/DPUStatic/Assets/IAU2006_XYS/IAU2006_XYS_4.json +1 -0
- package/dist/DPUStatic/Assets/IAU2006_XYS/IAU2006_XYS_5.json +1 -0
- package/dist/DPUStatic/Assets/IAU2006_XYS/IAU2006_XYS_6.json +1 -0
- package/dist/DPUStatic/Assets/IAU2006_XYS/IAU2006_XYS_7.json +1 -0
- package/dist/DPUStatic/Assets/IAU2006_XYS/IAU2006_XYS_8.json +1 -0
- package/dist/DPUStatic/Assets/IAU2006_XYS/IAU2006_XYS_9.json +1 -0
- package/dist/DPUStatic/Assets/Images/bing_maps_credit.png +0 -0
- package/dist/DPUStatic/Assets/Images/cesium_credit.png +0 -0
- package/dist/DPUStatic/Assets/Images/google_earth_credit.png +0 -0
- package/dist/DPUStatic/Assets/Images/ion-credit.png +0 -0
- package/dist/DPUStatic/Assets/Textures/LensFlare/DirtMask.jpg +0 -0
- package/dist/DPUStatic/Assets/Textures/LensFlare/StarBurst.jpg +0 -0
- package/dist/DPUStatic/Assets/Textures/NaturalEarthII/0/0/0.jpg +0 -0
- package/dist/DPUStatic/Assets/Textures/NaturalEarthII/0/1/0.jpg +0 -0
- package/dist/DPUStatic/Assets/Textures/NaturalEarthII/1/0/0.jpg +0 -0
- package/dist/DPUStatic/Assets/Textures/NaturalEarthII/1/0/1.jpg +0 -0
- package/dist/DPUStatic/Assets/Textures/NaturalEarthII/1/1/0.jpg +0 -0
- package/dist/DPUStatic/Assets/Textures/NaturalEarthII/1/1/1.jpg +0 -0
- package/dist/DPUStatic/Assets/Textures/NaturalEarthII/1/2/0.jpg +0 -0
- package/dist/DPUStatic/Assets/Textures/NaturalEarthII/1/2/1.jpg +0 -0
- package/dist/DPUStatic/Assets/Textures/NaturalEarthII/1/3/0.jpg +0 -0
- package/dist/DPUStatic/Assets/Textures/NaturalEarthII/1/3/1.jpg +0 -0
- package/dist/DPUStatic/Assets/Textures/NaturalEarthII/2/0/0.jpg +0 -0
- package/dist/DPUStatic/Assets/Textures/NaturalEarthII/2/0/1.jpg +0 -0
- package/dist/DPUStatic/Assets/Textures/NaturalEarthII/2/0/2.jpg +0 -0
- package/dist/DPUStatic/Assets/Textures/NaturalEarthII/2/0/3.jpg +0 -0
- package/dist/DPUStatic/Assets/Textures/NaturalEarthII/2/1/0.jpg +0 -0
- package/dist/DPUStatic/Assets/Textures/NaturalEarthII/2/1/1.jpg +0 -0
- package/dist/DPUStatic/Assets/Textures/NaturalEarthII/2/1/2.jpg +0 -0
- package/dist/DPUStatic/Assets/Textures/NaturalEarthII/2/1/3.jpg +0 -0
- package/dist/DPUStatic/Assets/Textures/NaturalEarthII/2/2/0.jpg +0 -0
- package/dist/DPUStatic/Assets/Textures/NaturalEarthII/2/2/1.jpg +0 -0
- package/dist/DPUStatic/Assets/Textures/NaturalEarthII/2/2/2.jpg +0 -0
- package/dist/DPUStatic/Assets/Textures/NaturalEarthII/2/2/3.jpg +0 -0
- package/dist/DPUStatic/Assets/Textures/NaturalEarthII/2/3/0.jpg +0 -0
- package/dist/DPUStatic/Assets/Textures/NaturalEarthII/2/3/1.jpg +0 -0
- package/dist/DPUStatic/Assets/Textures/NaturalEarthII/2/3/2.jpg +0 -0
- package/dist/DPUStatic/Assets/Textures/NaturalEarthII/2/3/3.jpg +0 -0
- package/dist/DPUStatic/Assets/Textures/NaturalEarthII/2/4/0.jpg +0 -0
- package/dist/DPUStatic/Assets/Textures/NaturalEarthII/2/4/1.jpg +0 -0
- package/dist/DPUStatic/Assets/Textures/NaturalEarthII/2/4/2.jpg +0 -0
- package/dist/DPUStatic/Assets/Textures/NaturalEarthII/2/4/3.jpg +0 -0
- package/dist/DPUStatic/Assets/Textures/NaturalEarthII/2/5/0.jpg +0 -0
- package/dist/DPUStatic/Assets/Textures/NaturalEarthII/2/5/1.jpg +0 -0
- package/dist/DPUStatic/Assets/Textures/NaturalEarthII/2/5/2.jpg +0 -0
- package/dist/DPUStatic/Assets/Textures/NaturalEarthII/2/5/3.jpg +0 -0
- package/dist/DPUStatic/Assets/Textures/NaturalEarthII/2/6/0.jpg +0 -0
- package/dist/DPUStatic/Assets/Textures/NaturalEarthII/2/6/1.jpg +0 -0
- package/dist/DPUStatic/Assets/Textures/NaturalEarthII/2/6/2.jpg +0 -0
- package/dist/DPUStatic/Assets/Textures/NaturalEarthII/2/6/3.jpg +0 -0
- package/dist/DPUStatic/Assets/Textures/NaturalEarthII/2/7/0.jpg +0 -0
- package/dist/DPUStatic/Assets/Textures/NaturalEarthII/2/7/1.jpg +0 -0
- package/dist/DPUStatic/Assets/Textures/NaturalEarthII/2/7/2.jpg +0 -0
- package/dist/DPUStatic/Assets/Textures/NaturalEarthII/2/7/3.jpg +0 -0
- package/dist/DPUStatic/Assets/Textures/NaturalEarthII/tilemapresource.xml +14 -0
- package/dist/DPUStatic/Assets/Textures/SkyBox/tycho2t3_80_mx.jpg +0 -0
- package/dist/DPUStatic/Assets/Textures/SkyBox/tycho2t3_80_my.jpg +0 -0
- package/dist/DPUStatic/Assets/Textures/SkyBox/tycho2t3_80_mz.jpg +0 -0
- package/dist/DPUStatic/Assets/Textures/SkyBox/tycho2t3_80_px.jpg +0 -0
- package/dist/DPUStatic/Assets/Textures/SkyBox/tycho2t3_80_py.jpg +0 -0
- package/dist/DPUStatic/Assets/Textures/SkyBox/tycho2t3_80_pz.jpg +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/airfield.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/airport.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/alcohol-shop.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/america-football.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/art-gallery.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/bakery.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/bank.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/bar.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/baseball.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/basketball.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/beer.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/bicycle.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/building.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/bus.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/cafe.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/camera.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/campsite.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/car.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/cemetery.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/cesium.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/chemist.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/cinema.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/circle-stroked.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/circle.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/city.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/clothing-store.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/college.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/commercial.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/cricket.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/cross.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/dam.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/danger.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/disability.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/dog-park.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/embassy.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/emergency-telephone.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/entrance.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/farm.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/fast-food.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/ferry.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/fire-station.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/fuel.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/garden.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/gift.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/golf.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/grocery.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/hairdresser.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/harbor.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/heart.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/heliport.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/hospital.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/ice-cream.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/industrial.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/land-use.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/laundry.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/library.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/lighthouse.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/lodging.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/logging.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/london-underground.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/marker-stroked.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/marker.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/minefield.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/mobilephone.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/monument.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/museum.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/music.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/oil-well.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/park.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/park2.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/parking-garage.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/parking.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/pharmacy.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/pitch.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/place-of-worship.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/playground.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/police.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/polling-place.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/post.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/prison.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/rail-above.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/rail-light.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/rail-metro.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/rail-underground.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/rail.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/religious-christian.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/religious-jewish.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/religious-muslim.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/restaurant.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/roadblock.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/rocket.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/school.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/scooter.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/shop.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/skiing.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/slaughterhouse.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/soccer.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/square-stroked.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/square.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/star-stroked.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/star.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/suitcase.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/swimming.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/telephone.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/tennis.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/theatre.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/toilets.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/town-hall.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/town.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/triangle-stroked.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/triangle.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/village.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/warehouse.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/waste-basket.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/water.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/wetland.png +0 -0
- package/dist/DPUStatic/Assets/Textures/maki/zoo.png +0 -0
- package/dist/DPUStatic/Assets/Textures/moonSmall.jpg +0 -0
- package/dist/DPUStatic/Assets/Textures/pin.svg +1 -0
- package/dist/DPUStatic/Assets/Textures/waterNormals.jpg +0 -0
- package/dist/DPUStatic/Assets/Textures/waterNormalsSmall.jpg +0 -0
- package/dist/DPUStatic/Assets/approximateTerrainHeights.json +1 -0
- package/dist/DPUStatic/ThirdParty/Workers/package.json +1 -0
- package/dist/DPUStatic/ThirdParty/Workers/pako_deflate.min.js +2 -0
- package/dist/DPUStatic/ThirdParty/Workers/pako_deflate.min.js.LICENSE.txt +1 -0
- package/dist/DPUStatic/ThirdParty/Workers/pako_inflate.min.js +2 -0
- package/dist/DPUStatic/ThirdParty/Workers/pako_inflate.min.js.LICENSE.txt +1 -0
- package/dist/DPUStatic/ThirdParty/Workers/z-worker-pako.js +1 -0
- package/dist/DPUStatic/ThirdParty/basis_transcoder.wasm +0 -0
- package/dist/DPUStatic/ThirdParty/draco_decoder.wasm +0 -0
- package/dist/DPUStatic/ThirdParty/google-earth-dbroot-parser.js +1 -0
- package/dist/DPUStatic/Widgets/Animation/Animation.css +127 -0
- package/dist/DPUStatic/Widgets/Animation/lighter.css +70 -0
- package/dist/DPUStatic/Widgets/BaseLayerPicker/BaseLayerPicker.css +108 -0
- package/dist/DPUStatic/Widgets/BaseLayerPicker/lighter.css +22 -0
- package/dist/DPUStatic/Widgets/Cesium3DTilesInspector/Cesium3DTilesInspector.css +102 -0
- package/dist/DPUStatic/Widgets/CesiumInspector/CesiumInspector.css +113 -0
- package/dist/DPUStatic/Widgets/CesiumWidget/CesiumWidget.css +119 -0
- package/dist/DPUStatic/Widgets/CesiumWidget/lighter.css +14 -0
- package/dist/DPUStatic/Widgets/FullscreenButton/FullscreenButton.css +8 -0
- package/dist/DPUStatic/Widgets/Geocoder/Geocoder.css +70 -0
- package/dist/DPUStatic/Widgets/Geocoder/lighter.css +17 -0
- package/dist/DPUStatic/Widgets/I3SBuildingSceneLayerExplorer/I3SBuildingSceneLayerExplorer.css +27 -0
- package/dist/DPUStatic/Widgets/Images/ImageryProviders/ArcGisMapServiceWorldHillshade.png +0 -0
- package/dist/DPUStatic/Widgets/Images/ImageryProviders/ArcGisMapServiceWorldImagery.png +0 -0
- package/dist/DPUStatic/Widgets/Images/ImageryProviders/ArcGisMapServiceWorldOcean.png +0 -0
- package/dist/DPUStatic/Widgets/Images/ImageryProviders/bingAerial.png +0 -0
- package/dist/DPUStatic/Widgets/Images/ImageryProviders/bingAerialLabels.png +0 -0
- package/dist/DPUStatic/Widgets/Images/ImageryProviders/bingRoads.png +0 -0
- package/dist/DPUStatic/Widgets/Images/ImageryProviders/blueMarble.png +0 -0
- package/dist/DPUStatic/Widgets/Images/ImageryProviders/earthAtNight.png +0 -0
- package/dist/DPUStatic/Widgets/Images/ImageryProviders/mapQuestOpenStreetMap.png +0 -0
- package/dist/DPUStatic/Widgets/Images/ImageryProviders/mapboxSatellite.png +0 -0
- package/dist/DPUStatic/Widgets/Images/ImageryProviders/mapboxStreets.png +0 -0
- package/dist/DPUStatic/Widgets/Images/ImageryProviders/mapboxTerrain.png +0 -0
- package/dist/DPUStatic/Widgets/Images/ImageryProviders/naturalEarthII.png +0 -0
- package/dist/DPUStatic/Widgets/Images/ImageryProviders/openStreetMap.png +0 -0
- package/dist/DPUStatic/Widgets/Images/ImageryProviders/sentinel-2.png +0 -0
- package/dist/DPUStatic/Widgets/Images/ImageryProviders/stadiaAlidadeSmooth.png +0 -0
- package/dist/DPUStatic/Widgets/Images/ImageryProviders/stadiaAlidadeSmoothDark.png +0 -0
- package/dist/DPUStatic/Widgets/Images/ImageryProviders/stamenToner.png +0 -0
- package/dist/DPUStatic/Widgets/Images/ImageryProviders/stamenWatercolor.png +0 -0
- package/dist/DPUStatic/Widgets/Images/NavigationHelp/Mouse.svg +84 -0
- package/dist/DPUStatic/Widgets/Images/NavigationHelp/MouseLeft.svg +76 -0
- package/dist/DPUStatic/Widgets/Images/NavigationHelp/MouseMiddle.svg +76 -0
- package/dist/DPUStatic/Widgets/Images/NavigationHelp/MouseRight.svg +76 -0
- package/dist/DPUStatic/Widgets/Images/NavigationHelp/Touch.svg +120 -0
- package/dist/DPUStatic/Widgets/Images/NavigationHelp/TouchDrag.svg +129 -0
- package/dist/DPUStatic/Widgets/Images/NavigationHelp/TouchRotate.svg +76 -0
- package/dist/DPUStatic/Widgets/Images/NavigationHelp/TouchTilt.svg +135 -0
- package/dist/DPUStatic/Widgets/Images/NavigationHelp/TouchZoom.svg +74 -0
- package/dist/DPUStatic/Widgets/Images/TerrainProviders/CesiumWorldTerrain.png +0 -0
- package/dist/DPUStatic/Widgets/Images/TerrainProviders/Ellipsoid.png +0 -0
- package/dist/DPUStatic/Widgets/Images/TimelineIcons.png +0 -0
- package/dist/DPUStatic/Widgets/Images/info-loading.gif +0 -0
- package/dist/DPUStatic/Widgets/InfoBox/InfoBox.css +92 -0
- package/dist/DPUStatic/Widgets/InfoBox/InfoBoxDescription.css +178 -0
- package/dist/DPUStatic/Widgets/NavigationHelpButton/NavigationHelpButton.css +93 -0
- package/dist/DPUStatic/Widgets/NavigationHelpButton/lighter.css +38 -0
- package/dist/DPUStatic/Widgets/PerformanceWatchdog/PerformanceWatchdog.css +15 -0
- package/dist/DPUStatic/Widgets/ProjectionPicker/ProjectionPicker.css +38 -0
- package/dist/DPUStatic/Widgets/SceneModePicker/SceneModePicker.css +56 -0
- package/dist/DPUStatic/Widgets/SelectionIndicator/SelectionIndicator.css +20 -0
- package/dist/DPUStatic/Widgets/Timeline/Timeline.css +103 -0
- package/dist/DPUStatic/Widgets/Timeline/lighter.css +23 -0
- package/dist/DPUStatic/Widgets/VRButton/VRButton.css +8 -0
- package/dist/DPUStatic/Widgets/Viewer/Viewer.css +107 -0
- package/dist/DPUStatic/Widgets/VoxelInspector/VoxelInspector.css +16 -0
- package/dist/DPUStatic/Widgets/lighter.css +237 -0
- package/dist/DPUStatic/Widgets/lighterShared.css +46 -0
- package/dist/DPUStatic/Widgets/shared.css +103 -0
- package/dist/DPUStatic/Widgets/widgets.css +1342 -0
- package/dist/DPUStatic/Workers/chunk-24JYWT5N.js +2 -0
- package/dist/DPUStatic/Workers/chunk-24JYWT5N.js.LICENSE.txt +24 -0
- package/dist/DPUStatic/Workers/chunk-34ULWVZF.js +2 -0
- package/dist/DPUStatic/Workers/chunk-34ULWVZF.js.LICENSE.txt +24 -0
- package/dist/DPUStatic/Workers/chunk-3THTQ4QB.js +2 -0
- package/dist/DPUStatic/Workers/chunk-3THTQ4QB.js.LICENSE.txt +24 -0
- package/dist/DPUStatic/Workers/chunk-42FICTTZ.js +2 -0
- package/dist/DPUStatic/Workers/chunk-42FICTTZ.js.LICENSE.txt +24 -0
- package/dist/DPUStatic/Workers/chunk-4BYMTYMT.js +2 -0
- package/dist/DPUStatic/Workers/chunk-4BYMTYMT.js.LICENSE.txt +24 -0
- package/dist/DPUStatic/Workers/chunk-54PMPXZ4.js +2 -0
- package/dist/DPUStatic/Workers/chunk-54PMPXZ4.js.LICENSE.txt +24 -0
- package/dist/DPUStatic/Workers/chunk-5CC3QRYS.js +2 -0
- package/dist/DPUStatic/Workers/chunk-5CC3QRYS.js.LICENSE.txt +24 -0
- package/dist/DPUStatic/Workers/chunk-6HIVPZ7K.js +2 -0
- package/dist/DPUStatic/Workers/chunk-6HIVPZ7K.js.LICENSE.txt +24 -0
- package/dist/DPUStatic/Workers/chunk-72CGGEJF.js +2 -0
- package/dist/DPUStatic/Workers/chunk-72CGGEJF.js.LICENSE.txt +24 -0
- package/dist/DPUStatic/Workers/chunk-CTRWX4F5.js +2 -0
- package/dist/DPUStatic/Workers/chunk-CTRWX4F5.js.LICENSE.txt +24 -0
- package/dist/DPUStatic/Workers/chunk-D5HNP2LB.js +2 -0
- package/dist/DPUStatic/Workers/chunk-D5HNP2LB.js.LICENSE.txt +24 -0
- package/dist/DPUStatic/Workers/chunk-E7HC3VTG.js +2 -0
- package/dist/DPUStatic/Workers/chunk-E7HC3VTG.js.LICENSE.txt +24 -0
- package/dist/DPUStatic/Workers/chunk-FNTGP2KW.js +2 -0
- package/dist/DPUStatic/Workers/chunk-FNTGP2KW.js.LICENSE.txt +24 -0
- package/dist/DPUStatic/Workers/chunk-G72WI3OZ.js +2 -0
- package/dist/DPUStatic/Workers/chunk-G72WI3OZ.js.LICENSE.txt +24 -0
- package/dist/DPUStatic/Workers/chunk-G75U3WZT.js +2 -0
- package/dist/DPUStatic/Workers/chunk-G75U3WZT.js.LICENSE.txt +24 -0
- package/dist/DPUStatic/Workers/chunk-GJI4ZBKE.js +2 -0
- package/dist/DPUStatic/Workers/chunk-GJI4ZBKE.js.LICENSE.txt +24 -0
- package/dist/DPUStatic/Workers/chunk-HQ4YU6WD.js +2 -0
- package/dist/DPUStatic/Workers/chunk-HQ4YU6WD.js.LICENSE.txt +24 -0
- package/dist/DPUStatic/Workers/chunk-HQXG4R4L.js +2 -0
- package/dist/DPUStatic/Workers/chunk-HQXG4R4L.js.LICENSE.txt +24 -0
- package/dist/DPUStatic/Workers/chunk-HTYD62GU.js +2 -0
- package/dist/DPUStatic/Workers/chunk-HTYD62GU.js.LICENSE.txt +24 -0
- package/dist/DPUStatic/Workers/chunk-IF6EJ7KL.js +2 -0
- package/dist/DPUStatic/Workers/chunk-IF6EJ7KL.js.LICENSE.txt +24 -0
- package/dist/DPUStatic/Workers/chunk-JR7WFPVR.js +2 -0
- package/dist/DPUStatic/Workers/chunk-JR7WFPVR.js.LICENSE.txt +24 -0
- package/dist/DPUStatic/Workers/chunk-JXLT7VPX.js +2 -0
- package/dist/DPUStatic/Workers/chunk-JXLT7VPX.js.LICENSE.txt +24 -0
- package/dist/DPUStatic/Workers/chunk-K2M3OJ7Z.js +2 -0
- package/dist/DPUStatic/Workers/chunk-K2M3OJ7Z.js.LICENSE.txt +24 -0
- package/dist/DPUStatic/Workers/chunk-LH3SUUXG.js +2 -0
- package/dist/DPUStatic/Workers/chunk-LH3SUUXG.js.LICENSE.txt +24 -0
- package/dist/DPUStatic/Workers/chunk-M3A6SPGI.js +2 -0
- package/dist/DPUStatic/Workers/chunk-M3A6SPGI.js.LICENSE.txt +67 -0
- package/dist/DPUStatic/Workers/chunk-MWSGYAUE.js +2 -0
- package/dist/DPUStatic/Workers/chunk-MWSGYAUE.js.LICENSE.txt +24 -0
- package/dist/DPUStatic/Workers/chunk-N3A5CZ2S.js +2 -0
- package/dist/DPUStatic/Workers/chunk-N3A5CZ2S.js.LICENSE.txt +24 -0
- package/dist/DPUStatic/Workers/chunk-N5HLZFHR.js +2 -0
- package/dist/DPUStatic/Workers/chunk-N5HLZFHR.js.LICENSE.txt +24 -0
- package/dist/DPUStatic/Workers/chunk-OTRIIEF3.js +2 -0
- package/dist/DPUStatic/Workers/chunk-OTRIIEF3.js.LICENSE.txt +24 -0
- package/dist/DPUStatic/Workers/chunk-OZYLWM74.js +2 -0
- package/dist/DPUStatic/Workers/chunk-OZYLWM74.js.LICENSE.txt +24 -0
- package/dist/DPUStatic/Workers/chunk-PJQ53UQY.js +2 -0
- package/dist/DPUStatic/Workers/chunk-PJQ53UQY.js.LICENSE.txt +24 -0
- package/dist/DPUStatic/Workers/chunk-PJUDOIE3.js +2 -0
- package/dist/DPUStatic/Workers/chunk-PJUDOIE3.js.LICENSE.txt +24 -0
- package/dist/DPUStatic/Workers/chunk-PY4CW263.js +2 -0
- package/dist/DPUStatic/Workers/chunk-PY4CW263.js.LICENSE.txt +24 -0
- package/dist/DPUStatic/Workers/chunk-Q5IXWMLP.js +2 -0
- package/dist/DPUStatic/Workers/chunk-Q5IXWMLP.js.LICENSE.txt +24 -0
- package/dist/DPUStatic/Workers/chunk-Q5MYX5A2.js +2 -0
- package/dist/DPUStatic/Workers/chunk-Q5MYX5A2.js.LICENSE.txt +24 -0
- package/dist/DPUStatic/Workers/chunk-R62IKKEC.js +2 -0
- package/dist/DPUStatic/Workers/chunk-R62IKKEC.js.LICENSE.txt +24 -0
- package/dist/DPUStatic/Workers/chunk-RDAVO5OM.js +2 -0
- package/dist/DPUStatic/Workers/chunk-RDAVO5OM.js.LICENSE.txt +24 -0
- package/dist/DPUStatic/Workers/chunk-RNF7TLFF.js +2 -0
- package/dist/DPUStatic/Workers/chunk-RNF7TLFF.js.LICENSE.txt +24 -0
- package/dist/DPUStatic/Workers/chunk-RRZIPF5C.js +2 -0
- package/dist/DPUStatic/Workers/chunk-RRZIPF5C.js.LICENSE.txt +24 -0
- package/dist/DPUStatic/Workers/chunk-S4VBGY2U.js +2 -0
- package/dist/DPUStatic/Workers/chunk-S4VBGY2U.js.LICENSE.txt +24 -0
- package/dist/DPUStatic/Workers/chunk-SOCYD7RP.js +2 -0
- package/dist/DPUStatic/Workers/chunk-SOCYD7RP.js.LICENSE.txt +24 -0
- package/dist/DPUStatic/Workers/chunk-SYY6FTAS.js +2 -0
- package/dist/DPUStatic/Workers/chunk-SYY6FTAS.js.LICENSE.txt +24 -0
- package/dist/DPUStatic/Workers/chunk-UCTPWOTZ.js +2 -0
- package/dist/DPUStatic/Workers/chunk-UCTPWOTZ.js.LICENSE.txt +24 -0
- package/dist/DPUStatic/Workers/chunk-UJMUN4NO.js +2 -0
- package/dist/DPUStatic/Workers/chunk-UJMUN4NO.js.LICENSE.txt +24 -0
- package/dist/DPUStatic/Workers/chunk-W5MIOKEY.js +2 -0
- package/dist/DPUStatic/Workers/chunk-W5MIOKEY.js.LICENSE.txt +24 -0
- package/dist/DPUStatic/Workers/chunk-W7OWWJQT.js +2 -0
- package/dist/DPUStatic/Workers/chunk-W7OWWJQT.js.LICENSE.txt +24 -0
- package/dist/DPUStatic/Workers/chunk-WJYW7YDO.js +2 -0
- package/dist/DPUStatic/Workers/chunk-WJYW7YDO.js.LICENSE.txt +24 -0
- package/dist/DPUStatic/Workers/chunk-XSINRSN5.js +2 -0
- package/dist/DPUStatic/Workers/chunk-XSINRSN5.js.LICENSE.txt +24 -0
- package/dist/DPUStatic/Workers/chunk-Z6PJ3IIE.js +2 -0
- package/dist/DPUStatic/Workers/chunk-Z6PJ3IIE.js.LICENSE.txt +24 -0
- package/dist/DPUStatic/Workers/chunk-Z7BLUZ7R.js +2 -0
- package/dist/DPUStatic/Workers/chunk-Z7BLUZ7R.js.LICENSE.txt +24 -0
- package/dist/DPUStatic/Workers/chunk-ZFYLUAMF.js +2 -0
- package/dist/DPUStatic/Workers/chunk-ZFYLUAMF.js.LICENSE.txt +24 -0
- package/dist/DPUStatic/Workers/chunk-ZHF7X3YD.js +2 -0
- package/dist/DPUStatic/Workers/chunk-ZHF7X3YD.js.LICENSE.txt +24 -0
- package/dist/DPUStatic/Workers/combineGeometry.js +2 -0
- package/dist/DPUStatic/Workers/combineGeometry.js.LICENSE.txt +24 -0
- package/dist/DPUStatic/Workers/createBoxGeometry.js +2 -0
- package/dist/DPUStatic/Workers/createBoxGeometry.js.LICENSE.txt +24 -0
- package/dist/DPUStatic/Workers/createBoxOutlineGeometry.js +2 -0
- package/dist/DPUStatic/Workers/createBoxOutlineGeometry.js.LICENSE.txt +24 -0
- package/dist/DPUStatic/Workers/createCircleGeometry.js +2 -0
- package/dist/DPUStatic/Workers/createCircleGeometry.js.LICENSE.txt +24 -0
- package/dist/DPUStatic/Workers/createCircleOutlineGeometry.js +2 -0
- package/dist/DPUStatic/Workers/createCircleOutlineGeometry.js.LICENSE.txt +24 -0
- package/dist/DPUStatic/Workers/createCoplanarPolygonGeometry.js +2 -0
- package/dist/DPUStatic/Workers/createCoplanarPolygonGeometry.js.LICENSE.txt +24 -0
- package/dist/DPUStatic/Workers/createCoplanarPolygonOutlineGeometry.js +2 -0
- package/dist/DPUStatic/Workers/createCoplanarPolygonOutlineGeometry.js.LICENSE.txt +24 -0
- package/dist/DPUStatic/Workers/createCorridorGeometry.js +2 -0
- package/dist/DPUStatic/Workers/createCorridorGeometry.js.LICENSE.txt +24 -0
- package/dist/DPUStatic/Workers/createCorridorOutlineGeometry.js +2 -0
- package/dist/DPUStatic/Workers/createCorridorOutlineGeometry.js.LICENSE.txt +24 -0
- package/dist/DPUStatic/Workers/createCylinderGeometry.js +2 -0
- package/dist/DPUStatic/Workers/createCylinderGeometry.js.LICENSE.txt +24 -0
- package/dist/DPUStatic/Workers/createCylinderOutlineGeometry.js +2 -0
- package/dist/DPUStatic/Workers/createCylinderOutlineGeometry.js.LICENSE.txt +24 -0
- package/dist/DPUStatic/Workers/createEllipseGeometry.js +2 -0
- package/dist/DPUStatic/Workers/createEllipseGeometry.js.LICENSE.txt +24 -0
- package/dist/DPUStatic/Workers/createEllipseOutlineGeometry.js +2 -0
- package/dist/DPUStatic/Workers/createEllipseOutlineGeometry.js.LICENSE.txt +24 -0
- package/dist/DPUStatic/Workers/createEllipsoidGeometry.js +2 -0
- package/dist/DPUStatic/Workers/createEllipsoidGeometry.js.LICENSE.txt +24 -0
- package/dist/DPUStatic/Workers/createEllipsoidOutlineGeometry.js +2 -0
- package/dist/DPUStatic/Workers/createEllipsoidOutlineGeometry.js.LICENSE.txt +24 -0
- package/dist/DPUStatic/Workers/createFrustumGeometry.js +2 -0
- package/dist/DPUStatic/Workers/createFrustumGeometry.js.LICENSE.txt +24 -0
- package/dist/DPUStatic/Workers/createFrustumOutlineGeometry.js +2 -0
- package/dist/DPUStatic/Workers/createFrustumOutlineGeometry.js.LICENSE.txt +24 -0
- package/dist/DPUStatic/Workers/createGeometry.js +2 -0
- package/dist/DPUStatic/Workers/createGeometry.js.LICENSE.txt +24 -0
- package/dist/DPUStatic/Workers/createGroundPolylineGeometry.js +2 -0
- package/dist/DPUStatic/Workers/createGroundPolylineGeometry.js.LICENSE.txt +24 -0
- package/dist/DPUStatic/Workers/createPlaneGeometry.js +2 -0
- package/dist/DPUStatic/Workers/createPlaneGeometry.js.LICENSE.txt +24 -0
- package/dist/DPUStatic/Workers/createPlaneOutlineGeometry.js +2 -0
- package/dist/DPUStatic/Workers/createPlaneOutlineGeometry.js.LICENSE.txt +24 -0
- package/dist/DPUStatic/Workers/createPolygonGeometry.js +2 -0
- package/dist/DPUStatic/Workers/createPolygonGeometry.js.LICENSE.txt +24 -0
- package/dist/DPUStatic/Workers/createPolygonOutlineGeometry.js +2 -0
- package/dist/DPUStatic/Workers/createPolygonOutlineGeometry.js.LICENSE.txt +24 -0
- package/dist/DPUStatic/Workers/createPolylineGeometry.js +2 -0
- package/dist/DPUStatic/Workers/createPolylineGeometry.js.LICENSE.txt +24 -0
- package/dist/DPUStatic/Workers/createPolylineVolumeGeometry.js +2 -0
- package/dist/DPUStatic/Workers/createPolylineVolumeGeometry.js.LICENSE.txt +24 -0
- package/dist/DPUStatic/Workers/createPolylineVolumeOutlineGeometry.js +2 -0
- package/dist/DPUStatic/Workers/createPolylineVolumeOutlineGeometry.js.LICENSE.txt +24 -0
- package/dist/DPUStatic/Workers/createRectangleGeometry.js +2 -0
- package/dist/DPUStatic/Workers/createRectangleGeometry.js.LICENSE.txt +24 -0
- package/dist/DPUStatic/Workers/createRectangleOutlineGeometry.js +2 -0
- package/dist/DPUStatic/Workers/createRectangleOutlineGeometry.js.LICENSE.txt +24 -0
- package/dist/DPUStatic/Workers/createSimplePolylineGeometry.js +2 -0
- package/dist/DPUStatic/Workers/createSimplePolylineGeometry.js.LICENSE.txt +24 -0
- package/dist/DPUStatic/Workers/createSphereGeometry.js +2 -0
- package/dist/DPUStatic/Workers/createSphereGeometry.js.LICENSE.txt +24 -0
- package/dist/DPUStatic/Workers/createSphereOutlineGeometry.js +2 -0
- package/dist/DPUStatic/Workers/createSphereOutlineGeometry.js.LICENSE.txt +24 -0
- package/dist/DPUStatic/Workers/createTaskProcessorWorker.js +2 -0
- package/dist/DPUStatic/Workers/createTaskProcessorWorker.js.LICENSE.txt +24 -0
- package/dist/DPUStatic/Workers/createVectorTileClampedPolylines.js +2 -0
- package/dist/DPUStatic/Workers/createVectorTileClampedPolylines.js.LICENSE.txt +24 -0
- package/dist/DPUStatic/Workers/createVectorTileGeometries.js +2 -0
- package/dist/DPUStatic/Workers/createVectorTileGeometries.js.LICENSE.txt +24 -0
- package/dist/DPUStatic/Workers/createVectorTilePoints.js +2 -0
- package/dist/DPUStatic/Workers/createVectorTilePoints.js.LICENSE.txt +24 -0
- package/dist/DPUStatic/Workers/createVectorTilePolygons.js +2 -0
- package/dist/DPUStatic/Workers/createVectorTilePolygons.js.LICENSE.txt +24 -0
- package/dist/DPUStatic/Workers/createVectorTilePolylines.js +2 -0
- package/dist/DPUStatic/Workers/createVectorTilePolylines.js.LICENSE.txt +24 -0
- package/dist/DPUStatic/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js +2 -0
- package/dist/DPUStatic/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js.LICENSE.txt +24 -0
- package/dist/DPUStatic/Workers/createVerticesFromHeightmap.js +2 -0
- package/dist/DPUStatic/Workers/createVerticesFromHeightmap.js.LICENSE.txt +26 -0
- package/dist/DPUStatic/Workers/createVerticesFromQuantizedTerrainMesh.js +2 -0
- package/dist/DPUStatic/Workers/createVerticesFromQuantizedTerrainMesh.js.LICENSE.txt +24 -0
- package/dist/DPUStatic/Workers/createWallGeometry.js +2 -0
- package/dist/DPUStatic/Workers/createWallGeometry.js.LICENSE.txt +24 -0
- package/dist/DPUStatic/Workers/createWallOutlineGeometry.js +2 -0
- package/dist/DPUStatic/Workers/createWallOutlineGeometry.js.LICENSE.txt +24 -0
- package/dist/DPUStatic/Workers/decodeDraco.js +2 -0
- package/dist/DPUStatic/Workers/decodeDraco.js.LICENSE.txt +24 -0
- package/dist/DPUStatic/Workers/decodeGoogleEarthEnterprisePacket.js +2 -0
- package/dist/DPUStatic/Workers/decodeGoogleEarthEnterprisePacket.js.LICENSE.txt +24 -0
- package/dist/DPUStatic/Workers/decodeI3S.js +2 -0
- package/dist/DPUStatic/Workers/decodeI3S.js.LICENSE.txt +24 -0
- package/dist/DPUStatic/Workers/transcodeKTX2.js +2 -0
- package/dist/DPUStatic/Workers/transcodeKTX2.js.LICENSE.txt +24 -0
- package/dist/DPUStatic/Workers/transferTypedArrayTest.js +2 -0
- package/dist/DPUStatic/Workers/transferTypedArrayTest.js.LICENSE.txt +24 -0
- package/dist/DPUStatic/Workers/upsampleQuantizedTerrainMesh.js +2 -0
- package/dist/DPUStatic/Workers/upsampleQuantizedTerrainMesh.js.LICENSE.txt +24 -0
- package/dist/index.js +3 -0
- package/dist/index.js.LICENSE.txt +51 -0
- package/dist/index.js.map +1 -0
- package/dist/types/DPUService.d.ts +6 -0
- package/dist/types/DPUViewer.d.ts +93 -0
- package/dist/types/class/tileModel.d.ts +33 -0
- package/dist/types/icon.d.ts +33 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/interfaces/styleElement.interface.d.ts +17 -0
- package/dist/types/services/Dialog/formLabelPoint.d.ts +43 -0
- package/dist/types/services/contextMenu.d.ts +32 -0
- package/dist/types/services/coordinates.d.ts +22 -0
- package/dist/types/services/createToolbar.d.ts +31 -0
- package/dist/types/services/dataProperties.d.ts +31 -0
- package/dist/types/services/flyCamera.d.ts +101 -0
- package/dist/types/services/flyToLocation.d.ts +32 -0
- package/dist/types/services/footerView.d.ts +18 -0
- package/dist/types/services/labelPoint.d.ts +135 -0
- package/dist/types/services/mapWeather.d.ts +34 -0
- package/dist/types/services/mesureCesium.d.ts +69 -0
- package/dist/types/services/sceneManager.d.ts +35 -0
- package/dist/types/services/styleElement.d.ts +10 -0
- package/dist/types/services/treeTileModel.d.ts +66 -0
- package/dist/types/utils/Dialog/dialog.d.ts +34 -0
- package/dist/types/utils/Dialog/validToken.d.ts +12 -0
- package/dist/types/utils/compass/DomUtil.d.ts +23 -0
- package/dist/types/utils/compass/Widget.d.ts +44 -0
- package/dist/types/utils/compass/compass.d.ts +60 -0
- package/dist/types/utils/compass/icons/compass-outer.d.ts +6 -0
- package/dist/types/utils/compass/icons/index.d.ts +4 -0
- package/dist/types/utils/utils.d.ts +16 -0
- package/package.json +49 -0
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
+
* Version 1.124
|
|
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
|
+
*/
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
+
* Version 1.124
|
|
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
|
+
*/
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! For license information please see chunk-HQXG4R4L.js.LICENSE.txt */
|
|
2
|
+
import{a as wt}from"./chunk-5CC3QRYS.js";import{a as k}from"./chunk-6HIVPZ7K.js";import{a as kt}from"./chunk-34ULWVZF.js";import{a as Ct}from"./chunk-24JYWT5N.js";import{b as dt,c as _t,d as R}from"./chunk-LH3SUUXG.js";import{d as ht}from"./chunk-K2M3OJ7Z.js";import{a as N}from"./chunk-D5HNP2LB.js";import{a as s,c as pt,d as ot}from"./chunk-S4VBGY2U.js";import{a as M}from"./chunk-UCTPWOTZ.js";import{a as p}from"./chunk-N3A5CZ2S.js";import{a as z}from"./chunk-G75U3WZT.js";import{e as E}from"./chunk-3THTQ4QB.js";var yt=new s,vt=new s,Et=new s,Mt=new s,Nt=new s,Rt=new s(1,1,1),Pt=Math.cos,At=Math.sin;function O(t){t=p(t,p.EMPTY_OBJECT);let e=p(t.radii,Rt),i=p(t.innerRadii,e),n=p(t.minimumClock,0),a=p(t.maximumClock,M.TWO_PI),r=p(t.minimumCone,0),o=p(t.maximumCone,M.PI),m=Math.round(p(t.stackPartitions,64)),c=Math.round(p(t.slicePartitions,64)),u=p(t.vertexFormat,k.DEFAULT);if(c<3)throw new z("options.slicePartitions cannot be less than three.");if(m<3)throw new z("options.stackPartitions cannot be less than three.");this._radii=s.clone(e),this._innerRadii=s.clone(i),this._minimumClock=n,this._maximumClock=a,this._minimumCone=r,this._maximumCone=o,this._stackPartitions=m,this._slicePartitions=c,this._vertexFormat=k.clone(u),this._offsetAttribute=t.offsetAttribute,this._workerName="createEllipsoidGeometry"}O.packedLength=2*s.packedLength+k.packedLength+7,O.pack=function(t,e,i){if(!E(t))throw new z("value is required");if(!E(e))throw new z("array is required");return i=p(i,0),s.pack(t._radii,e,i),i+=s.packedLength,s.pack(t._innerRadii,e,i),i+=s.packedLength,k.pack(t._vertexFormat,e,i),i+=k.packedLength,e[i++]=t._minimumClock,e[i++]=t._maximumClock,e[i++]=t._minimumCone,e[i++]=t._maximumCone,e[i++]=t._stackPartitions,e[i++]=t._slicePartitions,e[i]=p(t._offsetAttribute,-1),e};var mt,bt=new s,xt=new s,Ot=new k,y={radii:bt,innerRadii:xt,vertexFormat:Ot,minimumClock:void 0,maximumClock:void 0,minimumCone:void 0,maximumCone:void 0,stackPartitions:void 0,slicePartitions:void 0,offsetAttribute:void 0};O.unpack=function(t,e,i){if(!E(t))throw new z("array is required");e=p(e,0);let n=s.unpack(t,e,bt);e+=s.packedLength;let a=s.unpack(t,e,xt);e+=s.packedLength;let r=k.unpack(t,e,Ot);e+=k.packedLength;let o=t[e++],m=t[e++],c=t[e++],u=t[e++],l=t[e++],f=t[e++],h=t[e];return E(i)?(i._radii=s.clone(n,i._radii),i._innerRadii=s.clone(a,i._innerRadii),i._vertexFormat=k.clone(r,i._vertexFormat),i._minimumClock=o,i._maximumClock=m,i._minimumCone=c,i._maximumCone=u,i._stackPartitions=l,i._slicePartitions=f,i._offsetAttribute=-1===h?void 0:h,i):(y.minimumClock=o,y.maximumClock=m,y.minimumCone=c,y.maximumCone=u,y.stackPartitions=l,y.slicePartitions=f,y.offsetAttribute=-1===h?void 0:h,new O(y))},O.createGeometry=function(t){let e=t._radii;if(e.x<=0||e.y<=0||e.z<=0)return;let i=t._innerRadii;if(i.x<=0||i.y<=0||i.z<=0)return;let n=t._minimumClock,a=t._maximumClock,r=t._minimumCone,o=t._maximumCone,m=t._vertexFormat,c=t._slicePartitions+1,u=t._stackPartitions+1;c=Math.round(c*Math.abs(a-n)/M.TWO_PI),u=Math.round(u*Math.abs(o-r)/M.PI),c<2&&(c=2),u<2&&(u=2);let l,f,p=0,k=[r],h=[n];for(l=0;l<u;l++)k.push(r+l*(o-r)/(u-1));for(k.push(o),f=0;f<c;f++)h.push(n+f*(a-n)/(c-1));h.push(a);let _=k.length,d=h.length,y=0,w=1,A=i.x!==e.x||i.y!==e.y||i.z!==e.z,P=!1,C=!1,x=!1;A&&(w=2,r>0&&(P=!0,y+=c-1),o<Math.PI&&(C=!0,y+=c-1),(a-n)%M.TWO_PI?(x=!0,y+=2*(u-1)+1):y+=1);let v=d*_*w,b=new Float64Array(3*v),O=new Array(v).fill(!1),g=new Array(v).fill(!1),T=c*u*w,L=6*(T+y+1-(c+u)*w),F=kt.createTypedArray(T,L),z=m.normal?new Float32Array(3*v):void 0,I=m.tangent?new Float32Array(3*v):void 0,U=m.bitangent?new Float32Array(3*v):void 0,j=m.st?new Float32Array(2*v):void 0,D=new Array(_),S=new Array(_);for(l=0;l<_;l++)D[l]=At(k[l]),S[l]=Pt(k[l]);let G=new Array(d),W=new Array(d);for(f=0;f<d;f++)W[f]=Pt(h[f]),G[f]=At(h[f]);for(l=0;l<_;l++)for(f=0;f<d;f++)b[p++]=e.x*D[l]*W[f],b[p++]=e.y*D[l]*G[f],b[p++]=e.z*S[l];let Z,B,Y,H,K=v/2;if(A)for(l=0;l<_;l++)for(f=0;f<d;f++)b[p++]=i.x*D[l]*W[f],b[p++]=i.y*D[l]*G[f],b[p++]=i.z*S[l],O[K]=!0,l>0&&l!==_-1&&0!==f&&f!==d-1&&(g[K]=!0),K++;for(p=0,l=1;l<_-2;l++)for(Z=l*d,B=(l+1)*d,f=1;f<d-2;f++)F[p++]=B+f,F[p++]=B+f+1,F[p++]=Z+f+1,F[p++]=B+f,F[p++]=Z+f+1,F[p++]=Z+f;if(A){let t=_*d;for(l=1;l<_-2;l++)for(Z=t+l*d,B=t+(l+1)*d,f=1;f<d-2;f++)F[p++]=B+f,F[p++]=Z+f,F[p++]=Z+f+1,F[p++]=B+f,F[p++]=Z+f+1,F[p++]=B+f+1}if(A){if(P)for(H=_*d,l=1;l<d-2;l++)F[p++]=l,F[p++]=l+1,F[p++]=H+l+1,F[p++]=l,F[p++]=H+l+1,F[p++]=H+l;if(C)for(Y=_*d-d,H=_*d*w-d,l=1;l<d-2;l++)F[p++]=Y+l+1,F[p++]=Y+l,F[p++]=H+l,F[p++]=Y+l+1,F[p++]=H+l,F[p++]=H+l+1}if(x){for(l=1;l<_-2;l++)H=d*_+d*l,Y=d*l,F[p++]=H,F[p++]=Y+d,F[p++]=Y,F[p++]=H,F[p++]=H+d,F[p++]=Y+d;for(l=1;l<_-2;l++)H=d*_+d*(l+1)-1,Y=d*(l+1)-1,F[p++]=Y+d,F[p++]=H,F[p++]=Y,F[p++]=Y+d,F[p++]=H+d,F[p++]=H}let q=new Ct;m.position&&(q.position=new R({componentDatatype:N.DOUBLE,componentsPerAttribute:3,values:b}));let J,Q=0,V=0,X=0,$=0,tt=v/2,et=ot.fromCartesian3(e),it=ot.fromCartesian3(i);if(m.st||m.normal||m.tangent||m.bitangent){for(l=0;l<v;l++){J=O[l]?it:et;let t=s.fromArray(b,3*l,yt),e=J.geodeticSurfaceNormal(t,vt);if(g[l]&&s.negate(e,e),m.st){let t=pt.negate(e,Nt);j[Q++]=Math.atan2(t.y,t.x)/M.TWO_PI+.5,j[Q++]=Math.asin(e.z)/Math.PI+.5}if(m.normal&&(z[V++]=e.x,z[V++]=e.y,z[V++]=e.z),m.tangent||m.bitangent){let t,i=Et,n=0;if(O[l]&&(n=tt),t=!P&&l>=n&&l<n+2*d?s.UNIT_X:s.UNIT_Z,s.cross(t,e,i),s.normalize(i,i),m.tangent&&(I[X++]=i.x,I[X++]=i.y,I[X++]=i.z),m.bitangent){let t=s.cross(e,i,Mt);s.normalize(t,t),U[$++]=t.x,U[$++]=t.y,U[$++]=t.z}}}m.st&&(q.st=new R({componentDatatype:N.FLOAT,componentsPerAttribute:2,values:j})),m.normal&&(q.normal=new R({componentDatatype:N.FLOAT,componentsPerAttribute:3,values:z})),m.tangent&&(q.tangent=new R({componentDatatype:N.FLOAT,componentsPerAttribute:3,values:I})),m.bitangent&&(q.bitangent=new R({componentDatatype:N.FLOAT,componentsPerAttribute:3,values:U}))}if(E(t._offsetAttribute)){let e=b.length,i=t._offsetAttribute===wt.NONE?0:1,n=new Uint8Array(e/3).fill(i);q.applyOffset=new R({componentDatatype:N.UNSIGNED_BYTE,componentsPerAttribute:1,values:n})}return new _t({attributes:q,indices:F,primitiveType:dt.TRIANGLES,boundingSphere:ht.fromEllipsoid(et),offsetAttribute:t._offsetAttribute})},O.getUnitEllipsoid=function(){return E(mt)||(mt=O.createGeometry(new O({radii:new s(1,1,1),vertexFormat:k.POSITION_ONLY}))),mt};var Kt=O;export{Kt as a};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
+
* Version 1.124
|
|
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
|
+
*/
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! For license information please see chunk-HTYD62GU.js.LICENSE.txt */
|
|
2
|
+
import{a as R}from"./chunk-HQ4YU6WD.js";import{a as st}from"./chunk-72CGGEJF.js";import{a as Z,b as H}from"./chunk-WJYW7YDO.js";import{a as V}from"./chunk-GJI4ZBKE.js";import{a as U}from"./chunk-RDAVO5OM.js";import{b as it}from"./chunk-PY4CW263.js";import{a as ct}from"./chunk-RRZIPF5C.js";import{a as ot}from"./chunk-34ULWVZF.js";import{a as nt}from"./chunk-24JYWT5N.js";import{b as J,c as X,d as z}from"./chunk-LH3SUUXG.js";import{f as K}from"./chunk-M3A6SPGI.js";import{a as k}from"./chunk-D5HNP2LB.js";import{a as w,b as q,c as M,d as et,e as F}from"./chunk-S4VBGY2U.js";import{a as I}from"./chunk-UCTPWOTZ.js";import{a as tt}from"./chunk-N3A5CZ2S.js";import{e as x}from"./chunk-3THTQ4QB.js";function dt(t,e){this.positions=x(t)?t:[],this.holes=x(e)?e:[]}var rt=dt;function S(){this._array=[],this._offset=0,this._length=0}Object.defineProperties(S.prototype,{length:{get:function(){return this._length}}}),S.prototype.enqueue=function(t){this._array.push(t),this._length++},S.prototype.dequeue=function(){if(0===this._length)return;let t=this._array,e=this._offset,n=t[e];return t[e]=void 0,e++,e>10&&2*e>t.length&&(this._array=t.slice(e),e=0),this._offset=e,this._length--,n},S.prototype.peek=function(){if(0!==this._length)return this._array[this._offset]},S.prototype.contains=function(t){return-1!==this._array.indexOf(t)},S.prototype.clear=function(){this._array.length=this._offset=this._length=0},S.prototype.sort=function(t){this._offset>0&&(this._array=this._array.slice(this._offset),this._offset=0),this._array.sort(t)};var $=S,b={computeHierarchyPackedLength:function(t,e){let n=0,i=[t];for(;i.length>0;){let t=i.pop();if(!x(t))continue;n+=2;let o=t.positions,r=t.holes;if(x(o)&&o.length>0&&(n+=o.length*e.packedLength),x(r)){let t=r.length;for(let e=0;e<t;++e)i.push(r[e])}}return n},packPolygonHierarchy:function(t,e,n,i){let o=[t];for(;o.length>0;){let t=o.pop();if(!x(t))continue;let r=t.positions,s=t.holes;if(e[n++]=x(r)?r.length:0,e[n++]=x(s)?s.length:0,x(r)){let t=r.length;for(let o=0;o<t;++o,n+=i.packedLength)i.pack(r[o],e,n)}if(x(s)){let t=s.length;for(let e=0;e<t;++e)o.push(s[e])}}return n},unpackPolygonHierarchy:function(t,e,n){let i=t[e++],o=t[e++],r=new Array(i),s=o>0?new Array(o):void 0;for(let o=0;o<i;++o,e+=n.packedLength)r[o]=n.unpack(t,e);for(let i=0;i<o;++i)s[i]=b.unpackPolygonHierarchy(t,e,n),e=s[i].startingIndex,delete s[i].startingIndex;return{positions:r,holes:s,startingIndex:e}}},O=new M;function ht(t,e,n,i){return M.subtract(e,t,O),M.multiplyByScalar(O,n/i,O),M.add(t,O,O),[O.x,O.y]}var G=new w;function gt(t,e,n,i){return w.subtract(e,t,G),w.multiplyByScalar(G,n/i,G),w.add(t,G,G),[G.x,G.y,G.z]}b.subdivideLineCount=function(t,e,n){let i=w.distance(t,e)/n,o=Math.max(0,Math.ceil(I.log2(i)));return Math.pow(2,o)};var j=new q,Q=new q,pt=new q,mt=new w,Y=new U;b.subdivideRhumbLineCount=function(t,e,n,i){let o=t.cartesianToCartographic(e,j),r=t.cartesianToCartographic(n,Q),s=new U(o,r,t).surfaceDistance/i,a=Math.max(0,Math.ceil(I.log2(s)));return Math.pow(2,a)},b.subdivideTexcoordLine=function(t,e,n,i,o,r){let s=b.subdivideLineCount(n,i,o),a=M.distance(t,e),l=a/s,u=r;u.length=2*s;let h=0;for(let n=0;n<s;n++){let i=ht(t,e,n*l,a);u[h++]=i[0],u[h++]=i[1]}return u},b.subdivideLine=function(t,e,n,i){let o=b.subdivideLineCount(t,e,n),r=w.distance(t,e),s=r/o;x(i)||(i=[]);let a=i;a.length=3*o;let l=0;for(let n=0;n<o;n++){let i=gt(t,e,n*s,r);a[l++]=i[0],a[l++]=i[1],a[l++]=i[2]}return a},b.subdivideTexcoordRhumbLine=function(t,e,n,i,o,r,s){let a=n.cartesianToCartographic(i,j),l=n.cartesianToCartographic(o,Q);Y.setEndPoints(a,l);let u=Y.surfaceDistance/r,h=Math.max(0,Math.ceil(I.log2(u))),c=Math.pow(2,h),f=M.distance(t,e),p=f/c,g=s;g.length=2*c;let d=0;for(let n=0;n<c;n++){let i=ht(t,e,n*p,f);g[d++]=i[0],g[d++]=i[1]}return g},b.subdivideRhumbLine=function(t,e,n,i,o){let r=t.cartesianToCartographic(e,j),s=t.cartesianToCartographic(n,Q),a=new U(r,s,t),l=a.surfaceDistance/i,u=Math.max(0,Math.ceil(I.log2(l))),h=Math.pow(2,u),c=a.surfaceDistance/h;x(o)||(o=[]);let f=o;f.length=3*h;let p=0;for(let e=0;e<h;e++){let n=a.interpolateUsingSurfaceDistance(e*c,pt),i=t.cartographicToCartesian(n,mt);f[p++]=i.x,f[p++]=i.y,f[p++]=i.z}return f};var yt=new w,xt=new w,wt=new w,bt=new w;b.scaleToGeodeticHeightExtruded=function(t,e,n,i,o){i=tt(i,et.default);let r=yt,s=xt,a=wt,l=bt;if(x(t)&&x(t.attributes)&&x(t.attributes.position)){let u=t.attributes.position.values,h=u.length/2;for(let t=0;t<h;t+=3)w.fromArray(u,t,a),i.geodeticSurfaceNormal(a,r),l=i.scaleToGeodeticSurface(a,l),s=w.multiplyByScalar(r,n,s),s=w.add(l,s,s),u[t+h]=s.x,u[t+1+h]=s.y,u[t+2+h]=s.z,o&&(l=w.clone(a,l)),s=w.multiplyByScalar(r,e,s),s=w.add(l,s,s),u[t]=s.x,u[t+1]=s.y,u[t+2]=s.z}return t},b.polygonOutlinesFromHierarchy=function(t,e,n){let i,o,r,s=[],a=new $;for(a.enqueue(t);0!==a.length;){let t=a.dequeue(),l=t.positions;if(e)for(r=l.length,i=0;i<r;i++)n.scaleToGeodeticSurface(l[i],l[i]);if(l=V(l,w.equalsEpsilon,!0),l.length<3)continue;let u=t.holes?t.holes.length:0;for(i=0;i<u;i++){let l=t.holes[i],u=l.positions;if(e)for(r=u.length,o=0;o<r;++o)n.scaleToGeodeticSurface(u[o],u[o]);if(u=V(u,w.equalsEpsilon,!0),u.length<3)continue;s.push(u);let h=0;for(x(l.holes)&&(h=l.holes.length),o=0;o<h;o++)a.enqueue(l.holes[o])}s.push(l)}return s};var Lt=new q;function Tt(t,e,n){let i=n.cartesianToCartographic(t,j),o=n.cartesianToCartographic(e,Q);if(Math.sign(i.latitude)===Math.sign(o.latitude))return;Y.setEndPoints(i,o);let r=Y.findIntersectionWithLatitude(0,Lt);if(!x(r))return;let s=Math.min(i.longitude,o.longitude),a=Math.max(i.longitude,o.longitude);if(Math.abs(a-s)>I.PI){let t=s;s=a,a=t}return r.longitude<s||r.longitude>a?void 0:n.cartographicToCartesian(r)}function Et(t,e,n,i){if(i===R.RHUMB)return Tt(t,e,n);let o=it.lineSegmentPlane(t,e,ct.ORIGIN_XY_PLANE);return x(o)?n.scaleToGeodeticSurface(o,o):void 0}var vt=new q;function Ct(t,e,n){let i,o,r,s,a,l=[],u=0;for(;u<t.length;){i=t[u],o=t[(u+1)%t.length],r=I.sign(i.z),s=I.sign(o.z);let h=t=>e.cartesianToCartographic(t,vt).longitude;if(0===r)l.push({position:u,type:r,visited:!1,next:s,theta:h(i)});else if(0!==s){if(a=Et(i,o,e,n),++u,!x(a))continue;t.splice(u,0,a),l.push({position:u,type:r,visited:!1,next:s,theta:h(a)})}++u}return l}function lt(t,e,n,i,o,r,s){let a=[],l=r,u=t=>e=>e.position===t,h=[];do{let t=n[l];a.push(t);let e=i.findIndex(u(l)),o=i[e];if(!x(o)){++l;continue}let{visited:c,type:f,next:p}=o;if(o.visited=!0,0===f){if(0===p){let t=i[e-(s?1:-1)];if(t?.position!==l+1){++l;continue}t.visited=!0}if(!c&&s&&p>0||r===l&&!s&&p<0){++l;continue}}if(!(s?f>=0:f<=0)){++l;continue}c||h.push(l);let g=i[e+(s?1:-1)];x(g)?l=g.position:++l}while(l<n.length&&l>=0&&l!==r&&a.length<n.length);t.splice(e,o,a);for(let o of h)e=lt(t,++e,n,i,0,o,!s);return e}b.splitPolygonsOnEquator=function(t,e,n,i){x(i)||(i=[]),i.splice(0,0,...t),i.length=t.length;let o=0;for(;o<i.length;){let t=i[o],r=t.slice();if(t.length<3){i[o]=r,++o;continue}let s=Ct(r,e,n);r.length===t.length||s.length<=1?(i[o]=r,++o):(s.sort(((t,e)=>t.theta-e.theta)),o=lt(i,o,r,s,1,0,r[0].z>=0))}return i},b.polygonsFromHierarchy=function(t,e,n,i,o,r){let s=[],a=[],l=new $;l.enqueue(t);let u=x(r);for(;0!==l.length;){let t,h,c=l.dequeue(),f=c.positions,p=c.holes;if(i)for(h=f.length,t=0;t<h;t++)o.scaleToGeodeticSurface(f[t],f[t]);if(e||(f=V(f,w.equalsEpsilon,!0)),f.length<3)continue;let g=n(f);if(!x(g))continue;let d=[],m=H.computeWindingOrder2D(g);if(m===Z.CLOCKWISE&&(g.reverse(),f=f.slice().reverse()),u){u=!1;let t=[f];if(t=r(t,t),t.length>1){for(let e of t)l.enqueue(new rt(e,p));continue}}let y,b=f.slice(),v=x(p)?p.length:0,I=[];for(t=0;t<v;t++){let r=p[t],s=r.positions;if(i)for(h=s.length,y=0;y<h;++y)o.scaleToGeodeticSurface(s[y],s[y]);if(e||(s=V(s,w.equalsEpsilon,!0)),s.length<3)continue;let a=n(s);if(!x(a))continue;m=H.computeWindingOrder2D(a),m===Z.CLOCKWISE&&(a.reverse(),s=s.slice().reverse()),I.push(s),d.push(b.length),b=b.concat(s),g=g.concat(a);let u=0;for(x(r.holes)&&(u=r.holes.length),y=0;y<u;y++)l.enqueue(r.holes[y])}s.push({outerRing:f,holes:I}),a.push({positions:b,positions2D:g,holes:d})}return{hierarchy:s,polygons:a}};var Pt=new M,Dt=new w,It=new K,_t=new F;b.computeBoundingRectangle=function(t,e,n,i,o){let r=K.fromAxisAngle(t,i,It),s=F.fromQuaternion(r,_t),a=Number.POSITIVE_INFINITY,l=Number.NEGATIVE_INFINITY,u=Number.POSITIVE_INFINITY,h=Number.NEGATIVE_INFINITY,c=n.length;for(let t=0;t<c;++t){let i=w.clone(n[t],Dt);F.multiplyByVector(s,i,i);let o=e(i,Pt);x(o)&&(a=Math.min(a,o.x),l=Math.max(l,o.x),u=Math.min(u,o.y),h=Math.max(h,o.y))}return o.x=a,o.y=u,o.width=l-a,o.height=h-u,o},b.createGeometryFromPositions=function(t,e,n,i,o,r,s){let a=H.triangulate(e.positions2D,e.holes);a.length<3&&(a=[0,1,2]);let l=e.positions,u=x(n),h=u?n.positions:void 0;if(o){let t=l.length,e=new Array(3*t),n=0;for(let i=0;i<t;i++){let t=l[i];e[n++]=t.x,e[n++]=t.y,e[n++]=t.z}let i={attributes:{position:new z({componentDatatype:k.DOUBLE,componentsPerAttribute:3,values:e})},indices:a,primitiveType:J.TRIANGLES};u&&(i.attributes.st=new z({componentDatatype:k.FLOAT,componentsPerAttribute:2,values:M.packArray(h)}));let o=new X(i);return r.normal?st.computeNormal(o):o}return s===R.GEODESIC?H.computeSubdivision(t,l,a,h,i):s===R.RHUMB?H.computeRhumbLineSubdivision(t,l,a,h,i):void 0};var ut=[],at=[],At=new w,Mt=new w;b.computeWallGeometry=function(t,e,n,i,o,r){let s,a,l,u,h,c,f,p,g,d=t.length,m=0,y=0,v=x(e),T=v?e.positions:void 0;if(o)for(a=3*d*2,s=new Array(2*a),v&&(g=2*d*2,p=new Array(2*g)),l=0;l<d;l++)u=t[l],h=t[(l+1)%d],s[m]=s[m+a]=u.x,++m,s[m]=s[m+a]=u.y,++m,s[m]=s[m+a]=u.z,++m,s[m]=s[m+a]=h.x,++m,s[m]=s[m+a]=h.y,++m,s[m]=s[m+a]=h.z,++m,v&&(c=T[l],f=T[(l+1)%d],p[y]=p[y+g]=c.x,++y,p[y]=p[y+g]=c.y,++y,p[y]=p[y+g]=f.x,++y,p[y]=p[y+g]=f.y,++y);else{let e=I.chordLength(i,n.maximumRadius),o=0;if(r===R.GEODESIC)for(l=0;l<d;l++)o+=b.subdivideLineCount(t[l],t[(l+1)%d],e);else if(r===R.RHUMB)for(l=0;l<d;l++)o+=b.subdivideRhumbLineCount(n,t[l],t[(l+1)%d],e);for(a=3*(o+d),s=new Array(2*a),v&&(g=2*(o+d),p=new Array(2*g)),l=0;l<d;l++){let i,o;u=t[l],h=t[(l+1)%d],v&&(c=T[l],f=T[(l+1)%d]),r===R.GEODESIC?(i=b.subdivideLine(u,h,e,at),v&&(o=b.subdivideTexcoordLine(c,f,u,h,e,ut))):r===R.RHUMB&&(i=b.subdivideRhumbLine(n,u,h,e,at),v&&(o=b.subdivideTexcoordRhumbLine(c,f,n,u,h,e,ut)));let w=i.length;for(let t=0;t<w;++t,++m)s[m]=i[t],s[m+a]=i[t];if(s[m]=h.x,s[m+a]=h.x,++m,s[m]=h.y,s[m+a]=h.y,++m,s[m]=h.z,s[m+a]=h.z,++m,v){let t=o.length;for(let e=0;e<t;++e,++y)p[y]=o[e],p[y+g]=o[e];p[y]=f.x,p[y+g]=f.x,++y,p[y]=f.y,p[y+g]=f.y,++y}}}d=s.length;let S=ot.createTypedArray(d/3,d-6*t.length),M=0;for(d/=6,l=0;l<d;l++){let t=l,e=t+1,n=t+d,i=n+1;u=w.fromArray(s,3*t,At),h=w.fromArray(s,3*e,Mt),!w.equalsEpsilon(u,h,I.EPSILON10,I.EPSILON10)&&(S[M++]=t,S[M++]=n,S[M++]=e,S[M++]=e,S[M++]=n,S[M++]=i)}let L={attributes:new nt({position:new z({componentDatatype:k.DOUBLE,componentsPerAttribute:3,values:s})}),indices:S,primitiveType:J.TRIANGLES};return v&&(L.attributes.st=new z({componentDatatype:k.FLOAT,componentsPerAttribute:2,values:p})),new X(L)};var se=b;export{se as a};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
+
* Version 1.124
|
|
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
|
+
*/
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! For license information please see chunk-IF6EJ7KL.js.LICENSE.txt */
|
|
2
|
+
import{a as tt}from"./chunk-MWSGYAUE.js";import{a as At}from"./chunk-W5MIOKEY.js";import{a as yt}from"./chunk-72CGGEJF.js";import{a as G}from"./chunk-5CC3QRYS.js";import{a as z}from"./chunk-6HIVPZ7K.js";import{a as at}from"./chunk-34ULWVZF.js";import{a as ht}from"./chunk-24JYWT5N.js";import{b as mt,c as st,d as S}from"./chunk-LH3SUUXG.js";import{a as dt,d as rt}from"./chunk-K2M3OJ7Z.js";import{f as it,h as bt}from"./chunk-M3A6SPGI.js";import{a as F}from"./chunk-D5HNP2LB.js";import{a,b as _t,c as W,d as v,e as R}from"./chunk-S4VBGY2U.js";import{a as I}from"./chunk-UCTPWOTZ.js";import{a as T}from"./chunk-N3A5CZ2S.js";import{a as nt,b as H}from"./chunk-G75U3WZT.js";import{e as K}from"./chunk-3THTQ4QB.js";var et=new a,pt=new a,xt=new a,wt=new a,w=new W,Mt=new R,Vt=new R,gt=new it,Tt=new a,Nt=new a,Et=new a,lt=new _t,Pt=new a,Ft=new W,St=new W;function Ot(t,e,i){let o=e.vertexFormat,r=e.center,n=e.semiMajorAxis,s=e.semiMinorAxis,l=e.ellipsoid,u=e.stRotation,m=i?t.length/3*2:t.length/3,c=e.shadowVolume,p=o.st?new Float32Array(2*m):void 0,f=o.normal?new Float32Array(3*m):void 0,h=o.tangent?new Float32Array(3*m):void 0,d=o.bitangent?new Float32Array(3*m):void 0,y=c?new Float32Array(3*m):void 0,A=0,x=Tt,g=Nt,_=Et,T=new dt(l),b=T.project(l.cartesianToCartographic(r,lt),Pt),I=l.scaleToGeodeticSurface(r,et);l.geodeticSurfaceNormal(I,I);let v=Mt,N=Vt;if(0!==u){let t=it.fromAxisAngle(I,u,gt);v=R.fromQuaternion(t,v),t=it.fromAxisAngle(I,-u,gt),N=R.fromQuaternion(t,N)}else v=R.clone(R.IDENTITY,v),N=R.clone(R.IDENTITY,N);let M=W.fromElements(Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY,Ft),E=W.fromElements(Number.NEGATIVE_INFINITY,Number.NEGATIVE_INFINITY,St),P=t.length,j=i?P:0,O=j/3*2;for(let e=0;e<P;e+=3){let r=e+1,u=e+2,m=a.fromArray(t,e,et);if(o.st){let t=R.multiplyByVector(v,m,pt),e=T.project(l.cartesianToCartographic(t,lt),xt);a.subtract(e,b,e),w.x=(e.x+n)/(2*n),w.y=(e.y+s)/(2*s),M.x=Math.min(w.x,M.x),M.y=Math.min(w.y,M.y),E.x=Math.max(w.x,E.x),E.y=Math.max(w.y,E.y),i&&(p[A+O]=w.x,p[A+1+O]=w.y),p[A++]=w.x,p[A++]=w.y}(o.normal||o.tangent||o.bitangent||c)&&(x=l.geodeticSurfaceNormal(m,x),c&&(y[e+j]=-x.x,y[r+j]=-x.y,y[u+j]=-x.z),(o.normal||o.tangent||o.bitangent)&&((o.tangent||o.bitangent)&&(g=a.normalize(a.cross(a.UNIT_Z,x,g),g),R.multiplyByVector(N,g,g)),o.normal&&(f[e]=x.x,f[r]=x.y,f[u]=x.z,i&&(f[e+j]=-x.x,f[r+j]=-x.y,f[u+j]=-x.z)),o.tangent&&(h[e]=g.x,h[r]=g.y,h[u]=g.z,i&&(h[e+j]=-g.x,h[r+j]=-g.y,h[u+j]=-g.z)),o.bitangent&&(_=a.normalize(a.cross(x,g,_),_),d[e]=_.x,d[r]=_.y,d[u]=_.z,i&&(d[e+j]=_.x,d[r+j]=_.y,d[u+j]=_.z))))}if(o.st){P=p.length;for(let t=0;t<P;t+=2)p[t]=(p[t]-M.x)/(E.x-M.x),p[t+1]=(p[t+1]-M.y)/(E.y-M.y)}let k=new ht;if(o.position){let o=tt.raisePositionsToHeight(t,e,i);k.position=new S({componentDatatype:F.DOUBLE,componentsPerAttribute:3,values:o})}if(o.st&&(k.st=new S({componentDatatype:F.FLOAT,componentsPerAttribute:2,values:p})),o.normal&&(k.normal=new S({componentDatatype:F.FLOAT,componentsPerAttribute:3,values:f})),o.tangent&&(k.tangent=new S({componentDatatype:F.FLOAT,componentsPerAttribute:3,values:h})),o.bitangent&&(k.bitangent=new S({componentDatatype:F.FLOAT,componentsPerAttribute:3,values:d})),c&&(k.extrudeDirection=new S({componentDatatype:F.FLOAT,componentsPerAttribute:3,values:y})),i&&K(e.offsetAttribute)){let t=new Uint8Array(m);if(e.offsetAttribute===G.TOP)t=t.fill(1,0,m/2);else{let i=e.offsetAttribute===G.NONE?0:1;t=t.fill(i)}k.applyOffset=new S({componentDatatype:F.UNSIGNED_BYTE,componentsPerAttribute:1,values:t})}return k}function jt(t){let e,i,o,r,n,a=new Array(t*(t+1)*12-6),s=0;for(e=0,o=1,r=0;r<3;r++)a[s++]=o++,a[s++]=e,a[s++]=o;for(r=2;r<t+1;++r){for(o=r*(r+1)-1,e=(r-1)*r-1,a[s++]=o++,a[s++]=e,a[s++]=o,i=2*r,n=0;n<i-1;++n)a[s++]=o,a[s++]=e++,a[s++]=e,a[s++]=o++,a[s++]=e,a[s++]=o;a[s++]=o++,a[s++]=e,a[s++]=o}for(i=2*t,++o,++e,r=0;r<i-1;++r)a[s++]=o,a[s++]=e++,a[s++]=e,a[s++]=o++,a[s++]=e,a[s++]=o;for(a[s++]=o,a[s++]=e++,a[s++]=e,a[s++]=o++,a[s++]=e++,a[s++]=e,++e,r=t-1;r>1;--r){for(a[s++]=e++,a[s++]=e,a[s++]=o,i=2*r,n=0;n<i-1;++n)a[s++]=o,a[s++]=e++,a[s++]=e,a[s++]=o++,a[s++]=e,a[s++]=o;a[s++]=e++,a[s++]=e++,a[s++]=o++}for(r=0;r<3;r++)a[s++]=e++,a[s++]=e,a[s++]=o;return a}var X=new a;function Dt(t){let e=t.center;X=a.multiplyByScalar(t.ellipsoid.geodeticSurfaceNormal(e,X),t.height,X),X=a.add(e,X,X);let i=new rt(X,t.semiMajorAxis),o=tt.computeEllipsePositions(t,!0,!1),r=o.positions,n=o.numPts,s=Ot(r,t,!1),l=jt(n);return l=at.createTypedArray(r.length/3,l),{boundingSphere:i,attributes:s,indices:l}}function vt(t,e){let i=e.vertexFormat,o=e.center,r=e.semiMajorAxis,n=e.semiMinorAxis,s=e.ellipsoid,l=e.height,u=e.extrudedHeight,m=e.stRotation,c=t.length/3*2,p=new Float64Array(3*c),f=i.st?new Float32Array(2*c):void 0,h=i.normal?new Float32Array(3*c):void 0,d=i.tangent?new Float32Array(3*c):void 0,y=i.bitangent?new Float32Array(3*c):void 0,A=e.shadowVolume,x=A?new Float32Array(3*c):void 0,g=0,_=Tt,T=Nt,b=Et,I=new dt(s),v=I.project(s.cartesianToCartographic(o,lt),Pt),N=s.scaleToGeodeticSurface(o,et);s.geodeticSurfaceNormal(N,N);let M=it.fromAxisAngle(N,m,gt),E=R.fromQuaternion(M,Mt),P=W.fromElements(Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY,Ft),j=W.fromElements(Number.NEGATIVE_INFINITY,Number.NEGATIVE_INFINITY,St),O=t.length,k=O/3*2;for(let e=0;e<O;e+=3){let o,m=e+1,c=e+2,N=a.fromArray(t,e,et);if(i.st){let t=R.multiplyByVector(E,N,pt),e=I.project(s.cartesianToCartographic(t,lt),xt);a.subtract(e,v,e),w.x=(e.x+r)/(2*r),w.y=(e.y+n)/(2*n),P.x=Math.min(w.x,P.x),P.y=Math.min(w.y,P.y),j.x=Math.max(w.x,j.x),j.y=Math.max(w.y,j.y),f[g+k]=w.x,f[g+1+k]=w.y,f[g++]=w.x,f[g++]=w.y}N=s.scaleToGeodeticSurface(N,N),o=a.clone(N,pt),_=s.geodeticSurfaceNormal(N,_),A&&(x[e+O]=-_.x,x[m+O]=-_.y,x[c+O]=-_.z);let M=a.multiplyByScalar(_,l,wt);if(N=a.add(N,M,N),M=a.multiplyByScalar(_,u,M),o=a.add(o,M,o),i.position&&(p[e+O]=o.x,p[m+O]=o.y,p[c+O]=o.z,p[e]=N.x,p[m]=N.y,p[c]=N.z),i.normal||i.tangent||i.bitangent){b=a.clone(_,b);let r=a.fromArray(t,(e+3)%O,wt);a.subtract(r,N,r);let n=a.subtract(o,N,xt);_=a.normalize(a.cross(n,r,_),_),i.normal&&(h[e]=_.x,h[m]=_.y,h[c]=_.z,h[e+O]=_.x,h[m+O]=_.y,h[c+O]=_.z),i.tangent&&(T=a.normalize(a.cross(b,_,T),T),d[e]=T.x,d[m]=T.y,d[c]=T.z,d[e+O]=T.x,d[e+1+O]=T.y,d[e+2+O]=T.z),i.bitangent&&(y[e]=b.x,y[m]=b.y,y[c]=b.z,y[e+O]=b.x,y[m+O]=b.y,y[c+O]=b.z)}}if(i.st){O=f.length;for(let t=0;t<O;t+=2)f[t]=(f[t]-P.x)/(j.x-P.x),f[t+1]=(f[t+1]-P.y)/(j.y-P.y)}let L=new ht;if(i.position&&(L.position=new S({componentDatatype:F.DOUBLE,componentsPerAttribute:3,values:p})),i.st&&(L.st=new S({componentDatatype:F.FLOAT,componentsPerAttribute:2,values:f})),i.normal&&(L.normal=new S({componentDatatype:F.FLOAT,componentsPerAttribute:3,values:h})),i.tangent&&(L.tangent=new S({componentDatatype:F.FLOAT,componentsPerAttribute:3,values:d})),i.bitangent&&(L.bitangent=new S({componentDatatype:F.FLOAT,componentsPerAttribute:3,values:y})),A&&(L.extrudeDirection=new S({componentDatatype:F.FLOAT,componentsPerAttribute:3,values:x})),K(e.offsetAttribute)){let t=new Uint8Array(c);if(e.offsetAttribute===G.TOP)t=t.fill(1,0,c/2);else{let i=e.offsetAttribute===G.NONE?0:1;t=t.fill(i)}L.applyOffset=new S({componentDatatype:F.UNSIGNED_BYTE,componentsPerAttribute:1,values:t})}return L}function zt(t){let e=t.length/3,i=at.createTypedArray(e,6*e),o=0;for(let t=0;t<e;t++){let r=t,n=t+e,a=(r+1)%e,s=a+e;i[o++]=r,i[o++]=n,i[o++]=a,i[o++]=a,i[o++]=n,i[o++]=s}return i}var ut=new rt,ft=new rt;function Bt(t){let e=t.center,i=t.ellipsoid,o=t.semiMajorAxis,r=a.multiplyByScalar(i.geodeticSurfaceNormal(e,et),t.height,et);ut.center=a.add(e,r,ut.center),ut.radius=o,r=a.multiplyByScalar(i.geodeticSurfaceNormal(e,r),t.extrudedHeight,r),ft.center=a.add(e,r,ft.center),ft.radius=o;let n=tt.computeEllipsePositions(t,!0,!0),s=n.positions,l=n.numPts,u=n.outerPositions,m=rt.union(ut,ft),c=Ot(s,t,!0),p=jt(l),f=p.length;p.length=2*f;let h=s.length/3;for(let t=0;t<f;t+=3)p[t+f]=p[t+2]+h,p[t+1+f]=p[t+1]+h,p[t+2+f]=p[t]+h;let d=at.createTypedArray(2*h/3,p),y=new st({attributes:c,indices:d,primitiveType:mt.TRIANGLES}),A=vt(u,t);p=zt(u);let x=at.createTypedArray(2*u.length/3,p),g=new st({attributes:A,indices:x,primitiveType:mt.TRIANGLES}),_=yt.combineInstances([new At({geometry:y}),new At({geometry:g})]);return{boundingSphere:m,attributes:_[0].attributes,indices:_[0].indices}}function Ct(t,e,i,o,r,n,s){let l=tt.computeEllipsePositions({center:t,semiMajorAxis:e,semiMinorAxis:i,rotation:o,granularity:r},!1,!0).outerPositions,u=l.length/3,m=new Array(u);for(let t=0;t<u;++t)m[t]=a.fromArray(l,3*t);let c=bt.fromCartesianArray(m,n,s);return c.width>I.PI&&(c.north=c.north>0?I.PI_OVER_TWO-I.EPSILON7:c.north,c.south=c.south<0?I.EPSILON7-I.PI_OVER_TWO:c.south,c.east=I.PI,c.west=-I.PI),c}function U(t){let e=(t=T(t,T.EMPTY_OBJECT)).center,i=T(t.ellipsoid,v.default),o=t.semiMajorAxis,r=t.semiMinorAxis,n=T(t.granularity,I.RADIANS_PER_DEGREE),s=T(t.vertexFormat,z.DEFAULT);if(H.defined("options.center",e),H.typeOf.number("options.semiMajorAxis",o),H.typeOf.number("options.semiMinorAxis",r),o<r)throw new nt("semiMajorAxis must be greater than or equal to the semiMinorAxis.");if(n<=0)throw new nt("granularity must be greater than zero.");let l=T(t.height,0),u=T(t.extrudedHeight,l);this._center=a.clone(e),this._semiMajorAxis=o,this._semiMinorAxis=r,this._ellipsoid=v.clone(i),this._rotation=T(t.rotation,0),this._stRotation=T(t.stRotation,0),this._height=Math.max(u,l),this._granularity=n,this._vertexFormat=z.clone(s),this._extrudedHeight=Math.min(u,l),this._shadowVolume=T(t.shadowVolume,!1),this._workerName="createEllipseGeometry",this._offsetAttribute=t.offsetAttribute,this._rectangle=void 0,this._textureCoordinateRotationPoints=void 0}U.packedLength=a.packedLength+v.packedLength+z.packedLength+9,U.pack=function(t,e,i){return H.defined("value",t),H.defined("array",e),i=T(i,0),a.pack(t._center,e,i),i+=a.packedLength,v.pack(t._ellipsoid,e,i),i+=v.packedLength,z.pack(t._vertexFormat,e,i),i+=z.packedLength,e[i++]=t._semiMajorAxis,e[i++]=t._semiMinorAxis,e[i++]=t._rotation,e[i++]=t._stRotation,e[i++]=t._height,e[i++]=t._granularity,e[i++]=t._extrudedHeight,e[i++]=t._shadowVolume?1:0,e[i]=T(t._offsetAttribute,-1),e};var Rt=new a,It=new v,Lt=new z,Y={center:Rt,ellipsoid:It,vertexFormat:Lt,semiMajorAxis:void 0,semiMinorAxis:void 0,rotation:void 0,stRotation:void 0,height:void 0,granularity:void 0,extrudedHeight:void 0,shadowVolume:void 0,offsetAttribute:void 0};function kt(t){let e=-t._stRotation;if(0===e)return[0,0,0,1,1,0];let i=tt.computeEllipsePositions({center:t._center,semiMajorAxis:t._semiMajorAxis,semiMinorAxis:t._semiMinorAxis,rotation:t._rotation,granularity:t._granularity},!1,!0).outerPositions,o=i.length/3,r=new Array(o);for(let t=0;t<o;++t)r[t]=a.fromArray(i,3*t);let n=t._ellipsoid,s=t.rectangle;return st._textureCoordinateRotationPoints(r,e,n,s)}U.unpack=function(t,e,i){H.defined("array",t),e=T(e,0);let o=a.unpack(t,e,Rt);e+=a.packedLength;let r=v.unpack(t,e,It);e+=v.packedLength;let n=z.unpack(t,e,Lt);e+=z.packedLength;let s=t[e++],l=t[e++],u=t[e++],m=t[e++],c=t[e++],p=t[e++],f=t[e++],h=1===t[e++],d=t[e];return K(i)?(i._center=a.clone(o,i._center),i._ellipsoid=v.clone(r,i._ellipsoid),i._vertexFormat=z.clone(n,i._vertexFormat),i._semiMajorAxis=s,i._semiMinorAxis=l,i._rotation=u,i._stRotation=m,i._height=c,i._granularity=p,i._extrudedHeight=f,i._shadowVolume=h,i._offsetAttribute=-1===d?void 0:d,i):(Y.height=c,Y.extrudedHeight=f,Y.granularity=p,Y.stRotation=m,Y.rotation=u,Y.semiMajorAxis=s,Y.semiMinorAxis=l,Y.shadowVolume=h,Y.offsetAttribute=-1===d?void 0:d,new U(Y))},U.computeRectangle=function(t,e){let i=(t=T(t,T.EMPTY_OBJECT)).center,o=T(t.ellipsoid,v.default),r=t.semiMajorAxis,n=t.semiMinorAxis,a=T(t.granularity,I.RADIANS_PER_DEGREE),s=T(t.rotation,0);if(H.defined("options.center",i),H.typeOf.number("options.semiMajorAxis",r),H.typeOf.number("options.semiMinorAxis",n),r<n)throw new nt("semiMajorAxis must be greater than or equal to the semiMinorAxis.");if(a<=0)throw new nt("granularity must be greater than zero.");return Ct(i,r,n,s,a,o,e)},U.createGeometry=function(t){if(t._semiMajorAxis<=0||t._semiMinorAxis<=0)return;let e=t._height,i=t._extrudedHeight,o=!I.equalsEpsilon(e,i,0,I.EPSILON2);t._center=t._ellipsoid.scaleToGeodeticSurface(t._center,t._center);let r,n={center:t._center,semiMajorAxis:t._semiMajorAxis,semiMinorAxis:t._semiMinorAxis,ellipsoid:t._ellipsoid,rotation:t._rotation,height:e,granularity:t._granularity,vertexFormat:t._vertexFormat,stRotation:t._stRotation};if(o)n.extrudedHeight=i,n.shadowVolume=t._shadowVolume,n.offsetAttribute=t._offsetAttribute,r=Bt(n);else if(r=Dt(n),K(t._offsetAttribute)){let e=r.attributes.position.values.length,i=t._offsetAttribute===G.NONE?0:1,o=new Uint8Array(e/3).fill(i);r.attributes.applyOffset=new S({componentDatatype:F.UNSIGNED_BYTE,componentsPerAttribute:1,values:o})}return new st({attributes:r.attributes,indices:r.indices,primitiveType:mt.TRIANGLES,boundingSphere:r.boundingSphere,offsetAttribute:t._offsetAttribute})},U.createShadowVolume=function(t,e,i){let o=t._granularity,r=t._ellipsoid,n=e(o,r),a=i(o,r);return new U({center:t._center,semiMajorAxis:t._semiMajorAxis,semiMinorAxis:t._semiMinorAxis,ellipsoid:r,rotation:t._rotation,stRotation:t._stRotation,granularity:o,extrudedHeight:n,height:a,vertexFormat:z.POSITION_ONLY,shadowVolume:!0})},Object.defineProperties(U.prototype,{rectangle:{get:function(){return K(this._rectangle)||(this._rectangle=Ct(this._center,this._semiMajorAxis,this._semiMinorAxis,this._rotation,this._granularity,this._ellipsoid)),this._rectangle}},textureCoordinateRotationPoints:{get:function(){return K(this._textureCoordinateRotationPoints)||(this._textureCoordinateRotationPoints=kt(this)),this._textureCoordinateRotationPoints}}});var de=U;export{de as a};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
+
* Version 1.124
|
|
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
|
+
*/
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! For license information please see chunk-JR7WFPVR.js.LICENSE.txt */
|
|
2
|
+
import{a as fn,c as Tn}from"./chunk-3THTQ4QB.js";var Dn=Tn(((t,e)=>{var r=r||{};r.scope={},r.arrayIteratorImpl=function(t){var e=0;return function(){return e<t.length?{done:!1,value:t[e++]}:{done:!0}}},r.arrayIterator=function(t){return{next:r.arrayIteratorImpl(t)}},r.makeIterator=function(t){var e=typeof Symbol<"u"&&Symbol.iterator&&t[Symbol.iterator];return e?e.call(t):r.arrayIterator(t)},r.ASSUME_ES5=!1,r.ASSUME_NO_NATIVE_MAP=!1,r.ASSUME_NO_NATIVE_SET=!1,r.SIMPLE_FROUND_POLYFILL=!1,r.ISOLATE_POLYFILLS=!1,r.FORCE_POLYFILL_PROMISE=!1,r.FORCE_POLYFILL_PROMISE_WHEN_NO_UNHANDLED_REJECTION=!1,r.getGlobal=function(t){t=["object"==typeof globalThis&&globalThis,t,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var e=0;e<t.length;++e){var r=t[e];if(r&&r.Math==Math)return r}throw Error("Cannot find global object")},r.global=r.getGlobal(t),r.defineProperty=r.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(t,e,r){return t==Array.prototype||t==Object.prototype||(t[e]=r.value),t},r.IS_SYMBOL_NATIVE="function"==typeof Symbol&&"symbol"==typeof Symbol("x"),r.TRUST_ES6_POLYFILLS=!r.ISOLATE_POLYFILLS||r.IS_SYMBOL_NATIVE,r.polyfills={},r.propertyToPolyfillSymbol={},r.POLYFILL_PREFIX="$jscp$",r.polyfill=function(t,e,n,o){e&&(r.ISOLATE_POLYFILLS?r.polyfillIsolated(t,e,n,o):r.polyfillUnisolated(t,e,n,o))},r.polyfillUnisolated=function(t,e,n,o){for(n=r.global,t=t.split("."),o=0;o<t.length-1;o++){var _=t[o];if(!(_ in n))return;n=n[_]}(e=e(o=n[t=t[t.length-1]]))!=o&&null!=e&&r.defineProperty(n,t,{configurable:!0,writable:!0,value:e})},r.polyfillIsolated=function(t,e,n,o){var _=t.split(".");t=1===_.length,o=_[0],o=!t&&o in r.polyfills?r.polyfills:r.global;for(var i=0;i<_.length-1;i++){var p=_[i];if(!(p in o))return;o=o[p]}_=_[_.length-1],null!=(e=e(n=r.IS_SYMBOL_NATIVE&&"es6"===n?o[_]:null))&&(t?r.defineProperty(r.polyfills,_,{configurable:!0,writable:!0,value:e}):e!==n&&(void 0===r.propertyToPolyfillSymbol[_]&&(n=1e9*Math.random()>>>0,r.propertyToPolyfillSymbol[_]=r.IS_SYMBOL_NATIVE?r.global.Symbol(_):r.POLYFILL_PREFIX+n+"$"+_),r.defineProperty(o,r.propertyToPolyfillSymbol[_],{configurable:!0,writable:!0,value:e})))},r.polyfill("Promise",(function(t){function e(){this.batch_=null}function n(t){return t instanceof _?t:new _((function(e,r){e(t)}))}if(t&&(!(r.FORCE_POLYFILL_PROMISE||r.FORCE_POLYFILL_PROMISE_WHEN_NO_UNHANDLED_REJECTION&&typeof r.global.PromiseRejectionEvent>"u")||!r.global.Promise||-1===r.global.Promise.toString().indexOf("[native code]")))return t;e.prototype.asyncExecute=function(t){if(null==this.batch_){this.batch_=[];var e=this;this.asyncExecuteFunction((function(){e.executeBatch_()}))}this.batch_.push(t)};var o=r.global.setTimeout;e.prototype.asyncExecuteFunction=function(t){o(t,0)},e.prototype.executeBatch_=function(){for(;this.batch_&&this.batch_.length;){var t=this.batch_;this.batch_=[];for(var e=0;e<t.length;++e){var r=t[e];t[e]=null;try{r()}catch(t){this.asyncThrow_(t)}}}this.batch_=null},e.prototype.asyncThrow_=function(t){this.asyncExecuteFunction((function(){throw t}))};var _=function(t){this.state_=0,this.result_=void 0,this.onSettledCallbacks_=[],this.isRejectionHandled_=!1;var e=this.createResolveAndReject_();try{t(e.resolve,e.reject)}catch(t){e.reject(t)}};_.prototype.createResolveAndReject_=function(){function t(t){return function(n){r||(r=!0,t.call(e,n))}}var e=this,r=!1;return{resolve:t(this.resolveTo_),reject:t(this.reject_)}},_.prototype.resolveTo_=function(t){if(t===this)this.reject_(new TypeError("A Promise cannot resolve to itself"));else if(t instanceof _)this.settleSameAsPromise_(t);else{t:switch(typeof t){case"object":var e=null!=t;break t;case"function":e=!0;break t;default:e=!1}e?this.resolveToNonPromiseObj_(t):this.fulfill_(t)}},_.prototype.resolveToNonPromiseObj_=function(t){var e=void 0;try{e=t.then}catch(t){return void this.reject_(t)}"function"==typeof e?this.settleSameAsThenable_(e,t):this.fulfill_(t)},_.prototype.reject_=function(t){this.settle_(2,t)},_.prototype.fulfill_=function(t){this.settle_(1,t)},_.prototype.settle_=function(t,e){if(0!=this.state_)throw Error("Cannot settle("+t+", "+e+"): Promise already settled in state"+this.state_);this.state_=t,this.result_=e,2===this.state_&&this.scheduleUnhandledRejectionCheck_(),this.executeOnSettledCallbacks_()},_.prototype.scheduleUnhandledRejectionCheck_=function(){var t=this;o((function(){if(t.notifyUnhandledRejection_()){var e=r.global.console;typeof e<"u"&&e.error(t.result_)}}),1)},_.prototype.notifyUnhandledRejection_=function(){if(this.isRejectionHandled_)return!1;var t=r.global.CustomEvent,e=r.global.Event,n=r.global.dispatchEvent;return typeof n>"u"||("function"==typeof t?t=new t("unhandledrejection",{cancelable:!0}):"function"==typeof e?t=new e("unhandledrejection",{cancelable:!0}):(t=r.global.document.createEvent("CustomEvent")).initCustomEvent("unhandledrejection",!1,!0,t),t.promise=this,t.reason=this.result_,n(t))},_.prototype.executeOnSettledCallbacks_=function(){if(null!=this.onSettledCallbacks_){for(var t=0;t<this.onSettledCallbacks_.length;++t)i.asyncExecute(this.onSettledCallbacks_[t]);this.onSettledCallbacks_=null}};var i=new e;return _.prototype.settleSameAsPromise_=function(t){var e=this.createResolveAndReject_();t.callWhenSettled_(e.resolve,e.reject)},_.prototype.settleSameAsThenable_=function(t,e){var r=this.createResolveAndReject_();try{t.call(e,r.resolve,r.reject)}catch(t){r.reject(t)}},_.prototype.then=function(t,e){function r(t,e){return"function"==typeof t?function(e){try{n(t(e))}catch(t){o(t)}}:e}var n,o,i=new _((function(t,e){n=t,o=e}));return this.callWhenSettled_(r(t,n),r(e,o)),i},_.prototype.catch=function(t){return this.then(void 0,t)},_.prototype.callWhenSettled_=function(t,e){function r(){switch(n.state_){case 1:t(n.result_);break;case 2:e(n.result_);break;default:throw Error("Unexpected state: "+n.state_)}}var n=this;null==this.onSettledCallbacks_?i.asyncExecute(r):this.onSettledCallbacks_.push(r),this.isRejectionHandled_=!0},_.resolve=n,_.reject=function(t){return new _((function(e,r){r(t)}))},_.race=function(t){return new _((function(e,o){for(var _=r.makeIterator(t),i=_.next();!i.done;i=_.next())n(i.value).callWhenSettled_(e,o)}))},_.all=function(t){var e=r.makeIterator(t),o=e.next();return o.done?n([]):new _((function(t,r){function _(e){return function(r){i[e]=r,0==--p&&t(i)}}var i=[],p=0;do{i.push(void 0),p++,n(o.value).callWhenSettled_(_(i.length-1),r),o=e.next()}while(!o.done)}))},_}),"es6","es3"),r.owns=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.assign=r.TRUST_ES6_POLYFILLS&&"function"==typeof Object.assign?Object.assign:function(t,e){for(var n=1;n<arguments.length;n++){var o=arguments[n];if(o)for(var _ in o)r.owns(o,_)&&(t[_]=o[_])}return t},r.polyfill("Object.assign",(function(t){return t||r.assign}),"es6","es3"),r.checkStringArgs=function(t,e,r){if(null==t)throw new TypeError("The 'this' value for String.prototype."+r+" must not be null or undefined");if(e instanceof RegExp)throw new TypeError("First argument to String.prototype."+r+" must not be a regular expression");return t+""},r.polyfill("String.prototype.startsWith",(function(t){return t||function(t,e){var n=r.checkStringArgs(this,t,"startsWith");t+="";var o=n.length,_=t.length;e=Math.max(0,Math.min(0|e,n.length));for(var i=0;i<_&&e<o;)if(n[e++]!=t[i++])return!1;return i>=_}}),"es6","es3"),r.polyfill("Array.prototype.copyWithin",(function(t){function e(t){return(t=Number(t))===1/0||t===-1/0?t:0|t}return t||function(t,r,n){var o=this.length;if(t=e(t),r=e(r),n=void 0===n?o:e(n),t=0>t?Math.max(o+t,0):Math.min(t,o),r=0>r?Math.max(o+r,0):Math.min(r,o),n=0>n?Math.max(o+n,0):Math.min(n,o),t<r)for(;r<n;)r in this?this[t++]=this[r++]:(delete this[t++],r++);else for(t+=(n=Math.min(n,o+r-t))-r;n>r;)--n in this?this[--t]=this[n]:delete this[--t];return this}}),"es6","es3"),r.typedArrayCopyWithin=function(t){return t||Array.prototype.copyWithin},r.polyfill("Int8Array.prototype.copyWithin",r.typedArrayCopyWithin,"es6","es5"),r.polyfill("Uint8Array.prototype.copyWithin",r.typedArrayCopyWithin,"es6","es5"),r.polyfill("Uint8ClampedArray.prototype.copyWithin",r.typedArrayCopyWithin,"es6","es5"),r.polyfill("Int16Array.prototype.copyWithin",r.typedArrayCopyWithin,"es6","es5"),r.polyfill("Uint16Array.prototype.copyWithin",r.typedArrayCopyWithin,"es6","es5"),r.polyfill("Int32Array.prototype.copyWithin",r.typedArrayCopyWithin,"es6","es5"),r.polyfill("Uint32Array.prototype.copyWithin",r.typedArrayCopyWithin,"es6","es5"),r.polyfill("Float32Array.prototype.copyWithin",r.typedArrayCopyWithin,"es6","es5"),r.polyfill("Float64Array.prototype.copyWithin",r.typedArrayCopyWithin,"es6","es5");var n,o=(n=typeof document<"u"&&document.currentScript?document.currentScript.src:void 0,typeof __filename<"u"&&(n=n||__filename),function(t){function e(t,e,r){var n=e+r;for(r=e;t[r]&&!(r>=n);)++r;if(16<r-e&&t.buffer&&it)return it.decode(t.subarray(e,r));for(n="";e<r;){var o=t[e++];if(128&o){var _=63&t[e++];if(192==(224&o))n+=String.fromCharCode((31&o)<<6|_);else{var i=63&t[e++];65536>(o=224==(240&o)?(15&o)<<12|_<<6|i:(7&o)<<18|_<<12|i<<6|63&t[e++])?n+=String.fromCharCode(o):(o-=65536,n+=String.fromCharCode(55296|o>>10,56320|1023&o))}}else n+=String.fromCharCode(o)}return n}function r(t,r){return t?e(et,t,r):""}function o(){var t=$.buffer;C.HEAP8=tt=new Int8Array(t),C.HEAP16=new Int16Array(t),C.HEAP32=rt=new Int32Array(t),C.HEAPU8=et=new Uint8Array(t),C.HEAPU16=new Uint16Array(t),C.HEAPU32=nt=new Uint32Array(t),C.HEAPF32=new Float32Array(t),C.HEAPF64=new Float64Array(t)}function _(t){throw C.onAbort&&C.onAbort(t),Z(t="Aborted("+t+")"),_t=!0,t=new WebAssembly.RuntimeError(t+". Build with -sASSERTIONS for more info."),L(t),t}function i(t){try{if(t==ft&&K)return new Uint8Array(K);if(q)return q(t);throw"both async and sync fetching of the wasm failed"}catch(t){_(t)}}function p(t){for(;0<t.length;)t.shift()(C)}function a(t){this.excPtr=t,this.ptr=t-24,this.set_type=function(t){nt[this.ptr+4>>2]=t},this.get_type=function(){return nt[this.ptr+4>>2]},this.set_destructor=function(t){nt[this.ptr+8>>2]=t},this.get_destructor=function(){return nt[this.ptr+8>>2]},this.set_refcount=function(t){rt[this.ptr>>2]=t},this.set_caught=function(t){tt[this.ptr+12|0]=t?1:0},this.get_caught=function(){return 0!=tt[this.ptr+12|0]},this.set_rethrown=function(t){tt[this.ptr+13|0]=t?1:0},this.get_rethrown=function(){return 0!=tt[this.ptr+13|0]},this.init=function(t,e){this.set_adjusted_ptr(0),this.set_type(t),this.set_destructor(e),this.set_refcount(0),this.set_caught(!1),this.set_rethrown(!1)},this.add_ref=function(){rt[this.ptr>>2]+=1},this.release_ref=function(){var t=rt[this.ptr>>2];return rt[this.ptr>>2]=t-1,1===t},this.set_adjusted_ptr=function(t){nt[this.ptr+16>>2]=t},this.get_adjusted_ptr=function(){return nt[this.ptr+16>>2]},this.get_exception_ptr=function(){if($r(this.get_type()))return nt[this.excPtr>>2];var t=this.get_adjusted_ptr();return 0!==t?t:this.excPtr}}function c(){function t(){if(!Zr&&(Zr=!0,C.calledRun=!0,!_t)){if(ut=!0,p(at),F(C),C.onRuntimeInitialized&&C.onRuntimeInitialized(),C.postRun)for("function"==typeof C.postRun&&(C.postRun=[C.postRun]);C.postRun.length;)ct.unshift(C.postRun.shift());p(ct)}}if(!(0<st)){if(C.preRun)for("function"==typeof C.preRun&&(C.preRun=[C.preRun]);C.preRun.length;)pt.unshift(C.preRun.shift());p(pt),0<st||(C.setStatus?(C.setStatus("Running..."),setTimeout((function(){setTimeout((function(){C.setStatus("")}),1),t()}),1)):t())}}function u(){}function s(t){return(t||u).__cache__}function y(t,e){var r=s(e),n=r[t];return n||((n=Object.create((e||u).prototype)).ptr=t,r[t]=n)}function l(t){if("string"==typeof t){for(var e=0,r=0;r<t.length;++r){var n=t.charCodeAt(r);127>=n?e++:2047>=n?e+=2:55296<=n&&57343>=n?(e+=4,++r):e+=3}if(r=0,0<(n=(e=Array(e+1)).length)){n=r+n-1;for(var o=0;o<t.length;++o){var _=t.charCodeAt(o);if(55296<=_&&57343>=_&&(_=65536+((1023&_)<<10)|1023&t.charCodeAt(++o)),127>=_){if(r>=n)break;e[r++]=_}else{if(2047>=_){if(r+1>=n)break;e[r++]=192|_>>6}else{if(65535>=_){if(r+2>=n)break;e[r++]=224|_>>12}else{if(r+3>=n)break;e[r++]=240|_>>18,e[r++]=128|_>>12&63}e[r++]=128|_>>6&63}e[r++]=128|63&_}}e[r]=0}return t=tn.alloc(e,tt),tn.copy(e,tt,t),t}return t}function f(t){if("object"==typeof t){var e=tn.alloc(t,tt);return tn.copy(t,tt,e),e}return t}function d(){throw"cannot construct a VoidPtr, no constructor in IDL"}function m(){this.ptr=ht(),s(m)[this.ptr]=this}function b(){this.ptr=Dt(),s(b)[this.ptr]=this}function h(){this.ptr=Gt(),s(h)[this.ptr]=this}function A(){this.ptr=vt(),s(A)[this.ptr]=this}function T(){this.ptr=Ct(),s(T)[this.ptr]=this}function D(){this.ptr=Qt(),s(D)[this.ptr]=this}function I(){this.ptr=Yt(),s(I)[this.ptr]=this}function E(){this.ptr=Jt(),s(E)[this.ptr]=this}function G(){this.ptr=re(),s(G)[this.ptr]=this}function O(){throw"cannot construct a Status, no constructor in IDL"}function v(){this.ptr=ae(),s(v)[this.ptr]=this}function j(){this.ptr=ye(),s(j)[this.ptr]=this}function P(){this.ptr=me(),s(P)[this.ptr]=this}function R(){this.ptr=Te(),s(R)[this.ptr]=this}function S(){this.ptr=Ge(),s(S)[this.ptr]=this}function N(){this.ptr=Pe(),s(N)[this.ptr]=this}function M(){this.ptr=Me(),s(M)[this.ptr]=this}function U(){this.ptr=Le(),s(U)[this.ptr]=this}function g(){this.ptr=xe(),s(g)[this.ptr]=this}var F,L,C=typeof(t=void 0===t?{}:t)<"u"?t:{};C.ready=new Promise((function(t,e){F=t,L=e}));var w=!1,z=!1;C.onRuntimeInitialized=function(){w=!0,z&&"function"==typeof C.onModuleLoaded&&C.onModuleLoaded(C)},C.onModuleParsed=function(){z=!0,w&&"function"==typeof C.onModuleLoaded&&C.onModuleLoaded(C)},C.isVersionSupported=function(t){return"string"==typeof t&&!(2>(t=t.split(".")).length||3<t.length)&&(1==t[0]&&0<=t[1]&&5>=t[1]||!(0!=t[0]||10<t[1]))};var V=Object.assign({},C),B="object"==typeof window,W="function"==typeof importScripts,Q="object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node,k="";if(Q){var x=fn("fs"),H=fn("path");k=W?H.dirname(k)+"/":__dirname+"/";var Y=function(t,e){return t=t.startsWith("file://")?new URL(t):H.normalize(t),x.readFileSync(t,e?void 0:"utf8")},q=function(t){return(t=Y(t,!0)).buffer||(t=new Uint8Array(t)),t},X=function(t,e,r){t=t.startsWith("file://")?new URL(t):H.normalize(t),x.readFile(t,(function(t,n){t?r(t):e(n.buffer)}))};1<process.argv.length&&process.argv[1].replace(/\\/g,"/"),process.argv.slice(2),C.inspect=function(){return"[Emscripten Module object]"}}else(B||W)&&(W?k=self.location.href:typeof document<"u"&&document.currentScript&&(k=document.currentScript.src),n&&(k=n),k=0!==k.indexOf("blob:")?k.substr(0,k.replace(/[?#].*/,"").lastIndexOf("/")+1):"",Y=function(t){var e=new XMLHttpRequest;return e.open("GET",t,!1),e.send(null),e.responseText},W&&(q=function(t){var e=new XMLHttpRequest;return e.open("GET",t,!1),e.responseType="arraybuffer",e.send(null),new Uint8Array(e.response)}),X=function(t,e,r){var n=new XMLHttpRequest;n.open("GET",t,!0),n.responseType="arraybuffer",n.onload=function(){200==n.status||0==n.status&&n.response?e(n.response):r()},n.onerror=r,n.send(null)});var K,J=C.print||console.log.bind(console),Z=C.printErr||console.warn.bind(console);Object.assign(C,V),V=null,C.wasmBinary&&(K=C.wasmBinary),"object"!=typeof WebAssembly&&_("no native wasm support detected");var $,tt,et,rt,nt,ot,_t=!1,it=typeof TextDecoder<"u"?new TextDecoder("utf8"):void 0,pt=[],at=[],ct=[],ut=!1,st=0,yt=null,lt=null,ft="draco_decoder.wasm";ft.startsWith("data:application/octet-stream;base64,")||(ot=ft,ft=C.locateFile?C.locateFile(ot,k):k+ot);var dt=[null,[],[]],mt={b:function(t,e,r){throw new a(t).init(e,r),t},a:function(){_("")},g:function(t,e,r){et.copyWithin(t,e,e+r)},e:function(t){var e=et.length;if(2147483648<(t>>>=0))return!1;for(var r=1;4>=r;r*=2){var n=e*(1+.2/r);n=Math.min(n,t+100663296);var _=Math;n=Math.max(t,n),_=_.min.call(_,2147483648,n+(65536-n%65536)%65536);t:{n=$.buffer;try{$.grow(_-n.byteLength+65535>>>16),o();var i=1;break t}catch{}i=void 0}if(i)return!0}return!1},f:function(t){return 52},d:function(t,e,r,n,o){return 70},c:function(t,r,n,o){for(var _=0,i=0;i<n;i++){var p=nt[r>>2],a=nt[r+4>>2];r+=8;for(var c=0;c<a;c++){var u=et[p+c],s=dt[t];0===u||10===u?((1===t?J:Z)(e(s,0)),s.length=0):s.push(u)}_+=a}return nt[o>>2]=_,0}};!function(){function t(t,e){C.asm=t.exports,$=C.asm.h,o(),at.unshift(C.asm.i),st--,C.monitorRunDependencies&&C.monitorRunDependencies(st),0==st&&(null!==yt&&(clearInterval(yt),yt=null),lt&&(t=lt,lt=null,t()))}function e(e){t(e.instance)}function r(t){return function(){if(!K&&(B||W)){if("function"==typeof fetch&&!ft.startsWith("file://"))return fetch(ft,{credentials:"same-origin"}).then((function(t){if(!t.ok)throw"failed to load wasm binary file at '"+ft+"'";return t.arrayBuffer()})).catch((function(){return i(ft)}));if(X)return new Promise((function(t,e){X(ft,(function(e){t(new Uint8Array(e))}),e)}))}return Promise.resolve().then((function(){return i(ft)}))}().then((function(t){return WebAssembly.instantiate(t,n)})).then((function(t){return t})).then(t,(function(t){Z("failed to asynchronously prepare wasm: "+t),_(t)}))}var n={a:mt};if(st++,C.monitorRunDependencies&&C.monitorRunDependencies(st),C.instantiateWasm)try{return C.instantiateWasm(n,t)}catch(t){Z("Module.instantiateWasm callback failed with error: "+t),L(t)}(K||"function"!=typeof WebAssembly.instantiateStreaming||ft.startsWith("data:application/octet-stream;base64,")||ft.startsWith("file://")||Q||"function"!=typeof fetch?r(e):fetch(ft,{credentials:"same-origin"}).then((function(t){return WebAssembly.instantiateStreaming(t,n).then(e,(function(t){return Z("wasm streaming compile failed: "+t),Z("falling back to ArrayBuffer instantiation"),r(e)}))}))).catch(L)}();var bt=C._emscripten_bind_VoidPtr___destroy___0=function(){return(bt=C._emscripten_bind_VoidPtr___destroy___0=C.asm.k).apply(null,arguments)},ht=C._emscripten_bind_DecoderBuffer_DecoderBuffer_0=function(){return(ht=C._emscripten_bind_DecoderBuffer_DecoderBuffer_0=C.asm.l).apply(null,arguments)},At=C._emscripten_bind_DecoderBuffer_Init_2=function(){return(At=C._emscripten_bind_DecoderBuffer_Init_2=C.asm.m).apply(null,arguments)},Tt=C._emscripten_bind_DecoderBuffer___destroy___0=function(){return(Tt=C._emscripten_bind_DecoderBuffer___destroy___0=C.asm.n).apply(null,arguments)},Dt=C._emscripten_bind_AttributeTransformData_AttributeTransformData_0=function(){return(Dt=C._emscripten_bind_AttributeTransformData_AttributeTransformData_0=C.asm.o).apply(null,arguments)},It=C._emscripten_bind_AttributeTransformData_transform_type_0=function(){return(It=C._emscripten_bind_AttributeTransformData_transform_type_0=C.asm.p).apply(null,arguments)},Et=C._emscripten_bind_AttributeTransformData___destroy___0=function(){return(Et=C._emscripten_bind_AttributeTransformData___destroy___0=C.asm.q).apply(null,arguments)},Gt=C._emscripten_bind_GeometryAttribute_GeometryAttribute_0=function(){return(Gt=C._emscripten_bind_GeometryAttribute_GeometryAttribute_0=C.asm.r).apply(null,arguments)},Ot=C._emscripten_bind_GeometryAttribute___destroy___0=function(){return(Ot=C._emscripten_bind_GeometryAttribute___destroy___0=C.asm.s).apply(null,arguments)},vt=C._emscripten_bind_PointAttribute_PointAttribute_0=function(){return(vt=C._emscripten_bind_PointAttribute_PointAttribute_0=C.asm.t).apply(null,arguments)},jt=C._emscripten_bind_PointAttribute_size_0=function(){return(jt=C._emscripten_bind_PointAttribute_size_0=C.asm.u).apply(null,arguments)},Pt=C._emscripten_bind_PointAttribute_GetAttributeTransformData_0=function(){return(Pt=C._emscripten_bind_PointAttribute_GetAttributeTransformData_0=C.asm.v).apply(null,arguments)},Rt=C._emscripten_bind_PointAttribute_attribute_type_0=function(){return(Rt=C._emscripten_bind_PointAttribute_attribute_type_0=C.asm.w).apply(null,arguments)},St=C._emscripten_bind_PointAttribute_data_type_0=function(){return(St=C._emscripten_bind_PointAttribute_data_type_0=C.asm.x).apply(null,arguments)},Nt=C._emscripten_bind_PointAttribute_num_components_0=function(){return(Nt=C._emscripten_bind_PointAttribute_num_components_0=C.asm.y).apply(null,arguments)},Mt=C._emscripten_bind_PointAttribute_normalized_0=function(){return(Mt=C._emscripten_bind_PointAttribute_normalized_0=C.asm.z).apply(null,arguments)},Ut=C._emscripten_bind_PointAttribute_byte_stride_0=function(){return(Ut=C._emscripten_bind_PointAttribute_byte_stride_0=C.asm.A).apply(null,arguments)},gt=C._emscripten_bind_PointAttribute_byte_offset_0=function(){return(gt=C._emscripten_bind_PointAttribute_byte_offset_0=C.asm.B).apply(null,arguments)},Ft=C._emscripten_bind_PointAttribute_unique_id_0=function(){return(Ft=C._emscripten_bind_PointAttribute_unique_id_0=C.asm.C).apply(null,arguments)},Lt=C._emscripten_bind_PointAttribute___destroy___0=function(){return(Lt=C._emscripten_bind_PointAttribute___destroy___0=C.asm.D).apply(null,arguments)},Ct=C._emscripten_bind_AttributeQuantizationTransform_AttributeQuantizationTransform_0=function(){return(Ct=C._emscripten_bind_AttributeQuantizationTransform_AttributeQuantizationTransform_0=C.asm.E).apply(null,arguments)},wt=C._emscripten_bind_AttributeQuantizationTransform_InitFromAttribute_1=function(){return(wt=C._emscripten_bind_AttributeQuantizationTransform_InitFromAttribute_1=C.asm.F).apply(null,arguments)},zt=C._emscripten_bind_AttributeQuantizationTransform_quantization_bits_0=function(){return(zt=C._emscripten_bind_AttributeQuantizationTransform_quantization_bits_0=C.asm.G).apply(null,arguments)},Vt=C._emscripten_bind_AttributeQuantizationTransform_min_value_1=function(){return(Vt=C._emscripten_bind_AttributeQuantizationTransform_min_value_1=C.asm.H).apply(null,arguments)},Bt=C._emscripten_bind_AttributeQuantizationTransform_range_0=function(){return(Bt=C._emscripten_bind_AttributeQuantizationTransform_range_0=C.asm.I).apply(null,arguments)},Wt=C._emscripten_bind_AttributeQuantizationTransform___destroy___0=function(){return(Wt=C._emscripten_bind_AttributeQuantizationTransform___destroy___0=C.asm.J).apply(null,arguments)},Qt=C._emscripten_bind_AttributeOctahedronTransform_AttributeOctahedronTransform_0=function(){return(Qt=C._emscripten_bind_AttributeOctahedronTransform_AttributeOctahedronTransform_0=C.asm.K).apply(null,arguments)},kt=C._emscripten_bind_AttributeOctahedronTransform_InitFromAttribute_1=function(){return(kt=C._emscripten_bind_AttributeOctahedronTransform_InitFromAttribute_1=C.asm.L).apply(null,arguments)},xt=C._emscripten_bind_AttributeOctahedronTransform_quantization_bits_0=function(){return(xt=C._emscripten_bind_AttributeOctahedronTransform_quantization_bits_0=C.asm.M).apply(null,arguments)},Ht=C._emscripten_bind_AttributeOctahedronTransform___destroy___0=function(){return(Ht=C._emscripten_bind_AttributeOctahedronTransform___destroy___0=C.asm.N).apply(null,arguments)},Yt=C._emscripten_bind_PointCloud_PointCloud_0=function(){return(Yt=C._emscripten_bind_PointCloud_PointCloud_0=C.asm.O).apply(null,arguments)},qt=C._emscripten_bind_PointCloud_num_attributes_0=function(){return(qt=C._emscripten_bind_PointCloud_num_attributes_0=C.asm.P).apply(null,arguments)},Xt=C._emscripten_bind_PointCloud_num_points_0=function(){return(Xt=C._emscripten_bind_PointCloud_num_points_0=C.asm.Q).apply(null,arguments)},Kt=C._emscripten_bind_PointCloud___destroy___0=function(){return(Kt=C._emscripten_bind_PointCloud___destroy___0=C.asm.R).apply(null,arguments)},Jt=C._emscripten_bind_Mesh_Mesh_0=function(){return(Jt=C._emscripten_bind_Mesh_Mesh_0=C.asm.S).apply(null,arguments)},Zt=C._emscripten_bind_Mesh_num_faces_0=function(){return(Zt=C._emscripten_bind_Mesh_num_faces_0=C.asm.T).apply(null,arguments)},$t=C._emscripten_bind_Mesh_num_attributes_0=function(){return($t=C._emscripten_bind_Mesh_num_attributes_0=C.asm.U).apply(null,arguments)},te=C._emscripten_bind_Mesh_num_points_0=function(){return(te=C._emscripten_bind_Mesh_num_points_0=C.asm.V).apply(null,arguments)},ee=C._emscripten_bind_Mesh___destroy___0=function(){return(ee=C._emscripten_bind_Mesh___destroy___0=C.asm.W).apply(null,arguments)},re=C._emscripten_bind_Metadata_Metadata_0=function(){return(re=C._emscripten_bind_Metadata_Metadata_0=C.asm.X).apply(null,arguments)},ne=C._emscripten_bind_Metadata___destroy___0=function(){return(ne=C._emscripten_bind_Metadata___destroy___0=C.asm.Y).apply(null,arguments)},oe=C._emscripten_bind_Status_code_0=function(){return(oe=C._emscripten_bind_Status_code_0=C.asm.Z).apply(null,arguments)},_e=C._emscripten_bind_Status_ok_0=function(){return(_e=C._emscripten_bind_Status_ok_0=C.asm._).apply(null,arguments)},ie=C._emscripten_bind_Status_error_msg_0=function(){return(ie=C._emscripten_bind_Status_error_msg_0=C.asm.$).apply(null,arguments)},pe=C._emscripten_bind_Status___destroy___0=function(){return(pe=C._emscripten_bind_Status___destroy___0=C.asm.aa).apply(null,arguments)},ae=C._emscripten_bind_DracoFloat32Array_DracoFloat32Array_0=function(){return(ae=C._emscripten_bind_DracoFloat32Array_DracoFloat32Array_0=C.asm.ba).apply(null,arguments)},ce=C._emscripten_bind_DracoFloat32Array_GetValue_1=function(){return(ce=C._emscripten_bind_DracoFloat32Array_GetValue_1=C.asm.ca).apply(null,arguments)},ue=C._emscripten_bind_DracoFloat32Array_size_0=function(){return(ue=C._emscripten_bind_DracoFloat32Array_size_0=C.asm.da).apply(null,arguments)},se=C._emscripten_bind_DracoFloat32Array___destroy___0=function(){return(se=C._emscripten_bind_DracoFloat32Array___destroy___0=C.asm.ea).apply(null,arguments)},ye=C._emscripten_bind_DracoInt8Array_DracoInt8Array_0=function(){return(ye=C._emscripten_bind_DracoInt8Array_DracoInt8Array_0=C.asm.fa).apply(null,arguments)},le=C._emscripten_bind_DracoInt8Array_GetValue_1=function(){return(le=C._emscripten_bind_DracoInt8Array_GetValue_1=C.asm.ga).apply(null,arguments)},fe=C._emscripten_bind_DracoInt8Array_size_0=function(){return(fe=C._emscripten_bind_DracoInt8Array_size_0=C.asm.ha).apply(null,arguments)},de=C._emscripten_bind_DracoInt8Array___destroy___0=function(){return(de=C._emscripten_bind_DracoInt8Array___destroy___0=C.asm.ia).apply(null,arguments)},me=C._emscripten_bind_DracoUInt8Array_DracoUInt8Array_0=function(){return(me=C._emscripten_bind_DracoUInt8Array_DracoUInt8Array_0=C.asm.ja).apply(null,arguments)},be=C._emscripten_bind_DracoUInt8Array_GetValue_1=function(){return(be=C._emscripten_bind_DracoUInt8Array_GetValue_1=C.asm.ka).apply(null,arguments)},he=C._emscripten_bind_DracoUInt8Array_size_0=function(){return(he=C._emscripten_bind_DracoUInt8Array_size_0=C.asm.la).apply(null,arguments)},Ae=C._emscripten_bind_DracoUInt8Array___destroy___0=function(){return(Ae=C._emscripten_bind_DracoUInt8Array___destroy___0=C.asm.ma).apply(null,arguments)},Te=C._emscripten_bind_DracoInt16Array_DracoInt16Array_0=function(){return(Te=C._emscripten_bind_DracoInt16Array_DracoInt16Array_0=C.asm.na).apply(null,arguments)},De=C._emscripten_bind_DracoInt16Array_GetValue_1=function(){return(De=C._emscripten_bind_DracoInt16Array_GetValue_1=C.asm.oa).apply(null,arguments)},Ie=C._emscripten_bind_DracoInt16Array_size_0=function(){return(Ie=C._emscripten_bind_DracoInt16Array_size_0=C.asm.pa).apply(null,arguments)},Ee=C._emscripten_bind_DracoInt16Array___destroy___0=function(){return(Ee=C._emscripten_bind_DracoInt16Array___destroy___0=C.asm.qa).apply(null,arguments)},Ge=C._emscripten_bind_DracoUInt16Array_DracoUInt16Array_0=function(){return(Ge=C._emscripten_bind_DracoUInt16Array_DracoUInt16Array_0=C.asm.ra).apply(null,arguments)},Oe=C._emscripten_bind_DracoUInt16Array_GetValue_1=function(){return(Oe=C._emscripten_bind_DracoUInt16Array_GetValue_1=C.asm.sa).apply(null,arguments)},ve=C._emscripten_bind_DracoUInt16Array_size_0=function(){return(ve=C._emscripten_bind_DracoUInt16Array_size_0=C.asm.ta).apply(null,arguments)},je=C._emscripten_bind_DracoUInt16Array___destroy___0=function(){return(je=C._emscripten_bind_DracoUInt16Array___destroy___0=C.asm.ua).apply(null,arguments)},Pe=C._emscripten_bind_DracoInt32Array_DracoInt32Array_0=function(){return(Pe=C._emscripten_bind_DracoInt32Array_DracoInt32Array_0=C.asm.va).apply(null,arguments)},Re=C._emscripten_bind_DracoInt32Array_GetValue_1=function(){return(Re=C._emscripten_bind_DracoInt32Array_GetValue_1=C.asm.wa).apply(null,arguments)},Se=C._emscripten_bind_DracoInt32Array_size_0=function(){return(Se=C._emscripten_bind_DracoInt32Array_size_0=C.asm.xa).apply(null,arguments)},Ne=C._emscripten_bind_DracoInt32Array___destroy___0=function(){return(Ne=C._emscripten_bind_DracoInt32Array___destroy___0=C.asm.ya).apply(null,arguments)},Me=C._emscripten_bind_DracoUInt32Array_DracoUInt32Array_0=function(){return(Me=C._emscripten_bind_DracoUInt32Array_DracoUInt32Array_0=C.asm.za).apply(null,arguments)},Ue=C._emscripten_bind_DracoUInt32Array_GetValue_1=function(){return(Ue=C._emscripten_bind_DracoUInt32Array_GetValue_1=C.asm.Aa).apply(null,arguments)},ge=C._emscripten_bind_DracoUInt32Array_size_0=function(){return(ge=C._emscripten_bind_DracoUInt32Array_size_0=C.asm.Ba).apply(null,arguments)},Fe=C._emscripten_bind_DracoUInt32Array___destroy___0=function(){return(Fe=C._emscripten_bind_DracoUInt32Array___destroy___0=C.asm.Ca).apply(null,arguments)},Le=C._emscripten_bind_MetadataQuerier_MetadataQuerier_0=function(){return(Le=C._emscripten_bind_MetadataQuerier_MetadataQuerier_0=C.asm.Da).apply(null,arguments)},Ce=C._emscripten_bind_MetadataQuerier_HasEntry_2=function(){return(Ce=C._emscripten_bind_MetadataQuerier_HasEntry_2=C.asm.Ea).apply(null,arguments)},we=C._emscripten_bind_MetadataQuerier_GetIntEntry_2=function(){return(we=C._emscripten_bind_MetadataQuerier_GetIntEntry_2=C.asm.Fa).apply(null,arguments)},ze=C._emscripten_bind_MetadataQuerier_GetIntEntryArray_3=function(){return(ze=C._emscripten_bind_MetadataQuerier_GetIntEntryArray_3=C.asm.Ga).apply(null,arguments)},Ve=C._emscripten_bind_MetadataQuerier_GetDoubleEntry_2=function(){return(Ve=C._emscripten_bind_MetadataQuerier_GetDoubleEntry_2=C.asm.Ha).apply(null,arguments)},Be=C._emscripten_bind_MetadataQuerier_GetStringEntry_2=function(){return(Be=C._emscripten_bind_MetadataQuerier_GetStringEntry_2=C.asm.Ia).apply(null,arguments)},We=C._emscripten_bind_MetadataQuerier_NumEntries_1=function(){return(We=C._emscripten_bind_MetadataQuerier_NumEntries_1=C.asm.Ja).apply(null,arguments)},Qe=C._emscripten_bind_MetadataQuerier_GetEntryName_2=function(){return(Qe=C._emscripten_bind_MetadataQuerier_GetEntryName_2=C.asm.Ka).apply(null,arguments)},ke=C._emscripten_bind_MetadataQuerier___destroy___0=function(){return(ke=C._emscripten_bind_MetadataQuerier___destroy___0=C.asm.La).apply(null,arguments)},xe=C._emscripten_bind_Decoder_Decoder_0=function(){return(xe=C._emscripten_bind_Decoder_Decoder_0=C.asm.Ma).apply(null,arguments)},He=C._emscripten_bind_Decoder_DecodeArrayToPointCloud_3=function(){return(He=C._emscripten_bind_Decoder_DecodeArrayToPointCloud_3=C.asm.Na).apply(null,arguments)},Ye=C._emscripten_bind_Decoder_DecodeArrayToMesh_3=function(){return(Ye=C._emscripten_bind_Decoder_DecodeArrayToMesh_3=C.asm.Oa).apply(null,arguments)},qe=C._emscripten_bind_Decoder_GetAttributeId_2=function(){return(qe=C._emscripten_bind_Decoder_GetAttributeId_2=C.asm.Pa).apply(null,arguments)},Xe=C._emscripten_bind_Decoder_GetAttributeIdByName_2=function(){return(Xe=C._emscripten_bind_Decoder_GetAttributeIdByName_2=C.asm.Qa).apply(null,arguments)},Ke=C._emscripten_bind_Decoder_GetAttributeIdByMetadataEntry_3=function(){return(Ke=C._emscripten_bind_Decoder_GetAttributeIdByMetadataEntry_3=C.asm.Ra).apply(null,arguments)},Je=C._emscripten_bind_Decoder_GetAttribute_2=function(){return(Je=C._emscripten_bind_Decoder_GetAttribute_2=C.asm.Sa).apply(null,arguments)},Ze=C._emscripten_bind_Decoder_GetAttributeByUniqueId_2=function(){return(Ze=C._emscripten_bind_Decoder_GetAttributeByUniqueId_2=C.asm.Ta).apply(null,arguments)},$e=C._emscripten_bind_Decoder_GetMetadata_1=function(){return($e=C._emscripten_bind_Decoder_GetMetadata_1=C.asm.Ua).apply(null,arguments)},tr=C._emscripten_bind_Decoder_GetAttributeMetadata_2=function(){return(tr=C._emscripten_bind_Decoder_GetAttributeMetadata_2=C.asm.Va).apply(null,arguments)},er=C._emscripten_bind_Decoder_GetFaceFromMesh_3=function(){return(er=C._emscripten_bind_Decoder_GetFaceFromMesh_3=C.asm.Wa).apply(null,arguments)},rr=C._emscripten_bind_Decoder_GetTriangleStripsFromMesh_2=function(){return(rr=C._emscripten_bind_Decoder_GetTriangleStripsFromMesh_2=C.asm.Xa).apply(null,arguments)},nr=C._emscripten_bind_Decoder_GetTrianglesUInt16Array_3=function(){return(nr=C._emscripten_bind_Decoder_GetTrianglesUInt16Array_3=C.asm.Ya).apply(null,arguments)},or=C._emscripten_bind_Decoder_GetTrianglesUInt32Array_3=function(){return(or=C._emscripten_bind_Decoder_GetTrianglesUInt32Array_3=C.asm.Za).apply(null,arguments)},_r=C._emscripten_bind_Decoder_GetAttributeFloat_3=function(){return(_r=C._emscripten_bind_Decoder_GetAttributeFloat_3=C.asm._a).apply(null,arguments)},ir=C._emscripten_bind_Decoder_GetAttributeFloatForAllPoints_3=function(){return(ir=C._emscripten_bind_Decoder_GetAttributeFloatForAllPoints_3=C.asm.$a).apply(null,arguments)},pr=C._emscripten_bind_Decoder_GetAttributeIntForAllPoints_3=function(){return(pr=C._emscripten_bind_Decoder_GetAttributeIntForAllPoints_3=C.asm.ab).apply(null,arguments)},ar=C._emscripten_bind_Decoder_GetAttributeInt8ForAllPoints_3=function(){return(ar=C._emscripten_bind_Decoder_GetAttributeInt8ForAllPoints_3=C.asm.bb).apply(null,arguments)},cr=C._emscripten_bind_Decoder_GetAttributeUInt8ForAllPoints_3=function(){return(cr=C._emscripten_bind_Decoder_GetAttributeUInt8ForAllPoints_3=C.asm.cb).apply(null,arguments)},ur=C._emscripten_bind_Decoder_GetAttributeInt16ForAllPoints_3=function(){return(ur=C._emscripten_bind_Decoder_GetAttributeInt16ForAllPoints_3=C.asm.db).apply(null,arguments)},sr=C._emscripten_bind_Decoder_GetAttributeUInt16ForAllPoints_3=function(){return(sr=C._emscripten_bind_Decoder_GetAttributeUInt16ForAllPoints_3=C.asm.eb).apply(null,arguments)},yr=C._emscripten_bind_Decoder_GetAttributeInt32ForAllPoints_3=function(){return(yr=C._emscripten_bind_Decoder_GetAttributeInt32ForAllPoints_3=C.asm.fb).apply(null,arguments)},lr=C._emscripten_bind_Decoder_GetAttributeUInt32ForAllPoints_3=function(){return(lr=C._emscripten_bind_Decoder_GetAttributeUInt32ForAllPoints_3=C.asm.gb).apply(null,arguments)},fr=C._emscripten_bind_Decoder_GetAttributeDataArrayForAllPoints_5=function(){return(fr=C._emscripten_bind_Decoder_GetAttributeDataArrayForAllPoints_5=C.asm.hb).apply(null,arguments)},dr=C._emscripten_bind_Decoder_SkipAttributeTransform_1=function(){return(dr=C._emscripten_bind_Decoder_SkipAttributeTransform_1=C.asm.ib).apply(null,arguments)},mr=C._emscripten_bind_Decoder_GetEncodedGeometryType_Deprecated_1=function(){return(mr=C._emscripten_bind_Decoder_GetEncodedGeometryType_Deprecated_1=C.asm.jb).apply(null,arguments)},br=C._emscripten_bind_Decoder_DecodeBufferToPointCloud_2=function(){return(br=C._emscripten_bind_Decoder_DecodeBufferToPointCloud_2=C.asm.kb).apply(null,arguments)},hr=C._emscripten_bind_Decoder_DecodeBufferToMesh_2=function(){return(hr=C._emscripten_bind_Decoder_DecodeBufferToMesh_2=C.asm.lb).apply(null,arguments)},Ar=C._emscripten_bind_Decoder___destroy___0=function(){return(Ar=C._emscripten_bind_Decoder___destroy___0=C.asm.mb).apply(null,arguments)},Tr=C._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_INVALID_TRANSFORM=function(){return(Tr=C._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_INVALID_TRANSFORM=C.asm.nb).apply(null,arguments)},Dr=C._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_NO_TRANSFORM=function(){return(Dr=C._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_NO_TRANSFORM=C.asm.ob).apply(null,arguments)},Ir=C._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_QUANTIZATION_TRANSFORM=function(){return(Ir=C._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_QUANTIZATION_TRANSFORM=C.asm.pb).apply(null,arguments)},Er=C._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_OCTAHEDRON_TRANSFORM=function(){return(Er=C._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_OCTAHEDRON_TRANSFORM=C.asm.qb).apply(null,arguments)},Gr=C._emscripten_enum_draco_GeometryAttribute_Type_INVALID=function(){return(Gr=C._emscripten_enum_draco_GeometryAttribute_Type_INVALID=C.asm.rb).apply(null,arguments)},Or=C._emscripten_enum_draco_GeometryAttribute_Type_POSITION=function(){return(Or=C._emscripten_enum_draco_GeometryAttribute_Type_POSITION=C.asm.sb).apply(null,arguments)},vr=C._emscripten_enum_draco_GeometryAttribute_Type_NORMAL=function(){return(vr=C._emscripten_enum_draco_GeometryAttribute_Type_NORMAL=C.asm.tb).apply(null,arguments)},jr=C._emscripten_enum_draco_GeometryAttribute_Type_COLOR=function(){return(jr=C._emscripten_enum_draco_GeometryAttribute_Type_COLOR=C.asm.ub).apply(null,arguments)},Pr=C._emscripten_enum_draco_GeometryAttribute_Type_TEX_COORD=function(){return(Pr=C._emscripten_enum_draco_GeometryAttribute_Type_TEX_COORD=C.asm.vb).apply(null,arguments)},Rr=C._emscripten_enum_draco_GeometryAttribute_Type_GENERIC=function(){return(Rr=C._emscripten_enum_draco_GeometryAttribute_Type_GENERIC=C.asm.wb).apply(null,arguments)},Sr=C._emscripten_enum_draco_EncodedGeometryType_INVALID_GEOMETRY_TYPE=function(){return(Sr=C._emscripten_enum_draco_EncodedGeometryType_INVALID_GEOMETRY_TYPE=C.asm.xb).apply(null,arguments)},Nr=C._emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD=function(){return(Nr=C._emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD=C.asm.yb).apply(null,arguments)},Mr=C._emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH=function(){return(Mr=C._emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH=C.asm.zb).apply(null,arguments)},Ur=C._emscripten_enum_draco_DataType_DT_INVALID=function(){return(Ur=C._emscripten_enum_draco_DataType_DT_INVALID=C.asm.Ab).apply(null,arguments)},gr=C._emscripten_enum_draco_DataType_DT_INT8=function(){return(gr=C._emscripten_enum_draco_DataType_DT_INT8=C.asm.Bb).apply(null,arguments)},Fr=C._emscripten_enum_draco_DataType_DT_UINT8=function(){return(Fr=C._emscripten_enum_draco_DataType_DT_UINT8=C.asm.Cb).apply(null,arguments)},Lr=C._emscripten_enum_draco_DataType_DT_INT16=function(){return(Lr=C._emscripten_enum_draco_DataType_DT_INT16=C.asm.Db).apply(null,arguments)},Cr=C._emscripten_enum_draco_DataType_DT_UINT16=function(){return(Cr=C._emscripten_enum_draco_DataType_DT_UINT16=C.asm.Eb).apply(null,arguments)},wr=C._emscripten_enum_draco_DataType_DT_INT32=function(){return(wr=C._emscripten_enum_draco_DataType_DT_INT32=C.asm.Fb).apply(null,arguments)},zr=C._emscripten_enum_draco_DataType_DT_UINT32=function(){return(zr=C._emscripten_enum_draco_DataType_DT_UINT32=C.asm.Gb).apply(null,arguments)},Vr=C._emscripten_enum_draco_DataType_DT_INT64=function(){return(Vr=C._emscripten_enum_draco_DataType_DT_INT64=C.asm.Hb).apply(null,arguments)},Br=C._emscripten_enum_draco_DataType_DT_UINT64=function(){return(Br=C._emscripten_enum_draco_DataType_DT_UINT64=C.asm.Ib).apply(null,arguments)},Wr=C._emscripten_enum_draco_DataType_DT_FLOAT32=function(){return(Wr=C._emscripten_enum_draco_DataType_DT_FLOAT32=C.asm.Jb).apply(null,arguments)},Qr=C._emscripten_enum_draco_DataType_DT_FLOAT64=function(){return(Qr=C._emscripten_enum_draco_DataType_DT_FLOAT64=C.asm.Kb).apply(null,arguments)},kr=C._emscripten_enum_draco_DataType_DT_BOOL=function(){return(kr=C._emscripten_enum_draco_DataType_DT_BOOL=C.asm.Lb).apply(null,arguments)},xr=C._emscripten_enum_draco_DataType_DT_TYPES_COUNT=function(){return(xr=C._emscripten_enum_draco_DataType_DT_TYPES_COUNT=C.asm.Mb).apply(null,arguments)},Hr=C._emscripten_enum_draco_StatusCode_OK=function(){return(Hr=C._emscripten_enum_draco_StatusCode_OK=C.asm.Nb).apply(null,arguments)},Yr=C._emscripten_enum_draco_StatusCode_DRACO_ERROR=function(){return(Yr=C._emscripten_enum_draco_StatusCode_DRACO_ERROR=C.asm.Ob).apply(null,arguments)},qr=C._emscripten_enum_draco_StatusCode_IO_ERROR=function(){return(qr=C._emscripten_enum_draco_StatusCode_IO_ERROR=C.asm.Pb).apply(null,arguments)},Xr=C._emscripten_enum_draco_StatusCode_INVALID_PARAMETER=function(){return(Xr=C._emscripten_enum_draco_StatusCode_INVALID_PARAMETER=C.asm.Qb).apply(null,arguments)},Kr=C._emscripten_enum_draco_StatusCode_UNSUPPORTED_VERSION=function(){return(Kr=C._emscripten_enum_draco_StatusCode_UNSUPPORTED_VERSION=C.asm.Rb).apply(null,arguments)},Jr=C._emscripten_enum_draco_StatusCode_UNKNOWN_VERSION=function(){return(Jr=C._emscripten_enum_draco_StatusCode_UNKNOWN_VERSION=C.asm.Sb).apply(null,arguments)};C._malloc=function(){return(C._malloc=C.asm.Tb).apply(null,arguments)},C._free=function(){return(C._free=C.asm.Ub).apply(null,arguments)};var Zr,$r=function(){return($r=C.asm.Vb).apply(null,arguments)};if(C.___start_em_js=15856,C.___stop_em_js=15954,lt=function t(){Zr||c(),Zr||(lt=t)},C.preInit)for("function"==typeof C.preInit&&(C.preInit=[C.preInit]);0<C.preInit.length;)C.preInit.pop()();c(),u.prototype=Object.create(u.prototype),u.prototype.constructor=u,u.prototype.__class__=u,u.__cache__={},C.WrapperObject=u,C.getCache=s,C.wrapPointer=y,C.castObject=function(t,e){return y(t.ptr,e)},C.NULL=y(0),C.destroy=function(t){if(!t.__destroy__)throw"Error: Cannot destroy object. (Did you create it yourself?)";t.__destroy__(),delete s(t.__class__)[t.ptr]},C.compare=function(t,e){return t.ptr===e.ptr},C.getPointer=function(t){return t.ptr},C.getClass=function(t){return t.__class__};var tn={buffer:0,size:0,pos:0,temps:[],needed:0,prepare:function(){if(tn.needed){for(var t=0;t<tn.temps.length;t++)C._free(tn.temps[t]);tn.temps.length=0,C._free(tn.buffer),tn.buffer=0,tn.size+=tn.needed,tn.needed=0}tn.buffer||(tn.size+=128,tn.buffer=C._malloc(tn.size),tn.buffer||_(void 0)),tn.pos=0},alloc:function(t,e){return tn.buffer||_(void 0),t=7+(t=t.length*e.BYTES_PER_ELEMENT)&-8,tn.pos+t>=tn.size?(0<t||_(void 0),tn.needed+=t,e=C._malloc(t),tn.temps.push(e)):(e=tn.buffer+tn.pos,tn.pos+=t),e},copy:function(t,e,r){switch(r>>>=0,e.BYTES_PER_ELEMENT){case 2:r>>>=1;break;case 4:r>>>=2;break;case 8:r>>>=3}for(var n=0;n<t.length;n++)e[r+n]=t[n]}};return d.prototype=Object.create(u.prototype),d.prototype.constructor=d,d.prototype.__class__=d,d.__cache__={},C.VoidPtr=d,d.prototype.__destroy__=d.prototype.__destroy__=function(){bt(this.ptr)},m.prototype=Object.create(u.prototype),m.prototype.constructor=m,m.prototype.__class__=m,m.__cache__={},C.DecoderBuffer=m,m.prototype.Init=m.prototype.Init=function(t,e){var r=this.ptr;tn.prepare(),"object"==typeof t&&(t=f(t)),e&&"object"==typeof e&&(e=e.ptr),At(r,t,e)},m.prototype.__destroy__=m.prototype.__destroy__=function(){Tt(this.ptr)},b.prototype=Object.create(u.prototype),b.prototype.constructor=b,b.prototype.__class__=b,b.__cache__={},C.AttributeTransformData=b,b.prototype.transform_type=b.prototype.transform_type=function(){return It(this.ptr)},b.prototype.__destroy__=b.prototype.__destroy__=function(){Et(this.ptr)},h.prototype=Object.create(u.prototype),h.prototype.constructor=h,h.prototype.__class__=h,h.__cache__={},C.GeometryAttribute=h,h.prototype.__destroy__=h.prototype.__destroy__=function(){Ot(this.ptr)},A.prototype=Object.create(u.prototype),A.prototype.constructor=A,A.prototype.__class__=A,A.__cache__={},C.PointAttribute=A,A.prototype.size=A.prototype.size=function(){return jt(this.ptr)},A.prototype.GetAttributeTransformData=A.prototype.GetAttributeTransformData=function(){return y(Pt(this.ptr),b)},A.prototype.attribute_type=A.prototype.attribute_type=function(){return Rt(this.ptr)},A.prototype.data_type=A.prototype.data_type=function(){return St(this.ptr)},A.prototype.num_components=A.prototype.num_components=function(){return Nt(this.ptr)},A.prototype.normalized=A.prototype.normalized=function(){return!!Mt(this.ptr)},A.prototype.byte_stride=A.prototype.byte_stride=function(){return Ut(this.ptr)},A.prototype.byte_offset=A.prototype.byte_offset=function(){return gt(this.ptr)},A.prototype.unique_id=A.prototype.unique_id=function(){return Ft(this.ptr)},A.prototype.__destroy__=A.prototype.__destroy__=function(){Lt(this.ptr)},T.prototype=Object.create(u.prototype),T.prototype.constructor=T,T.prototype.__class__=T,T.__cache__={},C.AttributeQuantizationTransform=T,T.prototype.InitFromAttribute=T.prototype.InitFromAttribute=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),!!wt(e,t)},T.prototype.quantization_bits=T.prototype.quantization_bits=function(){return zt(this.ptr)},T.prototype.min_value=T.prototype.min_value=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),Vt(e,t)},T.prototype.range=T.prototype.range=function(){return Bt(this.ptr)},T.prototype.__destroy__=T.prototype.__destroy__=function(){Wt(this.ptr)},D.prototype=Object.create(u.prototype),D.prototype.constructor=D,D.prototype.__class__=D,D.__cache__={},C.AttributeOctahedronTransform=D,D.prototype.InitFromAttribute=D.prototype.InitFromAttribute=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),!!kt(e,t)},D.prototype.quantization_bits=D.prototype.quantization_bits=function(){return xt(this.ptr)},D.prototype.__destroy__=D.prototype.__destroy__=function(){Ht(this.ptr)},I.prototype=Object.create(u.prototype),I.prototype.constructor=I,I.prototype.__class__=I,I.__cache__={},C.PointCloud=I,I.prototype.num_attributes=I.prototype.num_attributes=function(){return qt(this.ptr)},I.prototype.num_points=I.prototype.num_points=function(){return Xt(this.ptr)},I.prototype.__destroy__=I.prototype.__destroy__=function(){Kt(this.ptr)},E.prototype=Object.create(u.prototype),E.prototype.constructor=E,E.prototype.__class__=E,E.__cache__={},C.Mesh=E,E.prototype.num_faces=E.prototype.num_faces=function(){return Zt(this.ptr)},E.prototype.num_attributes=E.prototype.num_attributes=function(){return $t(this.ptr)},E.prototype.num_points=E.prototype.num_points=function(){return te(this.ptr)},E.prototype.__destroy__=E.prototype.__destroy__=function(){ee(this.ptr)},G.prototype=Object.create(u.prototype),G.prototype.constructor=G,G.prototype.__class__=G,G.__cache__={},C.Metadata=G,G.prototype.__destroy__=G.prototype.__destroy__=function(){ne(this.ptr)},O.prototype=Object.create(u.prototype),O.prototype.constructor=O,O.prototype.__class__=O,O.__cache__={},C.Status=O,O.prototype.code=O.prototype.code=function(){return oe(this.ptr)},O.prototype.ok=O.prototype.ok=function(){return!!_e(this.ptr)},O.prototype.error_msg=O.prototype.error_msg=function(){return r(ie(this.ptr))},O.prototype.__destroy__=O.prototype.__destroy__=function(){pe(this.ptr)},v.prototype=Object.create(u.prototype),v.prototype.constructor=v,v.prototype.__class__=v,v.__cache__={},C.DracoFloat32Array=v,v.prototype.GetValue=v.prototype.GetValue=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),ce(e,t)},v.prototype.size=v.prototype.size=function(){return ue(this.ptr)},v.prototype.__destroy__=v.prototype.__destroy__=function(){se(this.ptr)},j.prototype=Object.create(u.prototype),j.prototype.constructor=j,j.prototype.__class__=j,j.__cache__={},C.DracoInt8Array=j,j.prototype.GetValue=j.prototype.GetValue=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),le(e,t)},j.prototype.size=j.prototype.size=function(){return fe(this.ptr)},j.prototype.__destroy__=j.prototype.__destroy__=function(){de(this.ptr)},P.prototype=Object.create(u.prototype),P.prototype.constructor=P,P.prototype.__class__=P,P.__cache__={},C.DracoUInt8Array=P,P.prototype.GetValue=P.prototype.GetValue=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),be(e,t)},P.prototype.size=P.prototype.size=function(){return he(this.ptr)},P.prototype.__destroy__=P.prototype.__destroy__=function(){Ae(this.ptr)},R.prototype=Object.create(u.prototype),R.prototype.constructor=R,R.prototype.__class__=R,R.__cache__={},C.DracoInt16Array=R,R.prototype.GetValue=R.prototype.GetValue=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),De(e,t)},R.prototype.size=R.prototype.size=function(){return Ie(this.ptr)},R.prototype.__destroy__=R.prototype.__destroy__=function(){Ee(this.ptr)},S.prototype=Object.create(u.prototype),S.prototype.constructor=S,S.prototype.__class__=S,S.__cache__={},C.DracoUInt16Array=S,S.prototype.GetValue=S.prototype.GetValue=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),Oe(e,t)},S.prototype.size=S.prototype.size=function(){return ve(this.ptr)},S.prototype.__destroy__=S.prototype.__destroy__=function(){je(this.ptr)},N.prototype=Object.create(u.prototype),N.prototype.constructor=N,N.prototype.__class__=N,N.__cache__={},C.DracoInt32Array=N,N.prototype.GetValue=N.prototype.GetValue=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),Re(e,t)},N.prototype.size=N.prototype.size=function(){return Se(this.ptr)},N.prototype.__destroy__=N.prototype.__destroy__=function(){Ne(this.ptr)},M.prototype=Object.create(u.prototype),M.prototype.constructor=M,M.prototype.__class__=M,M.__cache__={},C.DracoUInt32Array=M,M.prototype.GetValue=M.prototype.GetValue=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),Ue(e,t)},M.prototype.size=M.prototype.size=function(){return ge(this.ptr)},M.prototype.__destroy__=M.prototype.__destroy__=function(){Fe(this.ptr)},U.prototype=Object.create(u.prototype),U.prototype.constructor=U,U.prototype.__class__=U,U.__cache__={},C.MetadataQuerier=U,U.prototype.HasEntry=U.prototype.HasEntry=function(t,e){var r=this.ptr;return tn.prepare(),t&&"object"==typeof t&&(t=t.ptr),e=e&&"object"==typeof e?e.ptr:l(e),!!Ce(r,t,e)},U.prototype.GetIntEntry=U.prototype.GetIntEntry=function(t,e){var r=this.ptr;return tn.prepare(),t&&"object"==typeof t&&(t=t.ptr),e=e&&"object"==typeof e?e.ptr:l(e),we(r,t,e)},U.prototype.GetIntEntryArray=U.prototype.GetIntEntryArray=function(t,e,r){var n=this.ptr;tn.prepare(),t&&"object"==typeof t&&(t=t.ptr),e=e&&"object"==typeof e?e.ptr:l(e),r&&"object"==typeof r&&(r=r.ptr),ze(n,t,e,r)},U.prototype.GetDoubleEntry=U.prototype.GetDoubleEntry=function(t,e){var r=this.ptr;return tn.prepare(),t&&"object"==typeof t&&(t=t.ptr),e=e&&"object"==typeof e?e.ptr:l(e),Ve(r,t,e)},U.prototype.GetStringEntry=U.prototype.GetStringEntry=function(t,e){var n=this.ptr;return tn.prepare(),t&&"object"==typeof t&&(t=t.ptr),e=e&&"object"==typeof e?e.ptr:l(e),r(Be(n,t,e))},U.prototype.NumEntries=U.prototype.NumEntries=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),We(e,t)},U.prototype.GetEntryName=U.prototype.GetEntryName=function(t,e){var n=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),r(Qe(n,t,e))},U.prototype.__destroy__=U.prototype.__destroy__=function(){ke(this.ptr)},g.prototype=Object.create(u.prototype),g.prototype.constructor=g,g.prototype.__class__=g,g.__cache__={},C.Decoder=g,g.prototype.DecodeArrayToPointCloud=g.prototype.DecodeArrayToPointCloud=function(t,e,r){var n=this.ptr;return tn.prepare(),"object"==typeof t&&(t=f(t)),e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),y(He(n,t,e,r),O)},g.prototype.DecodeArrayToMesh=g.prototype.DecodeArrayToMesh=function(t,e,r){var n=this.ptr;return tn.prepare(),"object"==typeof t&&(t=f(t)),e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),y(Ye(n,t,e,r),O)},g.prototype.GetAttributeId=g.prototype.GetAttributeId=function(t,e){var r=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),qe(r,t,e)},g.prototype.GetAttributeIdByName=g.prototype.GetAttributeIdByName=function(t,e){var r=this.ptr;return tn.prepare(),t&&"object"==typeof t&&(t=t.ptr),e=e&&"object"==typeof e?e.ptr:l(e),Xe(r,t,e)},g.prototype.GetAttributeIdByMetadataEntry=g.prototype.GetAttributeIdByMetadataEntry=function(t,e,r){var n=this.ptr;return tn.prepare(),t&&"object"==typeof t&&(t=t.ptr),e=e&&"object"==typeof e?e.ptr:l(e),r=r&&"object"==typeof r?r.ptr:l(r),Ke(n,t,e,r)},g.prototype.GetAttribute=g.prototype.GetAttribute=function(t,e){var r=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),y(Je(r,t,e),A)},g.prototype.GetAttributeByUniqueId=g.prototype.GetAttributeByUniqueId=function(t,e){var r=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),y(Ze(r,t,e),A)},g.prototype.GetMetadata=g.prototype.GetMetadata=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),y($e(e,t),G)},g.prototype.GetAttributeMetadata=g.prototype.GetAttributeMetadata=function(t,e){var r=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),y(tr(r,t,e),G)},g.prototype.GetFaceFromMesh=g.prototype.GetFaceFromMesh=function(t,e,r){var n=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),!!er(n,t,e,r)},g.prototype.GetTriangleStripsFromMesh=g.prototype.GetTriangleStripsFromMesh=function(t,e){var r=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),rr(r,t,e)},g.prototype.GetTrianglesUInt16Array=g.prototype.GetTrianglesUInt16Array=function(t,e,r){var n=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),!!nr(n,t,e,r)},g.prototype.GetTrianglesUInt32Array=g.prototype.GetTrianglesUInt32Array=function(t,e,r){var n=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),!!or(n,t,e,r)},g.prototype.GetAttributeFloat=g.prototype.GetAttributeFloat=function(t,e,r){var n=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),!!_r(n,t,e,r)},g.prototype.GetAttributeFloatForAllPoints=g.prototype.GetAttributeFloatForAllPoints=function(t,e,r){var n=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),!!ir(n,t,e,r)},g.prototype.GetAttributeIntForAllPoints=g.prototype.GetAttributeIntForAllPoints=function(t,e,r){var n=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),!!pr(n,t,e,r)},g.prototype.GetAttributeInt8ForAllPoints=g.prototype.GetAttributeInt8ForAllPoints=function(t,e,r){var n=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),!!ar(n,t,e,r)},g.prototype.GetAttributeUInt8ForAllPoints=g.prototype.GetAttributeUInt8ForAllPoints=function(t,e,r){var n=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),!!cr(n,t,e,r)},g.prototype.GetAttributeInt16ForAllPoints=g.prototype.GetAttributeInt16ForAllPoints=function(t,e,r){var n=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),!!ur(n,t,e,r)},g.prototype.GetAttributeUInt16ForAllPoints=g.prototype.GetAttributeUInt16ForAllPoints=function(t,e,r){var n=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),!!sr(n,t,e,r)},g.prototype.GetAttributeInt32ForAllPoints=g.prototype.GetAttributeInt32ForAllPoints=function(t,e,r){var n=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),!!yr(n,t,e,r)},g.prototype.GetAttributeUInt32ForAllPoints=g.prototype.GetAttributeUInt32ForAllPoints=function(t,e,r){var n=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),!!lr(n,t,e,r)},g.prototype.GetAttributeDataArrayForAllPoints=g.prototype.GetAttributeDataArrayForAllPoints=function(t,e,r,n,o){var _=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),r&&"object"==typeof r&&(r=r.ptr),n&&"object"==typeof n&&(n=n.ptr),o&&"object"==typeof o&&(o=o.ptr),!!fr(_,t,e,r,n,o)},g.prototype.SkipAttributeTransform=g.prototype.SkipAttributeTransform=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),dr(e,t)},g.prototype.GetEncodedGeometryType_Deprecated=g.prototype.GetEncodedGeometryType_Deprecated=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),mr(e,t)},g.prototype.DecodeBufferToPointCloud=g.prototype.DecodeBufferToPointCloud=function(t,e){var r=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),y(br(r,t,e),O)},g.prototype.DecodeBufferToMesh=g.prototype.DecodeBufferToMesh=function(t,e){var r=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),y(hr(r,t,e),O)},g.prototype.__destroy__=g.prototype.__destroy__=function(){Ar(this.ptr)},function(){function t(){C.ATTRIBUTE_INVALID_TRANSFORM=Tr(),C.ATTRIBUTE_NO_TRANSFORM=Dr(),C.ATTRIBUTE_QUANTIZATION_TRANSFORM=Ir(),C.ATTRIBUTE_OCTAHEDRON_TRANSFORM=Er(),C.INVALID=Gr(),C.POSITION=Or(),C.NORMAL=vr(),C.COLOR=jr(),C.TEX_COORD=Pr(),C.GENERIC=Rr(),C.INVALID_GEOMETRY_TYPE=Sr(),C.POINT_CLOUD=Nr(),C.TRIANGULAR_MESH=Mr(),C.DT_INVALID=Ur(),C.DT_INT8=gr(),C.DT_UINT8=Fr(),C.DT_INT16=Lr(),C.DT_UINT16=Cr(),C.DT_INT32=wr(),C.DT_UINT32=zr(),C.DT_INT64=Vr(),C.DT_UINT64=Br(),C.DT_FLOAT32=Wr(),C.DT_FLOAT64=Qr(),C.DT_BOOL=kr(),C.DT_TYPES_COUNT=xr(),C.OK=Hr(),C.DRACO_ERROR=Yr(),C.IO_ERROR=qr(),C.INVALID_PARAMETER=Xr(),C.UNSUPPORTED_VERSION=Kr(),C.UNKNOWN_VERSION=Jr()}ut?t():at.unshift(t)}(),"function"==typeof C.onModuleParsed&&C.onModuleParsed(),C.Decoder.prototype.GetEncodedGeometryType=function(t){if(t.__class__&&t.__class__===C.DecoderBuffer)return C.Decoder.prototype.GetEncodedGeometryType_Deprecated(t);if(8>t.byteLength)return C.INVALID_GEOMETRY_TYPE;switch(t[7]){case 0:return C.POINT_CLOUD;case 1:return C.TRIANGULAR_MESH;default:return C.INVALID_GEOMETRY_TYPE}},t.ready});"object"==typeof t&&"object"==typeof e?e.exports=o:"function"==typeof define&&define.amd?define([],(function(){return o})):"object"==typeof t&&(t.DracoDecoderModule=o)}));export{Dn as a};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
+
* Version 1.124
|
|
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
|
+
*/
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! For license information please see chunk-JXLT7VPX.js.LICENSE.txt */
|
|
2
|
+
import{f as j}from"./chunk-S4VBGY2U.js";import{a as E}from"./chunk-UCTPWOTZ.js";import{a as C}from"./chunk-N3A5CZ2S.js";import{b as n}from"./chunk-G75U3WZT.js";import{e as O}from"./chunk-3THTQ4QB.js";function l(e,r,t){return t<0&&(t+=1),t>1&&(t-=1),6*t<1?e+6*(r-e)*t:2*t<1?r:3*t<2?e+(r-e)*(2/3-t)*6:e}function e(e,r,t,o){this.red=C(e,1),this.green=C(r,1),this.blue=C(t,1),this.alpha=C(o,1)}var A,g,m;e.fromCartesian4=function(r,t){return n.typeOf.object("cartesian",r),O(t)?(t.red=r.x,t.green=r.y,t.blue=r.z,t.alpha=r.w,t):new e(r.x,r.y,r.z,r.w)},e.fromBytes=function(r,t,o,n,s){return r=e.byteToFloat(C(r,255)),t=e.byteToFloat(C(t,255)),o=e.byteToFloat(C(o,255)),n=e.byteToFloat(C(n,255)),O(s)?(s.red=r,s.green=t,s.blue=o,s.alpha=n,s):new e(r,t,o,n)},e.fromAlpha=function(r,t,o){return n.typeOf.object("color",r),n.typeOf.number("alpha",t),O(o)?(o.red=r.red,o.green=r.green,o.blue=r.blue,o.alpha=t,o):new e(r.red,r.green,r.blue,t)},j.supportsTypedArrays()&&(A=new ArrayBuffer(4),g=new Uint32Array(A),m=new Uint8Array(A)),e.fromRgba=function(r,t){return g[0]=r,e.fromBytes(m[0],m[1],m[2],m[3],t)},e.fromHsl=function(r,t,o,n,s){r=C(r,0)%1,t=C(t,0),o=C(o,0),n=C(n,1);let f=o,i=o,a=o;if(0!==t){let e;e=o<.5?o*(1+t):o+t-o*t;let n=2*o-e;f=l(n,e,r+1/3),i=l(n,e,r),a=l(n,e,r-1/3)}return O(s)?(s.red=f,s.green=i,s.blue=a,s.alpha=n,s):new e(f,i,a,n)},e.fromRandom=function(r,t){let o=(r=C(r,C.EMPTY_OBJECT)).red;if(!O(o)){let e=C(r.minimumRed,0),t=C(r.maximumRed,1);n.typeOf.number.lessThanOrEquals("minimumRed",e,t),o=e+E.nextRandomNumber()*(t-e)}let s=r.green;if(!O(s)){let e=C(r.minimumGreen,0),t=C(r.maximumGreen,1);n.typeOf.number.lessThanOrEquals("minimumGreen",e,t),s=e+E.nextRandomNumber()*(t-e)}let f=r.blue;if(!O(f)){let e=C(r.minimumBlue,0),t=C(r.maximumBlue,1);n.typeOf.number.lessThanOrEquals("minimumBlue",e,t),f=e+E.nextRandomNumber()*(t-e)}let l=r.alpha;if(!O(l)){let e=C(r.minimumAlpha,0),t=C(r.maximumAlpha,1);n.typeOf.number.lessThanOrEquals("minimumAlpha",e,t),l=e+E.nextRandomNumber()*(t-e)}return O(t)?(t.red=o,t.green=s,t.blue=f,t.alpha=l,t):new e(o,s,f,l)};var a=/^#([0-9a-f])([0-9a-f])([0-9a-f])([0-9a-f])?$/i,z=/^#([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})?$/i,p=/^rgba?\s*\(\s*([0-9.]+%?)\s*[,\s]+\s*([0-9.]+%?)\s*[,\s]+\s*([0-9.]+%?)(?:\s*[,\s/]+\s*([0-9.]+))?\s*\)$/i,R=/^hsla?\s*\(\s*([0-9.]+)\s*[,\s]+\s*([0-9.]+%)\s*[,\s]+\s*([0-9.]+%)(?:\s*[,\s/]+\s*([0-9.]+))?\s*\)$/i;e.fromCssColorString=function(r,t){n.typeOf.string("color",r),O(t)||(t=new e);let o=e[(r=r.trim()).toUpperCase()];if(O(o))return e.clone(o,t),t;let s=a.exec(r);return null!==s?(t.red=parseInt(s[1],16)/15,t.green=parseInt(s[2],16)/15,t.blue=parseInt(s[3],16)/15,t.alpha=parseInt(C(s[4],"f"),16)/15,t):(s=z.exec(r),null!==s?(t.red=parseInt(s[1],16)/255,t.green=parseInt(s[2],16)/255,t.blue=parseInt(s[3],16)/255,t.alpha=parseInt(C(s[4],"ff"),16)/255,t):(s=p.exec(r),null!==s?(t.red=parseFloat(s[1])/("%"===s[1].substr(-1)?100:255),t.green=parseFloat(s[2])/("%"===s[2].substr(-1)?100:255),t.blue=parseFloat(s[3])/("%"===s[3].substr(-1)?100:255),t.alpha=parseFloat(C(s[4],"1.0")),t):(s=R.exec(r),null!==s?e.fromHsl(parseFloat(s[1])/360,parseFloat(s[2])/100,parseFloat(s[3])/100,parseFloat(C(s[4],"1.0")),t):t=void 0)))},e.packedLength=4,e.pack=function(e,r,t){return n.typeOf.object("value",e),n.defined("array",r),t=C(t,0),r[t++]=e.red,r[t++]=e.green,r[t++]=e.blue,r[t]=e.alpha,r},e.unpack=function(r,t,o){return n.defined("array",r),t=C(t,0),O(o)||(o=new e),o.red=r[t++],o.green=r[t++],o.blue=r[t++],o.alpha=r[t],o},e.byteToFloat=function(e){return e/255},e.floatToByte=function(e){return 1===e?255:256*e|0},e.clone=function(r,t){if(O(r))return O(t)?(t.red=r.red,t.green=r.green,t.blue=r.blue,t.alpha=r.alpha,t):new e(r.red,r.green,r.blue,r.alpha)},e.equals=function(e,r){return e===r||O(e)&&O(r)&&e.red===r.red&&e.green===r.green&&e.blue===r.blue&&e.alpha===r.alpha},e.equalsArray=function(e,r,t){return e.red===r[t]&&e.green===r[t+1]&&e.blue===r[t+2]&&e.alpha===r[t+3]},e.prototype.clone=function(r){return e.clone(this,r)},e.prototype.equals=function(r){return e.equals(this,r)},e.prototype.equalsEpsilon=function(e,r){return this===e||O(e)&&Math.abs(this.red-e.red)<=r&&Math.abs(this.green-e.green)<=r&&Math.abs(this.blue-e.blue)<=r&&Math.abs(this.alpha-e.alpha)<=r},e.prototype.toString=function(){return`(${this.red}, ${this.green}, ${this.blue}, ${this.alpha})`},e.prototype.toCssColorString=function(){let r=e.floatToByte(this.red),t=e.floatToByte(this.green),o=e.floatToByte(this.blue);return 1===this.alpha?`rgb(${r},${t},${o})`:`rgba(${r},${t},${o},${this.alpha})`},e.prototype.toCssHexString=function(){let r=e.floatToByte(this.red).toString(16);r.length<2&&(r=`0${r}`);let t=e.floatToByte(this.green).toString(16);t.length<2&&(t=`0${t}`);let o=e.floatToByte(this.blue).toString(16);if(o.length<2&&(o=`0${o}`),this.alpha<1){let n=e.floatToByte(this.alpha).toString(16);return n.length<2&&(n=`0${n}`),`#${r}${t}${o}${n}`}return`#${r}${t}${o}`},e.prototype.toBytes=function(r){let t=e.floatToByte(this.red),o=e.floatToByte(this.green),n=e.floatToByte(this.blue),s=e.floatToByte(this.alpha);return O(r)?(r[0]=t,r[1]=o,r[2]=n,r[3]=s,r):[t,o,n,s]},e.prototype.toRgba=function(){return m[0]=e.floatToByte(this.red),m[1]=e.floatToByte(this.green),m[2]=e.floatToByte(this.blue),m[3]=e.floatToByte(this.alpha),g[0]},e.prototype.brighten=function(e,r){return n.typeOf.number("magnitude",e),n.typeOf.number.greaterThanOrEquals("magnitude",e,0),n.typeOf.object("result",r),e=1-e,r.red=1-(1-this.red)*e,r.green=1-(1-this.green)*e,r.blue=1-(1-this.blue)*e,r.alpha=this.alpha,r},e.prototype.darken=function(e,r){return n.typeOf.number("magnitude",e),n.typeOf.number.greaterThanOrEquals("magnitude",e,0),n.typeOf.object("result",r),e=1-e,r.red=this.red*e,r.green=this.green*e,r.blue=this.blue*e,r.alpha=this.alpha,r},e.prototype.withAlpha=function(r,t){return e.fromAlpha(this,r,t)},e.add=function(e,r,t){return n.typeOf.object("left",e),n.typeOf.object("right",r),n.typeOf.object("result",t),t.red=e.red+r.red,t.green=e.green+r.green,t.blue=e.blue+r.blue,t.alpha=e.alpha+r.alpha,t},e.subtract=function(e,r,t){return n.typeOf.object("left",e),n.typeOf.object("right",r),n.typeOf.object("result",t),t.red=e.red-r.red,t.green=e.green-r.green,t.blue=e.blue-r.blue,t.alpha=e.alpha-r.alpha,t},e.multiply=function(e,r,t){return n.typeOf.object("left",e),n.typeOf.object("right",r),n.typeOf.object("result",t),t.red=e.red*r.red,t.green=e.green*r.green,t.blue=e.blue*r.blue,t.alpha=e.alpha*r.alpha,t},e.divide=function(e,r,t){return n.typeOf.object("left",e),n.typeOf.object("right",r),n.typeOf.object("result",t),t.red=e.red/r.red,t.green=e.green/r.green,t.blue=e.blue/r.blue,t.alpha=e.alpha/r.alpha,t},e.mod=function(e,r,t){return n.typeOf.object("left",e),n.typeOf.object("right",r),n.typeOf.object("result",t),t.red=e.red%r.red,t.green=e.green%r.green,t.blue=e.blue%r.blue,t.alpha=e.alpha%r.alpha,t},e.lerp=function(e,r,t,o){return n.typeOf.object("start",e),n.typeOf.object("end",r),n.typeOf.number("t",t),n.typeOf.object("result",o),o.red=E.lerp(e.red,r.red,t),o.green=E.lerp(e.green,r.green,t),o.blue=E.lerp(e.blue,r.blue,t),o.alpha=E.lerp(e.alpha,r.alpha,t),o},e.multiplyByScalar=function(e,r,t){return n.typeOf.object("color",e),n.typeOf.number("scalar",r),n.typeOf.object("result",t),t.red=e.red*r,t.green=e.green*r,t.blue=e.blue*r,t.alpha=e.alpha*r,t},e.divideByScalar=function(e,r,t){return n.typeOf.object("color",e),n.typeOf.number("scalar",r),n.typeOf.object("result",t),t.red=e.red/r,t.green=e.green/r,t.blue=e.blue/r,t.alpha=e.alpha/r,t},e.ALICEBLUE=Object.freeze(e.fromCssColorString("#F0F8FF")),e.ANTIQUEWHITE=Object.freeze(e.fromCssColorString("#FAEBD7")),e.AQUA=Object.freeze(e.fromCssColorString("#00FFFF")),e.AQUAMARINE=Object.freeze(e.fromCssColorString("#7FFFD4")),e.AZURE=Object.freeze(e.fromCssColorString("#F0FFFF")),e.BEIGE=Object.freeze(e.fromCssColorString("#F5F5DC")),e.BISQUE=Object.freeze(e.fromCssColorString("#FFE4C4")),e.BLACK=Object.freeze(e.fromCssColorString("#000000")),e.BLANCHEDALMOND=Object.freeze(e.fromCssColorString("#FFEBCD")),e.BLUE=Object.freeze(e.fromCssColorString("#0000FF")),e.BLUEVIOLET=Object.freeze(e.fromCssColorString("#8A2BE2")),e.BROWN=Object.freeze(e.fromCssColorString("#A52A2A")),e.BURLYWOOD=Object.freeze(e.fromCssColorString("#DEB887")),e.CADETBLUE=Object.freeze(e.fromCssColorString("#5F9EA0")),e.CHARTREUSE=Object.freeze(e.fromCssColorString("#7FFF00")),e.CHOCOLATE=Object.freeze(e.fromCssColorString("#D2691E")),e.CORAL=Object.freeze(e.fromCssColorString("#FF7F50")),e.CORNFLOWERBLUE=Object.freeze(e.fromCssColorString("#6495ED")),e.CORNSILK=Object.freeze(e.fromCssColorString("#FFF8DC")),e.CRIMSON=Object.freeze(e.fromCssColorString("#DC143C")),e.CYAN=Object.freeze(e.fromCssColorString("#00FFFF")),e.DARKBLUE=Object.freeze(e.fromCssColorString("#00008B")),e.DARKCYAN=Object.freeze(e.fromCssColorString("#008B8B")),e.DARKGOLDENROD=Object.freeze(e.fromCssColorString("#B8860B")),e.DARKGRAY=Object.freeze(e.fromCssColorString("#A9A9A9")),e.DARKGREEN=Object.freeze(e.fromCssColorString("#006400")),e.DARKGREY=e.DARKGRAY,e.DARKKHAKI=Object.freeze(e.fromCssColorString("#BDB76B")),e.DARKMAGENTA=Object.freeze(e.fromCssColorString("#8B008B")),e.DARKOLIVEGREEN=Object.freeze(e.fromCssColorString("#556B2F")),e.DARKORANGE=Object.freeze(e.fromCssColorString("#FF8C00")),e.DARKORCHID=Object.freeze(e.fromCssColorString("#9932CC")),e.DARKRED=Object.freeze(e.fromCssColorString("#8B0000")),e.DARKSALMON=Object.freeze(e.fromCssColorString("#E9967A")),e.DARKSEAGREEN=Object.freeze(e.fromCssColorString("#8FBC8F")),e.DARKSLATEBLUE=Object.freeze(e.fromCssColorString("#483D8B")),e.DARKSLATEGRAY=Object.freeze(e.fromCssColorString("#2F4F4F")),e.DARKSLATEGREY=e.DARKSLATEGRAY,e.DARKTURQUOISE=Object.freeze(e.fromCssColorString("#00CED1")),e.DARKVIOLET=Object.freeze(e.fromCssColorString("#9400D3")),e.DEEPPINK=Object.freeze(e.fromCssColorString("#FF1493")),e.DEEPSKYBLUE=Object.freeze(e.fromCssColorString("#00BFFF")),e.DIMGRAY=Object.freeze(e.fromCssColorString("#696969")),e.DIMGREY=e.DIMGRAY,e.DODGERBLUE=Object.freeze(e.fromCssColorString("#1E90FF")),e.FIREBRICK=Object.freeze(e.fromCssColorString("#B22222")),e.FLORALWHITE=Object.freeze(e.fromCssColorString("#FFFAF0")),e.FORESTGREEN=Object.freeze(e.fromCssColorString("#228B22")),e.FUCHSIA=Object.freeze(e.fromCssColorString("#FF00FF")),e.GAINSBORO=Object.freeze(e.fromCssColorString("#DCDCDC")),e.GHOSTWHITE=Object.freeze(e.fromCssColorString("#F8F8FF")),e.GOLD=Object.freeze(e.fromCssColorString("#FFD700")),e.GOLDENROD=Object.freeze(e.fromCssColorString("#DAA520")),e.GRAY=Object.freeze(e.fromCssColorString("#808080")),e.GREEN=Object.freeze(e.fromCssColorString("#008000")),e.GREENYELLOW=Object.freeze(e.fromCssColorString("#ADFF2F")),e.GREY=e.GRAY,e.HONEYDEW=Object.freeze(e.fromCssColorString("#F0FFF0")),e.HOTPINK=Object.freeze(e.fromCssColorString("#FF69B4")),e.INDIANRED=Object.freeze(e.fromCssColorString("#CD5C5C")),e.INDIGO=Object.freeze(e.fromCssColorString("#4B0082")),e.IVORY=Object.freeze(e.fromCssColorString("#FFFFF0")),e.KHAKI=Object.freeze(e.fromCssColorString("#F0E68C")),e.LAVENDER=Object.freeze(e.fromCssColorString("#E6E6FA")),e.LAVENDAR_BLUSH=Object.freeze(e.fromCssColorString("#FFF0F5")),e.LAWNGREEN=Object.freeze(e.fromCssColorString("#7CFC00")),e.LEMONCHIFFON=Object.freeze(e.fromCssColorString("#FFFACD")),e.LIGHTBLUE=Object.freeze(e.fromCssColorString("#ADD8E6")),e.LIGHTCORAL=Object.freeze(e.fromCssColorString("#F08080")),e.LIGHTCYAN=Object.freeze(e.fromCssColorString("#E0FFFF")),e.LIGHTGOLDENRODYELLOW=Object.freeze(e.fromCssColorString("#FAFAD2")),e.LIGHTGRAY=Object.freeze(e.fromCssColorString("#D3D3D3")),e.LIGHTGREEN=Object.freeze(e.fromCssColorString("#90EE90")),e.LIGHTGREY=e.LIGHTGRAY,e.LIGHTPINK=Object.freeze(e.fromCssColorString("#FFB6C1")),e.LIGHTSEAGREEN=Object.freeze(e.fromCssColorString("#20B2AA")),e.LIGHTSKYBLUE=Object.freeze(e.fromCssColorString("#87CEFA")),e.LIGHTSLATEGRAY=Object.freeze(e.fromCssColorString("#778899")),e.LIGHTSLATEGREY=e.LIGHTSLATEGRAY,e.LIGHTSTEELBLUE=Object.freeze(e.fromCssColorString("#B0C4DE")),e.LIGHTYELLOW=Object.freeze(e.fromCssColorString("#FFFFE0")),e.LIME=Object.freeze(e.fromCssColorString("#00FF00")),e.LIMEGREEN=Object.freeze(e.fromCssColorString("#32CD32")),e.LINEN=Object.freeze(e.fromCssColorString("#FAF0E6")),e.MAGENTA=Object.freeze(e.fromCssColorString("#FF00FF")),e.MAROON=Object.freeze(e.fromCssColorString("#800000")),e.MEDIUMAQUAMARINE=Object.freeze(e.fromCssColorString("#66CDAA")),e.MEDIUMBLUE=Object.freeze(e.fromCssColorString("#0000CD")),e.MEDIUMORCHID=Object.freeze(e.fromCssColorString("#BA55D3")),e.MEDIUMPURPLE=Object.freeze(e.fromCssColorString("#9370DB")),e.MEDIUMSEAGREEN=Object.freeze(e.fromCssColorString("#3CB371")),e.MEDIUMSLATEBLUE=Object.freeze(e.fromCssColorString("#7B68EE")),e.MEDIUMSPRINGGREEN=Object.freeze(e.fromCssColorString("#00FA9A")),e.MEDIUMTURQUOISE=Object.freeze(e.fromCssColorString("#48D1CC")),e.MEDIUMVIOLETRED=Object.freeze(e.fromCssColorString("#C71585")),e.MIDNIGHTBLUE=Object.freeze(e.fromCssColorString("#191970")),e.MINTCREAM=Object.freeze(e.fromCssColorString("#F5FFFA")),e.MISTYROSE=Object.freeze(e.fromCssColorString("#FFE4E1")),e.MOCCASIN=Object.freeze(e.fromCssColorString("#FFE4B5")),e.NAVAJOWHITE=Object.freeze(e.fromCssColorString("#FFDEAD")),e.NAVY=Object.freeze(e.fromCssColorString("#000080")),e.OLDLACE=Object.freeze(e.fromCssColorString("#FDF5E6")),e.OLIVE=Object.freeze(e.fromCssColorString("#808000")),e.OLIVEDRAB=Object.freeze(e.fromCssColorString("#6B8E23")),e.ORANGE=Object.freeze(e.fromCssColorString("#FFA500")),e.ORANGERED=Object.freeze(e.fromCssColorString("#FF4500")),e.ORCHID=Object.freeze(e.fromCssColorString("#DA70D6")),e.PALEGOLDENROD=Object.freeze(e.fromCssColorString("#EEE8AA")),e.PALEGREEN=Object.freeze(e.fromCssColorString("#98FB98")),e.PALETURQUOISE=Object.freeze(e.fromCssColorString("#AFEEEE")),e.PALEVIOLETRED=Object.freeze(e.fromCssColorString("#DB7093")),e.PAPAYAWHIP=Object.freeze(e.fromCssColorString("#FFEFD5")),e.PEACHPUFF=Object.freeze(e.fromCssColorString("#FFDAB9")),e.PERU=Object.freeze(e.fromCssColorString("#CD853F")),e.PINK=Object.freeze(e.fromCssColorString("#FFC0CB")),e.PLUM=Object.freeze(e.fromCssColorString("#DDA0DD")),e.POWDERBLUE=Object.freeze(e.fromCssColorString("#B0E0E6")),e.PURPLE=Object.freeze(e.fromCssColorString("#800080")),e.RED=Object.freeze(e.fromCssColorString("#FF0000")),e.ROSYBROWN=Object.freeze(e.fromCssColorString("#BC8F8F")),e.ROYALBLUE=Object.freeze(e.fromCssColorString("#4169E1")),e.SADDLEBROWN=Object.freeze(e.fromCssColorString("#8B4513")),e.SALMON=Object.freeze(e.fromCssColorString("#FA8072")),e.SANDYBROWN=Object.freeze(e.fromCssColorString("#F4A460")),e.SEAGREEN=Object.freeze(e.fromCssColorString("#2E8B57")),e.SEASHELL=Object.freeze(e.fromCssColorString("#FFF5EE")),e.SIENNA=Object.freeze(e.fromCssColorString("#A0522D")),e.SILVER=Object.freeze(e.fromCssColorString("#C0C0C0")),e.SKYBLUE=Object.freeze(e.fromCssColorString("#87CEEB")),e.SLATEBLUE=Object.freeze(e.fromCssColorString("#6A5ACD")),e.SLATEGRAY=Object.freeze(e.fromCssColorString("#708090")),e.SLATEGREY=e.SLATEGRAY,e.SNOW=Object.freeze(e.fromCssColorString("#FFFAFA")),e.SPRINGGREEN=Object.freeze(e.fromCssColorString("#00FF7F")),e.STEELBLUE=Object.freeze(e.fromCssColorString("#4682B4")),e.TAN=Object.freeze(e.fromCssColorString("#D2B48C")),e.TEAL=Object.freeze(e.fromCssColorString("#008080")),e.THISTLE=Object.freeze(e.fromCssColorString("#D8BFD8")),e.TOMATO=Object.freeze(e.fromCssColorString("#FF6347")),e.TURQUOISE=Object.freeze(e.fromCssColorString("#40E0D0")),e.VIOLET=Object.freeze(e.fromCssColorString("#EE82EE")),e.WHEAT=Object.freeze(e.fromCssColorString("#F5DEB3")),e.WHITE=Object.freeze(e.fromCssColorString("#FFFFFF")),e.WHITESMOKE=Object.freeze(e.fromCssColorString("#F5F5F5")),e.YELLOW=Object.freeze(e.fromCssColorString("#FFFF00")),e.YELLOWGREEN=Object.freeze(e.fromCssColorString("#9ACD32")),e.TRANSPARENT=Object.freeze(new e(0,0,0,0));var h=e;export{h as a};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
+
* Version 1.124
|
|
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
|
+
*/
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! For license information please see chunk-K2M3OJ7Z.js.LICENSE.txt */
|
|
2
|
+
import{b as _,h as I}from"./chunk-M3A6SPGI.js";import{a as n,b as N,d as Z,e as A}from"./chunk-S4VBGY2U.js";import{a as cn}from"./chunk-UCTPWOTZ.js";import{a as T}from"./chunk-N3A5CZ2S.js";import{a as on,b as h}from"./chunk-G75U3WZT.js";import{e as x}from"./chunk-3THTQ4QB.js";function V(n){this._ellipsoid=T(n,Z.default),this._semimajorAxis=this._ellipsoid.maximumRadius,this._oneOverSemimajorAxis=1/this._semimajorAxis}Object.defineProperties(V.prototype,{ellipsoid:{get:function(){return this._ellipsoid}}}),V.prototype.project=function(e,t){let r=this._semimajorAxis,a=e.longitude*r,o=e.latitude*r,c=e.height;return x(t)?(t.x=a,t.y=o,t.z=c,t):new n(a,o,c)},V.prototype.unproject=function(n,e){if(!x(n))throw new on("cartesian is required");let t=this._oneOverSemimajorAxis,r=n.x*t,a=n.y*t,o=n.z;return x(e)?(e.longitude=r,e.latitude=a,e.height=o,e):new N(r,a,o)};var k=V,mn={OUTSIDE:-1,INTERSECTING:0,INSIDE:1},U=Object.freeze(mn);function un(n,e){this.start=T(n,0),this.stop=T(e,0)}var rn=un;function a(e,t){this.center=n.clone(T(e,n.ZERO)),this.radius=T(t,0)}var F=new n,Y=new n,J=new n,K=new n,Q=new n,$=new n,L=new n,b=new n,H=new n,nn=new n,tn=new n,en=new n,xn=4/3*cn.PI;a.fromPoints=function(e,t){if(x(t)||(t=new a),!x(e)||0===e.length)return t.center=n.clone(n.ZERO,t.center),t.radius=0,t;let r,o=n.clone(e[0],L),c=n.clone(o,F),i=n.clone(o,Y),u=n.clone(o,J),l=n.clone(o,K),s=n.clone(o,Q),d=n.clone(o,$),f=e.length;for(r=1;r<f;r++){n.clone(e[r],o);let t=o.x,a=o.y,f=o.z;t<c.x&&n.clone(o,c),t>l.x&&n.clone(o,l),a<i.y&&n.clone(o,i),a>s.y&&n.clone(o,s),f<u.z&&n.clone(o,u),f>d.z&&n.clone(o,d)}let h=n.magnitudeSquared(n.subtract(l,c,b)),y=n.magnitudeSquared(n.subtract(s,i,b)),p=n.magnitudeSquared(n.subtract(d,u,b)),m=c,g=l,z=h;y>z&&(z=y,m=i,g=s),p>z&&(z=p,m=u,g=d);let w=H;w.x=.5*(m.x+g.x),w.y=.5*(m.y+g.y),w.z=.5*(m.z+g.z);let O=n.magnitudeSquared(n.subtract(g,w,b)),j=Math.sqrt(O),S=nn;S.x=c.x,S.y=i.y,S.z=u.z;let T=tn;T.x=l.x,T.y=s.y,T.z=d.z;let q=n.midpoint(S,T,en),E=0;for(r=0;r<f;r++){n.clone(e[r],o);let t=n.magnitude(n.subtract(o,q,b));t>E&&(E=t);let a=n.magnitudeSquared(n.subtract(o,w,b));if(a>O){let n=Math.sqrt(a);j=.5*(j+n),O=j*j;let e=n-j;w.x=(j*w.x+e*o.x)/n,w.y=(j*w.y+e*o.y)/n,w.z=(j*w.z+e*o.z)/n}}return j<E?(n.clone(w,t.center),t.radius=j):(n.clone(q,t.center),t.radius=E),t};var an=new k,yn=new n,ln=new n,G=new N,X=new N;a.fromRectangle2D=function(n,e,t){return a.fromRectangleWithHeights2D(n,e,0,0,t)},a.fromRectangleWithHeights2D=function(e,t,r,o,c){if(x(c)||(c=new a),!x(e))return c.center=n.clone(n.ZERO,c.center),c.radius=0,c;an._ellipsoid=Z.default,t=T(t,an),I.southwest(e,G),G.height=r,I.northeast(e,X),X.height=o;let i=t.project(G,yn),u=t.project(X,ln),l=u.x-i.x,s=u.y-i.y,d=u.z-i.z;c.radius=.5*Math.sqrt(l*l+s*s+d*d);let f=c.center;return f.x=i.x+.5*l,f.y=i.y+.5*s,f.z=i.z+.5*d,c};var pn=[];a.fromRectangle3D=function(e,t,r,o){if(t=T(t,Z.default),r=T(r,0),x(o)||(o=new a),!x(e))return o.center=n.clone(n.ZERO,o.center),o.radius=0,o;let c=I.subsample(e,t,r,pn);return a.fromPoints(c,o)},a.fromVertices=function(e,t,r,o){if(x(o)||(o=new a),!x(e)||0===e.length)return o.center=n.clone(n.ZERO,o.center),o.radius=0,o;t=T(t,n.ZERO),r=T(r,3),h.typeOf.number.greaterThanOrEquals("stride",r,3);let c=L;c.x=e[0]+t.x,c.y=e[1]+t.y,c.z=e[2]+t.z;let i,u=n.clone(c,F),l=n.clone(c,Y),s=n.clone(c,J),d=n.clone(c,K),f=n.clone(c,Q),y=n.clone(c,$),p=e.length;for(i=0;i<p;i+=r){let r=e[i]+t.x,a=e[i+1]+t.y,o=e[i+2]+t.z;c.x=r,c.y=a,c.z=o,r<u.x&&n.clone(c,u),r>d.x&&n.clone(c,d),a<l.y&&n.clone(c,l),a>f.y&&n.clone(c,f),o<s.z&&n.clone(c,s),o>y.z&&n.clone(c,y)}let m=n.magnitudeSquared(n.subtract(d,u,b)),g=n.magnitudeSquared(n.subtract(f,l,b)),z=n.magnitudeSquared(n.subtract(y,s,b)),w=u,O=d,j=m;g>j&&(j=g,w=l,O=f),z>j&&(j=z,w=s,O=y);let S=H;S.x=.5*(w.x+O.x),S.y=.5*(w.y+O.y),S.z=.5*(w.z+O.z);let q=n.magnitudeSquared(n.subtract(O,S,b)),E=Math.sqrt(q),R=nn;R.x=u.x,R.y=l.y,R.z=s.z;let v=tn;v.x=d.x,v.y=f.y,v.z=y.z;let P=n.midpoint(R,v,en),Z=0;for(i=0;i<p;i+=r){c.x=e[i]+t.x,c.y=e[i+1]+t.y,c.z=e[i+2]+t.z;let r=n.magnitude(n.subtract(c,P,b));r>Z&&(Z=r);let a=n.magnitudeSquared(n.subtract(c,S,b));if(a>q){let n=Math.sqrt(a);E=.5*(E+n),q=E*E;let e=n-E;S.x=(E*S.x+e*c.x)/n,S.y=(E*S.y+e*c.y)/n,S.z=(E*S.z+e*c.z)/n}}return E<Z?(n.clone(S,o.center),o.radius=E):(n.clone(P,o.center),o.radius=Z),o},a.fromEncodedCartesianVertices=function(e,t,r){if(x(r)||(r=new a),!x(e)||!x(t)||e.length!==t.length||0===e.length)return r.center=n.clone(n.ZERO,r.center),r.radius=0,r;let o=L;o.x=e[0]+t[0],o.y=e[1]+t[1],o.z=e[2]+t[2];let c,i=n.clone(o,F),u=n.clone(o,Y),l=n.clone(o,J),s=n.clone(o,K),d=n.clone(o,Q),f=n.clone(o,$),h=e.length;for(c=0;c<h;c+=3){let r=e[c]+t[c],a=e[c+1]+t[c+1],h=e[c+2]+t[c+2];o.x=r,o.y=a,o.z=h,r<i.x&&n.clone(o,i),r>s.x&&n.clone(o,s),a<u.y&&n.clone(o,u),a>d.y&&n.clone(o,d),h<l.z&&n.clone(o,l),h>f.z&&n.clone(o,f)}let y=n.magnitudeSquared(n.subtract(s,i,b)),p=n.magnitudeSquared(n.subtract(d,u,b)),m=n.magnitudeSquared(n.subtract(f,l,b)),g=i,z=s,w=y;p>w&&(w=p,g=u,z=d),m>w&&(w=m,g=l,z=f);let O=H;O.x=.5*(g.x+z.x),O.y=.5*(g.y+z.y),O.z=.5*(g.z+z.z);let j=n.magnitudeSquared(n.subtract(z,O,b)),S=Math.sqrt(j),T=nn;T.x=i.x,T.y=u.y,T.z=l.z;let q=tn;q.x=s.x,q.y=d.y,q.z=f.z;let E=n.midpoint(T,q,en),R=0;for(c=0;c<h;c+=3){o.x=e[c]+t[c],o.y=e[c+1]+t[c+1],o.z=e[c+2]+t[c+2];let r=n.magnitude(n.subtract(o,E,b));r>R&&(R=r);let a=n.magnitudeSquared(n.subtract(o,O,b));if(a>j){let n=Math.sqrt(a);S=.5*(S+n),j=S*S;let e=n-S;O.x=(S*O.x+e*o.x)/n,O.y=(S*O.y+e*o.y)/n,O.z=(S*O.z+e*o.z)/n}}return S<R?(n.clone(O,r.center),r.radius=S):(n.clone(E,r.center),r.radius=R),r},a.fromCornerPoints=function(e,t,r){h.typeOf.object("corner",e),h.typeOf.object("oppositeCorner",t),x(r)||(r=new a);let o=n.midpoint(e,t,r.center);return r.radius=n.distance(o,t),r},a.fromEllipsoid=function(e,t){return h.typeOf.object("ellipsoid",e),x(t)||(t=new a),n.clone(n.ZERO,t.center),t.radius=e.maximumRadius,t};var hn=new n;a.fromBoundingSpheres=function(e,t){if(x(t)||(t=new a),!x(e)||0===e.length)return t.center=n.clone(n.ZERO,t.center),t.radius=0,t;let r=e.length;if(1===r)return a.clone(e[0],t);if(2===r)return a.union(e[0],e[1],t);let o,c=[];for(o=0;o<r;o++)c.push(e[o].center);let i=(t=a.fromPoints(c,t)).center,u=t.radius;for(o=0;o<r;o++){let t=e[o];u=Math.max(u,n.distance(i,t.center,hn)+t.radius)}return t.radius=u,t};var zn=new n,Sn=new n,wn=new n;a.fromOrientedBoundingBox=function(e,t){h.defined("orientedBoundingBox",e),x(t)||(t=new a);let r=e.halfAxes,o=A.getColumn(r,0,zn),c=A.getColumn(r,1,Sn),i=A.getColumn(r,2,wn);return n.add(o,c,o),n.add(o,i,o),t.center=n.clone(e.center,t.center),t.radius=n.magnitude(o),t};var Pn=new n,gn=new n;a.fromTransformation=function(e,t){h.typeOf.object("transformation",e),x(t)||(t=new a);let r=_.getTranslation(e,Pn),o=_.getScale(e,gn),c=.5*n.magnitude(o);return t.center=n.clone(r,t.center),t.radius=c,t},a.clone=function(e,t){if(x(e))return x(t)?(t.center=n.clone(e.center,t.center),t.radius=e.radius,t):new a(e.center,e.radius)},a.packedLength=4,a.pack=function(n,e,t){h.typeOf.object("value",n),h.defined("array",e),t=T(t,0);let r=n.center;return e[t++]=r.x,e[t++]=r.y,e[t++]=r.z,e[t]=n.radius,e},a.unpack=function(n,e,t){h.defined("array",n),e=T(e,0),x(t)||(t=new a);let r=t.center;return r.x=n[e++],r.y=n[e++],r.z=n[e++],t.radius=n[e],t};var On=new n,jn=new n;a.union=function(e,t,r){h.typeOf.object("left",e),h.typeOf.object("right",t),x(r)||(r=new a);let o=e.center,c=e.radius,i=t.center,u=t.radius,l=n.subtract(i,o,On),s=n.magnitude(l);if(c>=s+u)return e.clone(r),r;if(u>=s+c)return t.clone(r),r;let d=.5*(c+s+u),f=n.multiplyByScalar(l,(-c+d)/s,jn);return n.add(f,o,f),n.clone(f,r.center),r.radius=d,r};var bn=new n;a.expand=function(e,t,r){h.typeOf.object("sphere",e),h.typeOf.object("point",t),r=a.clone(e,r);let o=n.magnitude(n.subtract(t,r.center,bn));return o>r.radius&&(r.radius=o),r},a.intersectPlane=function(e,t){h.typeOf.object("sphere",e),h.typeOf.object("plane",t);let r=e.center,a=e.radius,o=t.normal,c=n.dot(o,r)+t.distance;return c<-a?U.OUTSIDE:c<a?U.INTERSECTING:U.INSIDE},a.transform=function(n,e,t){return h.typeOf.object("sphere",n),h.typeOf.object("transform",e),x(t)||(t=new a),t.center=_.multiplyByPoint(e,n.center,t.center),t.radius=_.getMaximumScale(e)*n.radius,t};var qn=new n;a.distanceSquaredTo=function(e,t){h.typeOf.object("sphere",e),h.typeOf.object("cartesian",t);let r=n.subtract(e.center,t,qn),a=n.magnitude(r)-e.radius;return a<=0?0:a*a},a.transformWithoutScale=function(n,e,t){return h.typeOf.object("sphere",n),h.typeOf.object("transform",e),x(t)||(t=new a),t.center=_.multiplyByPoint(e,n.center,t.center),t.radius=n.radius,t};var Mn=new n;a.computePlaneDistances=function(e,t,r,a){h.typeOf.object("sphere",e),h.typeOf.object("position",t),h.typeOf.object("direction",r),x(a)||(a=new rn);let o=n.subtract(e.center,t,Mn),c=n.dot(r,o);return a.start=c-e.radius,a.stop=c+e.radius,a};var dn=new n,Tn=new n,Cn=new n,Rn=new n,En=new n,Dn=new N,sn=new Array(8);for(let e=0;e<8;++e)sn[e]=new n;var fn=new k;a.projectTo2D=function(e,t,r){h.typeOf.object("sphere",e),fn._ellipsoid=Z.default;let o,c=(t=T(t,fn)).ellipsoid,i=e.center,u=e.radius;o=n.equals(i,n.ZERO)?n.clone(n.UNIT_X,dn):c.geodeticSurfaceNormal(i,dn);let l=n.cross(n.UNIT_Z,o,Tn);n.normalize(l,l);let s=n.cross(o,l,Cn);n.normalize(s,s),n.multiplyByScalar(o,u,o),n.multiplyByScalar(s,u,s),n.multiplyByScalar(l,u,l);let d=n.negate(s,En),f=n.negate(l,Rn),y=sn,p=y[0];n.add(o,s,p),n.add(p,l,p),p=y[1],n.add(o,s,p),n.add(p,f,p),p=y[2],n.add(o,d,p),n.add(p,f,p),p=y[3],n.add(o,d,p),n.add(p,l,p),n.negate(o,o),p=y[4],n.add(o,s,p),n.add(p,l,p),p=y[5],n.add(o,s,p),n.add(p,f,p),p=y[6],n.add(o,d,p),n.add(p,f,p),p=y[7],n.add(o,d,p),n.add(p,l,p);let x=y.length;for(let e=0;e<x;++e){let r=y[e];n.add(i,r,r);let a=c.cartesianToCartographic(r,Dn);t.project(a,r)}i=(r=a.fromPoints(y,r)).center;let m=i.x,b=i.y,g=i.z;return i.x=g,i.y=m,i.z=b,r},a.isOccluded=function(n,e){return h.typeOf.object("sphere",n),h.typeOf.object("occluder",e),!e.isBoundingSphereVisible(n)},a.equals=function(e,t){return e===t||x(e)&&x(t)&&n.equals(e.center,t.center)&&e.radius===t.radius},a.prototype.intersectPlane=function(n){return a.intersectPlane(this,n)},a.prototype.distanceSquaredTo=function(n){return a.distanceSquaredTo(this,n)},a.prototype.computePlaneDistances=function(n,e,t){return a.computePlaneDistances(this,n,e,t)},a.prototype.isOccluded=function(n){return a.isOccluded(this,n)},a.prototype.equals=function(n){return a.equals(this,n)},a.prototype.clone=function(n){return a.clone(this,n)},a.prototype.volume=function(){let n=this.radius;return xn*n*n*n};var et=a;export{k as a,U as b,rn as c,et as d};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
+
* Version 1.124
|
|
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
|
+
*/
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! For license information please see chunk-LH3SUUXG.js.LICENSE.txt */
|
|
2
|
+
import{b as l,f as O,g as R,h as G,i as L}from"./chunk-M3A6SPGI.js";import{a as A,b as h,c as a,e as y}from"./chunk-S4VBGY2U.js";import{a as c}from"./chunk-54PMPXZ4.js";import{a as s}from"./chunk-N3A5CZ2S.js";import{a as N,b as w}from"./chunk-G75U3WZT.js";import{e as I}from"./chunk-3THTQ4QB.js";var U={NONE:0,TRIANGLES:1,LINES:2,POLYLINES:3},M=Object.freeze(U),r={POINTS:c.POINTS,LINES:c.LINES,LINE_LOOP:c.LINE_LOOP,LINE_STRIP:c.LINE_STRIP,TRIANGLES:c.TRIANGLES,TRIANGLE_STRIP:c.TRIANGLE_STRIP,TRIANGLE_FAN:c.TRIANGLE_FAN,isLines:function(t){return t===r.LINES||t===r.LINE_LOOP||t===r.LINE_STRIP},isTriangles:function(t){return t===r.TRIANGLES||t===r.TRIANGLE_STRIP||t===r.TRIANGLE_FAN},validate:function(t){return t===r.POINTS||t===r.LINES||t===r.LINE_LOOP||t===r.LINE_STRIP||t===r.TRIANGLES||t===r.TRIANGLE_STRIP||t===r.TRIANGLE_FAN}},F=Object.freeze(r);function _(t){t=s(t,s.EMPTY_OBJECT),w.typeOf.object("options.attributes",t.attributes),this.attributes=t.attributes,this.indices=t.indices,this.primitiveType=s(t.primitiveType,F.TRIANGLES),this.boundingSphere=t.boundingSphere,this.geometryType=s(t.geometryType,M.NONE),this.boundingSphereCV=t.boundingSphereCV,this.offsetAttribute=t.offsetAttribute}_.computeNumberOfVertices=function(t){w.typeOf.object("geometry",t);let e=-1;for(let r in t.attributes)if(t.attributes.hasOwnProperty(r)&&I(t.attributes[r])&&I(t.attributes[r].values)){let n=t.attributes[r],i=n.values.length/n.componentsPerAttribute;if(e!==i&&-1!==e)throw new N("All attribute lists must have the same number of attributes.");e=i}return e};var W=new h,H=new A,V=new l,Z=[new h,new h,new h],K=[new a,new a,new a],$=[new a,new a,new a],tt=new A,et=new O,rt=new l,nt=new L;_._textureCoordinateRotationPoints=function(t,e,r,n){let i,o=G.center(n,W),s=h.toCartesian(o,r,H),u=R.eastNorthUpToFixedFrame(s,r,V),I=l.inverse(u,V),N=K,m=Z;m[0].longitude=n.west,m[0].latitude=n.south,m[1].longitude=n.west,m[1].latitude=n.north,m[2].longitude=n.east,m[2].latitude=n.south;let c=tt;for(i=0;i<3;i++)h.toCartesian(m[i],r,c),c=l.multiplyByPointAsVector(I,c,c),N[i].x=c.x,N[i].y=c.y;let p=O.fromAxisAngle(A.UNIT_Z,-e,et),T=y.fromQuaternion(p,rt),b=t.length,E=Number.POSITIVE_INFINITY,f=Number.POSITIVE_INFINITY,P=Number.NEGATIVE_INFINITY,w=Number.NEGATIVE_INFINITY;for(i=0;i<b;i++)c=l.multiplyByPointAsVector(I,t[i],c),c=y.multiplyByVector(T,c,c),E=Math.min(E,c.x),f=Math.min(f,c.y),P=Math.max(P,c.x),w=Math.max(w,c.y);let S=L.fromRotation(e,nt),_=$;_[0].x=E,_[0].y=f,_[1].x=E,_[1].y=w,_[2].x=P,_[2].y=f;let d=N[0],x=N[2].x-d.x,g=N[1].y-d.y;for(i=0;i<3;i++){let t=_[i];L.multiplyByVector(S,t,t),t.x=(t.x-d.x)/x,t.y=(t.y-d.y)/g}let v=_[0],F=_[1],M=_[2],j=new Array(6);return a.pack(v,j),a.pack(F,j,2),a.pack(M,j,4),j};var Lt=_;function ot(t){if(t=s(t,s.EMPTY_OBJECT),!I(t.componentDatatype))throw new N("options.componentDatatype is required.");if(!I(t.componentsPerAttribute))throw new N("options.componentsPerAttribute is required.");if(t.componentsPerAttribute<1||t.componentsPerAttribute>4)throw new N("options.componentsPerAttribute must be between 1 and 4.");if(!I(t.values))throw new N("options.values is required.");this.componentDatatype=t.componentDatatype,this.componentsPerAttribute=t.componentsPerAttribute,this.normalize=s(t.normalize,!1),this.values=t.values}var Ot=ot;export{M as a,F as b,Lt as c,Ot as d};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
+
* Version 1.124
|
|
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
|
+
*/
|