drone_view 3.0.63 → 3.0.64
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/dist/droneView.js +1 -1
- package/package.json +1 -1
- package/serviceV2/3d/Assets/IAU2006_XYS/IAU2006_XYS_0.json +1 -0
- package/serviceV2/3d/Assets/IAU2006_XYS/IAU2006_XYS_1.json +1 -0
- package/serviceV2/3d/Assets/IAU2006_XYS/IAU2006_XYS_10.json +1 -0
- package/serviceV2/3d/Assets/IAU2006_XYS/IAU2006_XYS_11.json +1 -0
- package/serviceV2/3d/Assets/IAU2006_XYS/IAU2006_XYS_12.json +1 -0
- package/serviceV2/3d/Assets/IAU2006_XYS/IAU2006_XYS_13.json +1 -0
- package/serviceV2/3d/Assets/IAU2006_XYS/IAU2006_XYS_14.json +1 -0
- package/serviceV2/3d/Assets/IAU2006_XYS/IAU2006_XYS_15.json +1 -0
- package/serviceV2/3d/Assets/IAU2006_XYS/IAU2006_XYS_16.json +1 -0
- package/serviceV2/3d/Assets/IAU2006_XYS/IAU2006_XYS_17.json +1 -0
- package/serviceV2/3d/Assets/IAU2006_XYS/IAU2006_XYS_18.json +1 -0
- package/serviceV2/3d/Assets/IAU2006_XYS/IAU2006_XYS_19.json +1 -0
- package/serviceV2/3d/Assets/IAU2006_XYS/IAU2006_XYS_2.json +1 -0
- package/serviceV2/3d/Assets/IAU2006_XYS/IAU2006_XYS_20.json +1 -0
- package/serviceV2/3d/Assets/IAU2006_XYS/IAU2006_XYS_21.json +1 -0
- package/serviceV2/3d/Assets/IAU2006_XYS/IAU2006_XYS_22.json +1 -0
- package/serviceV2/3d/Assets/IAU2006_XYS/IAU2006_XYS_23.json +1 -0
- package/serviceV2/3d/Assets/IAU2006_XYS/IAU2006_XYS_24.json +1 -0
- package/serviceV2/3d/Assets/IAU2006_XYS/IAU2006_XYS_25.json +1 -0
- package/serviceV2/3d/Assets/IAU2006_XYS/IAU2006_XYS_26.json +1 -0
- package/serviceV2/3d/Assets/IAU2006_XYS/IAU2006_XYS_27.json +1 -0
- package/serviceV2/3d/Assets/IAU2006_XYS/IAU2006_XYS_3.json +1 -0
- package/serviceV2/3d/Assets/IAU2006_XYS/IAU2006_XYS_4.json +1 -0
- package/serviceV2/3d/Assets/IAU2006_XYS/IAU2006_XYS_5.json +1 -0
- package/serviceV2/3d/Assets/IAU2006_XYS/IAU2006_XYS_6.json +1 -0
- package/serviceV2/3d/Assets/IAU2006_XYS/IAU2006_XYS_7.json +1 -0
- package/serviceV2/3d/Assets/IAU2006_XYS/IAU2006_XYS_8.json +1 -0
- package/serviceV2/3d/Assets/IAU2006_XYS/IAU2006_XYS_9.json +1 -0
- package/serviceV2/3d/Assets/Images/bing_maps_credit.png +0 -0
- package/serviceV2/3d/Assets/Images/cesium_credit.png +0 -0
- package/serviceV2/3d/Assets/Images/google_earth_credit.png +0 -0
- package/serviceV2/3d/Assets/Images/ion-credit.png +0 -0
- package/serviceV2/3d/Assets/Textures/LensFlare/DirtMask.jpg +0 -0
- package/serviceV2/3d/Assets/Textures/LensFlare/StarBurst.jpg +0 -0
- package/serviceV2/3d/Assets/Textures/NaturalEarthII/0/0/0.jpg +0 -0
- package/serviceV2/3d/Assets/Textures/NaturalEarthII/0/1/0.jpg +0 -0
- package/serviceV2/3d/Assets/Textures/NaturalEarthII/1/0/0.jpg +0 -0
- package/serviceV2/3d/Assets/Textures/NaturalEarthII/1/0/1.jpg +0 -0
- package/serviceV2/3d/Assets/Textures/NaturalEarthII/1/1/0.jpg +0 -0
- package/serviceV2/3d/Assets/Textures/NaturalEarthII/1/1/1.jpg +0 -0
- package/serviceV2/3d/Assets/Textures/NaturalEarthII/1/2/0.jpg +0 -0
- package/serviceV2/3d/Assets/Textures/NaturalEarthII/1/2/1.jpg +0 -0
- package/serviceV2/3d/Assets/Textures/NaturalEarthII/1/3/0.jpg +0 -0
- package/serviceV2/3d/Assets/Textures/NaturalEarthII/1/3/1.jpg +0 -0
- package/serviceV2/3d/Assets/Textures/NaturalEarthII/2/0/0.jpg +0 -0
- package/serviceV2/3d/Assets/Textures/NaturalEarthII/2/0/1.jpg +0 -0
- package/serviceV2/3d/Assets/Textures/NaturalEarthII/2/0/2.jpg +0 -0
- package/serviceV2/3d/Assets/Textures/NaturalEarthII/2/0/3.jpg +0 -0
- package/serviceV2/3d/Assets/Textures/NaturalEarthII/2/1/0.jpg +0 -0
- package/serviceV2/3d/Assets/Textures/NaturalEarthII/2/1/1.jpg +0 -0
- package/serviceV2/3d/Assets/Textures/NaturalEarthII/2/1/2.jpg +0 -0
- package/serviceV2/3d/Assets/Textures/NaturalEarthII/2/1/3.jpg +0 -0
- package/serviceV2/3d/Assets/Textures/NaturalEarthII/2/2/0.jpg +0 -0
- package/serviceV2/3d/Assets/Textures/NaturalEarthII/2/2/1.jpg +0 -0
- package/serviceV2/3d/Assets/Textures/NaturalEarthII/2/2/2.jpg +0 -0
- package/serviceV2/3d/Assets/Textures/NaturalEarthII/2/2/3.jpg +0 -0
- package/serviceV2/3d/Assets/Textures/NaturalEarthII/2/3/0.jpg +0 -0
- package/serviceV2/3d/Assets/Textures/NaturalEarthII/2/3/1.jpg +0 -0
- package/serviceV2/3d/Assets/Textures/NaturalEarthII/2/3/2.jpg +0 -0
- package/serviceV2/3d/Assets/Textures/NaturalEarthII/2/3/3.jpg +0 -0
- package/serviceV2/3d/Assets/Textures/NaturalEarthII/2/4/0.jpg +0 -0
- package/serviceV2/3d/Assets/Textures/NaturalEarthII/2/4/1.jpg +0 -0
- package/serviceV2/3d/Assets/Textures/NaturalEarthII/2/4/2.jpg +0 -0
- package/serviceV2/3d/Assets/Textures/NaturalEarthII/2/4/3.jpg +0 -0
- package/serviceV2/3d/Assets/Textures/NaturalEarthII/2/5/0.jpg +0 -0
- package/serviceV2/3d/Assets/Textures/NaturalEarthII/2/5/1.jpg +0 -0
- package/serviceV2/3d/Assets/Textures/NaturalEarthII/2/5/2.jpg +0 -0
- package/serviceV2/3d/Assets/Textures/NaturalEarthII/2/5/3.jpg +0 -0
- package/serviceV2/3d/Assets/Textures/NaturalEarthII/2/6/0.jpg +0 -0
- package/serviceV2/3d/Assets/Textures/NaturalEarthII/2/6/1.jpg +0 -0
- package/serviceV2/3d/Assets/Textures/NaturalEarthII/2/6/2.jpg +0 -0
- package/serviceV2/3d/Assets/Textures/NaturalEarthII/2/6/3.jpg +0 -0
- package/serviceV2/3d/Assets/Textures/NaturalEarthII/2/7/0.jpg +0 -0
- package/serviceV2/3d/Assets/Textures/NaturalEarthII/2/7/1.jpg +0 -0
- package/serviceV2/3d/Assets/Textures/NaturalEarthII/2/7/2.jpg +0 -0
- package/serviceV2/3d/Assets/Textures/NaturalEarthII/2/7/3.jpg +0 -0
- package/serviceV2/3d/Assets/Textures/NaturalEarthII/tilemapresource.xml +14 -0
- package/serviceV2/3d/Assets/Textures/SkyBox/tycho2t3_80_mx.jpg +0 -0
- package/serviceV2/3d/Assets/Textures/SkyBox/tycho2t3_80_my.jpg +0 -0
- package/serviceV2/3d/Assets/Textures/SkyBox/tycho2t3_80_mz.jpg +0 -0
- package/serviceV2/3d/Assets/Textures/SkyBox/tycho2t3_80_px.jpg +0 -0
- package/serviceV2/3d/Assets/Textures/SkyBox/tycho2t3_80_py.jpg +0 -0
- package/serviceV2/3d/Assets/Textures/SkyBox/tycho2t3_80_pz.jpg +0 -0
- package/serviceV2/3d/Assets/Textures/maki/airfield.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/airport.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/alcohol-shop.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/america-football.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/art-gallery.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/bakery.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/bank.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/bar.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/baseball.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/basketball.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/beer.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/bicycle.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/building.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/bus.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/cafe.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/camera.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/campsite.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/car.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/cemetery.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/cesium.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/chemist.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/cinema.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/circle-stroked.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/circle.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/city.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/clothing-store.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/college.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/commercial.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/cricket.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/cross.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/dam.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/danger.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/disability.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/dog-park.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/embassy.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/emergency-telephone.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/entrance.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/farm.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/fast-food.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/ferry.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/fire-station.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/fuel.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/garden.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/gift.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/golf.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/grocery.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/hairdresser.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/harbor.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/heart.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/heliport.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/hospital.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/ice-cream.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/industrial.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/land-use.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/laundry.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/library.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/lighthouse.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/lodging.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/logging.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/london-underground.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/marker-stroked.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/marker.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/minefield.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/mobilephone.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/monument.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/museum.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/music.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/oil-well.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/park.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/park2.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/parking-garage.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/parking.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/pharmacy.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/pitch.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/place-of-worship.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/playground.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/police.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/polling-place.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/post.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/prison.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/rail-above.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/rail-light.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/rail-metro.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/rail-underground.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/rail.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/religious-christian.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/religious-jewish.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/religious-muslim.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/restaurant.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/roadblock.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/rocket.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/school.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/scooter.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/shop.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/skiing.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/slaughterhouse.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/soccer.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/square-stroked.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/square.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/star-stroked.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/star.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/suitcase.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/swimming.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/telephone.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/tennis.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/theatre.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/toilets.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/town-hall.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/town.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/triangle-stroked.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/triangle.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/village.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/warehouse.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/waste-basket.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/water.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/wetland.png +0 -0
- package/serviceV2/3d/Assets/Textures/maki/zoo.png +0 -0
- package/serviceV2/3d/Assets/Textures/moonSmall.jpg +0 -0
- package/serviceV2/3d/Assets/Textures/pin.svg +1 -0
- package/serviceV2/3d/Assets/Textures/waterNormals.jpg +0 -0
- package/serviceV2/3d/Assets/Textures/waterNormalsSmall.jpg +0 -0
- package/serviceV2/3d/Assets/approximateTerrainHeights.json +1 -0
- package/serviceV2/3d/ThirdParty/Workers/package.json +1 -0
- package/serviceV2/3d/ThirdParty/Workers/zip-web-worker.js +1 -0
- package/serviceV2/3d/ThirdParty/basis_transcoder.wasm +0 -0
- package/serviceV2/3d/ThirdParty/draco_decoder.wasm +0 -0
- package/serviceV2/3d/ThirdParty/google-earth-dbroot-parser.js +1 -0
- package/serviceV2/3d/ThirdParty/wasm_splats_bg.wasm +0 -0
- package/serviceV2/3d/ThirdParty/zip-module.wasm +0 -0
- package/serviceV2/3d/Widgets/Animation/Animation.css +127 -0
- package/serviceV2/3d/Widgets/Animation/lighter.css +70 -0
- package/serviceV2/3d/Widgets/BaseLayerPicker/BaseLayerPicker.css +108 -0
- package/serviceV2/3d/Widgets/BaseLayerPicker/lighter.css +22 -0
- package/serviceV2/3d/Widgets/Cesium3DTilesInspector/Cesium3DTilesInspector.css +102 -0
- package/serviceV2/3d/Widgets/CesiumInspector/CesiumInspector.css +113 -0
- package/serviceV2/3d/Widgets/CesiumWidget/CesiumWidget.css +119 -0
- package/serviceV2/3d/Widgets/CesiumWidget/lighter.css +14 -0
- package/serviceV2/3d/Widgets/FullscreenButton/FullscreenButton.css +8 -0
- package/serviceV2/3d/Widgets/Geocoder/Geocoder.css +70 -0
- package/serviceV2/3d/Widgets/Geocoder/lighter.css +17 -0
- package/serviceV2/3d/Widgets/I3SBuildingSceneLayerExplorer/I3SBuildingSceneLayerExplorer.css +27 -0
- package/serviceV2/3d/Widgets/Images/ImageryProviders/ArcGisMapServiceWorldHillshade.png +0 -0
- package/serviceV2/3d/Widgets/Images/ImageryProviders/ArcGisMapServiceWorldImagery.png +0 -0
- package/serviceV2/3d/Widgets/Images/ImageryProviders/ArcGisMapServiceWorldOcean.png +0 -0
- package/serviceV2/3d/Widgets/Images/ImageryProviders/bingAerial.png +0 -0
- package/serviceV2/3d/Widgets/Images/ImageryProviders/bingAerialLabels.png +0 -0
- package/serviceV2/3d/Widgets/Images/ImageryProviders/bingRoads.png +0 -0
- package/serviceV2/3d/Widgets/Images/ImageryProviders/blueMarble.png +0 -0
- package/serviceV2/3d/Widgets/Images/ImageryProviders/earthAtNight.png +0 -0
- package/serviceV2/3d/Widgets/Images/ImageryProviders/googleContour.png +0 -0
- package/serviceV2/3d/Widgets/Images/ImageryProviders/googleLabels.png +0 -0
- package/serviceV2/3d/Widgets/Images/ImageryProviders/googleRoadmap.png +0 -0
- package/serviceV2/3d/Widgets/Images/ImageryProviders/googleSatellite.png +0 -0
- package/serviceV2/3d/Widgets/Images/ImageryProviders/googleSatelliteLabels.png +0 -0
- package/serviceV2/3d/Widgets/Images/ImageryProviders/mapQuestOpenStreetMap.png +0 -0
- package/serviceV2/3d/Widgets/Images/ImageryProviders/mapboxSatellite.png +0 -0
- package/serviceV2/3d/Widgets/Images/ImageryProviders/mapboxStreets.png +0 -0
- package/serviceV2/3d/Widgets/Images/ImageryProviders/mapboxTerrain.png +0 -0
- package/serviceV2/3d/Widgets/Images/ImageryProviders/naturalEarthII.png +0 -0
- package/serviceV2/3d/Widgets/Images/ImageryProviders/openStreetMap.png +0 -0
- package/serviceV2/3d/Widgets/Images/ImageryProviders/sentinel-2.png +0 -0
- package/serviceV2/3d/Widgets/Images/ImageryProviders/stadiaAlidadeSmooth.png +0 -0
- package/serviceV2/3d/Widgets/Images/ImageryProviders/stadiaAlidadeSmoothDark.png +0 -0
- package/serviceV2/3d/Widgets/Images/ImageryProviders/stamenToner.png +0 -0
- package/serviceV2/3d/Widgets/Images/ImageryProviders/stamenWatercolor.png +0 -0
- package/serviceV2/3d/Widgets/Images/NavigationHelp/Mouse.svg +84 -0
- package/serviceV2/3d/Widgets/Images/NavigationHelp/MouseLeft.svg +76 -0
- package/serviceV2/3d/Widgets/Images/NavigationHelp/MouseMiddle.svg +76 -0
- package/serviceV2/3d/Widgets/Images/NavigationHelp/MouseRight.svg +76 -0
- package/serviceV2/3d/Widgets/Images/NavigationHelp/Touch.svg +120 -0
- package/serviceV2/3d/Widgets/Images/NavigationHelp/TouchDrag.svg +129 -0
- package/serviceV2/3d/Widgets/Images/NavigationHelp/TouchRotate.svg +76 -0
- package/serviceV2/3d/Widgets/Images/NavigationHelp/TouchTilt.svg +135 -0
- package/serviceV2/3d/Widgets/Images/NavigationHelp/TouchZoom.svg +74 -0
- package/serviceV2/3d/Widgets/Images/TerrainProviders/CesiumWorldTerrain.png +0 -0
- package/serviceV2/3d/Widgets/Images/TerrainProviders/Ellipsoid.png +0 -0
- package/serviceV2/3d/Widgets/Images/TimelineIcons.png +0 -0
- package/serviceV2/3d/Widgets/Images/info-loading.gif +0 -0
- package/serviceV2/3d/Widgets/InfoBox/InfoBox.css +92 -0
- package/serviceV2/3d/Widgets/InfoBox/InfoBoxDescription.css +178 -0
- package/serviceV2/3d/Widgets/NavigationHelpButton/NavigationHelpButton.css +93 -0
- package/serviceV2/3d/Widgets/NavigationHelpButton/lighter.css +38 -0
- package/serviceV2/3d/Widgets/PerformanceWatchdog/PerformanceWatchdog.css +15 -0
- package/serviceV2/3d/Widgets/ProjectionPicker/ProjectionPicker.css +38 -0
- package/serviceV2/3d/Widgets/SceneModePicker/SceneModePicker.css +56 -0
- package/serviceV2/3d/Widgets/SelectionIndicator/SelectionIndicator.css +20 -0
- package/serviceV2/3d/Widgets/Timeline/Timeline.css +103 -0
- package/serviceV2/3d/Widgets/Timeline/lighter.css +23 -0
- package/serviceV2/3d/Widgets/VRButton/VRButton.css +8 -0
- package/serviceV2/3d/Widgets/Viewer/Viewer.css +107 -0
- package/serviceV2/3d/Widgets/VoxelInspector/VoxelInspector.css +16 -0
- package/serviceV2/3d/Widgets/lighter.css +237 -0
- package/serviceV2/3d/Widgets/lighterShared.css +46 -0
- package/serviceV2/3d/Widgets/shared.css +103 -0
- package/serviceV2/3d/Widgets/widgets.css +1342 -0
- package/serviceV2/3d/Workers/chunk-2ZPEMRCT.js +2 -0
- package/serviceV2/3d/Workers/chunk-2ZPEMRCT.js.LICENSE.txt +24 -0
- package/serviceV2/3d/Workers/chunk-3BSRJTW3.js +2 -0
- package/serviceV2/3d/Workers/chunk-3BSRJTW3.js.LICENSE.txt +24 -0
- package/serviceV2/3d/Workers/chunk-3WSHJXU2.js +2 -0
- package/serviceV2/3d/Workers/chunk-3WSHJXU2.js.LICENSE.txt +24 -0
- package/serviceV2/3d/Workers/chunk-42MGKNSS.js +2 -0
- package/serviceV2/3d/Workers/chunk-42MGKNSS.js.LICENSE.txt +24 -0
- package/serviceV2/3d/Workers/chunk-4MJDNHOT.js +2 -0
- package/serviceV2/3d/Workers/chunk-4MJDNHOT.js.LICENSE.txt +24 -0
- package/serviceV2/3d/Workers/chunk-4WJUWBRK.js +2 -0
- package/serviceV2/3d/Workers/chunk-4WJUWBRK.js.LICENSE.txt +24 -0
- package/serviceV2/3d/Workers/chunk-5G23AKP3.js +2 -0
- package/serviceV2/3d/Workers/chunk-5G23AKP3.js.LICENSE.txt +24 -0
- package/serviceV2/3d/Workers/chunk-5HPISDSZ.js +2 -0
- package/serviceV2/3d/Workers/chunk-5HPISDSZ.js.LICENSE.txt +24 -0
- package/serviceV2/3d/Workers/chunk-APG2S62J.js +2 -0
- package/serviceV2/3d/Workers/chunk-APG2S62J.js.LICENSE.txt +24 -0
- package/serviceV2/3d/Workers/chunk-AZLP5742.js +2 -0
- package/serviceV2/3d/Workers/chunk-AZLP5742.js.LICENSE.txt +24 -0
- package/serviceV2/3d/Workers/chunk-BJAB7QAF.js +2 -0
- package/serviceV2/3d/Workers/chunk-BJAB7QAF.js.LICENSE.txt +24 -0
- package/serviceV2/3d/Workers/chunk-BTDQB5Q4.js +2 -0
- package/serviceV2/3d/Workers/chunk-BTDQB5Q4.js.LICENSE.txt +24 -0
- package/serviceV2/3d/Workers/chunk-CJRI54BI.js +2 -0
- package/serviceV2/3d/Workers/chunk-CJRI54BI.js.LICENSE.txt +24 -0
- package/serviceV2/3d/Workers/chunk-CUP6SILZ.js +2 -0
- package/serviceV2/3d/Workers/chunk-CUP6SILZ.js.LICENSE.txt +24 -0
- package/serviceV2/3d/Workers/chunk-D2NFCOGE.js +2 -0
- package/serviceV2/3d/Workers/chunk-D2NFCOGE.js.LICENSE.txt +24 -0
- package/serviceV2/3d/Workers/chunk-DK73HV33.js +2 -0
- package/serviceV2/3d/Workers/chunk-DK73HV33.js.LICENSE.txt +24 -0
- package/serviceV2/3d/Workers/chunk-EDF5FKWJ.js +2 -0
- package/serviceV2/3d/Workers/chunk-EDF5FKWJ.js.LICENSE.txt +24 -0
- package/serviceV2/3d/Workers/chunk-ET7KY3BS.js +2 -0
- package/serviceV2/3d/Workers/chunk-ET7KY3BS.js.LICENSE.txt +24 -0
- package/serviceV2/3d/Workers/chunk-FIHQI7E3.js +2 -0
- package/serviceV2/3d/Workers/chunk-FIHQI7E3.js.LICENSE.txt +24 -0
- package/serviceV2/3d/Workers/chunk-FVGSQINW.js +2 -0
- package/serviceV2/3d/Workers/chunk-FVGSQINW.js.LICENSE.txt +24 -0
- package/serviceV2/3d/Workers/chunk-FWF3VNA2.js +2 -0
- package/serviceV2/3d/Workers/chunk-FWF3VNA2.js.LICENSE.txt +24 -0
- package/serviceV2/3d/Workers/chunk-GTQ3WXPT.js +2 -0
- package/serviceV2/3d/Workers/chunk-GTQ3WXPT.js.LICENSE.txt +24 -0
- package/serviceV2/3d/Workers/chunk-HSJ6GSLC.js +2 -0
- package/serviceV2/3d/Workers/chunk-HSJ6GSLC.js.LICENSE.txt +24 -0
- package/serviceV2/3d/Workers/chunk-IOTBNCMN.js +2 -0
- package/serviceV2/3d/Workers/chunk-IOTBNCMN.js.LICENSE.txt +24 -0
- package/serviceV2/3d/Workers/chunk-IYO6TYGP.js +2 -0
- package/serviceV2/3d/Workers/chunk-IYO6TYGP.js.LICENSE.txt +24 -0
- package/serviceV2/3d/Workers/chunk-J7MBSSYW.js +2 -0
- package/serviceV2/3d/Workers/chunk-J7MBSSYW.js.LICENSE.txt +24 -0
- package/serviceV2/3d/Workers/chunk-KWAHJ72S.js +2 -0
- package/serviceV2/3d/Workers/chunk-KWAHJ72S.js.LICENSE.txt +24 -0
- package/serviceV2/3d/Workers/chunk-KX5PR5Q3.js +2 -0
- package/serviceV2/3d/Workers/chunk-KX5PR5Q3.js.LICENSE.txt +24 -0
- package/serviceV2/3d/Workers/chunk-LJBMXZ6U.js +2 -0
- package/serviceV2/3d/Workers/chunk-LJBMXZ6U.js.LICENSE.txt +24 -0
- package/serviceV2/3d/Workers/chunk-LPJEXZWM.js +2 -0
- package/serviceV2/3d/Workers/chunk-LPJEXZWM.js.LICENSE.txt +24 -0
- package/serviceV2/3d/Workers/chunk-MKDADUG3.js +2 -0
- package/serviceV2/3d/Workers/chunk-MKDADUG3.js.LICENSE.txt +24 -0
- package/serviceV2/3d/Workers/chunk-NOIUI5SY.js +2 -0
- package/serviceV2/3d/Workers/chunk-NOIUI5SY.js.LICENSE.txt +24 -0
- package/serviceV2/3d/Workers/chunk-OFCC6BNI.js +2 -0
- package/serviceV2/3d/Workers/chunk-OFCC6BNI.js.LICENSE.txt +24 -0
- package/serviceV2/3d/Workers/chunk-OXJ2LJUE.js +2 -0
- package/serviceV2/3d/Workers/chunk-OXJ2LJUE.js.LICENSE.txt +24 -0
- package/serviceV2/3d/Workers/chunk-Q4W25C4L.js +2 -0
- package/serviceV2/3d/Workers/chunk-Q4W25C4L.js.LICENSE.txt +24 -0
- package/serviceV2/3d/Workers/chunk-QORMFUM4.js +2 -0
- package/serviceV2/3d/Workers/chunk-QORMFUM4.js.LICENSE.txt +24 -0
- package/serviceV2/3d/Workers/chunk-RCHWDG3R.js +2 -0
- package/serviceV2/3d/Workers/chunk-RCHWDG3R.js.LICENSE.txt +24 -0
- package/serviceV2/3d/Workers/chunk-RYOF6QSA.js +2 -0
- package/serviceV2/3d/Workers/chunk-RYOF6QSA.js.LICENSE.txt +24 -0
- package/serviceV2/3d/Workers/chunk-SCO7TMKT.js +2 -0
- package/serviceV2/3d/Workers/chunk-SCO7TMKT.js.LICENSE.txt +24 -0
- package/serviceV2/3d/Workers/chunk-SNSHUVCZ.js +2 -0
- package/serviceV2/3d/Workers/chunk-SNSHUVCZ.js.LICENSE.txt +24 -0
- package/serviceV2/3d/Workers/chunk-SXKYZMEL.js +2 -0
- package/serviceV2/3d/Workers/chunk-SXKYZMEL.js.LICENSE.txt +24 -0
- package/serviceV2/3d/Workers/chunk-T6Q6HX5J.js +2 -0
- package/serviceV2/3d/Workers/chunk-T6Q6HX5J.js.LICENSE.txt +24 -0
- package/serviceV2/3d/Workers/chunk-T77EB7BE.js +2 -0
- package/serviceV2/3d/Workers/chunk-T77EB7BE.js.LICENSE.txt +24 -0
- package/serviceV2/3d/Workers/chunk-TGKHFJV6.js +2 -0
- package/serviceV2/3d/Workers/chunk-TGKHFJV6.js.LICENSE.txt +24 -0
- package/serviceV2/3d/Workers/chunk-U6GWZBRL.js +2 -0
- package/serviceV2/3d/Workers/chunk-U6GWZBRL.js.LICENSE.txt +24 -0
- package/serviceV2/3d/Workers/chunk-UTYWXSQT.js +2 -0
- package/serviceV2/3d/Workers/chunk-UTYWXSQT.js.LICENSE.txt +67 -0
- package/serviceV2/3d/Workers/chunk-VHZAK4GN.js +2 -0
- package/serviceV2/3d/Workers/chunk-VHZAK4GN.js.LICENSE.txt +24 -0
- package/serviceV2/3d/Workers/chunk-VTK7G5BX.js +2 -0
- package/serviceV2/3d/Workers/chunk-VTK7G5BX.js.LICENSE.txt +24 -0
- package/serviceV2/3d/Workers/chunk-XBWRWNYZ.js +2 -0
- package/serviceV2/3d/Workers/chunk-XBWRWNYZ.js.LICENSE.txt +24 -0
- package/serviceV2/3d/Workers/chunk-XQDTMI7Q.js +2 -0
- package/serviceV2/3d/Workers/chunk-XQDTMI7Q.js.LICENSE.txt +24 -0
- package/serviceV2/3d/Workers/chunk-XQIJGAVD.js +2 -0
- package/serviceV2/3d/Workers/chunk-XQIJGAVD.js.LICENSE.txt +24 -0
- package/serviceV2/3d/Workers/chunk-XRRBRTKL.js +2 -0
- package/serviceV2/3d/Workers/chunk-XRRBRTKL.js.LICENSE.txt +24 -0
- package/serviceV2/3d/Workers/chunk-YHWHVNY2.js +2 -0
- package/serviceV2/3d/Workers/chunk-YHWHVNY2.js.LICENSE.txt +24 -0
- package/serviceV2/3d/Workers/chunk-YY6GMQGO.js +2 -0
- package/serviceV2/3d/Workers/chunk-YY6GMQGO.js.LICENSE.txt +24 -0
- package/serviceV2/3d/Workers/combineGeometry.js +2 -0
- package/serviceV2/3d/Workers/combineGeometry.js.LICENSE.txt +24 -0
- package/serviceV2/3d/Workers/createBoxGeometry.js +2 -0
- package/serviceV2/3d/Workers/createBoxGeometry.js.LICENSE.txt +24 -0
- package/serviceV2/3d/Workers/createBoxOutlineGeometry.js +2 -0
- package/serviceV2/3d/Workers/createBoxOutlineGeometry.js.LICENSE.txt +24 -0
- package/serviceV2/3d/Workers/createCircleGeometry.js +2 -0
- package/serviceV2/3d/Workers/createCircleGeometry.js.LICENSE.txt +24 -0
- package/serviceV2/3d/Workers/createCircleOutlineGeometry.js +2 -0
- package/serviceV2/3d/Workers/createCircleOutlineGeometry.js.LICENSE.txt +24 -0
- package/serviceV2/3d/Workers/createCoplanarPolygonGeometry.js +2 -0
- package/serviceV2/3d/Workers/createCoplanarPolygonGeometry.js.LICENSE.txt +24 -0
- package/serviceV2/3d/Workers/createCoplanarPolygonOutlineGeometry.js +2 -0
- package/serviceV2/3d/Workers/createCoplanarPolygonOutlineGeometry.js.LICENSE.txt +24 -0
- package/serviceV2/3d/Workers/createCorridorGeometry.js +2 -0
- package/serviceV2/3d/Workers/createCorridorGeometry.js.LICENSE.txt +24 -0
- package/serviceV2/3d/Workers/createCorridorOutlineGeometry.js +2 -0
- package/serviceV2/3d/Workers/createCorridorOutlineGeometry.js.LICENSE.txt +24 -0
- package/serviceV2/3d/Workers/createCylinderGeometry.js +2 -0
- package/serviceV2/3d/Workers/createCylinderGeometry.js.LICENSE.txt +24 -0
- package/serviceV2/3d/Workers/createCylinderOutlineGeometry.js +2 -0
- package/serviceV2/3d/Workers/createCylinderOutlineGeometry.js.LICENSE.txt +24 -0
- package/serviceV2/3d/Workers/createEllipseGeometry.js +2 -0
- package/serviceV2/3d/Workers/createEllipseGeometry.js.LICENSE.txt +24 -0
- package/serviceV2/3d/Workers/createEllipseOutlineGeometry.js +2 -0
- package/serviceV2/3d/Workers/createEllipseOutlineGeometry.js.LICENSE.txt +24 -0
- package/serviceV2/3d/Workers/createEllipsoidGeometry.js +2 -0
- package/serviceV2/3d/Workers/createEllipsoidGeometry.js.LICENSE.txt +24 -0
- package/serviceV2/3d/Workers/createEllipsoidOutlineGeometry.js +2 -0
- package/serviceV2/3d/Workers/createEllipsoidOutlineGeometry.js.LICENSE.txt +24 -0
- package/serviceV2/3d/Workers/createFrustumGeometry.js +2 -0
- package/serviceV2/3d/Workers/createFrustumGeometry.js.LICENSE.txt +24 -0
- package/serviceV2/3d/Workers/createFrustumOutlineGeometry.js +2 -0
- package/serviceV2/3d/Workers/createFrustumOutlineGeometry.js.LICENSE.txt +24 -0
- package/serviceV2/3d/Workers/createGeometry.js +2 -0
- package/serviceV2/3d/Workers/createGeometry.js.LICENSE.txt +24 -0
- package/serviceV2/3d/Workers/createGroundPolylineGeometry.js +2 -0
- package/serviceV2/3d/Workers/createGroundPolylineGeometry.js.LICENSE.txt +24 -0
- package/serviceV2/3d/Workers/createPlaneGeometry.js +2 -0
- package/serviceV2/3d/Workers/createPlaneGeometry.js.LICENSE.txt +24 -0
- package/serviceV2/3d/Workers/createPlaneOutlineGeometry.js +2 -0
- package/serviceV2/3d/Workers/createPlaneOutlineGeometry.js.LICENSE.txt +24 -0
- package/serviceV2/3d/Workers/createPolygonGeometry.js +2 -0
- package/serviceV2/3d/Workers/createPolygonGeometry.js.LICENSE.txt +24 -0
- package/serviceV2/3d/Workers/createPolygonOutlineGeometry.js +2 -0
- package/serviceV2/3d/Workers/createPolygonOutlineGeometry.js.LICENSE.txt +24 -0
- package/serviceV2/3d/Workers/createPolylineGeometry.js +2 -0
- package/serviceV2/3d/Workers/createPolylineGeometry.js.LICENSE.txt +24 -0
- package/serviceV2/3d/Workers/createPolylineVolumeGeometry.js +2 -0
- package/serviceV2/3d/Workers/createPolylineVolumeGeometry.js.LICENSE.txt +24 -0
- package/serviceV2/3d/Workers/createPolylineVolumeOutlineGeometry.js +2 -0
- package/serviceV2/3d/Workers/createPolylineVolumeOutlineGeometry.js.LICENSE.txt +24 -0
- package/serviceV2/3d/Workers/createRectangleGeometry.js +2 -0
- package/serviceV2/3d/Workers/createRectangleGeometry.js.LICENSE.txt +24 -0
- package/serviceV2/3d/Workers/createRectangleOutlineGeometry.js +2 -0
- package/serviceV2/3d/Workers/createRectangleOutlineGeometry.js.LICENSE.txt +24 -0
- package/serviceV2/3d/Workers/createSimplePolylineGeometry.js +2 -0
- package/serviceV2/3d/Workers/createSimplePolylineGeometry.js.LICENSE.txt +24 -0
- package/serviceV2/3d/Workers/createSphereGeometry.js +2 -0
- package/serviceV2/3d/Workers/createSphereGeometry.js.LICENSE.txt +24 -0
- package/serviceV2/3d/Workers/createSphereOutlineGeometry.js +2 -0
- package/serviceV2/3d/Workers/createSphereOutlineGeometry.js.LICENSE.txt +24 -0
- package/serviceV2/3d/Workers/createTaskProcessorWorker.js +2 -0
- package/serviceV2/3d/Workers/createTaskProcessorWorker.js.LICENSE.txt +24 -0
- package/serviceV2/3d/Workers/createVectorTileClampedPolylines.js +2 -0
- package/serviceV2/3d/Workers/createVectorTileClampedPolylines.js.LICENSE.txt +24 -0
- package/serviceV2/3d/Workers/createVectorTileGeometries.js +2 -0
- package/serviceV2/3d/Workers/createVectorTileGeometries.js.LICENSE.txt +24 -0
- package/serviceV2/3d/Workers/createVectorTilePoints.js +2 -0
- package/serviceV2/3d/Workers/createVectorTilePoints.js.LICENSE.txt +24 -0
- package/serviceV2/3d/Workers/createVectorTilePolygons.js +2 -0
- package/serviceV2/3d/Workers/createVectorTilePolygons.js.LICENSE.txt +24 -0
- package/serviceV2/3d/Workers/createVectorTilePolylines.js +2 -0
- package/serviceV2/3d/Workers/createVectorTilePolylines.js.LICENSE.txt +24 -0
- package/serviceV2/3d/Workers/createVerticesFromCesium3DTilesTerrain.js +2 -0
- package/serviceV2/3d/Workers/createVerticesFromCesium3DTilesTerrain.js.LICENSE.txt +24 -0
- package/serviceV2/3d/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js +2 -0
- package/serviceV2/3d/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js.LICENSE.txt +24 -0
- package/serviceV2/3d/Workers/createVerticesFromHeightmap.js +2 -0
- package/serviceV2/3d/Workers/createVerticesFromHeightmap.js.LICENSE.txt +26 -0
- package/serviceV2/3d/Workers/createVerticesFromQuantizedTerrainMesh.js +2 -0
- package/serviceV2/3d/Workers/createVerticesFromQuantizedTerrainMesh.js.LICENSE.txt +24 -0
- package/serviceV2/3d/Workers/createWallGeometry.js +2 -0
- package/serviceV2/3d/Workers/createWallGeometry.js.LICENSE.txt +24 -0
- package/serviceV2/3d/Workers/createWallOutlineGeometry.js +2 -0
- package/serviceV2/3d/Workers/createWallOutlineGeometry.js.LICENSE.txt +24 -0
- package/serviceV2/3d/Workers/decodeDraco.js +2 -0
- package/serviceV2/3d/Workers/decodeDraco.js.LICENSE.txt +24 -0
- package/serviceV2/3d/Workers/decodeGoogleEarthEnterprisePacket.js +2 -0
- package/serviceV2/3d/Workers/decodeGoogleEarthEnterprisePacket.js.LICENSE.txt +24 -0
- package/serviceV2/3d/Workers/decodeI3S.js +2 -0
- package/serviceV2/3d/Workers/decodeI3S.js.LICENSE.txt +24 -0
- package/serviceV2/3d/Workers/gaussianSplatSorter.js +2 -0
- package/serviceV2/3d/Workers/gaussianSplatSorter.js.LICENSE.txt +24 -0
- package/serviceV2/3d/Workers/gaussianSplatTextureGenerator.js +2 -0
- package/serviceV2/3d/Workers/gaussianSplatTextureGenerator.js.LICENSE.txt +24 -0
- package/serviceV2/3d/Workers/transcodeKTX2.js +2 -0
- package/serviceV2/3d/Workers/transcodeKTX2.js.LICENSE.txt +24 -0
- package/serviceV2/3d/Workers/transferTypedArrayTest.js +2 -0
- package/serviceV2/3d/Workers/transferTypedArrayTest.js.LICENSE.txt +24 -0
- package/serviceV2/3d/Workers/upsampleQuantizedTerrainMesh.js +2 -0
- package/serviceV2/3d/Workers/upsampleQuantizedTerrainMesh.js.LICENSE.txt +24 -0
- package/serviceV2/3d/Workers/upsampleVerticesFromCesium3DTilesTerrain.js +2 -0
- package/serviceV2/3d/Workers/upsampleVerticesFromCesium3DTilesTerrain.js.LICENSE.txt +24 -0
- package/webpack.config.dev.js +5 -5
- package/webpack.config.prod.js +5 -5
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! For license information please see chunk-2ZPEMRCT.js.LICENSE.txt */
|
|
2
|
+
import{b as r}from"./chunk-UTYWXSQT.js";import{f as m}from"./chunk-KWAHJ72S.js";import{a as i}from"./chunk-NOIUI5SY.js";import{e as t}from"./chunk-XRRBRTKL.js";function d(e){if(e=e??m.EMPTY_OBJECT,!t(e.geometry))throw new i("options.geometry is required.");this.geometry=e.geometry,this.modelMatrix=r.clone(e.modelMatrix??r.IDENTITY),this.id=e.id,this.pickPrimitive=e.pickPrimitive,this.attributes=e.attributes??{},this.westHemisphereGeometry=void 0,this.eastHemisphereGeometry=void 0}var a=d;export{a};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
+
* Version 1.135.0
|
|
5
|
+
*
|
|
6
|
+
* Copyright 2011-2022 Cesium Contributors
|
|
7
|
+
*
|
|
8
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
9
|
+
* you may not use this file except in compliance with the License.
|
|
10
|
+
* You may obtain a copy of the License at
|
|
11
|
+
*
|
|
12
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
13
|
+
*
|
|
14
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
15
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
16
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
17
|
+
* See the License for the specific language governing permissions and
|
|
18
|
+
* limitations under the License.
|
|
19
|
+
*
|
|
20
|
+
* Columbus View (Pat. Pend.)
|
|
21
|
+
*
|
|
22
|
+
* Portions licensed separately.
|
|
23
|
+
* See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
|
|
24
|
+
*/
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! For license information please see chunk-3BSRJTW3.js.LICENSE.txt */
|
|
2
|
+
import{a as tt}from"./chunk-VHZAK4GN.js";import{a as jt}from"./chunk-OFCC6BNI.js";import{b as Lt}from"./chunk-HSJ6GSLC.js";import{a as Et}from"./chunk-SXKYZMEL.js";import{a as j}from"./chunk-T6Q6HX5J.js";import{a as dt,b as D,c as B,d as U}from"./chunk-EDF5FKWJ.js";import{a as _t,b as Ut,d as ot}from"./chunk-XQIJGAVD.js";import{a as pt,b as H}from"./chunk-UTYWXSQT.js";import{a as F}from"./chunk-RCHWDG3R.js";import{a as r,b as Mt,c as V,e as gt,f as Ot}from"./chunk-KWAHJ72S.js";import{a as N}from"./chunk-MKDADUG3.js";import{a as I,b as ft}from"./chunk-NOIUI5SY.js";import{e as f}from"./chunk-XRRBRTKL.js";var Yt=new r,Zt=new r,Xt=new r;function pe(e,t,i,n,o){let s,a,u,l,p,c,m,y;if(ft.defined("point",e),ft.defined("p0",t),ft.defined("p1",i),ft.defined("p2",n),f(o)||(o=new r),f(t.z)){if(r.equalsEpsilon(e,t,N.EPSILON14))return r.clone(r.UNIT_X,o);if(r.equalsEpsilon(e,i,N.EPSILON14))return r.clone(r.UNIT_Y,o);if(r.equalsEpsilon(e,n,N.EPSILON14))return r.clone(r.UNIT_Z,o);s=r.subtract(i,t,Yt),a=r.subtract(n,t,Zt),u=r.subtract(e,t,Xt),l=r.dot(s,s),p=r.dot(s,a),c=r.dot(s,u),m=r.dot(a,a),y=r.dot(a,u)}else{if(V.equalsEpsilon(e,t,N.EPSILON14))return r.clone(r.UNIT_X,o);if(V.equalsEpsilon(e,i,N.EPSILON14))return r.clone(r.UNIT_Y,o);if(V.equalsEpsilon(e,n,N.EPSILON14))return r.clone(r.UNIT_Z,o);s=V.subtract(i,t,Yt),a=V.subtract(n,t,Zt),u=V.subtract(e,t,Xt),l=V.dot(s,s),p=V.dot(s,a),c=V.dot(s,u),m=V.dot(a,a),y=V.dot(a,u)}o.y=m*c-p*y,o.z=l*y-p*c;let h=l*m-p*p;if(0!==h)return o.y/=h,o.z/=h,o.x=1-o.y-o.z,o}var Ht=pe,Nt={calculateACMR:function(e){let t=(e=e??Ot.EMPTY_OBJECT).indices,r=e.maximumIndex,i=e.cacheSize??24;if(!f(t))throw new I("indices is required.");let n=t.length;if(n<3||n%3!=0)throw new I("indices length must be a multiple of three.");if(r<=0)throw new I("maximumIndex must be greater than zero.");if(i<3)throw new I("cacheSize must be greater than two.");if(!f(r)){r=0;let e=0,i=t[e];for(;e<n;)i>r&&(r=i),++e,i=t[e]}let o=[];for(let e=0;e<r+1;e++)o[e]=0;let s=i+1;for(let e=0;e<n;++e)s-o[t[e]]>i&&(o[t[e]]=s,++s);return(s-i+1)/(n/3)},tipsify:function(e){let t,r=(e=e??Ot.EMPTY_OBJECT).indices,i=e.maximumIndex,n=e.cacheSize??24;function o(e,r,i,n,o,s,a){let u,l=-1,f=-1,p=0;for(;p<i.length;){let e=i[p];n[e].numLiveTriangles&&(u=0,o-n[e].timeStamp+2*n[e].numLiveTriangles<=r&&(u=o-n[e].timeStamp),(u>f||-1===f)&&(f=u,l=e)),++p}return-1===l?function(e,r,i,n){for(;r.length>=1;){let t=r[r.length-1];if(r.splice(r.length-1,1),e[t].numLiveTriangles>0)return t}for(;t<n;){if(e[t].numLiveTriangles>0)return++t,t-1;++t}return-1}(n,s,0,a):l}if(!f(r))throw new I("indices is required.");let s=r.length;if(s<3||s%3!=0)throw new I("indices length must be a multiple of three.");if(i<=0)throw new I("maximumIndex must be greater than zero.");if(n<3)throw new I("cacheSize must be greater than two.");let a=0,u=0,l=r[u],p=s;if(f(i))a=i+1;else{for(;u<p;)l>a&&(a=l),++u,l=r[u];if(-1===a)return 0;++a}let c,m=[];for(c=0;c<a;c++)m[c]={numLiveTriangles:0,timeStamp:0,vertexTriangles:[]};u=0;let y=0;for(;u<p;)m[r[u]].vertexTriangles.push(y),++m[r[u]].numLiveTriangles,m[r[u+1]].vertexTriangles.push(y),++m[r[u+1]].numLiveTriangles,m[r[u+2]].vertexTriangles.push(y),++m[r[u+2]].numLiveTriangles,++y,u+=3;let h=0,d=n+1;t=1;let v,b,w,g,T=[],A=[],N=0,x=[],S=s/3,P=[];for(c=0;c<S;c++)P[c]=!1;for(;-1!==h;){T=[],b=m[h],g=b.vertexTriangles.length;for(let e=0;e<g;++e)if(y=b.vertexTriangles[e],!P[y]){P[y]=!0,u=y+y+y;for(let e=0;e<3;++e)w=r[u],T.push(w),A.push(w),x[N]=w,++N,v=m[w],--v.numLiveTriangles,d-v.timeStamp>n&&(v.timeStamp=d,++d),++u}h=o(0,n,T,m,d,A,a)}return x}},Wt=Nt,k={};function It(e,t,r,i,n){e[t++]=r,e[t++]=i,e[t++]=i,e[t++]=n,e[t++]=n,e[t]=r}function de(e){let t=e.length,r=t/3*6,i=j.createTypedArray(t,r),n=0;for(let r=0;r<t;r+=3,n+=6)It(i,n,e[r],e[r+1],e[r+2]);return i}function me(e){let t=e.length;if(t>=3){let r=6*(t-2),i=j.createTypedArray(t,r);It(i,0,e[0],e[1],e[2]);let n=6;for(let r=3;r<t;++r,n+=6)It(i,n,e[r-1],e[r],e[r-2]);return i}return new Uint16Array}function he(e){if(e.length>0){let t=e.length-1,r=6*(t-1),i=j.createTypedArray(t,r),n=e[0],o=0;for(let r=1;r<t;++r,o+=6)It(i,o,n,e[r],e[r+1]);return i}return new Uint16Array}function $t(e){let t={};for(let r in e)if(e.hasOwnProperty(r)&&f(e[r])&&f(e[r].values)){let i=e[r];t[r]=new U({componentDatatype:i.componentDatatype,componentsPerAttribute:i.componentsPerAttribute,normalize:i.normalize,values:[]})}return t}function be(e,t,r){for(let i in t)if(t.hasOwnProperty(i)&&f(t[i])&&f(t[i].values)){let n=t[i];for(let t=0;t<n.componentsPerAttribute;++t)e[i].values.push(n.values[r*n.componentsPerAttribute+t])}}k.toWireframe=function(e){if(!f(e))throw new I("geometry is required.");let t=e.indices;if(f(t)){switch(e.primitiveType){case D.TRIANGLES:e.indices=de(t);break;case D.TRIANGLE_STRIP:e.indices=me(t);break;case D.TRIANGLE_FAN:e.indices=he(t);break;default:throw new I("geometry.primitiveType must be TRIANGLES, TRIANGLE_STRIP, or TRIANGLE_FAN.")}e.primitiveType=D.LINES}return e},k.createLineSegmentsForVectors=function(e,t,r){if(t=t??"normal",!f(e))throw new I("geometry is required.");if(!f(e.attributes.position))throw new I("geometry.attributes.position is required.");if(!f(e.attributes[t]))throw new I(`geometry.attributes must have an attribute with the same name as the attributeName parameter, ${t}.`);r=r??1e4;let i=e.attributes.position.values,n=e.attributes[t].values,o=i.length,s=new Float64Array(2*o),a=0;for(let e=0;e<o;e+=3)s[a++]=i[e],s[a++]=i[e+1],s[a++]=i[e+2],s[a++]=i[e]+n[e]*r,s[a++]=i[e+1]+n[e+1]*r,s[a++]=i[e+2]+n[e+2]*r;let u,l=e.boundingSphere;return f(l)&&(u=new ot(l.center,l.radius+r)),new B({attributes:{position:new U({componentDatatype:F.DOUBLE,componentsPerAttribute:3,values:s})},primitiveType:D.LINES,boundingSphere:u})},k.createAttributeLocations=function(e){if(!f(e))throw new I("geometry is required.");let t,r=["position","positionHigh","positionLow","position3DHigh","position3DLow","position2DHigh","position2DLow","pickColor","normal","st","tangent","bitangent","extrudeDirection","compressedAttributes"],i=e.attributes,n={},o=0,s=r.length;for(t=0;t<s;++t){let e=r[t];f(i[e])&&(n[e]=o++)}for(let e in i)i.hasOwnProperty(e)&&!f(n[e])&&(n[e]=o++);return n},k.reorderForPreVertexCache=function(e){if(!f(e))throw new I("geometry is required.");let t=B.computeNumberOfVertices(e),r=e.indices;if(f(r)){let i=new Int32Array(t);for(let e=0;e<t;e++)i[e]=-1;let n,o=r,s=o.length,a=j.createTypedArray(t,s),u=0,l=0,p=0;for(;u<s;)n=i[o[u]],-1!==n?a[l]=n:(n=o[u],i[n]=p,a[l]=p,++p),++u,++l;e.indices=a;let c=e.attributes;for(let e in c)if(c.hasOwnProperty(e)&&f(c[e])&&f(c[e].values)){let r=c[e],n=r.values,o=0,s=r.componentsPerAttribute,a=F.createTypedArray(r.componentDatatype,p*s);for(;o<t;){let e=i[o];if(-1!==e)for(let t=0;t<s;t++)a[s*e+t]=n[s*o+t];++o}r.values=a}}return e},k.reorderForPostVertexCache=function(e,t){if(!f(e))throw new I("geometry is required.");let r=e.indices;if(e.primitiveType===D.TRIANGLES&&f(r)){let i=r.length,n=0;for(let e=0;e<i;e++)r[e]>n&&(n=r[e]);e.indices=Wt.tipsify({indices:r,maximumIndex:n,cacheSize:t})}return e},k.fitToUnsignedShortIndices=function(e){if(!f(e))throw new I("geometry is required.");if(f(e.indices)&&e.primitiveType!==D.TRIANGLES&&e.primitiveType!==D.LINES&&e.primitiveType!==D.POINTS)throw new I("geometry.primitiveType must equal to PrimitiveType.TRIANGLES, PrimitiveType.LINES, or PrimitiveType.POINTS.");let t=[],r=B.computeNumberOfVertices(e);if(f(e.indices)&&r>=N.SIXTY_FOUR_KILOBYTES){let r,i=[],n=[],o=0,s=$t(e.attributes),a=e.indices,u=a.length;e.primitiveType===D.TRIANGLES?r=3:e.primitiveType===D.LINES?r=2:e.primitiveType===D.POINTS&&(r=1);for(let l=0;l<u;l+=r){for(let t=0;t<r;++t){let r=a[l+t],u=i[r];f(u)||(u=o++,i[r]=u,be(s,e.attributes,r)),n.push(u)}o+r>=N.SIXTY_FOUR_KILOBYTES&&(t.push(new B({attributes:s,indices:n,primitiveType:e.primitiveType,boundingSphere:e.boundingSphere,boundingSphereCV:e.boundingSphereCV})),i=[],n=[],o=0,s=$t(e.attributes))}0!==n.length&&t.push(new B({attributes:s,indices:n,primitiveType:e.primitiveType,boundingSphere:e.boundingSphere,boundingSphereCV:e.boundingSphereCV}))}else t.push(e);return t};var Jt=new r,we=new Mt;k.projectTo2D=function(e,t,i,n,o){if(!f(e))throw new I("geometry is required.");if(!f(t))throw new I("attributeName is required.");if(!f(i))throw new I("attributeName3D is required.");if(!f(n))throw new I("attributeName2D is required.");if(!f(e.attributes[t]))throw new I(`geometry must have attribute matching the attributeName argument: ${t}.`);if(e.attributes[t].componentDatatype!==F.DOUBLE)throw new I("The attribute componentDatatype must be ComponentDatatype.DOUBLE.");let s=e.attributes[t],a=(o=f(o)?o:new _t).ellipsoid,u=s.values,l=new Float64Array(u.length),p=0;for(let e=0;e<u.length;e+=3){let t=r.fromArray(u,e,Jt),i=a.cartesianToCartographic(t,we);if(!f(i))throw new I(`Could not project point (${t.x}, ${t.y}, ${t.z}) to 2D.`);let n=o.project(i,Jt);l[p++]=n.x,l[p++]=n.y,l[p++]=n.z}return e.attributes[i]=s,e.attributes[n]=new U({componentDatatype:F.DOUBLE,componentsPerAttribute:3,values:l}),delete e.attributes[t],e};var zt={high:0,low:0};k.encodeAttribute=function(e,t,r,i){if(!f(e))throw new I("geometry is required.");if(!f(t))throw new I("attributeName is required.");if(!f(r))throw new I("attributeHighName is required.");if(!f(i))throw new I("attributeLowName is required.");if(!f(e.attributes[t]))throw new I(`geometry must have attribute matching the attributeName argument: ${t}.`);if(e.attributes[t].componentDatatype!==F.DOUBLE)throw new I("The attribute componentDatatype must be ComponentDatatype.DOUBLE.");let n=e.attributes[t],o=n.values,s=o.length,a=new Float32Array(s),u=new Float32Array(s);for(let e=0;e<s;++e)jt.encode(o[e],zt),a[e]=zt.high,u[e]=zt.low;let l=n.componentsPerAttribute;return e.attributes[r]=new U({componentDatatype:F.FLOAT,componentsPerAttribute:l,values:a}),e.attributes[i]=new U({componentDatatype:F.FLOAT,componentsPerAttribute:l,values:u}),delete e.attributes[t],e};var $=new r;function Dt(e,t){if(f(t)){let i=t.values,n=i.length;for(let t=0;t<n;t+=3)r.unpack(i,t,$),H.multiplyByPoint(e,$,$),r.pack($,i,t)}}function qt(e,t){if(f(t)){let i=t.values,n=i.length;for(let t=0;t<n;t+=3)r.unpack(i,t,$),gt.multiplyByVector(e,$,$),$=r.normalize($,$),r.pack($,i,t)}}var wt=new H,vt=new gt;function ve(e,t){let r,i=e.length,n={},o=e[0][t].attributes;for(r in o)if(o.hasOwnProperty(r)&&f(o[r])&&f(o[r].values)){let s=o[r],a=s.values.length,u=!0;for(let n=1;n<i;++n){let i=e[n][t].attributes[r];if(!f(i)||s.componentDatatype!==i.componentDatatype||s.componentsPerAttribute!==i.componentsPerAttribute||s.normalize!==i.normalize){u=!1;break}a+=i.values.length}u&&(n[r]=new U({componentDatatype:s.componentDatatype,componentsPerAttribute:s.componentsPerAttribute,normalize:s.normalize,values:F.createTypedArray(s.componentDatatype,a)}))}return n}k.transformToWorldCoordinates=function(e){if(!f(e))throw new I("instance is required.");let t=e.modelMatrix;if(H.equals(t,H.IDENTITY))return e;let r=e.geometry.attributes;Dt(t,r.position),Dt(t,r.prevPosition),Dt(t,r.nextPosition),(f(r.normal)||f(r.tangent)||f(r.bitangent))&&(H.inverse(t,wt),H.transpose(wt,wt),H.getMatrix3(wt,vt),qt(vt,r.normal),qt(vt,r.tangent),qt(vt,r.bitangent));let i=e.geometry.boundingSphere;return f(i)&&(e.geometry.boundingSphere=ot.transform(i,t,i)),e.modelMatrix=H.clone(H.IDENTITY),e};var ye=new r;function Rt(e,t){let i,n,o,s,a=e.length,u=e[0].modelMatrix,l=f(e[0][t].indices),p=e[0][t].primitiveType;for(n=1;n<a;++n){if(!H.equals(e[n].modelMatrix,u))throw new I("All instances must have the same modelMatrix.");if(f(e[n][t].indices)!==l)throw new I("All instance geometries must have an indices or not have one.");if(e[n][t].primitiveType!==p)throw new I("All instance geometries must have the same primitiveType.")}let c,m,y,h,d=ve(e,t);for(i in d)if(d.hasOwnProperty(i))for(c=d[i].values,s=0,n=0;n<a;++n)for(m=e[n][t].attributes[i].values,y=m.length,o=0;o<y;++o)c[s++]=m[o];if(l){let r=0;for(n=0;n<a;++n)r+=e[n][t].indices.length;let i=B.computeNumberOfVertices(new B({attributes:d,primitiveType:D.POINTS})),o=j.createTypedArray(i,r),u=0,l=0;for(n=0;n<a;++n){let r=e[n][t].indices,i=r.length;for(s=0;s<i;++s)o[u++]=l+r[s];l+=B.computeNumberOfVertices(e[n][t])}h=o}let v,b=new r,w=0;for(n=0;n<a;++n){if(v=e[n][t].boundingSphere,!f(v)){b=void 0;break}r.add(v.center,b,b)}if(f(b))for(r.divideByScalar(b,a,b),n=0;n<a;++n){v=e[n][t].boundingSphere;let i=r.magnitude(r.subtract(v.center,b,ye))+v.radius;i>w&&(w=i)}return new B({attributes:d,indices:h,primitiveType:p,boundingSphere:f(b)?new ot(b,w):void 0})}k.combineInstances=function(e){if(!f(e)||e.length<1)throw new I("instances is required and must have length greater than zero.");let t=[],r=[],i=e.length;for(let n=0;n<i;++n){let i=e[n];f(i.geometry)?t.push(i):f(i.westHemisphereGeometry)&&f(i.eastHemisphereGeometry)&&r.push(i)}let n=[];return t.length>0&&n.push(Rt(t,"geometry")),r.length>0&&(n.push(Rt(r,"westHemisphereGeometry")),n.push(Rt(r,"eastHemisphereGeometry"))),n};var Z=new r,mt=new r,rt=new r,ct=new r;k.computeNormal=function(e){if(!f(e))throw new I("geometry is required.");if(!f(e.attributes.position)||!f(e.attributes.position.values))throw new I("geometry.attributes.position.values is required.");if(!f(e.indices))throw new I("geometry.indices is required.");if(e.indices.length<2||e.indices.length%3!=0)throw new I("geometry.indices length must be greater than 0 and be a multiple of 3.");if(e.primitiveType!==D.TRIANGLES)throw new I("geometry.primitiveType must be PrimitiveType.TRIANGLES.");let t,i=e.indices,n=e.attributes,o=n.position.values,s=n.position.values.length/3,a=i.length,u=new Array(s),l=new Array(a/3),p=new Array(a);for(t=0;t<s;t++)u[t]={indexOffset:0,count:0,currentCount:0};let c=0;for(t=0;t<a;t+=3){let e=i[t],n=i[t+1],s=i[t+2],a=3*e,f=3*n,p=3*s;mt.x=o[a],mt.y=o[a+1],mt.z=o[a+2],rt.x=o[f],rt.y=o[f+1],rt.z=o[f+2],ct.x=o[p],ct.y=o[p+1],ct.z=o[p+2],u[e].count++,u[n].count++,u[s].count++,r.subtract(rt,mt,rt),r.subtract(ct,mt,ct),l[c]=r.cross(rt,ct,new r),c++}let m,y=0;for(t=0;t<s;t++)u[t].indexOffset+=y,y+=u[t].count;for(c=0,t=0;t<a;t+=3){m=u[i[t]];let e=m.indexOffset+m.currentCount;p[e]=c,m.currentCount++,m=u[i[t+1]],e=m.indexOffset+m.currentCount,p[e]=c,m.currentCount++,m=u[i[t+2]],e=m.indexOffset+m.currentCount,p[e]=c,m.currentCount++,c++}let h=new Float32Array(3*s);for(t=0;t<s;t++){let e=3*t;if(m=u[t],r.clone(r.ZERO,Z),m.count>0){for(c=0;c<m.count;c++)r.add(Z,l[p[m.indexOffset+c]],Z);r.equalsEpsilon(r.ZERO,Z,N.EPSILON10)&&r.clone(l[p[m.indexOffset]],Z)}r.equalsEpsilon(r.ZERO,Z,N.EPSILON10)&&(Z.z=1),r.normalize(Z,Z),h[e]=Z.x,h[e+1]=Z.y,h[e+2]=Z.z}return e.attributes.normal=new U({componentDatatype:F.FLOAT,componentsPerAttribute:3,values:h}),e};var xe=new r,Kt=new r,Te=new r;k.computeTangentAndBitangent=function(e){if(!f(e))throw new I("geometry is required.");let t=e.attributes,i=e.indices;if(!f(t.position)||!f(t.position.values))throw new I("geometry.attributes.position.values is required.");if(!f(t.normal)||!f(t.normal.values))throw new I("geometry.attributes.normal.values is required.");if(!f(t.st)||!f(t.st.values))throw new I("geometry.attributes.st.values is required.");if(!f(i))throw new I("geometry.indices is required.");if(i.length<2||i.length%3!=0)throw new I("geometry.indices length must be greater than 0 and be a multiple of 3.");if(e.primitiveType!==D.TRIANGLES)throw new I("geometry.primitiveType must be PrimitiveType.TRIANGLES.");let n,o,s,a,u=e.attributes.position.values,l=e.attributes.normal.values,p=e.attributes.st.values,c=e.attributes.position.values.length/3,m=i.length,y=new Array(3*c);for(n=0;n<y.length;n++)y[n]=0;for(n=0;n<m;n+=3){let e=i[n],t=i[n+1],r=i[n+2];o=3*e,s=3*t,a=3*r;let l=2*e,f=2*t,c=2*r,m=u[o],h=u[o+1],d=u[o+2],v=p[l],b=p[l+1],w=p[f+1]-b,g=p[c+1]-b,I=1/((p[f]-v)*g-(p[c]-v)*w),T=(g*(u[s]-m)-w*(u[a]-m))*I,A=(g*(u[s+1]-h)-w*(u[a+1]-h))*I,N=(g*(u[s+2]-d)-w*(u[a+2]-d))*I;y[o]+=T,y[o+1]+=A,y[o+2]+=N,y[s]+=T,y[s+1]+=A,y[s+2]+=N,y[a]+=T,y[a+1]+=A,y[a+2]+=N}let h=new Float32Array(3*c),d=new Float32Array(3*c);for(n=0;n<c;n++){o=3*n,s=o+1,a=o+2;let e=r.fromArray(l,o,xe),t=r.fromArray(y,o,Te),i=r.dot(e,t);r.multiplyByScalar(e,i,Kt),r.normalize(r.subtract(t,Kt,t),t),h[o]=t.x,h[s]=t.y,h[a]=t.z,r.normalize(r.cross(e,t,t),t),d[o]=t.x,d[s]=t.y,d[a]=t.z}return e.attributes.tangent=new U({componentDatatype:F.FLOAT,componentsPerAttribute:3,values:h}),e.attributes.bitangent=new U({componentDatatype:F.FLOAT,componentsPerAttribute:3,values:d}),e};var ht=new V,W=new r,Qt=new r,te=new r,yt=new V;function Ae(e){if(f(e.indices))return e;let t=B.computeNumberOfVertices(e);if(t<3)throw new I("The number of vertices must be at least three.");if(t%3!=0)throw new I("The number of vertices must be a multiple of three.");let r=j.createTypedArray(t,t);for(let e=0;e<t;++e)r[e]=e;return e.indices=r,e}function Ie(e){let t=B.computeNumberOfVertices(e);if(t<3)throw new I("The number of vertices must be at least three.");let r=j.createTypedArray(t,3*(t-2));r[0]=1,r[1]=0,r[2]=2;let i=3;for(let e=3;e<t;++e)r[i++]=e-1,r[i++]=0,r[i++]=e;return e.indices=r,e.primitiveType=D.TRIANGLES,e}function Se(e){let t=B.computeNumberOfVertices(e);if(t<3)throw new I("The number of vertices must be at least 3.");let r=j.createTypedArray(t,3*(t-2));r[0]=0,r[1]=1,r[2]=2,t>3&&(r[3]=0,r[4]=2,r[5]=3);let i=6;for(let e=3;e<t-1;e+=2)r[i++]=e,r[i++]=e-1,r[i++]=e+1,e+2<t&&(r[i++]=e,r[i++]=e+1,r[i++]=e+2);return e.indices=r,e.primitiveType=D.TRIANGLES,e}function Pe(e){if(f(e.indices))return e;let t=B.computeNumberOfVertices(e);if(t<2)throw new I("The number of vertices must be at least two.");if(t%2!=0)throw new I("The number of vertices must be a multiple of 2.");let r=j.createTypedArray(t,t);for(let e=0;e<t;++e)r[e]=e;return e.indices=r,e}function ge(e){let t=B.computeNumberOfVertices(e);if(t<2)throw new I("The number of vertices must be at least two.");let r=j.createTypedArray(t,2*(t-1));r[0]=0,r[1]=1;let i=2;for(let e=2;e<t;++e)r[i++]=e-1,r[i++]=e;return e.indices=r,e.primitiveType=D.LINES,e}function Oe(e){let t=B.computeNumberOfVertices(e);if(t<2)throw new I("The number of vertices must be at least two.");let r=j.createTypedArray(t,2*t);r[0]=0,r[1]=1;let i=2;for(let e=2;e<t;++e)r[i++]=e-1,r[i++]=e;return r[i++]=t-1,r[i]=0,e.indices=r,e.primitiveType=D.LINES,e}function Le(e){switch(e.primitiveType){case D.TRIANGLE_FAN:return Ie(e);case D.TRIANGLE_STRIP:return Se(e);case D.TRIANGLES:return Ae(e);case D.LINE_STRIP:return ge(e);case D.LINE_LOOP:return Oe(e);case D.LINES:return Pe(e)}return e}function Q(e,t){Math.abs(e.y)<N.EPSILON6&&(e.y=t?-N.EPSILON6:N.EPSILON6)}function Ee(e,t,r){if(0!==e.y&&0!==t.y&&0!==r.y)return Q(e,e.y<0),Q(t,t.y<0),void Q(r,r.y<0);let i,n=Math.abs(e.y),o=Math.abs(t.y),s=Math.abs(r.y);i=n>o?n>s?N.sign(e.y):N.sign(r.y):o>s?N.sign(t.y):N.sign(r.y);let a=i<0;Q(e,a),Q(t,a),Q(r,a)}k.compressVertices=function(e){if(!f(e))throw new I("geometry is required.");let t,i,n=e.attributes.extrudeDirection;if(f(n)){let o=n.values;i=o.length/3;let s=new Float32Array(2*i),a=0;for(t=0;t<i;++t)r.fromArray(o,3*t,W),r.equals(W,r.ZERO)?a+=2:(yt=tt.octEncodeInRange(W,65535,yt),s[a++]=yt.x,s[a++]=yt.y);return e.attributes.compressedAttributes=new U({componentDatatype:F.FLOAT,componentsPerAttribute:2,values:s}),delete e.attributes.extrudeDirection,e}let o=e.attributes.normal,s=e.attributes.st,a=f(o),u=f(s);if(!a&&!u)return e;let l,p,c,m,y=e.attributes.tangent,h=e.attributes.bitangent,d=f(y),v=f(h);a&&(l=o.values),u&&(p=s.values),d&&(c=y.values),v&&(m=h.values),i=(a?l.length:p.length)/(a?3:2);let b=i,w=u&&a?2:1;w+=d||v?1:0,b*=w;let g=new Float32Array(b),T=0;for(t=0;t<i;++t){u&&(V.fromArray(p,2*t,ht),g[T++]=tt.compressTextureCoordinates(ht));let e=3*t;a&&f(c)&&f(m)?(r.fromArray(l,e,W),r.fromArray(c,e,Qt),r.fromArray(m,e,te),tt.octPack(W,Qt,te,ht),g[T++]=ht.x,g[T++]=ht.y):(a&&(r.fromArray(l,e,W),g[T++]=tt.octEncodeFloat(W)),d&&(r.fromArray(c,e,W),g[T++]=tt.octEncodeFloat(W)),v&&(r.fromArray(m,e,W),g[T++]=tt.octEncodeFloat(W)))}return e.attributes.compressedAttributes=new U({componentDatatype:F.FLOAT,componentsPerAttribute:w,values:g}),a&&delete e.attributes.normal,u&&delete e.attributes.st,v&&delete e.attributes.bitangent,d&&delete e.attributes.tangent,e};var ee=new r;function X(e,t,i,n){r.add(e,r.multiplyByScalar(r.subtract(t,e,ee),e.y/(e.y-t.y),ee),i),r.clone(i,n),Q(i,!0),Q(n,!1)}var et=new r,nt=new r,it=new r,st=new r,Vt={positions:new Array(7),indices:new Array(9)};function Ne(e,t,r){if(e.x>=0||t.x>=0||r.x>=0)return;Ee(e,t,r);let i=e.y<0,n=t.y<0,o=r.y<0,s=0;s+=i?1:0,s+=n?1:0,s+=o?1:0;let a=Vt.indices;1===s?(a[1]=3,a[2]=4,a[5]=6,a[7]=6,a[8]=5,i?(X(e,t,et,it),X(e,r,nt,st),a[0]=0,a[3]=1,a[4]=2,a[6]=1):n?(X(t,r,et,it),X(t,e,nt,st),a[0]=1,a[3]=2,a[4]=0,a[6]=2):o&&(X(r,e,et,it),X(r,t,nt,st),a[0]=2,a[3]=0,a[4]=1,a[6]=0)):2===s&&(a[2]=4,a[4]=4,a[5]=3,a[7]=5,a[8]=6,i?n?o||(X(r,e,et,it),X(r,t,nt,st),a[0]=0,a[1]=1,a[3]=0,a[6]=2):(X(t,r,et,it),X(t,e,nt,st),a[0]=2,a[1]=0,a[3]=2,a[6]=1):(X(e,t,et,it),X(e,r,nt,st),a[0]=1,a[1]=2,a[3]=1,a[6]=0));let u=Vt.positions;return u[0]=e,u[1]=t,u[2]=r,u.length=3,(1===s||2===s)&&(u[3]=et,u[4]=nt,u[5]=it,u[6]=st,u.length=7),Vt}function ne(e,t){let r=e.attributes;if(0===r.position.values.length)return;for(let e in r)if(r.hasOwnProperty(e)&&f(r[e])&&f(r[e].values)){let t=r[e];t.values=F.createTypedArray(t.componentDatatype,t.values)}let i=B.computeNumberOfVertices(e);return e.indices=j.createTypedArray(i,e.indices),t&&(e.boundingSphere=ot.fromVertices(r.position.values)),e}function ut(e){let t=e.attributes,r={};for(let e in t)if(t.hasOwnProperty(e)&&f(t[e])&&f(t[e].values)){let i=t[e];r[e]=new U({componentDatatype:i.componentDatatype,componentsPerAttribute:i.componentsPerAttribute,normalize:i.normalize,values:[]})}return new B({attributes:r,indices:[],primitiveType:e.primitiveType})}function Ft(e,t,r){let i=f(e.geometry.boundingSphere);t=ne(t,i),r=ne(r,i),f(r)&&!f(t)?e.geometry=r:!f(r)&&f(t)?e.geometry=t:(e.westHemisphereGeometry=t,e.eastHemisphereGeometry=r,e.geometry=void 0)}function kt(e,t){let r=new e,i=new e,n=new e;return function(o,s,a,u,l,f,p,c){let m=e.fromArray(l,o*t,r),y=e.fromArray(l,s*t,i),h=e.fromArray(l,a*t,n);e.multiplyByScalar(m,u.x,m),e.multiplyByScalar(y,u.y,y),e.multiplyByScalar(h,u.z,h);let d=e.add(m,y,m);e.add(d,h,d),c&&e.normalize(d,d),e.pack(d,f,p*t)}}var ze=kt(pt,4),At=kt(r,3),ae=kt(V,2),De=function(e,t,r,i,n,o,s){let a=n[e]*i.x,u=n[t]*i.y,l=n[r]*i.z;o[s]=a+u+l>N.EPSILON6?1:0},bt=new r,Gt=new r,Ct=new r,qe=new r;function xt(e,t,i,n,o,s,a,u,l,p,c,m,y,h,d,v){if(!(f(s)||f(a)||f(u)||f(l)||f(p)||0!==h))return;let b=r.fromArray(o,3*e,bt),w=r.fromArray(o,3*t,Gt),g=r.fromArray(o,3*i,Ct),I=Ht(n,b,w,g,qe);if(f(I)){if(f(s)&&At(e,t,i,I,s,m.normal.values,v,!0),f(p)){let n,o=r.fromArray(p,3*e,bt),s=r.fromArray(p,3*t,Gt),a=r.fromArray(p,3*i,Ct);r.multiplyByScalar(o,I.x,o),r.multiplyByScalar(s,I.y,s),r.multiplyByScalar(a,I.z,a),r.equals(o,r.ZERO)&&r.equals(s,r.ZERO)&&r.equals(a,r.ZERO)?(n=bt,n.x=0,n.y=0,n.z=0):(n=r.add(o,s,o),r.add(n,a,n),r.normalize(n,n)),r.pack(n,m.extrudeDirection.values,3*v)}if(f(c)&&De(e,t,i,I,c,m.applyOffset.values,v),f(a)&&At(e,t,i,I,a,m.tangent.values,v,!0),f(u)&&At(e,t,i,I,u,m.bitangent.values,v,!0),f(l)&&ae(e,t,i,I,l,m.st.values,v),h>0)for(let r=0;r<h;r++){let n=y[r];Re(e,t,i,I,v,d[n],m[n])}}}function Re(e,t,r,i,n,o,s){let a=o.componentsPerAttribute,u=o.values,l=s.values;switch(a){case 4:ze(e,t,r,i,u,l,n,!1);break;case 3:At(e,t,r,i,u,l,n,!1);break;case 2:ae(e,t,r,i,u,l,n,!1);break;default:l[n]=u[e]*i.x+u[t]*i.y+u[r]*i.z}}function K(e,t,r,i,n,o){let s=e.position.values.length/3;if(-1!==n){let a=i[n],u=r[a];return-1===u?(r[a]=s,e.position.values.push(o.x,o.y,o.z),t.push(s),s):(t.push(u),u)}return e.position.values.push(o.x,o.y,o.z),t.push(s),s}var Ve={position:!0,normal:!0,bitangent:!0,tangent:!0,st:!0,extrudeDirection:!0,applyOffset:!0};function ie(e){let t=e.geometry,i=t.attributes,n=i.position.values,o=f(i.normal)?i.normal.values:void 0,s=f(i.bitangent)?i.bitangent.values:void 0,a=f(i.tangent)?i.tangent.values:void 0,u=f(i.st)?i.st.values:void 0,l=f(i.extrudeDirection)?i.extrudeDirection.values:void 0,p=f(i.applyOffset)?i.applyOffset.values:void 0,c=t.indices,m=[];for(let e in i)i.hasOwnProperty(e)&&!Ve[e]&&f(i[e])&&m.push(e);let y,h,d,v,b,w=m.length,g=ut(t),I=ut(t),T=[];T.length=n.length/3;let A=[];for(A.length=n.length/3,b=0;b<T.length;++b)T[b]=-1,A[b]=-1;let N=c.length;for(b=0;b<N;b+=3){let e=c[b],t=c[b+1],N=c[b+2],x=r.fromArray(n,3*e),S=r.fromArray(n,3*t),P=r.fromArray(n,3*N),E=Ne(x,S,P);if(f(E)&&E.positions.length>3){let r=E.positions,f=E.indices,x=f.length;for(let S=0;S<x;++S){let x=f[S],P=r[x];P.y<0?(y=I.attributes,h=I.indices,d=T):(y=g.attributes,h=g.indices,d=A),v=K(y,h,d,c,x<3?b+x:-1,P),xt(e,t,N,P,n,o,a,s,u,l,p,y,m,w,i,v)}}else f(E)&&(x=E.positions[0],S=E.positions[1],P=E.positions[2]),x.y<0?(y=I.attributes,h=I.indices,d=T):(y=g.attributes,h=g.indices,d=A),v=K(y,h,d,c,b,x),xt(e,t,N,x,n,o,a,s,u,l,p,y,m,w,i,v),v=K(y,h,d,c,b+1,S),xt(e,t,N,S,n,o,a,s,u,l,p,y,m,w,i,v),v=K(y,h,d,c,b+2,P),xt(e,t,N,P,n,o,a,s,u,l,p,y,m,w,i,v)}Ft(e,I,g)}var ue=Et.fromPointNormal(r.ZERO,r.UNIT_Y),Ge=new r,Ce=new r;function at(e,t,i,n,o,s,a){if(!f(a))return;let u=r.fromArray(n,3*e,bt);r.equalsEpsilon(u,i,N.EPSILON10)?s.applyOffset.values[o]=a[e]:s.applyOffset.values[o]=a[t]}function se(e){let t,i=e.geometry,n=i.attributes,o=n.position.values,s=f(n.applyOffset)?n.applyOffset.values:void 0,a=i.indices,u=ut(i),l=ut(i),p=a.length,c=[];c.length=o.length/3;let m=[];for(m.length=o.length/3,t=0;t<c.length;++t)c[t]=-1,m[t]=-1;for(t=0;t<p;t+=2){let e,i=a[t],n=a[t+1],p=r.fromArray(o,3*i,bt),y=r.fromArray(o,3*n,Gt);Math.abs(p.y)<N.EPSILON6&&(p.y<0?p.y=-N.EPSILON6:p.y=N.EPSILON6),Math.abs(y.y)<N.EPSILON6&&(y.y<0?y.y=-N.EPSILON6:y.y=N.EPSILON6);let h=u.attributes,d=u.indices,v=m,b=l.attributes,w=l.indices,g=c,I=Lt.lineSegmentPlane(p,y,ue,Ct);if(f(I)){let f=r.multiplyByScalar(r.UNIT_Y,5*N.EPSILON9,Ge);p.y<0&&(r.negate(f,f),h=l.attributes,d=l.indices,v=c,b=u.attributes,w=u.indices,g=m);let T=r.add(I,f,Ce);e=K(h,d,v,a,t,p),at(i,n,p,o,e,h,s),e=K(h,d,v,a,-1,T),at(i,n,T,o,e,h,s),r.negate(f,f),r.add(I,f,T),e=K(b,w,g,a,-1,T),at(i,n,T,o,e,b,s),e=K(b,w,g,a,t+1,y),at(i,n,y,o,e,b,s)}else{let r,f,h;p.y<0?(r=l.attributes,f=l.indices,h=c):(r=u.attributes,f=u.indices,h=m),e=K(r,f,h,a,t,p),at(i,n,p,o,e,r,s),e=K(r,f,h,a,t+1,y),at(i,n,y,o,e,r,s)}}Ft(e,l,u)}var oe=new V,Be=new V,le=new r,fe=new r,Bt=new r,Fe=new r,ke=new r,Me=new r,re=new pt;function ce(e){let t=e.attributes,i=t.position.values,n=t.prevPosition.values,o=t.nextPosition.values,s=i.length;for(let e=0;e<s;e+=3){let t=r.unpack(i,e,le);if(t.x>0)continue;let a=r.unpack(n,e,fe);(t.y<0&&a.y>0||t.y>0&&a.y<0)&&(e-3>0?(n[e]=i[e-3],n[e+1]=i[e-2],n[e+2]=i[e-1]):r.pack(t,n,e));let u=r.unpack(o,e,Bt);(t.y<0&&u.y>0||t.y>0&&u.y<0)&&(e+3<s?(o[e]=i[e+3],o[e+1]=i[e+4],o[e+2]=i[e+5]):r.pack(t,o,e))}}var _e=5*N.EPSILON9,Tt=N.EPSILON6;function Ue(e){let t,i,n,o=e.geometry,s=o.attributes,a=s.position.values,u=s.prevPosition.values,l=s.nextPosition.values,p=s.expandAndWidth.values,c=f(s.st)?s.st.values:void 0,m=f(s.color)?s.color.values:void 0,y=ut(o),h=ut(o),d=!1,v=a.length/3;for(t=0;t<v;t+=4){let e=t,o=t+2,s=r.fromArray(a,3*e,le),v=r.fromArray(a,3*o,fe);if(Math.abs(s.y)<Tt)for(s.y=Tt*(v.y<0?-1:1),a[3*t+1]=s.y,a[3*(t+1)+1]=s.y,i=3*e;i<3*e+12;i+=3)u[i]=a[3*t],u[i+1]=a[3*t+1],u[i+2]=a[3*t+2];if(Math.abs(v.y)<Tt)for(v.y=Tt*(s.y<0?-1:1),a[3*(t+2)+1]=v.y,a[3*(t+3)+1]=v.y,i=3*e;i<3*e+12;i+=3)l[i]=a[3*(t+2)],l[i+1]=a[3*(t+2)+1],l[i+2]=a[3*(t+2)+2];let b=y.attributes,w=y.indices,g=h.attributes,I=h.indices,T=Lt.lineSegmentPlane(s,v,ue,Fe);if(f(T)){d=!0;let a=r.multiplyByScalar(r.UNIT_Y,_e,ke);s.y<0&&(r.negate(a,a),b=h.attributes,w=h.indices,g=y.attributes,I=y.indices);let A=r.add(T,a,Me);b.position.values.push(s.x,s.y,s.z,s.x,s.y,s.z),b.position.values.push(A.x,A.y,A.z),b.position.values.push(A.x,A.y,A.z),b.prevPosition.values.push(u[3*e],u[3*e+1],u[3*e+2]),b.prevPosition.values.push(u[3*e+3],u[3*e+4],u[3*e+5]),b.prevPosition.values.push(s.x,s.y,s.z,s.x,s.y,s.z),b.nextPosition.values.push(A.x,A.y,A.z),b.nextPosition.values.push(A.x,A.y,A.z),b.nextPosition.values.push(A.x,A.y,A.z),b.nextPosition.values.push(A.x,A.y,A.z),r.negate(a,a),r.add(T,a,A),g.position.values.push(A.x,A.y,A.z),g.position.values.push(A.x,A.y,A.z),g.position.values.push(v.x,v.y,v.z,v.x,v.y,v.z),g.prevPosition.values.push(A.x,A.y,A.z),g.prevPosition.values.push(A.x,A.y,A.z),g.prevPosition.values.push(A.x,A.y,A.z),g.prevPosition.values.push(A.x,A.y,A.z),g.nextPosition.values.push(v.x,v.y,v.z,v.x,v.y,v.z),g.nextPosition.values.push(l[3*o],l[3*o+1],l[3*o+2]),g.nextPosition.values.push(l[3*o+3],l[3*o+4],l[3*o+5]);let x=V.fromArray(p,2*e,oe),S=Math.abs(x.y);b.expandAndWidth.values.push(-1,S,1,S),b.expandAndWidth.values.push(-1,-S,1,-S),g.expandAndWidth.values.push(-1,S,1,S),g.expandAndWidth.values.push(-1,-S,1,-S);let P=r.magnitudeSquared(r.subtract(T,s,Bt));if(P/=r.magnitudeSquared(r.subtract(v,s,Bt)),f(m)){let t=pt.fromArray(m,4*e,re),r=pt.fromArray(m,4*o,re),n=N.lerp(t.x,r.x,P),s=N.lerp(t.y,r.y,P),a=N.lerp(t.z,r.z,P),u=N.lerp(t.w,r.w,P);for(i=4*e;i<4*e+8;++i)b.color.values.push(m[i]);for(b.color.values.push(n,s,a,u),b.color.values.push(n,s,a,u),g.color.values.push(n,s,a,u),g.color.values.push(n,s,a,u),i=4*o;i<4*o+8;++i)g.color.values.push(m[i])}if(f(c)){let r=V.fromArray(c,2*e,oe),n=V.fromArray(c,2*(t+3),Be),s=N.lerp(r.x,n.x,P);for(i=2*e;i<2*e+4;++i)b.st.values.push(c[i]);for(b.st.values.push(s,r.y),b.st.values.push(s,n.y),g.st.values.push(s,r.y),g.st.values.push(s,n.y),i=2*o;i<2*o+4;++i)g.st.values.push(c[i])}n=b.position.values.length/3-4,w.push(n,n+2,n+1),w.push(n+1,n+2,n+3),n=g.position.values.length/3-4,I.push(n,n+2,n+1),I.push(n+1,n+2,n+3)}else{let e,r;for(s.y<0?(e=h.attributes,r=h.indices):(e=y.attributes,r=y.indices),e.position.values.push(s.x,s.y,s.z),e.position.values.push(s.x,s.y,s.z),e.position.values.push(v.x,v.y,v.z),e.position.values.push(v.x,v.y,v.z),i=3*t;i<3*t+12;++i)e.prevPosition.values.push(u[i]),e.nextPosition.values.push(l[i]);for(i=2*t;i<2*t+8;++i)e.expandAndWidth.values.push(p[i]),f(c)&&e.st.values.push(c[i]);if(f(m))for(i=4*t;i<4*t+16;++i)e.color.values.push(m[i]);n=e.position.values.length/3-4,r.push(n,n+2,n+1),r.push(n+1,n+2,n+3)}}d&&(ce(h),ce(y)),Ft(e,h,y)}k.splitLongitude=function(e){if(!f(e))throw new I("instance is required.");let t=e.geometry,r=t.boundingSphere;if(f(r)&&(r.center.x-r.radius>0||ot.intersectPlane(r,Et.ORIGIN_ZX_PLANE)!==Ut.INTERSECTING))return e;if(t.geometryType!==dt.NONE)switch(t.geometryType){case dt.POLYLINES:Ue(e);break;case dt.TRIANGLES:ie(e);break;case dt.LINES:se(e)}else Le(t),t.primitiveType===D.TRIANGLES?ie(e):t.primitiveType===D.LINES&&se(e);return e};var Pn=k;export{Pn as a};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
+
* Version 1.135.0
|
|
5
|
+
*
|
|
6
|
+
* Copyright 2011-2022 Cesium Contributors
|
|
7
|
+
*
|
|
8
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
9
|
+
* you may not use this file except in compliance with the License.
|
|
10
|
+
* You may obtain a copy of the License at
|
|
11
|
+
*
|
|
12
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
13
|
+
*
|
|
14
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
15
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
16
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
17
|
+
* See the License for the specific language governing permissions and
|
|
18
|
+
* limitations under the License.
|
|
19
|
+
*
|
|
20
|
+
* Columbus View (Pat. Pend.)
|
|
21
|
+
*
|
|
22
|
+
* Portions licensed separately.
|
|
23
|
+
* See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
|
|
24
|
+
*/
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! For license information please see chunk-3WSHJXU2.js.LICENSE.txt */
|
|
2
|
+
import{a as R}from"./chunk-OXJ2LJUE.js";import{a as ct}from"./chunk-3BSRJTW3.js";import{a as Z,b as H}from"./chunk-IYO6TYGP.js";import{a as V}from"./chunk-AZLP5742.js";import{a as U}from"./chunk-5HPISDSZ.js";import{b as ot}from"./chunk-HSJ6GSLC.js";import{a as it}from"./chunk-SXKYZMEL.js";import{a as nt}from"./chunk-T6Q6HX5J.js";import{a as et}from"./chunk-4MJDNHOT.js";import{b as J,c as X,d as z}from"./chunk-EDF5FKWJ.js";import{g as K}from"./chunk-UTYWXSQT.js";import{a as k}from"./chunk-RCHWDG3R.js";import{a as w,b as q,c as M,d as tt,e as F}from"./chunk-KWAHJ72S.js";import{a as I}from"./chunk-MKDADUG3.js";import{e as x}from"./chunk-XRRBRTKL.js";function ft(t,e){this.positions=x(t)?t:[],this.holes=x(e)?e:[]}var st=ft;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 at(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,dt=new q,pt=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=at(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=at(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);if(x(o)||(o=[]),a.surfaceDistance<=i)return o.length=3,o[0]=e.x,o[1]=e.y,o[2]=e.z,o;let l=a.surfaceDistance/i,u=Math.max(0,Math.ceil(I.log2(l))),h=Math.pow(2,u),c=a.surfaceDistance/h,f=o;f.length=3*h;let p=0;for(let e=0;e<h;e++){let n=a.interpolateUsingSurfaceDistance(e*c,dt),i=t.cartographicToCartesian(n,pt);f[p++]=i.x,f[p++]=i.y,f[p++]=i.z}return f};var mt=new w,yt=new w,xt=new w,wt=new w;b.scaleToGeodeticHeightExtruded=function(t,e,n,i,o){i=i??tt.default;let r=mt,s=yt,a=xt,l=wt;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 bt=new q;function Lt(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,bt);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 Tt(t,e,n,i){if(i===R.RHUMB)return Lt(t,e,n);let o=ot.lineSegmentPlane(t,e,it.ORIGIN_XY_PLANE);return x(o)?n.scaleToGeodeticSurface(o,o):void 0}var Et=new q;function vt(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,Et).longitude;if(0===r)l.push({position:u,type:r,visited:!1,next:s,theta:h(i)});else if(0!==s){if(a=Tt(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 ht(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=ht(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=vt(r,e,n);r.length===t.length||s.length<=1?(i[o]=r,++o):(s.sort(((t,e)=>t.theta-e.theta)),o=ht(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 st(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 Ct=new M,Pt=new w,Dt=new K,It=new F;b.computeBoundingRectangle=function(t,e,n,i,o){let r=K.fromAxisAngle(t,i,Dt),s=F.fromQuaternion(r,It),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],Pt);F.multiplyByVector(s,i,i);let o=e(i,Ct);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?ct.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 rt=[],ut=[],_t=new w,At=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,ut),v&&(o=b.subdivideTexcoordLine(c,f,u,h,e,rt))):r===R.RHUMB&&(i=b.subdivideRhumbLine(n,u,h,e,ut),v&&(o=b.subdivideTexcoordRhumbLine(c,f,n,u,h,e,rt)));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=nt.createTypedArray(d/3,d-6*t.length),L=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,_t),h=w.fromArray(s,3*e,At),!w.equalsEpsilon(u,h,I.EPSILON10,I.EPSILON10)&&(S[L++]=t,S[L++]=n,S[L++]=e,S[L++]=e,S[L++]=n,S[L++]=i)}let M={attributes:new et({position:new z({componentDatatype:k.DOUBLE,componentsPerAttribute:3,values:s})}),indices:S,primitiveType:J.TRIANGLES};return v&&(M.attributes.st=new z({componentDatatype:k.FLOAT,componentsPerAttribute:2,values:p})),new X(M)};var ie=b;export{ie as a};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
+
* Version 1.135.0
|
|
5
|
+
*
|
|
6
|
+
* Copyright 2011-2022 Cesium Contributors
|
|
7
|
+
*
|
|
8
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
9
|
+
* you may not use this file except in compliance with the License.
|
|
10
|
+
* You may obtain a copy of the License at
|
|
11
|
+
*
|
|
12
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
13
|
+
*
|
|
14
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
15
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
16
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
17
|
+
* See the License for the specific language governing permissions and
|
|
18
|
+
* limitations under the License.
|
|
19
|
+
*
|
|
20
|
+
* Columbus View (Pat. Pend.)
|
|
21
|
+
*
|
|
22
|
+
* Portions licensed separately.
|
|
23
|
+
* See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
|
|
24
|
+
*/
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! For license information please see chunk-42MGKNSS.js.LICENSE.txt */
|
|
2
|
+
import{a as h}from"./chunk-SCO7TMKT.js";import{a as n,c as y,e as a}from"./chunk-KWAHJ72S.js";import{b as f}from"./chunk-NOIUI5SY.js";var x={},b=new n,P=new n,B=new n,M=new n,w=new h;function z(e,t,o,r,i){let u=n.subtract(e,t,b),a=n.dot(o,u),f=n.dot(r,u);return y.fromElements(a,f,i)}x.validOutline=function(e){f.defined("positions",e);let t=h.fromPoints(e,w).halfAxes,o=a.getColumn(t,0,P),r=a.getColumn(t,1,B),i=a.getColumn(t,2,M),u=n.magnitude(o),m=n.magnitude(r),l=n.magnitude(i);return!(0===u&&(0===m||0===l)||0===m&&0===l)},x.computeProjectTo2DArguments=function(e,t,o,r){f.defined("positions",e),f.defined("centerResult",t),f.defined("planeAxis1Result",o),f.defined("planeAxis2Result",r);let i,u,m=h.fromPoints(e,w),l=m.halfAxes,s=a.getColumn(l,0,P),c=a.getColumn(l,1,B),d=a.getColumn(l,2,M),g=n.magnitude(s),x=n.magnitude(c),p=n.magnitude(d),A=Math.min(g,x,p);return(0!==g||0!==x&&0!==p)&&(0!==x||0!==p)&&((A===x||A===p)&&(i=s),A===g?i=c:A===p&&(u=c),(A===g||A===x)&&(u=d),n.normalize(i,o),n.normalize(u,r),n.clone(m.center,t),!0)},x.createProjectPointsTo2DFunction=function(n,e,t){return function(o){let r=new Array(o.length);for(let i=0;i<o.length;i++)r[i]=z(o[i],n,e,t);return r}},x.createProjectPointTo2DFunction=function(n,e,t){return function(o,r){return z(o,n,e,t,r)}};var O=x;export{O as a};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
+
* Version 1.135.0
|
|
5
|
+
*
|
|
6
|
+
* Copyright 2011-2022 Cesium Contributors
|
|
7
|
+
*
|
|
8
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
9
|
+
* you may not use this file except in compliance with the License.
|
|
10
|
+
* You may obtain a copy of the License at
|
|
11
|
+
*
|
|
12
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
13
|
+
*
|
|
14
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
15
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
16
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
17
|
+
* See the License for the specific language governing permissions and
|
|
18
|
+
* limitations under the License.
|
|
19
|
+
*
|
|
20
|
+
* Columbus View (Pat. Pend.)
|
|
21
|
+
*
|
|
22
|
+
* Portions licensed separately.
|
|
23
|
+
* See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
|
|
24
|
+
*/
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! For license information please see chunk-4MJDNHOT.js.LICENSE.txt */
|
|
2
|
+
import{f as e}from"./chunk-KWAHJ72S.js";function r(t){t=t??e.EMPTY_OBJECT,this.position=t.position,this.normal=t.normal,this.st=t.st,this.bitangent=t.bitangent,this.tangent=t.tangent,this.color=t.color}var n=r;export{n as a};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
+
* Version 1.135.0
|
|
5
|
+
*
|
|
6
|
+
* Copyright 2011-2022 Cesium Contributors
|
|
7
|
+
*
|
|
8
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
9
|
+
* you may not use this file except in compliance with the License.
|
|
10
|
+
* You may obtain a copy of the License at
|
|
11
|
+
*
|
|
12
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
13
|
+
*
|
|
14
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
15
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
16
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
17
|
+
* See the License for the specific language governing permissions and
|
|
18
|
+
* limitations under the License.
|
|
19
|
+
*
|
|
20
|
+
* Columbus View (Pat. Pend.)
|
|
21
|
+
*
|
|
22
|
+
* Portions licensed separately.
|
|
23
|
+
* See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
|
|
24
|
+
*/
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! For license information please see chunk-4WJUWBRK.js.LICENSE.txt */
|
|
2
|
+
var E={DEPTH_BUFFER_BIT:256,STENCIL_BUFFER_BIT:1024,COLOR_BUFFER_BIT:16384,POINTS:0,LINES:1,LINE_LOOP:2,LINE_STRIP:3,TRIANGLES:4,TRIANGLE_STRIP:5,TRIANGLE_FAN:6,ZERO:0,ONE:1,SRC_COLOR:768,ONE_MINUS_SRC_COLOR:769,SRC_ALPHA:770,ONE_MINUS_SRC_ALPHA:771,DST_ALPHA:772,ONE_MINUS_DST_ALPHA:773,DST_COLOR:774,ONE_MINUS_DST_COLOR:775,SRC_ALPHA_SATURATE:776,FUNC_ADD:32774,BLEND_EQUATION:32777,BLEND_EQUATION_RGB:32777,BLEND_EQUATION_ALPHA:34877,FUNC_SUBTRACT:32778,FUNC_REVERSE_SUBTRACT:32779,BLEND_DST_RGB:32968,BLEND_SRC_RGB:32969,BLEND_DST_ALPHA:32970,BLEND_SRC_ALPHA:32971,CONSTANT_COLOR:32769,ONE_MINUS_CONSTANT_COLOR:32770,CONSTANT_ALPHA:32771,ONE_MINUS_CONSTANT_ALPHA:32772,BLEND_COLOR:32773,ARRAY_BUFFER:34962,ELEMENT_ARRAY_BUFFER:34963,ARRAY_BUFFER_BINDING:34964,ELEMENT_ARRAY_BUFFER_BINDING:34965,STREAM_DRAW:35040,STATIC_DRAW:35044,DYNAMIC_DRAW:35048,BUFFER_SIZE:34660,BUFFER_USAGE:34661,CURRENT_VERTEX_ATTRIB:34342,FRONT:1028,BACK:1029,FRONT_AND_BACK:1032,CULL_FACE:2884,BLEND:3042,DITHER:3024,STENCIL_TEST:2960,DEPTH_TEST:2929,SCISSOR_TEST:3089,POLYGON_OFFSET_FILL:32823,SAMPLE_ALPHA_TO_COVERAGE:32926,SAMPLE_COVERAGE:32928,NO_ERROR:0,INVALID_ENUM:1280,INVALID_VALUE:1281,INVALID_OPERATION:1282,OUT_OF_MEMORY:1285,CW:2304,CCW:2305,LINE_WIDTH:2849,ALIASED_POINT_SIZE_RANGE:33901,ALIASED_LINE_WIDTH_RANGE:33902,CULL_FACE_MODE:2885,FRONT_FACE:2886,DEPTH_RANGE:2928,DEPTH_WRITEMASK:2930,DEPTH_CLEAR_VALUE:2931,DEPTH_FUNC:2932,STENCIL_CLEAR_VALUE:2961,STENCIL_FUNC:2962,STENCIL_FAIL:2964,STENCIL_PASS_DEPTH_FAIL:2965,STENCIL_PASS_DEPTH_PASS:2966,STENCIL_REF:2967,STENCIL_VALUE_MASK:2963,STENCIL_WRITEMASK:2968,STENCIL_BACK_FUNC:34816,STENCIL_BACK_FAIL:34817,STENCIL_BACK_PASS_DEPTH_FAIL:34818,STENCIL_BACK_PASS_DEPTH_PASS:34819,STENCIL_BACK_REF:36003,STENCIL_BACK_VALUE_MASK:36004,STENCIL_BACK_WRITEMASK:36005,VIEWPORT:2978,SCISSOR_BOX:3088,COLOR_CLEAR_VALUE:3106,COLOR_WRITEMASK:3107,UNPACK_ALIGNMENT:3317,PACK_ALIGNMENT:3333,MAX_TEXTURE_SIZE:3379,MAX_VIEWPORT_DIMS:3386,SUBPIXEL_BITS:3408,RED_BITS:3410,GREEN_BITS:3411,BLUE_BITS:3412,ALPHA_BITS:3413,DEPTH_BITS:3414,STENCIL_BITS:3415,POLYGON_OFFSET_UNITS:10752,POLYGON_OFFSET_FACTOR:32824,TEXTURE_BINDING_2D:32873,SAMPLE_BUFFERS:32936,SAMPLES:32937,SAMPLE_COVERAGE_VALUE:32938,SAMPLE_COVERAGE_INVERT:32939,COMPRESSED_TEXTURE_FORMATS:34467,DONT_CARE:4352,FASTEST:4353,NICEST:4354,GENERATE_MIPMAP_HINT:33170,BYTE:5120,UNSIGNED_BYTE:5121,SHORT:5122,UNSIGNED_SHORT:5123,INT:5124,UNSIGNED_INT:5125,FLOAT:5126,DEPTH_COMPONENT:6402,ALPHA:6406,RGB:6407,RGBA:6408,LUMINANCE:6409,LUMINANCE_ALPHA:6410,UNSIGNED_SHORT_4_4_4_4:32819,UNSIGNED_SHORT_5_5_5_1:32820,UNSIGNED_SHORT_5_6_5:33635,FRAGMENT_SHADER:35632,VERTEX_SHADER:35633,MAX_VERTEX_ATTRIBS:34921,MAX_VERTEX_UNIFORM_VECTORS:36347,MAX_VARYING_VECTORS:36348,MAX_COMBINED_TEXTURE_IMAGE_UNITS:35661,MAX_VERTEX_TEXTURE_IMAGE_UNITS:35660,MAX_TEXTURE_IMAGE_UNITS:34930,MAX_FRAGMENT_UNIFORM_VECTORS:36349,SHADER_TYPE:35663,DELETE_STATUS:35712,LINK_STATUS:35714,VALIDATE_STATUS:35715,ATTACHED_SHADERS:35717,ACTIVE_UNIFORMS:35718,ACTIVE_ATTRIBUTES:35721,SHADING_LANGUAGE_VERSION:35724,CURRENT_PROGRAM:35725,NEVER:512,LESS:513,EQUAL:514,LEQUAL:515,GREATER:516,NOTEQUAL:517,GEQUAL:518,ALWAYS:519,KEEP:7680,REPLACE:7681,INCR:7682,DECR:7683,INVERT:5386,INCR_WRAP:34055,DECR_WRAP:34056,VENDOR:7936,RENDERER:7937,VERSION:7938,NEAREST:9728,LINEAR:9729,NEAREST_MIPMAP_NEAREST:9984,LINEAR_MIPMAP_NEAREST:9985,NEAREST_MIPMAP_LINEAR:9986,LINEAR_MIPMAP_LINEAR:9987,TEXTURE_MAG_FILTER:10240,TEXTURE_MIN_FILTER:10241,TEXTURE_WRAP_S:10242,TEXTURE_WRAP_T:10243,TEXTURE_2D:3553,TEXTURE:5890,TEXTURE_CUBE_MAP:34067,TEXTURE_BINDING_CUBE_MAP:34068,TEXTURE_CUBE_MAP_POSITIVE_X:34069,TEXTURE_CUBE_MAP_NEGATIVE_X:34070,TEXTURE_CUBE_MAP_POSITIVE_Y:34071,TEXTURE_CUBE_MAP_NEGATIVE_Y:34072,TEXTURE_CUBE_MAP_POSITIVE_Z:34073,TEXTURE_CUBE_MAP_NEGATIVE_Z:34074,MAX_CUBE_MAP_TEXTURE_SIZE:34076,TEXTURE0:33984,TEXTURE1:33985,TEXTURE2:33986,TEXTURE3:33987,TEXTURE4:33988,TEXTURE5:33989,TEXTURE6:33990,TEXTURE7:33991,TEXTURE8:33992,TEXTURE9:33993,TEXTURE10:33994,TEXTURE11:33995,TEXTURE12:33996,TEXTURE13:33997,TEXTURE14:33998,TEXTURE15:33999,TEXTURE16:34e3,TEXTURE17:34001,TEXTURE18:34002,TEXTURE19:34003,TEXTURE20:34004,TEXTURE21:34005,TEXTURE22:34006,TEXTURE23:34007,TEXTURE24:34008,TEXTURE25:34009,TEXTURE26:34010,TEXTURE27:34011,TEXTURE28:34012,TEXTURE29:34013,TEXTURE30:34014,TEXTURE31:34015,ACTIVE_TEXTURE:34016,REPEAT:10497,CLAMP_TO_EDGE:33071,MIRRORED_REPEAT:33648,FLOAT_VEC2:35664,FLOAT_VEC3:35665,FLOAT_VEC4:35666,INT_VEC2:35667,INT_VEC3:35668,INT_VEC4:35669,BOOL:35670,BOOL_VEC2:35671,BOOL_VEC3:35672,BOOL_VEC4:35673,FLOAT_MAT2:35674,FLOAT_MAT3:35675,FLOAT_MAT4:35676,SAMPLER_2D:35678,SAMPLER_CUBE:35680,VERTEX_ATTRIB_ARRAY_ENABLED:34338,VERTEX_ATTRIB_ARRAY_SIZE:34339,VERTEX_ATTRIB_ARRAY_STRIDE:34340,VERTEX_ATTRIB_ARRAY_TYPE:34341,VERTEX_ATTRIB_ARRAY_NORMALIZED:34922,VERTEX_ATTRIB_ARRAY_POINTER:34373,VERTEX_ATTRIB_ARRAY_BUFFER_BINDING:34975,IMPLEMENTATION_COLOR_READ_TYPE:35738,IMPLEMENTATION_COLOR_READ_FORMAT:35739,COMPILE_STATUS:35713,LOW_FLOAT:36336,MEDIUM_FLOAT:36337,HIGH_FLOAT:36338,LOW_INT:36339,MEDIUM_INT:36340,HIGH_INT:36341,FRAMEBUFFER:36160,RENDERBUFFER:36161,RGBA4:32854,RGB5_A1:32855,RGB565:36194,DEPTH_COMPONENT16:33189,STENCIL_INDEX:6401,STENCIL_INDEX8:36168,DEPTH_STENCIL:34041,RENDERBUFFER_WIDTH:36162,RENDERBUFFER_HEIGHT:36163,RENDERBUFFER_INTERNAL_FORMAT:36164,RENDERBUFFER_RED_SIZE:36176,RENDERBUFFER_GREEN_SIZE:36177,RENDERBUFFER_BLUE_SIZE:36178,RENDERBUFFER_ALPHA_SIZE:36179,RENDERBUFFER_DEPTH_SIZE:36180,RENDERBUFFER_STENCIL_SIZE:36181,FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE:36048,FRAMEBUFFER_ATTACHMENT_OBJECT_NAME:36049,FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL:36050,FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE:36051,COLOR_ATTACHMENT0:36064,DEPTH_ATTACHMENT:36096,STENCIL_ATTACHMENT:36128,DEPTH_STENCIL_ATTACHMENT:33306,NONE:0,FRAMEBUFFER_COMPLETE:36053,FRAMEBUFFER_INCOMPLETE_ATTACHMENT:36054,FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT:36055,FRAMEBUFFER_INCOMPLETE_DIMENSIONS:36057,FRAMEBUFFER_UNSUPPORTED:36061,FRAMEBUFFER_BINDING:36006,RENDERBUFFER_BINDING:36007,MAX_RENDERBUFFER_SIZE:34024,INVALID_FRAMEBUFFER_OPERATION:1286,UNPACK_FLIP_Y_WEBGL:37440,UNPACK_PREMULTIPLY_ALPHA_WEBGL:37441,CONTEXT_LOST_WEBGL:37442,UNPACK_COLORSPACE_CONVERSION_WEBGL:37443,BROWSER_DEFAULT_WEBGL:37444,COMPRESSED_RGB_S3TC_DXT1_EXT:33776,COMPRESSED_RGBA_S3TC_DXT1_EXT:33777,COMPRESSED_RGBA_S3TC_DXT3_EXT:33778,COMPRESSED_RGBA_S3TC_DXT5_EXT:33779,COMPRESSED_RGB_PVRTC_4BPPV1_IMG:35840,COMPRESSED_RGB_PVRTC_2BPPV1_IMG:35841,COMPRESSED_RGBA_PVRTC_4BPPV1_IMG:35842,COMPRESSED_RGBA_PVRTC_2BPPV1_IMG:35843,COMPRESSED_RGBA_ASTC_4x4_WEBGL:37808,COMPRESSED_RGB_ETC1_WEBGL:36196,COMPRESSED_RGBA_BPTC_UNORM:36492,HALF_FLOAT_OES:36193,DOUBLE:5130,READ_BUFFER:3074,UNPACK_ROW_LENGTH:3314,UNPACK_SKIP_ROWS:3315,UNPACK_SKIP_PIXELS:3316,PACK_ROW_LENGTH:3330,PACK_SKIP_ROWS:3331,PACK_SKIP_PIXELS:3332,COLOR:6144,DEPTH:6145,STENCIL:6146,RED:6403,RGB8:32849,RGBA8:32856,RGB10_A2:32857,TEXTURE_BINDING_3D:32874,UNPACK_SKIP_IMAGES:32877,UNPACK_IMAGE_HEIGHT:32878,TEXTURE_3D:32879,TEXTURE_WRAP_R:32882,MAX_3D_TEXTURE_SIZE:32883,UNSIGNED_INT_2_10_10_10_REV:33640,MAX_ELEMENTS_VERTICES:33e3,MAX_ELEMENTS_INDICES:33001,TEXTURE_MIN_LOD:33082,TEXTURE_MAX_LOD:33083,TEXTURE_BASE_LEVEL:33084,TEXTURE_MAX_LEVEL:33085,MIN:32775,MAX:32776,DEPTH_COMPONENT24:33190,MAX_TEXTURE_LOD_BIAS:34045,TEXTURE_COMPARE_MODE:34892,TEXTURE_COMPARE_FUNC:34893,CURRENT_QUERY:34917,QUERY_RESULT:34918,QUERY_RESULT_AVAILABLE:34919,STREAM_READ:35041,STREAM_COPY:35042,STATIC_READ:35045,STATIC_COPY:35046,DYNAMIC_READ:35049,DYNAMIC_COPY:35050,MAX_DRAW_BUFFERS:34852,DRAW_BUFFER0:34853,DRAW_BUFFER1:34854,DRAW_BUFFER2:34855,DRAW_BUFFER3:34856,DRAW_BUFFER4:34857,DRAW_BUFFER5:34858,DRAW_BUFFER6:34859,DRAW_BUFFER7:34860,DRAW_BUFFER8:34861,DRAW_BUFFER9:34862,DRAW_BUFFER10:34863,DRAW_BUFFER11:34864,DRAW_BUFFER12:34865,DRAW_BUFFER13:34866,DRAW_BUFFER14:34867,DRAW_BUFFER15:34868,MAX_FRAGMENT_UNIFORM_COMPONENTS:35657,MAX_VERTEX_UNIFORM_COMPONENTS:35658,SAMPLER_3D:35679,SAMPLER_2D_SHADOW:35682,FRAGMENT_SHADER_DERIVATIVE_HINT:35723,PIXEL_PACK_BUFFER:35051,PIXEL_UNPACK_BUFFER:35052,PIXEL_PACK_BUFFER_BINDING:35053,PIXEL_UNPACK_BUFFER_BINDING:35055,FLOAT_MAT2x3:35685,FLOAT_MAT2x4:35686,FLOAT_MAT3x2:35687,FLOAT_MAT3x4:35688,FLOAT_MAT4x2:35689,FLOAT_MAT4x3:35690,SRGB:35904,SRGB8:35905,SRGB8_ALPHA8:35907,COMPARE_REF_TO_TEXTURE:34894,RGBA32F:34836,RGB32F:34837,RGBA16F:34842,RGB16F:34843,VERTEX_ATTRIB_ARRAY_INTEGER:35069,MAX_ARRAY_TEXTURE_LAYERS:35071,MIN_PROGRAM_TEXEL_OFFSET:35076,MAX_PROGRAM_TEXEL_OFFSET:35077,MAX_VARYING_COMPONENTS:35659,TEXTURE_2D_ARRAY:35866,TEXTURE_BINDING_2D_ARRAY:35869,R11F_G11F_B10F:35898,UNSIGNED_INT_10F_11F_11F_REV:35899,RGB9_E5:35901,UNSIGNED_INT_5_9_9_9_REV:35902,TRANSFORM_FEEDBACK_BUFFER_MODE:35967,MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS:35968,TRANSFORM_FEEDBACK_VARYINGS:35971,TRANSFORM_FEEDBACK_BUFFER_START:35972,TRANSFORM_FEEDBACK_BUFFER_SIZE:35973,TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN:35976,RASTERIZER_DISCARD:35977,MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS:35978,MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS:35979,INTERLEAVED_ATTRIBS:35980,SEPARATE_ATTRIBS:35981,TRANSFORM_FEEDBACK_BUFFER:35982,TRANSFORM_FEEDBACK_BUFFER_BINDING:35983,RGBA32UI:36208,RGB32UI:36209,RGBA16UI:36214,RGB16UI:36215,RGBA8UI:36220,RGB8UI:36221,RGBA32I:36226,RGB32I:36227,RGBA16I:36232,RGB16I:36233,RGBA8I:36238,RGB8I:36239,RED_INTEGER:36244,RGB_INTEGER:36248,RGBA_INTEGER:36249,SAMPLER_2D_ARRAY:36289,SAMPLER_2D_ARRAY_SHADOW:36292,SAMPLER_CUBE_SHADOW:36293,UNSIGNED_INT_VEC2:36294,UNSIGNED_INT_VEC3:36295,UNSIGNED_INT_VEC4:36296,INT_SAMPLER_2D:36298,INT_SAMPLER_3D:36299,INT_SAMPLER_CUBE:36300,INT_SAMPLER_2D_ARRAY:36303,UNSIGNED_INT_SAMPLER_2D:36306,UNSIGNED_INT_SAMPLER_3D:36307,UNSIGNED_INT_SAMPLER_CUBE:36308,UNSIGNED_INT_SAMPLER_2D_ARRAY:36311,DEPTH_COMPONENT32F:36012,DEPTH32F_STENCIL8:36013,FLOAT_32_UNSIGNED_INT_24_8_REV:36269,FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING:33296,FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE:33297,FRAMEBUFFER_ATTACHMENT_RED_SIZE:33298,FRAMEBUFFER_ATTACHMENT_GREEN_SIZE:33299,FRAMEBUFFER_ATTACHMENT_BLUE_SIZE:33300,FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE:33301,FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE:33302,FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE:33303,FRAMEBUFFER_DEFAULT:33304,UNSIGNED_INT_24_8:34042,DEPTH24_STENCIL8:35056,UNSIGNED_NORMALIZED:35863,DRAW_FRAMEBUFFER_BINDING:36006,READ_FRAMEBUFFER:36008,DRAW_FRAMEBUFFER:36009,READ_FRAMEBUFFER_BINDING:36010,RENDERBUFFER_SAMPLES:36011,FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER:36052,MAX_COLOR_ATTACHMENTS:36063,COLOR_ATTACHMENT1:36065,COLOR_ATTACHMENT2:36066,COLOR_ATTACHMENT3:36067,COLOR_ATTACHMENT4:36068,COLOR_ATTACHMENT5:36069,COLOR_ATTACHMENT6:36070,COLOR_ATTACHMENT7:36071,COLOR_ATTACHMENT8:36072,COLOR_ATTACHMENT9:36073,COLOR_ATTACHMENT10:36074,COLOR_ATTACHMENT11:36075,COLOR_ATTACHMENT12:36076,COLOR_ATTACHMENT13:36077,COLOR_ATTACHMENT14:36078,COLOR_ATTACHMENT15:36079,FRAMEBUFFER_INCOMPLETE_MULTISAMPLE:36182,MAX_SAMPLES:36183,HALF_FLOAT:5131,RG:33319,RG_INTEGER:33320,R8:33321,RG8:33323,R16F:33325,R32F:33326,RG16F:33327,RG32F:33328,R8I:33329,R8UI:33330,R16I:33331,R16UI:33332,R32I:33333,R32UI:33334,RG8I:33335,RG8UI:33336,RG16I:33337,RG16UI:33338,RG32I:33339,RG32UI:33340,VERTEX_ARRAY_BINDING:34229,R8_SNORM:36756,RG8_SNORM:36757,RGB8_SNORM:36758,RGBA8_SNORM:36759,SIGNED_NORMALIZED:36764,COPY_READ_BUFFER:36662,COPY_WRITE_BUFFER:36663,COPY_READ_BUFFER_BINDING:36662,COPY_WRITE_BUFFER_BINDING:36663,UNIFORM_BUFFER:35345,UNIFORM_BUFFER_BINDING:35368,UNIFORM_BUFFER_START:35369,UNIFORM_BUFFER_SIZE:35370,MAX_VERTEX_UNIFORM_BLOCKS:35371,MAX_FRAGMENT_UNIFORM_BLOCKS:35373,MAX_COMBINED_UNIFORM_BLOCKS:35374,MAX_UNIFORM_BUFFER_BINDINGS:35375,MAX_UNIFORM_BLOCK_SIZE:35376,MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS:35377,MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS:35379,UNIFORM_BUFFER_OFFSET_ALIGNMENT:35380,ACTIVE_UNIFORM_BLOCKS:35382,UNIFORM_TYPE:35383,UNIFORM_SIZE:35384,UNIFORM_BLOCK_INDEX:35386,UNIFORM_OFFSET:35387,UNIFORM_ARRAY_STRIDE:35388,UNIFORM_MATRIX_STRIDE:35389,UNIFORM_IS_ROW_MAJOR:35390,UNIFORM_BLOCK_BINDING:35391,UNIFORM_BLOCK_DATA_SIZE:35392,UNIFORM_BLOCK_ACTIVE_UNIFORMS:35394,UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES:35395,UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER:35396,UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER:35398,INVALID_INDEX:4294967295,MAX_VERTEX_OUTPUT_COMPONENTS:37154,MAX_FRAGMENT_INPUT_COMPONENTS:37157,MAX_SERVER_WAIT_TIMEOUT:37137,OBJECT_TYPE:37138,SYNC_CONDITION:37139,SYNC_STATUS:37140,SYNC_FLAGS:37141,SYNC_FENCE:37142,SYNC_GPU_COMMANDS_COMPLETE:37143,UNSIGNALED:37144,SIGNALED:37145,ALREADY_SIGNALED:37146,TIMEOUT_EXPIRED:37147,CONDITION_SATISFIED:37148,WAIT_FAILED:37149,SYNC_FLUSH_COMMANDS_BIT:1,VERTEX_ATTRIB_ARRAY_DIVISOR:35070,ANY_SAMPLES_PASSED:35887,ANY_SAMPLES_PASSED_CONSERVATIVE:36202,SAMPLER_BINDING:35097,RGB10_A2UI:36975,INT_2_10_10_10_REV:36255,TRANSFORM_FEEDBACK:36386,TRANSFORM_FEEDBACK_PAUSED:36387,TRANSFORM_FEEDBACK_ACTIVE:36388,TRANSFORM_FEEDBACK_BINDING:36389,COMPRESSED_R11_EAC:37488,COMPRESSED_SIGNED_R11_EAC:37489,COMPRESSED_RG11_EAC:37490,COMPRESSED_SIGNED_RG11_EAC:37491,COMPRESSED_RGB8_ETC2:37492,COMPRESSED_SRGB8_ETC2:37493,COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2:37494,COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2:37495,COMPRESSED_RGBA8_ETC2_EAC:37496,COMPRESSED_SRGB8_ALPHA8_ETC2_EAC:37497,TEXTURE_IMMUTABLE_FORMAT:37167,MAX_ELEMENT_INDEX:36203,TEXTURE_IMMUTABLE_LEVELS:33503,MAX_TEXTURE_MAX_ANISOTROPY_EXT:34047},_=Object.freeze(E);export{_ as a};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
+
* Version 1.135.0
|
|
5
|
+
*
|
|
6
|
+
* Copyright 2011-2022 Cesium Contributors
|
|
7
|
+
*
|
|
8
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
9
|
+
* you may not use this file except in compliance with the License.
|
|
10
|
+
* You may obtain a copy of the License at
|
|
11
|
+
*
|
|
12
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
13
|
+
*
|
|
14
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
15
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
16
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
17
|
+
* See the License for the specific language governing permissions and
|
|
18
|
+
* limitations under the License.
|
|
19
|
+
*
|
|
20
|
+
* Columbus View (Pat. Pend.)
|
|
21
|
+
*
|
|
22
|
+
* Portions licensed separately.
|
|
23
|
+
* See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
|
|
24
|
+
*/
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! For license information please see chunk-5G23AKP3.js.LICENSE.txt */
|
|
2
|
+
import{e}from"./chunk-XRRBRTKL.js";function t(t){let r;this.name="RuntimeError",this.message=t;try{throw new Error}catch(t){r=t.stack}this.stack=r}e(Object.create)&&(t.prototype=Object.create(Error.prototype),t.prototype.constructor=t),t.prototype.toString=function(){let t=`${this.name}: ${this.message}`;return e(this.stack)&&(t+=`\n${this.stack.toString()}`),t};var c=t;export{c as a};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
+
* Version 1.135.0
|
|
5
|
+
*
|
|
6
|
+
* Copyright 2011-2022 Cesium Contributors
|
|
7
|
+
*
|
|
8
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
9
|
+
* you may not use this file except in compliance with the License.
|
|
10
|
+
* You may obtain a copy of the License at
|
|
11
|
+
*
|
|
12
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
13
|
+
*
|
|
14
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
15
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
16
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
17
|
+
* See the License for the specific language governing permissions and
|
|
18
|
+
* limitations under the License.
|
|
19
|
+
*
|
|
20
|
+
* Columbus View (Pat. Pend.)
|
|
21
|
+
*
|
|
22
|
+
* Portions licensed separately.
|
|
23
|
+
* See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
|
|
24
|
+
*/
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! For license information please see chunk-5HPISDSZ.js.LICENSE.txt */
|
|
2
|
+
import{a as p,b as P,d as T}from"./chunk-KWAHJ72S.js";import{a}from"./chunk-MKDADUG3.js";import{a as I,b as g}from"./chunk-NOIUI5SY.js";import{e as l}from"./chunk-XRRBRTKL.js";function w(t,i,e){if(0===t)return i*e;let a=t*t,n=a*a,s=n*a,l=s*a,h=l*a,d=h*a,u=e;return i*((1-a/4-3*n/64-5*s/256-175*l/16384-441*h/65536-4851*d/1048576)*u-(3*a/8+3*n/32+45*s/1024+105*l/4096+2205*h/131072+6237*d/524288)*Math.sin(2*u)+(15*n/256+45*s/1024+525*l/16384+1575*h/65536+155925*d/8388608)*Math.sin(4*u)-(35*s/3072+175*l/12288+3675*h/262144+13475*d/1048576)*Math.sin(6*u)+(315*l/131072+2205*h/524288+43659*d/8388608)*Math.sin(8*u)-(693*h/1310720+6237*d/5242880)*Math.sin(10*u)+1001*d/8388608*Math.sin(12*u))}function H(t,i,e){let a=t/e;if(0===i)return a;let n=a*a,s=n*a,l=s*a,h=i*i,d=h*h,u=d*h,o=u*h,r=o*h,c=r*h,g=Math.sin(2*a),_=Math.cos(2*a),p=Math.sin(4*a),M=Math.cos(4*a),f=Math.sin(6*a),m=Math.cos(6*a),P=Math.sin(8*a),O=Math.cos(8*a),E=Math.sin(10*a);return a+a*h/4+7*a*d/64+15*a*u/256+579*a*o/16384+1515*a*r/65536+16837*a*c/1048576+(3*a*d/16+45*a*u/256-a*(32*n-561)*o/4096-a*(232*n-1677)*r/16384+a*(399985-90560*n+512*l)*c/5242880)*_+(21*a*u/256+483*a*o/4096-a*(224*n-1969)*r/16384-a*(33152*n-112599)*c/1048576)*M+(151*a*o/4096+4681*a*r/65536+1479*a*c/16384-453*s*c/32768)*m+(1097*a*r/65536+42783*a*c/1048576)*O+8011*a*c/1048576*Math.cos(10*a)+(3*h/8+3*d/16+213*u/2048-3*n*u/64+255*o/4096-33*n*o/512+20861*r/524288-33*n*r/512+l*r/1024+28273*c/1048576-471*n*c/8192+9*l*c/4096)*g+(21*d/256+21*u/256+533*o/8192-21*n*o/512+197*r/4096-315*n*r/4096+584039*c/16777216-12517*n*c/131072+7*l*c/2048)*p+(151*u/6144+151*o/4096+5019*r/131072-453*n*r/16384+26965*c/786432-8607*n*c/131072)*f+(1097*o/131072+1097*r/65536+225797*c/10485760-1097*n*c/65536)*P+(8011*r/2621440+8011*c/1048576)*E+293393*c/251658240*Math.sin(12*a)}function O(t,i){if(0===t)return Math.log(Math.tan(.5*(a.PI_OVER_TWO+i)));let e=t*Math.sin(i);return Math.log(Math.tan(.5*(a.PI_OVER_TWO+i)))-t/2*Math.log((1+e)/(1-e))}function z(t,i,e,n,s){let l=O(t._ellipticity,e),h=O(t._ellipticity,s);return Math.atan2(a.negativePiToPi(n-i),h-l)}function k(t,i,e,n,s,l,h){let d=t._heading,u=l-n,o=0;if(a.equalsEpsilon(Math.abs(d),a.PI_OVER_TWO,a.EPSILON8))if(i===e)o=i*Math.cos(s)*a.negativePiToPi(u);else{let e=Math.sin(s);o=i*Math.cos(s)*a.negativePiToPi(u)/Math.sqrt(1-t._ellipticitySquared*e*e)}else{let e=w(t._ellipticity,i,s);o=(w(t._ellipticity,i,h)-e)/Math.cos(d)}return Math.abs(o)}var A=new p,q=new p;function y(t,i,e,a){let n=p.normalize(a.cartographicToCartesian(i,q),A),s=p.normalize(a.cartographicToCartesian(e,q),q);g.typeOf.number.greaterThanOrEquals("value",Math.abs(Math.abs(p.angleBetween(n,s))-Math.PI),.0125);let l=a.maximumRadius,h=a.minimumRadius,d=l*l,u=h*h;t._ellipticitySquared=(d-u)/d,t._ellipticity=Math.sqrt(t._ellipticitySquared),t._start=P.clone(i,t._start),t._start.height=0,t._end=P.clone(e,t._end),t._end.height=0,t._heading=z(t,i.longitude,i.latitude,e.longitude,e.latitude),t._distance=k(t,a.maximumRadius,a.minimumRadius,i.longitude,i.latitude,e.longitude,e.latitude)}function D(t,i,e,n,s,h){if(0===e)return P.clone(t,h);let d,u,o,r=s*s;if(Math.abs(a.PI_OVER_TWO-Math.abs(i))>a.EPSILON8)if(u=H(w(s,n,t.latitude)+e*Math.cos(i),s,n),Math.abs(i)<a.EPSILON10)d=a.negativePiToPi(t.longitude);else{let e=O(s,t.latitude),n=O(s,u);o=Math.tan(i)*(n-e),d=a.negativePiToPi(t.longitude+o)}else{let l;if(u=t.latitude,0===s)l=n*Math.cos(t.latitude);else{let i=Math.sin(t.latitude);l=n*Math.cos(t.latitude)/Math.sqrt(1-r*i*i)}o=e/l,d=i>0?a.negativePiToPi(t.longitude+o):a.negativePiToPi(t.longitude-o)}return l(h)?(h.longitude=d,h.latitude=u,h.height=0,h):new P(d,u,0)}function m(t,i,e){let a=e??T.default;this._ellipsoid=a,this._start=new P,this._end=new P,this._heading=void 0,this._distance=void 0,this._ellipticity=void 0,this._ellipticitySquared=void 0,l(t)&&l(i)&&y(this,t,i,a)}Object.defineProperties(m.prototype,{ellipsoid:{get:function(){return this._ellipsoid}},surfaceDistance:{get:function(){return g.defined("distance",this._distance),this._distance}},start:{get:function(){return this._start}},end:{get:function(){return this._end}},heading:{get:function(){return g.defined("distance",this._distance),this._heading}}}),m.fromStartHeadingDistance=function(t,i,e,n,s){g.defined("start",t),g.defined("heading",i),g.defined("distance",e),g.typeOf.number.greaterThan("distance",e,0);let h=n??T.default,d=h.maximumRadius,u=h.minimumRadius,o=d*d,r=u*u,c=Math.sqrt((o-r)/o),_=D(t,i=a.negativePiToPi(i),e,h.maximumRadius,c);return!l(s)||l(n)&&!n.equals(s.ellipsoid)?new m(t,_,h):(s.setEndPoints(t,_),s)},m.prototype.setEndPoints=function(t,i){g.defined("start",t),g.defined("end",i),y(this,t,i,this._ellipsoid)},m.prototype.interpolateUsingFraction=function(t,i){return this.interpolateUsingSurfaceDistance(t*this._distance,i)},m.prototype.interpolateUsingSurfaceDistance=function(t,i){if(g.typeOf.number("distance",t),!l(this._distance)||0===this._distance)throw new I("EllipsoidRhumbLine must have distinct start and end set.");return D(this._start,this._heading,t,this._ellipsoid.maximumRadius,this._ellipticity,i)},m.prototype.findIntersectionWithLongitude=function(t,i){if(g.typeOf.number("intersectionLongitude",t),!l(this._distance)||0===this._distance)throw new I("EllipsoidRhumbLine must have distinct start and end set.");let e=this._ellipticity,n=this._heading,s=Math.abs(n),h=this._start;if(t=a.negativePiToPi(t),a.equalsEpsilon(Math.abs(t),Math.PI,a.EPSILON14)&&(t=a.sign(h.longitude)*Math.PI),l(i)||(i=new P),Math.abs(a.PI_OVER_TWO-s)<=a.EPSILON8)return i.longitude=t,i.latitude=h.latitude,i.height=0,i;if(a.equalsEpsilon(Math.abs(a.PI_OVER_TWO-s),a.PI_OVER_TWO,a.EPSILON8))return a.equalsEpsilon(t,h.longitude,a.EPSILON12)?void 0:(i.longitude=t,i.latitude=a.PI_OVER_TWO*a.sign(a.PI_OVER_TWO-n),i.height=0,i);let d,u=h.latitude,o=e*Math.sin(u),r=Math.tan(.5*(a.PI_OVER_TWO+u))*Math.exp((t-h.longitude)/Math.tan(n)),c=(1+o)/(1-o),_=h.latitude;do{d=_;let t=e*Math.sin(d),i=(1+t)/(1-t);_=2*Math.atan(r*Math.pow(i/c,e/2))-a.PI_OVER_TWO}while(!a.equalsEpsilon(_,d,a.EPSILON12));return i.longitude=t,i.latitude=_,i.height=0,i},m.prototype.findIntersectionWithLatitude=function(t,i){if(g.typeOf.number("intersectionLatitude",t),!l(this._distance)||0===this._distance)throw new I("EllipsoidRhumbLine must have distinct start and end set.");let e=this._ellipticity,n=this._heading,s=this._start;if(a.equalsEpsilon(Math.abs(n),a.PI_OVER_TWO,a.EPSILON8))return;let h=O(e,s.latitude),d=O(e,t),u=Math.tan(n)*(d-h),o=a.negativePiToPi(s.longitude+u);return l(i)?(i.longitude=o,i.latitude=t,i.height=0,i):new P(o,t,0)};var Y=m;export{Y as a};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
+
* Version 1.135.0
|
|
5
|
+
*
|
|
6
|
+
* Copyright 2011-2022 Cesium Contributors
|
|
7
|
+
*
|
|
8
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
9
|
+
* you may not use this file except in compliance with the License.
|
|
10
|
+
* You may obtain a copy of the License at
|
|
11
|
+
*
|
|
12
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
13
|
+
*
|
|
14
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
15
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
16
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
17
|
+
* See the License for the specific language governing permissions and
|
|
18
|
+
* limitations under the License.
|
|
19
|
+
*
|
|
20
|
+
* Columbus View (Pat. Pend.)
|
|
21
|
+
*
|
|
22
|
+
* Portions licensed separately.
|
|
23
|
+
* See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
|
|
24
|
+
*/
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! For license information please see chunk-APG2S62J.js.LICENSE.txt */
|
|
2
|
+
import{f as O}from"./chunk-KWAHJ72S.js";import{a as f}from"./chunk-NOIUI5SY.js";import{e as t}from"./chunk-XRRBRTKL.js";function n(n){n=n??O.EMPTY_OBJECT,this.position=n.position??!1,this.normal=n.normal??!1,this.st=n.st??!1,this.bitangent=n.bitangent??!1,this.tangent=n.tangent??!1,this.color=n.color??!1}n.POSITION_ONLY=Object.freeze(new n({position:!0})),n.POSITION_AND_NORMAL=Object.freeze(new n({position:!0,normal:!0})),n.POSITION_NORMAL_AND_ST=Object.freeze(new n({position:!0,normal:!0,st:!0})),n.POSITION_AND_ST=Object.freeze(new n({position:!0,st:!0})),n.POSITION_AND_COLOR=Object.freeze(new n({position:!0,color:!0})),n.ALL=Object.freeze(new n({position:!0,normal:!0,st:!0,tangent:!0,bitangent:!0})),n.DEFAULT=n.POSITION_NORMAL_AND_ST,n.packedLength=6,n.pack=function(n,e,o){if(!t(n))throw new f("value is required");if(!t(e))throw new f("array is required");return o=o??0,e[o++]=n.position?1:0,e[o++]=n.normal?1:0,e[o++]=n.st?1:0,e[o++]=n.tangent?1:0,e[o++]=n.bitangent?1:0,e[o]=n.color?1:0,e},n.unpack=function(e,o,i){if(!t(e))throw new f("array is required");return o=o??0,t(i)||(i=new n),i.position=1===e[o++],i.normal=1===e[o++],i.st=1===e[o++],i.tangent=1===e[o++],i.bitangent=1===e[o++],i.color=1===e[o],i},n.clone=function(e,o){if(t(e))return t(o)||(o=new n),o.position=e.position,o.normal=e.normal,o.st=e.st,o.tangent=e.tangent,o.bitangent=e.bitangent,o.color=e.color,o};var _=n;export{_ as a};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
+
* Version 1.135.0
|
|
5
|
+
*
|
|
6
|
+
* Copyright 2011-2022 Cesium Contributors
|
|
7
|
+
*
|
|
8
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
9
|
+
* you may not use this file except in compliance with the License.
|
|
10
|
+
* You may obtain a copy of the License at
|
|
11
|
+
*
|
|
12
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
13
|
+
*
|
|
14
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
15
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
16
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
17
|
+
* See the License for the specific language governing permissions and
|
|
18
|
+
* limitations under the License.
|
|
19
|
+
*
|
|
20
|
+
* Columbus View (Pat. Pend.)
|
|
21
|
+
*
|
|
22
|
+
* Portions licensed separately.
|
|
23
|
+
* See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
|
|
24
|
+
*/
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! For license information please see chunk-AZLP5742.js.LICENSE.txt */
|
|
2
|
+
import{a as C}from"./chunk-MKDADUG3.js";import{b as g}from"./chunk-NOIUI5SY.js";import{e as f}from"./chunk-XRRBRTKL.js";var d=C.EPSILON10;function x(e,r,s,n){if(g.defined("equalsEpsilon",r),!f(e))return;s=s??!1;let t=f(n),i=e.length;if(i<2)return e;let u,l,o,a=e[0],h=0,p=-1;for(u=1;u<i;++u)l=e[u],r(a,l,d)?(f(o)||(o=e.slice(0,u),h=u-1,p=0),t&&n.push(u)):(f(o)&&(o.push(l),h=u,t&&(p=n.length)),a=l);return s&&r(e[0],e[i-1],d)&&(t&&(f(o)?n.splice(p,0,h):n.push(i-1)),f(o)?o.length-=1:o=e.slice(0,-1)),f(o)?o:e}var k=x;export{k as a};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
+
* Version 1.135.0
|
|
5
|
+
*
|
|
6
|
+
* Copyright 2011-2022 Cesium Contributors
|
|
7
|
+
*
|
|
8
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
9
|
+
* you may not use this file except in compliance with the License.
|
|
10
|
+
* You may obtain a copy of the License at
|
|
11
|
+
*
|
|
12
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
13
|
+
*
|
|
14
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
15
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
16
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
17
|
+
* See the License for the specific language governing permissions and
|
|
18
|
+
* limitations under the License.
|
|
19
|
+
*
|
|
20
|
+
* Columbus View (Pat. Pend.)
|
|
21
|
+
*
|
|
22
|
+
* Portions licensed separately.
|
|
23
|
+
* See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
|
|
24
|
+
*/
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! For license information please see chunk-BJAB7QAF.js.LICENSE.txt */
|
|
2
|
+
import{a as y}from"./chunk-VHZAK4GN.js";import{d as W}from"./chunk-XQIJGAVD.js";import{b as h,i as k}from"./chunk-UTYWXSQT.js";import{a as A}from"./chunk-RCHWDG3R.js";import{a as s,b as F,c as T,d as w}from"./chunk-KWAHJ72S.js";import{a as _}from"./chunk-MKDADUG3.js";import{a as I,b as r}from"./chunk-NOIUI5SY.js";import{e as l}from"./chunk-XRRBRTKL.js";function b(e,t){r.typeOf.object("ellipsoid",e),this._ellipsoid=e,this._cameraPosition=new s,this._cameraPositionInScaledSpace=new s,this._distanceToLimbInScaledSpaceSquared=0,l(t)&&(this.cameraPosition=t)}Object.defineProperties(b.prototype,{ellipsoid:{get:function(){return this._ellipsoid}},cameraPosition:{get:function(){return this._cameraPosition},set:function(e){let t=this._ellipsoid.transformPositionToScaledSpace(e,this._cameraPositionInScaledSpace),i=s.magnitudeSquared(t)-1;s.clone(e,this._cameraPosition),this._cameraPositionInScaledSpace=t,this._distanceToLimbInScaledSpaceSquared=i}}});var L=new s;b.prototype.isPointVisible=function(e){return D(this._ellipsoid.transformPositionToScaledSpace(e,L),this._cameraPositionInScaledSpace,this._distanceToLimbInScaledSpaceSquared)},b.prototype.isScaledSpacePointVisible=function(e){return D(e,this._cameraPositionInScaledSpace,this._distanceToLimbInScaledSpaceSquared)};var tt=new s;b.prototype.isScaledSpacePointVisiblePossiblyUnderEllipsoid=function(e,t){let i,r,o=this._ellipsoid;return l(t)&&t<0&&o.minimumRadius>-t?(r=tt,r.x=this._cameraPosition.x/(o.radii.x+t),r.y=this._cameraPosition.y/(o.radii.y+t),r.z=this._cameraPosition.z/(o.radii.z+t),i=r.x*r.x+r.y*r.y+r.z*r.z-1):(r=this._cameraPositionInScaledSpace,i=this._distanceToLimbInScaledSpaceSquared),D(e,r,i)},b.prototype.computeHorizonCullingPoint=function(e,t,i){return Q(this._ellipsoid,e,t,i)};var U=w.clone(w.UNIT_SPHERE);b.prototype.computeHorizonCullingPointPossiblyUnderEllipsoid=function(e,t,i,r){return Q(v(this._ellipsoid,i,U),e,t,r)},b.prototype.computeHorizonCullingPointFromVertices=function(e,t,i,r,o){return Z(this._ellipsoid,e,t,i,r,o)},b.prototype.computeHorizonCullingPointFromVerticesPossiblyUnderEllipsoid=function(e,t,i,r,o,s){return Z(v(this._ellipsoid,o,U),e,t,i,r,s)};var et=[];b.prototype.computeHorizonCullingPointFromRectangle=function(e,t,i){r.typeOf.object("rectangle",e);let o=k.subsample(e,t,0,et),n=W.fromPoints(o);if(!(s.magnitude(n.center)<.1*t.minimumRadius))return this.computeHorizonCullingPoint(n.center,o,i)};var ot=new s;function v(e,t,i){if(l(t)&&t<0&&e.minimumRadius>-t){let r=s.fromElements(e.radii.x+t,e.radii.y+t,e.radii.z+t,ot);e=w.fromCartesian3(r,i)}return e}function Q(e,t,i,o){r.typeOf.object("directionToPoint",t),r.defined("positions",i),l(o)||(o=new s);let n=K(e,t),a=0;for(let t=0,r=i.length;t<r;++t){let r=B(e,i[t],n);if(r<0)return;a=Math.max(a,r)}return J(n,a,o)}var q=new s;function Z(e,t,i,o,n,a){r.typeOf.object("directionToPoint",t),r.defined("vertices",i),r.typeOf.number("stride",o),l(a)||(a=new s),o=o??3,n=n??s.ZERO;let c=K(e,t),u=0;for(let t=0,r=i.length;t<r;t+=o){q.x=i[t]+n.x,q.y=i[t+1]+n.y,q.z=i[t+2]+n.z;let r=B(e,q,c);if(r<0)return;u=Math.max(u,r)}return J(c,u,a)}function D(e,t,i){let r=t,o=i,n=s.subtract(e,r,L),a=-s.dot(n,r);return!(o<0?a>0:a>o&&a*a/s.magnitudeSquared(n)>o)}var it=new s,nt=new s;function B(e,t,i){let r=e.transformPositionToScaledSpace(t,it),o=s.magnitudeSquared(r),n=Math.sqrt(o),a=s.divideByScalar(r,n,nt);o=Math.max(1,o),n=Math.max(1,n);let c=1/n;return 1/(s.dot(a,i)*c-s.magnitude(s.cross(a,i,a))*(Math.sqrt(o-1)*c))}function J(e,t,i){if(!(t<=0||t===1/0||t!=t))return s.multiplyByScalar(e,t,i)}var R=new s;function K(e,t){return s.equals(t,s.ZERO)?t:(e.transformPositionToScaledSpace(t,R),s.normalize(R,R))}var Nt=b,j={getHeight:function(e,t,i){if(!Number.isFinite(t))throw new I("scale must be a finite number.");if(!Number.isFinite(i))throw new I("relativeHeight must be a finite number.");return(e-i)*t+i}},at=new F;j.getPosition=function(e,t,i,r,o){let n=t.cartesianToCartographic(e,at);if(!l(n))return s.clone(e,o);let a=j.getHeight(n.height,i,r);return s.fromRadians(n.longitude,n.latitude,a,t,o)};var X=j,st={NONE:0,BITS12:1},g=Object.freeze(st),C=new s,ct=new s,N=new T,rt=new h,mt=new h,dt=Math.pow(2,12);function p(e,t,i,r,o,n,a,c,u,m){let f,d,p=g.NONE;if(l(t)&&l(i)&&l(r)&&l(o)){let n=t.minimum,a=t.maximum,c=s.subtract(a,n,ct),l=r-i;p=Math.max(s.maximumComponent(c),l)<dt-1?g.BITS12:g.NONE;let u=h.fromScale(c,rt);u=h.setTranslation(u,n,u);let m=h.fromScale(s.fromElements(1/c.x,1/c.y,1/c.z,C),mt);m=h.multiplyByTranslation(m,s.negate(n,C),m),d=h.clone(o,new h);let y=h.getTranslation(o,C);y=s.subtract(y,e,C),d=h.setTranslation(d,y,d),d=h.multiply(d,u,d),f=h.inverseTransformation(o,new h),f=h.multiply(m,f,f),o=h.multiply(o,u,new h)}this.quantization=p,this.minimumHeight=i,this.maximumHeight=r,this.center=s.clone(e),this.toScaledENU=f,this.fromScaledENU=o,this.matrix=d,this.hasVertexNormals=n??!1,this.hasWebMercatorT=a??!1,this.hasGeodeticSurfaceNormals=c??!1,this.exaggeration=u??1,this.exaggerationRelativeHeight=m??0,this.stride=0,this._offsetGeodeticSurfaceNormal=0,this._offsetVertexNormal=0,this._calculateStrideAndOffsets()}p.prototype.encode=function(e,t,i,o,s,n,a,c){r.typeOf.object("vertexBuffer",e),r.typeOf.number("bufferIndex",t),r.typeOf.object("position",i),r.typeOf.object("uv",o),r.typeOf.number("height",s);let l=o.x,u=o.y;if(this.quantization===g.BITS12){(i=h.multiplyByPoint(this.toScaledENU,i,C)).x=_.clamp(i.x,0,1),i.y=_.clamp(i.y,0,1),i.z=_.clamp(i.z,0,1);let r=this.maximumHeight-this.minimumHeight,o=_.clamp((s-this.minimumHeight)/r,0,1);T.fromElements(i.x,i.y,N);let n=y.compressTextureCoordinates(N);T.fromElements(i.z,o,N);let c=y.compressTextureCoordinates(N);T.fromElements(l,u,N);let m=y.compressTextureCoordinates(N);if(e[t++]=n,e[t++]=c,e[t++]=m,this.hasWebMercatorT){T.fromElements(a,0,N);let i=y.compressTextureCoordinates(N);e[t++]=i}}else e[t++]=i.x-this.center.x,e[t++]=i.y-this.center.y,e[t++]=i.z-this.center.z,e[t++]=s,e[t++]=l,e[t++]=u,this.hasWebMercatorT&&(e[t++]=a);return this.hasVertexNormals&&(e[t++]=y.octPackFloat(n)),this.hasGeodeticSurfaceNormals&&(e[t++]=c.x,e[t++]=c.y,e[t++]=c.z),t};var ht=new s,Y=new s;p.prototype.addGeodeticSurfaceNormals=function(e,t,i){if(r.typeOf.object("oldBuffer",e),r.typeOf.object("newBuffer",t),r.typeOf.object("ellipsoid",i),this.hasGeodeticSurfaceNormals)return;let o=this.stride,s=e.length/o;this.hasGeodeticSurfaceNormals=!0,this._calculateStrideAndOffsets();let n=this.stride;for(let r=0;r<s;r++){for(let i=0;i<o;i++){let s=r*o+i;t[r*n+i]=e[s]}let s=this.decodePosition(t,r,ht),a=i.geodeticSurfaceNormal(s,Y),c=r*n+this._offsetGeodeticSurfaceNormal;t[c]=a.x,t[c+1]=a.y,t[c+2]=a.z}},p.prototype.removeGeodeticSurfaceNormals=function(e,t){if(r.typeOf.object("oldBuffer",e),r.typeOf.object("newBuffer",t),!this.hasGeodeticSurfaceNormals)return;let i=this.stride,o=e.length/i;this.hasGeodeticSurfaceNormals=!1,this._calculateStrideAndOffsets();let s=this.stride;for(let r=0;r<o;r++)for(let o=0;o<s;o++){let n=r*i+o;t[r*s+o]=e[n]}},p.prototype.decodePosition=function(e,t,i){if(r.typeOf.object("buffer",e),r.typeOf.number("index",t),l(i)||(i=new s),t*=this.stride,this.quantization===g.BITS12){let r=y.decompressTextureCoordinates(e[t],N);i.x=r.x,i.y=r.y;let o=y.decompressTextureCoordinates(e[t+1],N);return i.z=o.x,h.multiplyByPoint(this.fromScaledENU,i,i)}return i.x=e[t],i.y=e[t+1],i.z=e[t+2],s.add(i,this.center,i)},p.prototype.getExaggeratedPosition=function(e,t,i){i=this.decodePosition(e,t,i);let r=this.exaggeration,o=this.exaggerationRelativeHeight;if(1!==r&&this.hasGeodeticSurfaceNormals){let s=this.decodeGeodeticSurfaceNormal(e,t,Y),n=this.decodeHeight(e,t),a=X.getHeight(n,r,o)-n;i.x+=s.x*a,i.y+=s.y*a,i.z+=s.z*a}return i},p.prototype.decodeTextureCoordinates=function(e,t,i){return r.typeOf.object("buffer",e),r.typeOf.number("index",t),l(i)||(i=new T),t*=this.stride,this.quantization===g.BITS12?y.decompressTextureCoordinates(e[t+2],i):T.fromElements(e[t+4],e[t+5],i)},p.prototype.decodeHeight=function(e,t){return r.typeOf.object("buffer",e),r.typeOf.number("index",t),t*=this.stride,this.quantization===g.BITS12?y.decompressTextureCoordinates(e[t+1],N).y*(this.maximumHeight-this.minimumHeight)+this.minimumHeight:e[t+3]},p.prototype.decodeWebMercatorT=function(e,t){return r.typeOf.object("buffer",e),r.typeOf.number("index",t),t*=this.stride,this.quantization===g.BITS12?y.decompressTextureCoordinates(e[t+3],N).x:e[t+6]},p.prototype.getOctEncodedNormal=function(e,t,i){r.typeOf.object("buffer",e),r.typeOf.number("index",t);let o=e[t=t*this.stride+this._offsetVertexNormal]/256,s=Math.floor(o),n=256*(o-s);return T.fromElements(s,n,i)},p.prototype.decodeNormal=function(e,t,i){r.typeOf.object("buffer",e),r.typeOf.number("index",t),r.typeOf.object("result",i);let o=t=t*this.stride+this._offsetVertexNormal;return y.octDecodeFloat(e[o],i)},p.prototype.decodeGeodeticSurfaceNormal=function(e,t,i){return r.typeOf.object("buffer",e),r.typeOf.number("index",t),r.typeOf.object("result",i),t=t*this.stride+this._offsetGeodeticSurfaceNormal,i.x=e[t],i.y=e[t+1],i.z=e[t+2],i},p.prototype._calculateStrideAndOffsets=function(){let e=0;this.quantization===g.BITS12?e+=3:e+=6,this.hasWebMercatorT&&(e+=1),this.hasVertexNormals&&(this._offsetVertexNormal=e,e+=1),this.hasGeodeticSurfaceNormals&&(this._offsetGeodeticSurfaceNormal=e,e+=3),this.stride=e};var M={position3DAndHeight:0,textureCoordAndEncodedNormals:1,geodeticSurfaceNormal:2},V={compressed0:0,compressed1:1,geodeticSurfaceNormal:2};p.prototype.getAttributes=function(e){r.typeOf.object("buffer",e);let t=A.FLOAT,i=A.getSizeInBytes(t),o=this.stride*i,s=0,n=[];function a(r,a){n.push({index:r,vertexBuffer:e,componentDatatype:t,componentsPerAttribute:a,offsetInBytes:s,strideInBytes:o}),s+=a*i}if(this.quantization===g.NONE){a(M.position3DAndHeight,4);let e=2;e+=this.hasWebMercatorT?1:0,e+=this.hasVertexNormals?1:0,a(M.textureCoordAndEncodedNormals,e),this.hasGeodeticSurfaceNormals&&a(M.geodeticSurfaceNormal,3)}else{let e=this.hasWebMercatorT||this.hasVertexNormals,t=this.hasWebMercatorT&&this.hasVertexNormals;a(V.compressed0,e?4:3),t&&a(V.compressed1,1),this.hasGeodeticSurfaceNormals&&a(V.geodeticSurfaceNormal,3)}return n},p.prototype.getAttributeLocations=function(){return this.quantization===g.NONE?M:V},p.clone=function(e,t){if(l(e))return l(t)||(t=new p),t.quantization=e.quantization,t.minimumHeight=e.minimumHeight,t.maximumHeight=e.maximumHeight,t.center=s.clone(e.center),t.toScaledENU=h.clone(e.toScaledENU),t.fromScaledENU=h.clone(e.fromScaledENU),t.matrix=h.clone(e.matrix),t.hasVertexNormals=e.hasVertexNormals,t.hasWebMercatorT=e.hasWebMercatorT,t.hasGeodeticSurfaceNormals=e.hasGeodeticSurfaceNormals,t.exaggeration=e.exaggeration,t.exaggerationRelativeHeight=e.exaggerationRelativeHeight,t._calculateStrideAndOffsets(),t};var At=p;export{Nt as a,At as b};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
+
* Version 1.135.0
|
|
5
|
+
*
|
|
6
|
+
* Copyright 2011-2022 Cesium Contributors
|
|
7
|
+
*
|
|
8
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
9
|
+
* you may not use this file except in compliance with the License.
|
|
10
|
+
* You may obtain a copy of the License at
|
|
11
|
+
*
|
|
12
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
13
|
+
*
|
|
14
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
15
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
16
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
17
|
+
* See the License for the specific language governing permissions and
|
|
18
|
+
* limitations under the License.
|
|
19
|
+
*
|
|
20
|
+
* Columbus View (Pat. Pend.)
|
|
21
|
+
*
|
|
22
|
+
* Portions licensed separately.
|
|
23
|
+
* See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
|
|
24
|
+
*/
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! For license information please see chunk-BTDQB5Q4.js.LICENSE.txt */
|
|
2
|
+
import{a as Q}from"./chunk-XQDTMI7Q.js";import{a as N}from"./chunk-T77EB7BE.js";import{a as _}from"./chunk-APG2S62J.js";import{a as K}from"./chunk-T6Q6HX5J.js";import{a as H}from"./chunk-4MJDNHOT.js";import{b as J,c as W,d as L}from"./chunk-EDF5FKWJ.js";import{d as j}from"./chunk-XQIJGAVD.js";import{a as S}from"./chunk-RCHWDG3R.js";import{a as b,c as E,f as Z}from"./chunk-KWAHJ72S.js";import{a as Y}from"./chunk-MKDADUG3.js";import{a as F}from"./chunk-NOIUI5SY.js";import{e as g}from"./chunk-XRRBRTKL.js";var k=new E,ot=new b,nt=new b,it=new b,rt=new b;function O(t){let e=(t=t??Z.EMPTY_OBJECT).length,o=t.topRadius,n=t.bottomRadius,r=t.vertexFormat??_.DEFAULT,a=t.slices??128;if(!g(e))throw new F("options.length must be defined.");if(!g(o))throw new F("options.topRadius must be defined.");if(!g(n))throw new F("options.bottomRadius must be defined.");if(a<3)throw new F("options.slices must be greater than or equal to 3.");if(g(t.offsetAttribute)&&t.offsetAttribute===N.TOP)throw new F("GeometryOffsetAttribute.TOP is not a supported options.offsetAttribute for this geometry.");this._length=e,this._topRadius=o,this._bottomRadius=n,this._vertexFormat=_.clone(r),this._slices=a,this._offsetAttribute=t.offsetAttribute,this._workerName="createCylinderGeometry"}O.packedLength=_.packedLength+5,O.pack=function(t,e,o){if(!g(t))throw new F("value is required");if(!g(e))throw new F("array is required");return o=o??0,_.pack(t._vertexFormat,e,o),o+=_.packedLength,e[o++]=t._length,e[o++]=t._topRadius,e[o++]=t._bottomRadius,e[o++]=t._slices,e[o]=t._offsetAttribute??-1,e};var M,X=new _,D={vertexFormat:X,length:void 0,topRadius:void 0,bottomRadius:void 0,slices:void 0,offsetAttribute:void 0};O.unpack=function(t,e,o){if(!g(t))throw new F("array is required");e=e??0;let n=_.unpack(t,e,X);e+=_.packedLength;let r=t[e++],a=t[e++],i=t[e++],s=t[e++],u=t[e];return g(o)?(o._vertexFormat=_.clone(n,o._vertexFormat),o._length=r,o._topRadius=a,o._bottomRadius=i,o._slices=s,o._offsetAttribute=-1===u?void 0:u,o):(D.length=r,D.topRadius=a,D.bottomRadius=i,D.slices=s,D.offsetAttribute=-1===u?void 0:u,new O(D))},O.createGeometry=function(t){let e=t._length,o=t._topRadius,n=t._bottomRadius,r=t._vertexFormat,a=t._slices;if(e<=0||o<0||n<0||0===o&&0===n)return;let i,s=a+a,u=a+s,m=s+s,f=Q.computePositions(e,o,n,a,!0),p=r.st?new Float32Array(2*m):void 0,l=r.normal?new Float32Array(3*m):void 0,c=r.tangent?new Float32Array(3*m):void 0,d=r.bitangent?new Float32Array(3*m):void 0,h=r.normal||r.tangent||r.bitangent;if(h){let t=r.tangent||r.bitangent,s=0,u=0,m=0,f=Math.atan2(n-o,e),p=ot;p.z=Math.sin(f);let g=Math.cos(f),_=it,w=nt;for(i=0;i<a;i++){let e=i/a*Y.TWO_PI,o=g*Math.cos(e),n=g*Math.sin(e);h&&(p.x=o,p.y=n,t&&(_=b.normalize(b.cross(b.UNIT_Z,p,_),_)),r.normal&&(l[s++]=p.x,l[s++]=p.y,l[s++]=p.z,l[s++]=p.x,l[s++]=p.y,l[s++]=p.z),r.tangent&&(c[u++]=_.x,c[u++]=_.y,c[u++]=_.z,c[u++]=_.x,c[u++]=_.y,c[u++]=_.z),r.bitangent&&(w=b.normalize(b.cross(p,_,w),w),d[m++]=w.x,d[m++]=w.y,d[m++]=w.z,d[m++]=w.x,d[m++]=w.y,d[m++]=w.z))}for(i=0;i<a;i++)r.normal&&(l[s++]=0,l[s++]=0,l[s++]=-1),r.tangent&&(c[u++]=1,c[u++]=0,c[u++]=0),r.bitangent&&(d[m++]=0,d[m++]=-1,d[m++]=0);for(i=0;i<a;i++)r.normal&&(l[s++]=0,l[s++]=0,l[s++]=1),r.tangent&&(c[u++]=1,c[u++]=0,c[u++]=0),r.bitangent&&(d[m++]=0,d[m++]=1,d[m++]=0)}let _=12*a-12,w=K.createTypedArray(m,_),A=0,y=0;for(i=0;i<a-1;i++)w[A++]=y,w[A++]=y+2,w[A++]=y+3,w[A++]=y,w[A++]=y+3,w[A++]=y+1,y+=2;for(w[A++]=s-2,w[A++]=0,w[A++]=1,w[A++]=s-2,w[A++]=1,w[A++]=s-1,i=1;i<a-1;i++)w[A++]=s+i+1,w[A++]=s+i,w[A++]=s;for(i=1;i<a-1;i++)w[A++]=u,w[A++]=u+i,w[A++]=u+i+1;let v=0;if(r.st){let t=Math.max(o,n);for(i=0;i<m;i++){let e=b.fromArray(f,3*i,rt);p[v++]=(e.x+t)/(2*t),p[v++]=(e.y+t)/(2*t)}}let F=new H;r.position&&(F.position=new L({componentDatatype:S.DOUBLE,componentsPerAttribute:3,values:f})),r.normal&&(F.normal=new L({componentDatatype:S.FLOAT,componentsPerAttribute:3,values:l})),r.tangent&&(F.tangent=new L({componentDatatype:S.FLOAT,componentsPerAttribute:3,values:c})),r.bitangent&&(F.bitangent=new L({componentDatatype:S.FLOAT,componentsPerAttribute:3,values:d})),r.st&&(F.st=new L({componentDatatype:S.FLOAT,componentsPerAttribute:2,values:p})),k.x=.5*e,k.y=Math.max(n,o);let O=new j(b.ZERO,E.magnitude(k));if(g(t._offsetAttribute)){e=f.length;let o=t._offsetAttribute===N.NONE?0:1,n=new Uint8Array(e/3).fill(o);F.applyOffset=new L({componentDatatype:S.UNSIGNED_BYTE,componentsPerAttribute:1,values:n})}return new W({attributes:F,indices:w,primitiveType:J.TRIANGLES,boundingSphere:O,offsetAttribute:t._offsetAttribute})},O.getUnitCylinder=function(){return g(M)||(M=O.createGeometry(new O({topRadius:1,bottomRadius:1,length:1,vertexFormat:_.POSITION_ONLY}))),M};var yt=O;export{yt as a};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
+
* Version 1.135.0
|
|
5
|
+
*
|
|
6
|
+
* Copyright 2011-2022 Cesium Contributors
|
|
7
|
+
*
|
|
8
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
9
|
+
* you may not use this file except in compliance with the License.
|
|
10
|
+
* You may obtain a copy of the License at
|
|
11
|
+
*
|
|
12
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
13
|
+
*
|
|
14
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
15
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
16
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
17
|
+
* See the License for the specific language governing permissions and
|
|
18
|
+
* limitations under the License.
|
|
19
|
+
*
|
|
20
|
+
* Columbus View (Pat. Pend.)
|
|
21
|
+
*
|
|
22
|
+
* Portions licensed separately.
|
|
23
|
+
* See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
|
|
24
|
+
*/
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! For license information please see chunk-CJRI54BI.js.LICENSE.txt */
|
|
2
|
+
import{a as wt}from"./chunk-T77EB7BE.js";import{a as C}from"./chunk-APG2S62J.js";import{a as kt}from"./chunk-T6Q6HX5J.js";import{a as Ct}from"./chunk-4MJDNHOT.js";import{b as dt,c as _t,d as N}from"./chunk-EDF5FKWJ.js";import{d as ht}from"./chunk-XQIJGAVD.js";import{a as M}from"./chunk-RCHWDG3R.js";import{a as s,c as lt,d as it,f as pt}from"./chunk-KWAHJ72S.js";import{a as E}from"./chunk-MKDADUG3.js";import{a as g}from"./chunk-NOIUI5SY.js";import{e as v}from"./chunk-XRRBRTKL.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 x(t){let e=(t=t??pt.EMPTY_OBJECT).radii??Rt,i=t.innerRadii??e,n=t.minimumClock??0,a=t.maximumClock??E.TWO_PI,o=t.minimumCone??0,r=t.maximumCone??E.PI,m=Math.round(t.stackPartitions??64),c=Math.round(t.slicePartitions??64),u=t.vertexFormat??C.DEFAULT;if(c<3)throw new g("options.slicePartitions cannot be less than three.");if(m<3)throw new g("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=o,this._maximumCone=r,this._stackPartitions=m,this._slicePartitions=c,this._vertexFormat=C.clone(u),this._offsetAttribute=t.offsetAttribute,this._workerName="createEllipsoidGeometry"}x.packedLength=2*s.packedLength+C.packedLength+7,x.pack=function(t,e,i){if(!v(t))throw new g("value is required");if(!v(e))throw new g("array is required");return i=i??0,s.pack(t._radii,e,i),i+=s.packedLength,s.pack(t._innerRadii,e,i),i+=s.packedLength,C.pack(t._vertexFormat,e,i),i+=C.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]=t._offsetAttribute??-1,e};var ot,bt=new s,xt=new s,Ot=new C,L={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};x.unpack=function(t,e,i){if(!v(t))throw new g("array is required");e=e??0;let n=s.unpack(t,e,bt);e+=s.packedLength;let a=s.unpack(t,e,xt);e+=s.packedLength;let o=C.unpack(t,e,Ot);e+=C.packedLength;let r=t[e++],m=t[e++],c=t[e++],u=t[e++],l=t[e++],f=t[e++],p=t[e];return v(i)?(i._radii=s.clone(n,i._radii),i._innerRadii=s.clone(a,i._innerRadii),i._vertexFormat=C.clone(o,i._vertexFormat),i._minimumClock=r,i._maximumClock=m,i._minimumCone=c,i._maximumCone=u,i._stackPartitions=l,i._slicePartitions=f,i._offsetAttribute=-1===p?void 0:p,i):(L.minimumClock=r,L.maximumClock=m,L.minimumCone=c,L.maximumCone=u,L.stackPartitions=l,L.slicePartitions=f,L.offsetAttribute=-1===p?void 0:p,new x(L))},x.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,o=t._minimumCone,r=t._maximumCone,m=t._vertexFormat,c=t._slicePartitions+1,u=t._stackPartitions+1;c=Math.round(c*Math.abs(a-n)/E.TWO_PI),u=Math.round(u*Math.abs(r-o)/E.PI),c<2&&(c=2),u<2&&(u=2);let l,f,p=0,h=[o],_=[n];for(l=0;l<u;l++)h.push(o+l*(r-o)/(u-1));for(h.push(r),f=0;f<c;f++)_.push(n+f*(a-n)/(c-1));_.push(a);let d=h.length,k=_.length,x=0,w=1,C=i.x!==e.x||i.y!==e.y||i.z!==e.z,A=!1,y=!1,P=!1;C&&(w=2,o>0&&(A=!0,x+=c-1),r<Math.PI&&(y=!0,x+=c-1),(a-n)%E.TWO_PI?(P=!0,x+=2*(u-1)+1):x+=1);let g=k*d*w,b=new Float64Array(3*g),L=new Array(g).fill(!1),T=new Array(g).fill(!1),F=c*u*w,O=6*(F+x+1-(c+u)*w),I=kt.createTypedArray(F,O),D=m.normal?new Float32Array(3*g):void 0,R=m.tangent?new Float32Array(3*g):void 0,z=m.bitangent?new Float32Array(3*g):void 0,j=m.st?new Float32Array(2*g):void 0,G=new Array(d),U=new Array(d);for(l=0;l<d;l++)G[l]=At(h[l]),U[l]=Pt(h[l]);let S=new Array(k),J=new Array(k);for(f=0;f<k;f++)J[f]=Pt(_[f]),S[f]=At(_[f]);for(l=0;l<d;l++)for(f=0;f<k;f++)b[p++]=e.x*G[l]*J[f],b[p++]=e.y*G[l]*S[f],b[p++]=e.z*U[l];let W,B,K,H,X=g/2;if(C)for(l=0;l<d;l++)for(f=0;f<k;f++)b[p++]=i.x*G[l]*J[f],b[p++]=i.y*G[l]*S[f],b[p++]=i.z*U[l],L[X]=!0,l>0&&l!==d-1&&0!==f&&f!==k-1&&(T[X]=!0),X++;for(p=0,l=1;l<d-2;l++)for(W=l*k,B=(l+1)*k,f=1;f<k-2;f++)I[p++]=B+f,I[p++]=B+f+1,I[p++]=W+f+1,I[p++]=B+f,I[p++]=W+f+1,I[p++]=W+f;if(C){let t=d*k;for(l=1;l<d-2;l++)for(W=t+l*k,B=t+(l+1)*k,f=1;f<k-2;f++)I[p++]=B+f,I[p++]=W+f,I[p++]=W+f+1,I[p++]=B+f,I[p++]=W+f+1,I[p++]=B+f+1}if(C){if(A)for(H=d*k,l=1;l<k-2;l++)I[p++]=l,I[p++]=l+1,I[p++]=H+l+1,I[p++]=l,I[p++]=H+l+1,I[p++]=H+l;if(y)for(K=d*k-k,H=d*k*w-k,l=1;l<k-2;l++)I[p++]=K+l+1,I[p++]=K+l,I[p++]=H+l,I[p++]=K+l+1,I[p++]=H+l,I[p++]=H+l+1}if(P){for(l=1;l<d-2;l++)H=k*d+k*l,K=k*l,I[p++]=H,I[p++]=K+k,I[p++]=K,I[p++]=H,I[p++]=H+k,I[p++]=K+k;for(l=1;l<d-2;l++)H=k*d+k*(l+1)-1,K=k*(l+1)-1,I[p++]=K+k,I[p++]=H,I[p++]=K,I[p++]=K+k,I[p++]=H+k,I[p++]=H}let Y=new Ct;m.position&&(Y.position=new N({componentDatatype:M.DOUBLE,componentsPerAttribute:3,values:b}));let q,Q=0,V=0,Z=0,$=0,tt=g/2,et=it.fromCartesian3(e),nt=it.fromCartesian3(i);if(m.st||m.normal||m.tangent||m.bitangent){for(l=0;l<g;l++){q=L[l]?nt:et;let t=s.fromArray(b,3*l,yt),e=q.geodeticSurfaceNormal(t,vt);if(T[l]&&s.negate(e,e),m.st){let t=lt.negate(e,Nt);j[Q++]=Math.atan2(t.y,t.x)/E.TWO_PI+.5,j[Q++]=Math.asin(e.z)/Math.PI+.5}if(m.normal&&(D[V++]=e.x,D[V++]=e.y,D[V++]=e.z),m.tangent||m.bitangent){let t,i=Et,n=0;if(L[l]&&(n=tt),t=!A&&l>=n&&l<n+2*k?s.UNIT_X:s.UNIT_Z,s.cross(t,e,i),s.normalize(i,i),m.tangent&&(R[Z++]=i.x,R[Z++]=i.y,R[Z++]=i.z),m.bitangent){let t=s.cross(e,i,Mt);s.normalize(t,t),z[$++]=t.x,z[$++]=t.y,z[$++]=t.z}}}m.st&&(Y.st=new N({componentDatatype:M.FLOAT,componentsPerAttribute:2,values:j})),m.normal&&(Y.normal=new N({componentDatatype:M.FLOAT,componentsPerAttribute:3,values:D})),m.tangent&&(Y.tangent=new N({componentDatatype:M.FLOAT,componentsPerAttribute:3,values:R})),m.bitangent&&(Y.bitangent=new N({componentDatatype:M.FLOAT,componentsPerAttribute:3,values:z}))}if(v(t._offsetAttribute)){let e=b.length,i=t._offsetAttribute===wt.NONE?0:1,n=new Uint8Array(e/3).fill(i);Y.applyOffset=new N({componentDatatype:M.UNSIGNED_BYTE,componentsPerAttribute:1,values:n})}return new _t({attributes:Y,indices:I,primitiveType:dt.TRIANGLES,boundingSphere:ht.fromEllipsoid(et),offsetAttribute:t._offsetAttribute})},x.getUnitEllipsoid=function(){return v(ot)||(ot=x.createGeometry(new x({radii:new s(1,1,1),vertexFormat:C.POSITION_ONLY}))),ot};var Kt=x;export{Kt as a};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
+
* Version 1.135.0
|
|
5
|
+
*
|
|
6
|
+
* Copyright 2011-2022 Cesium Contributors
|
|
7
|
+
*
|
|
8
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
9
|
+
* you may not use this file except in compliance with the License.
|
|
10
|
+
* You may obtain a copy of the License at
|
|
11
|
+
*
|
|
12
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
13
|
+
*
|
|
14
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
15
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
16
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
17
|
+
* See the License for the specific language governing permissions and
|
|
18
|
+
* limitations under the License.
|
|
19
|
+
*
|
|
20
|
+
* Columbus View (Pat. Pend.)
|
|
21
|
+
*
|
|
22
|
+
* Portions licensed separately.
|
|
23
|
+
* See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
|
|
24
|
+
*/
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! For license information please see chunk-CUP6SILZ.js.LICENSE.txt */
|
|
2
|
+
import{b as d}from"./chunk-XQIJGAVD.js";import{a as i}from"./chunk-KWAHJ72S.js";import{b as r}from"./chunk-NOIUI5SY.js";import{e as c}from"./chunk-XRRBRTKL.js";function t(m,n,t){this.minimum=i.clone(m??i.ZERO),this.maximum=i.clone(n??i.ZERO),t=c(t)?i.clone(t):i.midpoint(this.minimum,this.maximum,new i),this.center=t}t.fromCorners=function(m,n,e){return r.defined("minimum",m),r.defined("maximum",n),c(e)||(e=new t),e.minimum=i.clone(m,e.minimum),e.maximum=i.clone(n,e.maximum),e.center=i.midpoint(m,n,e.center),e},t.fromPoints=function(m,n){if(c(n)||(n=new t),!c(m)||0===m.length)return n.minimum=i.clone(i.ZERO,n.minimum),n.maximum=i.clone(i.ZERO,n.maximum),n.center=i.clone(i.ZERO,n.center),n;let e=m[0].x,r=m[0].y,u=m[0].z,a=m[0].x,o=m[0].y,l=m[0].z,s=m.length;for(let i=1;i<s;i++){let n=m[i],t=n.x,c=n.y,s=n.z;e=Math.min(t,e),a=Math.max(t,a),r=Math.min(c,r),o=Math.max(c,o),u=Math.min(s,u),l=Math.max(s,l)}let h=n.minimum;h.x=e,h.y=r,h.z=u;let x=n.maximum;return x.x=a,x.y=o,x.z=l,n.center=i.midpoint(h,x,n.center),n},t.clone=function(m,n){if(c(m))return c(n)?(n.minimum=i.clone(m.minimum,n.minimum),n.maximum=i.clone(m.maximum,n.maximum),n.center=i.clone(m.center,n.center),n):new t(m.minimum,m.maximum,m.center)},t.equals=function(m,n){return m===n||c(m)&&c(n)&&i.equals(m.center,n.center)&&i.equals(m.minimum,n.minimum)&&i.equals(m.maximum,n.maximum)};var h=new i;t.intersectPlane=function(m,n){r.defined("box",m),r.defined("plane",n),h=i.subtract(m.maximum,m.minimum,h);let t=i.multiplyByScalar(h,.5,h),e=n.normal,u=t.x*Math.abs(e.x)+t.y*Math.abs(e.y)+t.z*Math.abs(e.z),c=i.dot(m.center,e)+n.distance;return c-u>0?d.INSIDE:c+u<0?d.OUTSIDE:d.INTERSECTING},t.prototype.clone=function(i){return t.clone(this,i)},t.prototype.intersectPlane=function(i){return t.intersectPlane(this,i)},t.prototype.equals=function(i){return t.equals(this,i)};var S=t;export{S as a};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
+
* Version 1.135.0
|
|
5
|
+
*
|
|
6
|
+
* Copyright 2011-2022 Cesium Contributors
|
|
7
|
+
*
|
|
8
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
9
|
+
* you may not use this file except in compliance with the License.
|
|
10
|
+
* You may obtain a copy of the License at
|
|
11
|
+
*
|
|
12
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
13
|
+
*
|
|
14
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
15
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
16
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
17
|
+
* See the License for the specific language governing permissions and
|
|
18
|
+
* limitations under the License.
|
|
19
|
+
*
|
|
20
|
+
* Columbus View (Pat. Pend.)
|
|
21
|
+
*
|
|
22
|
+
* Portions licensed separately.
|
|
23
|
+
* See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
|
|
24
|
+
*/
|