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-XQIJGAVD.js.LICENSE.txt */
|
|
2
|
+
import{b as Z,i as A}from"./chunk-UTYWXSQT.js";import{a as n,b as v,d as N,e as _}from"./chunk-KWAHJ72S.js";import{a as on}from"./chunk-MKDADUG3.js";import{a as en,b as h}from"./chunk-NOIUI5SY.js";import{e as x}from"./chunk-XRRBRTKL.js";function I(n){this._ellipsoid=n??N.default,this._semimajorAxis=this._ellipsoid.maximumRadius,this._oneOverSemimajorAxis=1/this._semimajorAxis}Object.defineProperties(I.prototype,{ellipsoid:{get:function(){return this._ellipsoid}}}),I.prototype.project=function(e,t){let r=this._semimajorAxis,a=e.longitude*r,o=e.latitude*r,c=e.height;return x(t)?(t.x=a,t.y=o,t.z=c,t):new n(a,o,c)},I.prototype.unproject=function(n,e){if(!x(n))throw new en("cartesian is required");let t=this._oneOverSemimajorAxis,r=n.x*t,a=n.y*t,o=n.z;return x(e)?(e.longitude=r,e.latitude=a,e.height=o,e):new v(r,a,o)};var k=I,sn={OUTSIDE:-1,INTERSECTING:0,INSIDE:1},U=Object.freeze(sn);function mn(n,e){this.start=n??0,this.stop=e??0}var cn=mn;function a(e,t){this.center=n.clone(e??n.ZERO),this.radius=t??0}var X=new n,F=new n,Y=new n,J=new n,K=new n,Q=new n,$=new n,b=new n,L=new n,H=new n,nn=new n,tn=new n,un=4/3*on.PI;a.fromPoints=function(e,t){if(x(t)||(t=new a),!x(e)||0===e.length)return t.center=n.clone(n.ZERO,t.center),t.radius=0,t;let r,o=n.clone(e[0],$),c=n.clone(o,X),i=n.clone(o,F),u=n.clone(o,Y),l=n.clone(o,J),s=n.clone(o,K),d=n.clone(o,Q),f=e.length;for(r=1;r<f;r++){n.clone(e[r],o);let t=o.x,a=o.y,f=o.z;t<c.x&&n.clone(o,c),t>l.x&&n.clone(o,l),a<i.y&&n.clone(o,i),a>s.y&&n.clone(o,s),f<u.z&&n.clone(o,u),f>d.z&&n.clone(o,d)}let y=n.magnitudeSquared(n.subtract(l,c,b)),h=n.magnitudeSquared(n.subtract(s,i,b)),p=n.magnitudeSquared(n.subtract(d,u,b)),m=c,g=l,z=y;h>z&&(z=h,m=i,g=s),p>z&&(z=p,m=u,g=d);let w=L;w.x=.5*(m.x+g.x),w.y=.5*(m.y+g.y),w.z=.5*(m.z+g.z);let O=n.magnitudeSquared(n.subtract(g,w,b)),j=Math.sqrt(O),S=H;S.x=c.x,S.y=i.y,S.z=u.z;let q=nn;q.x=l.x,q.y=s.y,q.z=d.z;let v=n.midpoint(S,q,tn),E=0;for(r=0;r<f;r++){n.clone(e[r],o);let t=n.magnitude(n.subtract(o,v,b));t>E&&(E=t);let a=n.magnitudeSquared(n.subtract(o,w,b));if(a>O){let n=Math.sqrt(a);j=.5*(j+n),O=j*j;let e=n-j;w.x=(j*w.x+e*o.x)/n,w.y=(j*w.y+e*o.y)/n,w.z=(j*w.z+e*o.z)/n}}return j<E?(n.clone(w,t.center),t.radius=j):(n.clone(v,t.center),t.radius=E),t};var rn=new k,xn=new n,yn=new n,G=new v,V=new v;a.fromRectangle2D=function(n,e,t){return a.fromRectangleWithHeights2D(n,e,0,0,t)},a.fromRectangleWithHeights2D=function(e,t,r,o,c){if(x(c)||(c=new a),!x(e))return c.center=n.clone(n.ZERO,c.center),c.radius=0,c;rn._ellipsoid=N.default,t=t??rn,A.southwest(e,G),G.height=r,A.northeast(e,V),V.height=o;let i=t.project(G,xn),u=t.project(V,yn),l=u.x-i.x,s=u.y-i.y,d=u.z-i.z;c.radius=.5*Math.sqrt(l*l+s*s+d*d);let f=c.center;return f.x=i.x+.5*l,f.y=i.y+.5*s,f.z=i.z+.5*d,c};var ln=[];a.fromRectangle3D=function(e,t,r,o){if(t=t??N.default,r=r??0,x(o)||(o=new a),!x(e))return o.center=n.clone(n.ZERO,o.center),o.radius=0,o;let c=A.subsample(e,t,r,ln);return a.fromPoints(c,o)},a.fromVertices=function(e,t,r,o){if(x(o)||(o=new a),!x(e)||0===e.length)return o.center=n.clone(n.ZERO,o.center),o.radius=0,o;t=t??n.ZERO,r=r??3,h.typeOf.number.greaterThanOrEquals("stride",r,3);let c=$;c.x=e[0]+t.x,c.y=e[1]+t.y,c.z=e[2]+t.z;let i,u=n.clone(c,X),l=n.clone(c,F),s=n.clone(c,Y),d=n.clone(c,J),f=n.clone(c,K),y=n.clone(c,Q),p=e.length;for(i=0;i<p;i+=r){let r=e[i]+t.x,a=e[i+1]+t.y,o=e[i+2]+t.z;c.x=r,c.y=a,c.z=o,r<u.x&&n.clone(c,u),r>d.x&&n.clone(c,d),a<l.y&&n.clone(c,l),a>f.y&&n.clone(c,f),o<s.z&&n.clone(c,s),o>y.z&&n.clone(c,y)}let m=n.magnitudeSquared(n.subtract(d,u,b)),g=n.magnitudeSquared(n.subtract(f,l,b)),z=n.magnitudeSquared(n.subtract(y,s,b)),w=u,O=d,j=m;g>j&&(j=g,w=l,O=f),z>j&&(j=z,w=s,O=y);let S=L;S.x=.5*(w.x+O.x),S.y=.5*(w.y+O.y),S.z=.5*(w.z+O.z);let q=n.magnitudeSquared(n.subtract(O,S,b)),v=Math.sqrt(q),E=H;E.x=u.x,E.y=l.y,E.z=s.z;let R=nn;R.x=d.x,R.y=f.y,R.z=y.z;let T=n.midpoint(E,R,tn),I=0;for(i=0;i<p;i+=r){c.x=e[i]+t.x,c.y=e[i+1]+t.y,c.z=e[i+2]+t.z;let r=n.magnitude(n.subtract(c,T,b));r>I&&(I=r);let a=n.magnitudeSquared(n.subtract(c,S,b));if(a>q){let n=Math.sqrt(a);v=.5*(v+n),q=v*v;let e=n-v;S.x=(v*S.x+e*c.x)/n,S.y=(v*S.y+e*c.y)/n,S.z=(v*S.z+e*c.z)/n}}return v<I?(n.clone(S,o.center),o.radius=v):(n.clone(T,o.center),o.radius=I),o},a.fromEncodedCartesianVertices=function(e,t,r){if(x(r)||(r=new a),!x(e)||!x(t)||e.length!==t.length||0===e.length)return r.center=n.clone(n.ZERO,r.center),r.radius=0,r;let o=$;o.x=e[0]+t[0],o.y=e[1]+t[1],o.z=e[2]+t[2];let c,i=n.clone(o,X),u=n.clone(o,F),l=n.clone(o,Y),s=n.clone(o,J),d=n.clone(o,K),f=n.clone(o,Q),y=e.length;for(c=0;c<y;c+=3){let r=e[c]+t[c],a=e[c+1]+t[c+1],y=e[c+2]+t[c+2];o.x=r,o.y=a,o.z=y,r<i.x&&n.clone(o,i),r>s.x&&n.clone(o,s),a<u.y&&n.clone(o,u),a>d.y&&n.clone(o,d),y<l.z&&n.clone(o,l),y>f.z&&n.clone(o,f)}let h=n.magnitudeSquared(n.subtract(s,i,b)),p=n.magnitudeSquared(n.subtract(d,u,b)),m=n.magnitudeSquared(n.subtract(f,l,b)),g=i,z=s,w=h;p>w&&(w=p,g=u,z=d),m>w&&(w=m,g=l,z=f);let O=L;O.x=.5*(g.x+z.x),O.y=.5*(g.y+z.y),O.z=.5*(g.z+z.z);let j=n.magnitudeSquared(n.subtract(z,O,b)),S=Math.sqrt(j),q=H;q.x=i.x,q.y=u.y,q.z=l.z;let v=nn;v.x=s.x,v.y=d.y,v.z=f.z;let E=n.midpoint(q,v,tn),R=0;for(c=0;c<y;c+=3){o.x=e[c]+t[c],o.y=e[c+1]+t[c+1],o.z=e[c+2]+t[c+2];let r=n.magnitude(n.subtract(o,E,b));r>R&&(R=r);let a=n.magnitudeSquared(n.subtract(o,O,b));if(a>j){let n=Math.sqrt(a);S=.5*(S+n),j=S*S;let e=n-S;O.x=(S*O.x+e*o.x)/n,O.y=(S*O.y+e*o.y)/n,O.z=(S*O.z+e*o.z)/n}}return S<R?(n.clone(O,r.center),r.radius=S):(n.clone(E,r.center),r.radius=R),r},a.fromCornerPoints=function(e,t,r){h.typeOf.object("corner",e),h.typeOf.object("oppositeCorner",t),x(r)||(r=new a);let o=n.midpoint(e,t,r.center);return r.radius=n.distance(o,t),r},a.fromEllipsoid=function(e,t){return h.typeOf.object("ellipsoid",e),x(t)||(t=new a),n.clone(n.ZERO,t.center),t.radius=e.maximumRadius,t};var pn=new n;a.fromBoundingSpheres=function(e,t){if(x(t)||(t=new a),!x(e)||0===e.length)return t.center=n.clone(n.ZERO,t.center),t.radius=0,t;let r=e.length;if(1===r)return a.clone(e[0],t);if(2===r)return a.union(e[0],e[1],t);let o,c=[];for(o=0;o<r;o++)c.push(e[o].center);let i=(t=a.fromPoints(c,t)).center,u=t.radius;for(o=0;o<r;o++){let t=e[o];u=Math.max(u,n.distance(i,t.center,pn)+t.radius)}return t.radius=u,t};var hn=new n,zn=new n,Sn=new n;a.fromOrientedBoundingBox=function(e,t){h.defined("orientedBoundingBox",e),x(t)||(t=new a);let r=e.halfAxes,o=_.getColumn(r,0,hn),c=_.getColumn(r,1,zn),i=_.getColumn(r,2,Sn);return n.add(o,c,o),n.add(o,i,o),t.center=n.clone(e.center,t.center),t.radius=n.magnitude(o),t};var wn=new n,Pn=new n;a.fromTransformation=function(e,t){h.typeOf.object("transformation",e),x(t)||(t=new a);let r=Z.getTranslation(e,wn),o=Z.getScale(e,Pn),c=.5*n.magnitude(o);return t.center=n.clone(r,t.center),t.radius=c,t},a.clone=function(e,t){if(x(e))return x(t)?(t.center=n.clone(e.center,t.center),t.radius=e.radius,t):new a(e.center,e.radius)},a.packedLength=4,a.pack=function(n,e,t){h.typeOf.object("value",n),h.defined("array",e),t=t??0;let r=n.center;return e[t++]=r.x,e[t++]=r.y,e[t++]=r.z,e[t]=n.radius,e},a.unpack=function(n,e,t){h.defined("array",n),e=e??0,x(t)||(t=new a);let r=t.center;return r.x=n[e++],r.y=n[e++],r.z=n[e++],t.radius=n[e],t};var gn=new n,On=new n;a.union=function(e,t,r){h.typeOf.object("left",e),h.typeOf.object("right",t),x(r)||(r=new a);let o=e.center,c=e.radius,i=t.center,u=t.radius,l=n.subtract(i,o,gn),s=n.magnitude(l);if(c>=s+u)return e.clone(r),r;if(u>=s+c)return t.clone(r),r;let d=.5*(c+s+u),f=n.multiplyByScalar(l,(-c+d)/s,On);return n.add(f,o,f),n.clone(f,r.center),r.radius=d,r};var jn=new n;a.expand=function(e,t,r){h.typeOf.object("sphere",e),h.typeOf.object("point",t),r=a.clone(e,r);let o=n.magnitude(n.subtract(t,r.center,jn));return o>r.radius&&(r.radius=o),r},a.intersectPlane=function(e,t){h.typeOf.object("sphere",e),h.typeOf.object("plane",t);let r=e.center,a=e.radius,o=t.normal,c=n.dot(o,r)+t.distance;return c<-a?U.OUTSIDE:c<a?U.INTERSECTING:U.INSIDE},a.transform=function(n,e,t){return h.typeOf.object("sphere",n),h.typeOf.object("transform",e),x(t)||(t=new a),t.center=Z.multiplyByPoint(e,n.center,t.center),t.radius=Z.getMaximumScale(e)*n.radius,t};var bn=new n;a.distanceSquaredTo=function(e,t){h.typeOf.object("sphere",e),h.typeOf.object("cartesian",t);let r=n.subtract(e.center,t,bn),a=n.magnitude(r)-e.radius;return a<=0?0:a*a},a.transformWithoutScale=function(n,e,t){return h.typeOf.object("sphere",n),h.typeOf.object("transform",e),x(t)||(t=new a),t.center=Z.multiplyByPoint(e,n.center,t.center),t.radius=n.radius,t};var qn=new n;a.computePlaneDistances=function(e,t,r,a){h.typeOf.object("sphere",e),h.typeOf.object("position",t),h.typeOf.object("direction",r),x(a)||(a=new cn);let o=n.subtract(e.center,t,qn),c=n.dot(r,o);return a.start=c-e.radius,a.stop=c+e.radius,a};var an=new n,Mn=new n,Tn=new n,Cn=new n,Rn=new n,En=new v,fn=new Array(8);for(let e=0;e<8;++e)fn[e]=new n;var dn=new k;a.projectTo2D=function(e,t,r){h.typeOf.object("sphere",e),dn._ellipsoid=N.default;let o,c=(t=t??dn).ellipsoid,i=e.center,u=e.radius;o=n.equals(i,n.ZERO)?n.clone(n.UNIT_X,an):c.geodeticSurfaceNormal(i,an);let l=n.cross(n.UNIT_Z,o,Mn);n.normalize(l,l);let s=n.cross(o,l,Tn);n.normalize(s,s),n.multiplyByScalar(o,u,o),n.multiplyByScalar(s,u,s),n.multiplyByScalar(l,u,l);let d=n.negate(s,Rn),f=n.negate(l,Cn),y=fn,p=y[0];n.add(o,s,p),n.add(p,l,p),p=y[1],n.add(o,s,p),n.add(p,f,p),p=y[2],n.add(o,d,p),n.add(p,f,p),p=y[3],n.add(o,d,p),n.add(p,l,p),n.negate(o,o),p=y[4],n.add(o,s,p),n.add(p,l,p),p=y[5],n.add(o,s,p),n.add(p,f,p),p=y[6],n.add(o,d,p),n.add(p,f,p),p=y[7],n.add(o,d,p),n.add(p,l,p);let x=y.length;for(let e=0;e<x;++e){let r=y[e];n.add(i,r,r);let a=c.cartesianToCartographic(r,En);t.project(a,r)}i=(r=a.fromPoints(y,r)).center;let m=i.x,b=i.y,g=i.z;return i.x=g,i.y=m,i.z=b,r},a.isOccluded=function(n,e){return h.typeOf.object("sphere",n),h.typeOf.object("occluder",e),!e.isBoundingSphereVisible(n)},a.equals=function(e,t){return e===t||x(e)&&x(t)&&n.equals(e.center,t.center)&&e.radius===t.radius},a.prototype.intersectPlane=function(n){return a.intersectPlane(this,n)},a.prototype.distanceSquaredTo=function(n){return a.distanceSquaredTo(this,n)},a.prototype.computePlaneDistances=function(n,e,t){return a.computePlaneDistances(this,n,e,t)},a.prototype.isOccluded=function(n){return a.isOccluded(this,n)},a.prototype.equals=function(n){return a.equals(this,n)},a.prototype.clone=function(n){return a.clone(this,n)},a.prototype.volume=function(){let n=this.radius;return un*n*n*n};var Ln=a;export{k as a,U as b,cn as c,Ln as d};
|
|
@@ -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-XRRBRTKL.js.LICENSE.txt */
|
|
2
|
+
var i=Object.create,u=Object.defineProperty,r=Object.getOwnPropertyDescriptor,l=Object.getOwnPropertyNames,o=Object.getPrototypeOf,c=Object.prototype.hasOwnProperty,a=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(e,r)=>(typeof require<"u"?require:e)[r]}):e)((function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')})),b=e=>r=>{var t=e[r];if(t)return t();throw new Error("Module not found in bundle: "+r)},g=(e,r)=>()=>(r||e((r={exports:{}}).exports,r),r.exports),p=(e,t,o,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let p of l(t))!c.call(e,p)&&p!==o&&u(e,p,{get:()=>t[p],enumerable:!(n=r(t,p))||n.enumerable});return e},h=(e,r,t)=>(t=null!=e?i(o(e)):{},p(!r&&e&&e.__esModule?t:u(t,"default",{value:e,enumerable:!0}),e));function x(e){return null!=e}var k=x;export{a,b,g as c,h as d,k as e};
|
|
@@ -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-YHWHVNY2.js.LICENSE.txt */
|
|
2
|
+
import{g as C}from"./chunk-UTYWXSQT.js";import{a as n,e as b}from"./chunk-KWAHJ72S.js";import{a as w}from"./chunk-MKDADUG3.js";var j={},q=new n,L=new n,Q=new C,G=new b;function W(e,t,r,a,o,i,l,s,y,c){let m=e+t;n.multiplyByScalar(a,Math.cos(m),q),n.multiplyByScalar(r,Math.sin(m),L),n.add(q,L,q);let u=Math.cos(e);u*=u;let w=Math.sin(e);w*=w;let x=i/Math.sqrt(l*u+o*w)/s;return C.fromAxisAngle(q,x,Q),b.fromQuaternion(Q,G),b.multiplyByVector(G,y,c),n.normalize(c,c),n.multiplyByScalar(c,s,c),c}var U=new n,Z=new n,N=new n,v=new n;j.raisePositionsToHeight=function(e,t,r){let a=t.ellipsoid,o=t.height,i=t.extrudedHeight,l=r?e.length/3*2:e.length/3,s=new Float64Array(3*l),y=e.length,c=r?y:0;for(let t=0;t<y;t+=3){let l=t+1,y=t+2,m=n.fromArray(e,t,U);a.scaleToGeodeticSurface(m,m);let u=n.clone(m,Z),w=a.geodeticSurfaceNormal(m,v),x=n.multiplyByScalar(w,o,N);n.add(m,x,m),r&&(n.multiplyByScalar(w,i,x),n.add(u,x,u),s[t+c]=u.x,s[l+c]=u.y,s[y+c]=u.z),s[t]=m.x,s[l]=m.y,s[y]=m.z}return s};var D=new n,J=new n,K=new n;j.computeEllipsePositions=function(e,t,r){let a=e.semiMinorAxis,o=e.semiMajorAxis,i=e.rotation,l=e.center,s=8*e.granularity,y=a*a,c=o*o,m=o*a,u=n.magnitude(l),x=n.normalize(l,D),h=n.cross(n.UNIT_Z,l,J);h=n.normalize(h,h);let z=n.cross(x,h,K),f=1+Math.ceil(w.PI_OVER_TWO/s),_=w.PI_OVER_TWO/(f-1),p=w.PI_OVER_TWO-f*_;p<0&&(f-=Math.ceil(Math.abs(p)/_));let O,d,P,M,T,g=t?new Array(f*(f+2)*2*3):void 0,I=0,A=U,E=Z,S=4*f*3,V=S-1,j=0,v=r?new Array(S):void 0;for(p=w.PI_OVER_TWO,A=W(p,i,z,h,y,m,c,u,x,A),t&&(g[I++]=A.x,g[I++]=A.y,g[I++]=A.z),r&&(v[V--]=A.z,v[V--]=A.y,v[V--]=A.x),p=w.PI_OVER_TWO-_,O=1;O<f+1;++O){if(A=W(p,i,z,h,y,m,c,u,x,A),E=W(Math.PI-p,i,z,h,y,m,c,u,x,E),t){for(g[I++]=A.x,g[I++]=A.y,g[I++]=A.z,P=2*O+2,d=1;d<P-1;++d)M=d/(P-1),T=n.lerp(A,E,M,N),g[I++]=T.x,g[I++]=T.y,g[I++]=T.z;g[I++]=E.x,g[I++]=E.y,g[I++]=E.z}r&&(v[V--]=A.z,v[V--]=A.y,v[V--]=A.x,v[j++]=E.x,v[j++]=E.y,v[j++]=E.z),p=w.PI_OVER_TWO-(O+1)*_}for(O=f;O>1;--O){if(p=w.PI_OVER_TWO-(O-1)*_,A=W(-p,i,z,h,y,m,c,u,x,A),E=W(p+Math.PI,i,z,h,y,m,c,u,x,E),t){for(g[I++]=A.x,g[I++]=A.y,g[I++]=A.z,P=2*(O-1)+2,d=1;d<P-1;++d)M=d/(P-1),T=n.lerp(A,E,M,N),g[I++]=T.x,g[I++]=T.y,g[I++]=T.z;g[I++]=E.x,g[I++]=E.y,g[I++]=E.z}r&&(v[V--]=A.z,v[V--]=A.y,v[V--]=A.x,v[j++]=E.x,v[j++]=E.y,v[j++]=E.z)}p=w.PI_OVER_TWO,A=W(-p,i,z,h,y,m,c,u,x,A);let R={};return t&&(g[I++]=A.x,g[I++]=A.y,g[I++]=A.z,R.positions=g,R.numPts=f),r&&(v[V--]=A.z,v[V--]=A.y,v[V--]=A.x,R.outerPositions=v),R};var tt=j;export{tt 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-YY6GMQGO.js.LICENSE.txt */
|
|
2
|
+
import{a as k}from"./chunk-T6Q6HX5J.js";import{a as T}from"./chunk-MKDADUG3.js";import{a as d}from"./chunk-NOIUI5SY.js";import{e as E}from"./chunk-XRRBRTKL.js";function a(){d.throwInstantiationError()}Object.defineProperties(a.prototype,{errorEvent:{get:d.throwInstantiationError},credit:{get:d.throwInstantiationError},tilingScheme:{get:d.throwInstantiationError},hasWaterMask:{get:d.throwInstantiationError},hasVertexNormals:{get:d.throwInstantiationError},availability:{get:d.throwInstantiationError}});var b=[];a.getRegularGridIndices=function(t,e){if(t*e>=T.FOUR_GIGABYTES)throw new d("The total number of vertices (width * height) must be less than 4,294,967,296.");let r=b[t];E(r)||(b[t]=r=[]);let n=r[e];return E(n)||(n=t*e<T.SIXTY_FOUR_KILOBYTES?r[e]=new Uint16Array((t-1)*(e-1)*6):r[e]=new Uint32Array((t-1)*(e-1)*6),v(t,e,n,0)),n};var N=[];a.getRegularGridIndicesAndEdgeIndices=function(t,e){if(t*e>=T.FOUR_GIGABYTES)throw new d("The total number of vertices (width * height) must be less than 4,294,967,296.");let r=N[t];E(r)||(N[t]=r=[]);let n=r[e];if(!E(n)){let o=a.getRegularGridIndices(t,e),i=w(t,e),s=i.westIndicesSouthToNorth,h=i.southIndicesEastToWest,d=i.eastIndicesNorthToSouth,u=i.northIndicesWestToEast;n=r[e]={indices:o,westIndicesSouthToNorth:s,southIndicesEastToWest:h,eastIndicesNorthToSouth:d,northIndicesWestToEast:u}}return n};var R=[];function w(t,e){let r,n=new Array(e),o=new Array(t),i=new Array(e),a=new Array(t);for(r=0;r<t;++r)a[r]=r,o[r]=t*e-1-r;for(r=0;r<e;++r)i[r]=(r+1)*t-1,n[r]=(e-r-1)*t;return{westIndicesSouthToNorth:n,southIndicesEastToWest:o,eastIndicesNorthToSouth:i,northIndicesWestToEast:a}}function v(t,e,r,n){let o=0;for(let i=0;i<e-1;++i){for(let e=0;e<t-1;++e){let e=o,i=e+t,a=i+1,s=e+1;r[n++]=e,r[n++]=i,r[n++]=s,r[n++]=s,r[n++]=i,r[n++]=a,++o}++o}}function p(t,e,r,n){let o=t[0],i=t.length;for(let a=1;a<i;++a){let i=t[a];r[n++]=o,r[n++]=i,r[n++]=e,r[n++]=e,r[n++]=i,r[n++]=e+1,o=i,++e}return n}a.getRegularGridAndSkirtIndicesAndEdgeIndices=function(t,e){if(t*e>=T.FOUR_GIGABYTES)throw new d("The total number of vertices (width * height) must be less than 4,294,967,296.");let r=R[t];E(r)||(R[t]=r=[]);let n=r[e];if(!E(n)){let o=t*e,i=(t-1)*(e-1)*6,s=2*t+2*e,h=o+s,d=i+6*Math.max(0,s-4),u=w(t,e),l=u.westIndicesSouthToNorth,c=u.southIndicesEastToWest,I=u.eastIndicesNorthToSouth,g=u.northIndicesWestToEast,T=k.createTypedArray(h,d);v(t,e,T,0),a.addSkirtIndices(l,c,I,g,o,T,i),n=r[e]={indices:T,westIndicesSouthToNorth:l,southIndicesEastToWest:c,eastIndicesNorthToSouth:I,northIndicesWestToEast:g,indexCountWithoutSkirts:i}}return n},a.getSkirtVertexCount=function(t,e,r,n){return t.length+e.length+r.length+n.length},a.getSkirtIndexCount=function(t){return 2*(t-4)*3},a.getSkirtIndexCountWithFilledCorners=function(t){return 3*(2*(t-4)+4)},a.addSkirtIndices=function(t,e,r,n,o,i,a){let s=o;a=p(t,s,i,a),s+=t.length,a=p(e,s,i,a),s+=e.length,a=p(r,s,i,a),s+=r.length,p(n,s,i,a)},a.addSkirtIndicesWithFilledCorners=function(t,e,r,n,o,i,s){a.addSkirtIndices(t,e,r,n,o,i,s);let h=a.getSkirtVertexCount(t,e,r,n),d=s+a.getSkirtIndexCount(h),u=t[0],l=n[0],c=r[0],I=e[0],g=o,T=g+t.length-1,E=T+1,w=E+e.length-1,f=w+1,m=f+r.length-1,S=m+1,p=S+n.length-1;i[d+0]=u,i[d+1]=g,i[d+2]=w,i[d+3]=I,i[d+4]=E,i[d+5]=m,i[d+6]=c,i[d+7]=f,i[d+8]=p,i[d+9]=l,i[d+10]=S,i[d+11]=T},a.heightmapTerrainQuality=.25,a.getEstimatedLevelZeroGeometricErrorForAHeightmap=function(t,e,r){return 2*t.maximumRadius*Math.PI*a.heightmapTerrainQuality/(e*r)},a.prototype.requestTileGeometry=d.throwInstantiationError,a.prototype.getLevelMaximumGeometricError=d.throwInstantiationError,a.prototype.getTileDataAvailable=d.throwInstantiationError,a.prototype.loadTileDataAvailability=d.throwInstantiationError;var M=a;export{M 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 combineGeometry.js.LICENSE.txt */
|
|
2
|
+
import{a as e}from"./chunk-LJBMXZ6U.js";import{a as r}from"./chunk-D2NFCOGE.js";import"./chunk-XBWRWNYZ.js";import"./chunk-3BSRJTW3.js";import"./chunk-VHZAK4GN.js";import"./chunk-OFCC6BNI.js";import"./chunk-HSJ6GSLC.js";import"./chunk-SXKYZMEL.js";import"./chunk-T6Q6HX5J.js";import"./chunk-4MJDNHOT.js";import"./chunk-EDF5FKWJ.js";import"./chunk-XQIJGAVD.js";import"./chunk-UTYWXSQT.js";import"./chunk-RCHWDG3R.js";import"./chunk-4WJUWBRK.js";import"./chunk-5G23AKP3.js";import"./chunk-KWAHJ72S.js";import"./chunk-MKDADUG3.js";import"./chunk-NOIUI5SY.js";import"./chunk-XRRBRTKL.js";function n(r,o){let t=e.unpackCombineGeometryParameters(r),m=e.combineGeometry(t);return e.packCombineGeometryResults(m,o)}var c=r(n);export{c as default};
|
|
@@ -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 createBoxGeometry.js.LICENSE.txt */
|
|
2
|
+
import{a as r}from"./chunk-KX5PR5Q3.js";import"./chunk-T77EB7BE.js";import"./chunk-APG2S62J.js";import"./chunk-4MJDNHOT.js";import"./chunk-EDF5FKWJ.js";import"./chunk-XQIJGAVD.js";import"./chunk-UTYWXSQT.js";import"./chunk-RCHWDG3R.js";import"./chunk-4WJUWBRK.js";import"./chunk-5G23AKP3.js";import"./chunk-KWAHJ72S.js";import"./chunk-MKDADUG3.js";import"./chunk-NOIUI5SY.js";import{e as o}from"./chunk-XRRBRTKL.js";function i(t,n){return o(n)&&(t=r.unpack(t,n)),r.createGeometry(t)}var a=i;export{a as default};
|
|
@@ -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 createBoxOutlineGeometry.js.LICENSE.txt */
|
|
2
|
+
import{a as d}from"./chunk-T77EB7BE.js";import{a as l}from"./chunk-4MJDNHOT.js";import{b as O,c as h,d as p}from"./chunk-EDF5FKWJ.js";import{d as A}from"./chunk-XQIJGAVD.js";import"./chunk-UTYWXSQT.js";import{a}from"./chunk-RCHWDG3R.js";import"./chunk-4WJUWBRK.js";import"./chunk-5G23AKP3.js";import{a as m,f as s}from"./chunk-KWAHJ72S.js";import"./chunk-MKDADUG3.js";import{a as b,b as r}from"./chunk-NOIUI5SY.js";import{e as c}from"./chunk-XRRBRTKL.js";var g=new m;function f(t){let e=(t=t??s.EMPTY_OBJECT).minimum,n=t.maximum;if(r.typeOf.object("min",e),r.typeOf.object("max",n),c(t.offsetAttribute)&&t.offsetAttribute===d.TOP)throw new b("GeometryOffsetAttribute.TOP is not a supported options.offsetAttribute for this geometry.");this._min=m.clone(e),this._max=m.clone(n),this._offsetAttribute=t.offsetAttribute,this._workerName="createBoxOutlineGeometry"}f.fromDimensions=function(t){let e=(t=t??s.EMPTY_OBJECT).dimensions;r.typeOf.object("dimensions",e),r.typeOf.number.greaterThanOrEquals("dimensions.x",e.x,0),r.typeOf.number.greaterThanOrEquals("dimensions.y",e.y,0),r.typeOf.number.greaterThanOrEquals("dimensions.z",e.z,0);let n=m.multiplyByScalar(e,.5,new m);return new f({minimum:m.negate(n,new m),maximum:n,offsetAttribute:t.offsetAttribute})},f.fromAxisAlignedBoundingBox=function(t){return r.typeOf.object("boundindBox",t),new f({minimum:t.minimum,maximum:t.maximum})},f.packedLength=2*m.packedLength+1,f.pack=function(t,e,n){return r.typeOf.object("value",t),r.defined("array",e),n=n??0,m.pack(t._min,e,n),m.pack(t._max,e,n+m.packedLength),e[n+2*m.packedLength]=t._offsetAttribute??-1,e};var w=new m,x=new m,_={minimum:w,maximum:x,offsetAttribute:void 0};f.unpack=function(t,e,n){r.defined("array",t),e=e??0;let i=m.unpack(t,e,w),o=m.unpack(t,e+m.packedLength,x),a=t[e+2*m.packedLength];return c(n)?(n._min=m.clone(i,n._min),n._max=m.clone(o,n._max),n._offsetAttribute=-1===a?void 0:a,n):(_.offsetAttribute=-1===a?void 0:a,new f(_))},f.createGeometry=function(t){let e=t._min,n=t._max;if(m.equals(e,n))return;let r=new l,i=new Uint16Array(24),o=new Float64Array(24);o[0]=e.x,o[1]=e.y,o[2]=e.z,o[3]=n.x,o[4]=e.y,o[5]=e.z,o[6]=n.x,o[7]=n.y,o[8]=e.z,o[9]=e.x,o[10]=n.y,o[11]=e.z,o[12]=e.x,o[13]=e.y,o[14]=n.z,o[15]=n.x,o[16]=e.y,o[17]=n.z,o[18]=n.x,o[19]=n.y,o[20]=n.z,o[21]=e.x,o[22]=n.y,o[23]=n.z,r.position=new p({componentDatatype:a.DOUBLE,componentsPerAttribute:3,values:o}),i[0]=4,i[1]=5,i[2]=5,i[3]=6,i[4]=6,i[5]=7,i[6]=7,i[7]=4,i[8]=0,i[9]=1,i[10]=1,i[11]=2,i[12]=2,i[13]=3,i[14]=3,i[15]=0,i[16]=0,i[17]=4,i[18]=1,i[19]=5,i[20]=2,i[21]=6,i[22]=3,i[23]=7;let f=m.subtract(n,e,g),u=.5*m.magnitude(f);if(c(t._offsetAttribute)){let e=o.length,n=t._offsetAttribute===d.NONE?0:1,m=new Uint8Array(e/3).fill(n);r.applyOffset=new p({componentDatatype:a.UNSIGNED_BYTE,componentsPerAttribute:1,values:m})}return new h({attributes:r,indices:i,primitiveType:O.LINES,boundingSphere:new A(m.ZERO,u),offsetAttribute:t._offsetAttribute})};var y=f;function L(t,e){return c(e)&&(t=y.unpack(t,e)),y.createGeometry(t)}var V=L;export{V as default};
|
|
@@ -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 createCircleGeometry.js.LICENSE.txt */
|
|
2
|
+
import{a as l}from"./chunk-IOTBNCMN.js";import"./chunk-YHWHVNY2.js";import"./chunk-2ZPEMRCT.js";import"./chunk-3BSRJTW3.js";import"./chunk-VHZAK4GN.js";import"./chunk-OFCC6BNI.js";import"./chunk-T77EB7BE.js";import{a as m}from"./chunk-APG2S62J.js";import"./chunk-HSJ6GSLC.js";import"./chunk-SXKYZMEL.js";import"./chunk-T6Q6HX5J.js";import"./chunk-4MJDNHOT.js";import"./chunk-EDF5FKWJ.js";import"./chunk-XQIJGAVD.js";import"./chunk-UTYWXSQT.js";import"./chunk-RCHWDG3R.js";import"./chunk-4WJUWBRK.js";import"./chunk-5G23AKP3.js";import{a,d as s,f as _}from"./chunk-KWAHJ72S.js";import"./chunk-MKDADUG3.js";import{b as p}from"./chunk-NOIUI5SY.js";import{e as d}from"./chunk-XRRBRTKL.js";function n(e){let t=(e=e??_.EMPTY_OBJECT).radius;p.typeOf.number("radius",t);let i={center:e.center,semiMajorAxis:t,semiMinorAxis:t,ellipsoid:e.ellipsoid,height:e.height,extrudedHeight:e.extrudedHeight,granularity:e.granularity,vertexFormat:e.vertexFormat,stRotation:e.stRotation,shadowVolume:e.shadowVolume};this._ellipseGeometry=new l(i),this._workerName="createCircleGeometry"}n.packedLength=l.packedLength,n.pack=function(e,t,i){return p.typeOf.object("value",e),l.pack(e._ellipseGeometry,t,i)};var h=new l({center:new a,semiMajorAxis:1,semiMinorAxis:1}),t={center:new a,radius:void 0,ellipsoid:s.clone(s.default),height:void 0,extrudedHeight:void 0,granularity:void 0,vertexFormat:new m,stRotation:void 0,semiMajorAxis:void 0,semiMinorAxis:void 0,shadowVolume:void 0};n.unpack=function(e,i,o){let r=l.unpack(e,i,h);return t.center=a.clone(r._center,t.center),t.ellipsoid=s.clone(r._ellipsoid,t.ellipsoid),t.ellipsoid=s.clone(r._ellipsoid,h._ellipsoid),t.height=r._height,t.extrudedHeight=r._extrudedHeight,t.granularity=r._granularity,t.vertexFormat=m.clone(r._vertexFormat,t.vertexFormat),t.stRotation=r._stRotation,t.shadowVolume=r._shadowVolume,d(o)?(t.semiMajorAxis=r._semiMajorAxis,t.semiMinorAxis=r._semiMinorAxis,o._ellipseGeometry=new l(t),o):(t.radius=r._semiMajorAxis,new n(t))},n.createGeometry=function(e){return l.createGeometry(e._ellipseGeometry)},n.createShadowVolume=function(e,t,i){let o=e._ellipseGeometry._granularity,r=e._ellipseGeometry._ellipsoid,s=t(o,r),l=i(o,r);return new n({center:e._ellipseGeometry._center,radius:e._ellipseGeometry._semiMajorAxis,ellipsoid:r,stRotation:e._ellipseGeometry._stRotation,granularity:o,extrudedHeight:s,height:l,vertexFormat:m.POSITION_ONLY,shadowVolume:!0})},Object.defineProperties(n.prototype,{rectangle:{get:function(){return this._ellipseGeometry.rectangle}},textureCoordinateRotationPoints:{get:function(){return this._ellipseGeometry.textureCoordinateRotationPoints}}});var c=n;function g(e,t){return d(t)&&(e=c.unpack(e,t)),e._ellipseGeometry._center=a.clone(e._ellipseGeometry._center),e._ellipseGeometry._ellipsoid=s.clone(e._ellipseGeometry._ellipsoid),c.createGeometry(e)}var V=g;export{V as default};
|
|
@@ -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 createCircleOutlineGeometry.js.LICENSE.txt */
|
|
2
|
+
import{a as n}from"./chunk-FIHQI7E3.js";import"./chunk-YHWHVNY2.js";import"./chunk-T77EB7BE.js";import"./chunk-T6Q6HX5J.js";import"./chunk-4MJDNHOT.js";import"./chunk-EDF5FKWJ.js";import"./chunk-XQIJGAVD.js";import"./chunk-UTYWXSQT.js";import"./chunk-RCHWDG3R.js";import"./chunk-4WJUWBRK.js";import"./chunk-5G23AKP3.js";import{a as o,d as s,f as c}from"./chunk-KWAHJ72S.js";import"./chunk-MKDADUG3.js";import{b as d}from"./chunk-NOIUI5SY.js";import{e as a}from"./chunk-XRRBRTKL.js";function m(e){let i=(e=e??c.EMPTY_OBJECT).radius;d.typeOf.number("radius",i);let r={center:e.center,semiMajorAxis:i,semiMinorAxis:i,ellipsoid:e.ellipsoid,height:e.height,extrudedHeight:e.extrudedHeight,granularity:e.granularity,numberOfVerticalLines:e.numberOfVerticalLines};this._ellipseGeometry=new n(r),this._workerName="createCircleOutlineGeometry"}m.packedLength=n.packedLength,m.pack=function(e,i,r){return d.typeOf.object("value",e),n.pack(e._ellipseGeometry,i,r)};var p=new n({center:new o,semiMajorAxis:1,semiMinorAxis:1}),i={center:new o,radius:void 0,ellipsoid:s.clone(s.UNIT_SPHERE),height:void 0,extrudedHeight:void 0,granularity:void 0,numberOfVerticalLines:void 0,semiMajorAxis:void 0,semiMinorAxis:void 0};m.unpack=function(e,r,t){let c=n.unpack(e,r,p);return i.center=o.clone(c._center,i.center),i.ellipsoid=s.clone(c._ellipsoid,i.ellipsoid),i.height=c._height,i.extrudedHeight=c._extrudedHeight,i.granularity=c._granularity,i.numberOfVerticalLines=c._numberOfVerticalLines,a(t)?(i.semiMajorAxis=c._semiMajorAxis,i.semiMinorAxis=c._semiMinorAxis,t._ellipseGeometry=new n(i),t):(i.radius=c._semiMajorAxis,new m(i))},m.createGeometry=function(e){return n.createGeometry(e._ellipseGeometry)};var u=m;function f(e,i){return a(i)&&(e=u.unpack(e,i)),e._ellipseGeometry._center=o.clone(e._ellipseGeometry._center),e._ellipseGeometry._ellipsoid=s.clone(e._ellipseGeometry._ellipsoid),u.createGeometry(e)}var E=f;export{E as default};
|
|
@@ -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 createCoplanarPolygonGeometry.js.LICENSE.txt */
|
|
2
|
+
import{a as et}from"./chunk-U6GWZBRL.js";import{a as Q}from"./chunk-42MGKNSS.js";import"./chunk-SCO7TMKT.js";import{a as u}from"./chunk-3WSHJXU2.js";import"./chunk-OXJ2LJUE.js";import{a as I}from"./chunk-2ZPEMRCT.js";import{a as $}from"./chunk-3BSRJTW3.js";import"./chunk-VHZAK4GN.js";import"./chunk-OFCC6BNI.js";import{a as f}from"./chunk-APG2S62J.js";import"./chunk-ET7KY3BS.js";import"./chunk-CUP6SILZ.js";import{b as ot}from"./chunk-IYO6TYGP.js";import{a as tt}from"./chunk-AZLP5742.js";import"./chunk-5HPISDSZ.js";import"./chunk-HSJ6GSLC.js";import"./chunk-SXKYZMEL.js";import{a as J}from"./chunk-T6Q6HX5J.js";import{a as X}from"./chunk-4MJDNHOT.js";import{b as W,c as Y,d as z}from"./chunk-EDF5FKWJ.js";import{d as K}from"./chunk-XQIJGAVD.js";import{g as q}from"./chunk-UTYWXSQT.js";import{a as B}from"./chunk-RCHWDG3R.js";import"./chunk-4WJUWBRK.js";import"./chunk-5G23AKP3.js";import{a as i,c as H,d as m,e as g,f as U}from"./chunk-KWAHJ72S.js";import{a as V}from"./chunk-MKDADUG3.js";import{b as G}from"./chunk-NOIUI5SY.js";import{e as d}from"./chunk-XRRBRTKL.js";var st=new i,at=new et,pt=new H,lt=new H,mt=new i,ft=new i,ut=new i,M=new i,yt=new i,ht=new i,nt=new q,dt=new g,gt=new g,Pt=new i;function wt(t,e,n,o,r,a,s,c,p){let l=t.positions,u=ot.triangulate(t.positions2D,t.holes);u.length<3&&(u=[0,1,2]);let m=J.createTypedArray(l.length,u.length);m.set(u);let h=dt;if(0!==o){let t=q.fromAxisAngle(s,o,nt);if(h=g.fromQuaternion(t,h),e.tangent||e.bitangent){t=q.fromAxisAngle(s,-o,nt);let n=g.fromQuaternion(t,gt);c=i.normalize(g.multiplyByVector(n,c,c),c),e.bitangent&&(p=i.normalize(i.cross(s,c,p),p))}}else h=g.clone(g.IDENTITY,h);let y=lt;e.st&&(y.x=n.x,y.y=n.y);let f=l.length,k=3*f,x=new Float64Array(k),w=e.normal?new Float32Array(k):void 0,j=e.tangent?new Float32Array(k):void 0,A=e.bitangent?new Float32Array(k):void 0,P=e.st?new Float32Array(2*f):void 0,T=0,v=0,_=0,b=0,F=0;for(let t=0;t<f;t++){let o=l[t];if(x[T++]=o.x,x[T++]=o.y,x[T++]=o.z,e.st)if(d(r)&&r.positions.length===f)P[F++]=r.positions[t].x,P[F++]=r.positions[t].y;else{let t=a(g.multiplyByVector(h,o,st),pt);H.subtract(t,y,t);let e=V.clamp(t.x/n.width,0,1),i=V.clamp(t.y/n.height,0,1);P[F++]=e,P[F++]=i}e.normal&&(w[v++]=s.x,w[v++]=s.y,w[v++]=s.z),e.tangent&&(j[b++]=c.x,j[b++]=c.y,j[b++]=c.z),e.bitangent&&(A[_++]=p.x,A[_++]=p.y,A[_++]=p.z)}let L=new X;return e.position&&(L.position=new z({componentDatatype:B.DOUBLE,componentsPerAttribute:3,values:x})),e.normal&&(L.normal=new z({componentDatatype:B.FLOAT,componentsPerAttribute:3,values:w})),e.tangent&&(L.tangent=new z({componentDatatype:B.FLOAT,componentsPerAttribute:3,values:j})),e.bitangent&&(L.bitangent=new z({componentDatatype:B.FLOAT,componentsPerAttribute:3,values:A})),e.st&&(L.st=new z({componentDatatype:B.FLOAT,componentsPerAttribute:2,values:P})),new Y({attributes:L,indices:m,primitiveType:W.TRIANGLES})}function x(t){let e=(t=t??U.EMPTY_OBJECT).polygonHierarchy,n=t.textureCoordinates;G.defined("options.polygonHierarchy",e);let o=t.vertexFormat??f.DEFAULT;this._vertexFormat=f.clone(o),this._polygonHierarchy=e,this._stRotation=t.stRotation??0,this._ellipsoid=m.clone(t.ellipsoid??m.default),this._workerName="createCoplanarPolygonGeometry",this._textureCoordinates=n,this.packedLength=u.computeHierarchyPackedLength(e,i)+f.packedLength+m.packedLength+(d(n)?u.computeHierarchyPackedLength(n,H):1)+2}x.fromPositions=function(t){return t=t??U.EMPTY_OBJECT,G.defined("options.positions",t.positions),new x({polygonHierarchy:{positions:t.positions},vertexFormat:t.vertexFormat,stRotation:t.stRotation,ellipsoid:t.ellipsoid,textureCoordinates:t.textureCoordinates})},x.pack=function(t,e,n){return G.typeOf.object("value",t),G.defined("array",e),n=n??0,n=u.packPolygonHierarchy(t._polygonHierarchy,e,n,i),m.pack(t._ellipsoid,e,n),n+=m.packedLength,f.pack(t._vertexFormat,e,n),n+=f.packedLength,e[n++]=t._stRotation,d(t._textureCoordinates)?n=u.packPolygonHierarchy(t._textureCoordinates,e,n,H):e[n++]=-1,e[n++]=t.packedLength,e};var _t=m.clone(m.UNIT_SPHERE),At=new f,bt={polygonHierarchy:{}};x.unpack=function(t,e,n){G.defined("array",t),e=e??0;let o=u.unpackPolygonHierarchy(t,e,i);e=o.startingIndex,delete o.startingIndex;let r=m.unpack(t,e,_t);e+=m.packedLength;let a=f.unpack(t,e,At);e+=f.packedLength;let s=t[e++],c=-1===t[e]?void 0:u.unpackPolygonHierarchy(t,e,H);d(c)?(e=c.startingIndex,delete c.startingIndex):e++;let p=t[e++];return d(n)||(n=new x(bt)),n._polygonHierarchy=o,n._ellipsoid=m.clone(r,n._ellipsoid),n._vertexFormat=f.clone(a,n._vertexFormat),n._stRotation=s,n._textureCoordinates=c,n.packedLength=p,n},x.createGeometry=function(t){let e=t._vertexFormat,n=t._polygonHierarchy,o=t._stRotation,r=t._textureCoordinates,a=d(r),s=n.positions;if(s=tt(s,i.equalsEpsilon,!0),s.length<3)return;let c=mt,p=ft,l=ut,m=yt,h=ht;if(!Q.computeProjectTo2DArguments(s,M,m,h))return;if(c=i.cross(m,h,c),c=i.normalize(c,c),!i.equalsEpsilon(M,i.ZERO,V.EPSILON6)){let e=t._ellipsoid.geodeticSurfaceNormal(M,Pt);i.dot(c,e)<0&&(c=i.negate(c,c),m=i.negate(m,m))}let g=Q.createProjectPointsTo2DFunction(M,m,h),y=Q.createProjectPointTo2DFunction(M,m,h);e.tangent&&(p=i.clone(m,p)),e.bitangent&&(l=i.clone(h,l));let f=u.polygonsFromHierarchy(n,a,g,!1),k=f.hierarchy,x=f.polygons,w=a?u.polygonsFromHierarchy(r,!0,(function(t){return t}),!1).polygons:void 0;if(0===k.length)return;s=k[0].outerRing;let j=K.fromPoints(s),A=u.computeBoundingRectangle(c,y,s,o,at),H=[];for(let t=0;t<x.length;t++){let n=new I({geometry:wt(x[t],e,A,o,a?w[t]:void 0,y,c,p,l)});H.push(n)}let P=$.combineInstances(H)[0];P.attributes.position.values=new Float64Array(P.attributes.position.values),P.indices=J.createTypedArray(P.attributes.position.values.length/3,P.indices);let T=P.attributes;return e.position||delete T.position,new Y({attributes:T,indices:P.indices,primitiveType:P.primitiveType,boundingSphere:j})};var Z=x;function kt(t,e){return d(e)&&(t=Z.unpack(t,e)),Z.createGeometry(t)}var Xt=kt;export{Xt as default};
|
|
@@ -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 createCoplanarPolygonOutlineGeometry.js.LICENSE.txt */
|
|
2
|
+
import{a as T}from"./chunk-42MGKNSS.js";import"./chunk-SCO7TMKT.js";import{a as l}from"./chunk-3WSHJXU2.js";import"./chunk-OXJ2LJUE.js";import{a as G}from"./chunk-2ZPEMRCT.js";import{a as C}from"./chunk-3BSRJTW3.js";import"./chunk-VHZAK4GN.js";import"./chunk-OFCC6BNI.js";import"./chunk-ET7KY3BS.js";import"./chunk-CUP6SILZ.js";import"./chunk-IYO6TYGP.js";import{a as L}from"./chunk-AZLP5742.js";import"./chunk-5HPISDSZ.js";import"./chunk-HSJ6GSLC.js";import"./chunk-SXKYZMEL.js";import{a as w}from"./chunk-T6Q6HX5J.js";import{a as O}from"./chunk-4MJDNHOT.js";import{b,c as d,d as k}from"./chunk-EDF5FKWJ.js";import{d as P}from"./chunk-XQIJGAVD.js";import"./chunk-UTYWXSQT.js";import{a as H}from"./chunk-RCHWDG3R.js";import"./chunk-4WJUWBRK.js";import"./chunk-5G23AKP3.js";import{a as y,d as g,f as u}from"./chunk-KWAHJ72S.js";import"./chunk-MKDADUG3.js";import{b as m}from"./chunk-NOIUI5SY.js";import{e as f}from"./chunk-XRRBRTKL.js";function E(e){let r=e.length,t=new Float64Array(3*r),n=w.createTypedArray(r,2*r),o=0,i=0;for(let s=0;s<r;s++){let c=e[s];t[o++]=c.x,t[o++]=c.y,t[o++]=c.z,n[i++]=s,n[i++]=(s+1)%r}let s=new O({position:new k({componentDatatype:H.DOUBLE,componentsPerAttribute:3,values:t})});return new d({attributes:s,indices:n,primitiveType:b.LINES})}function c(e){let r=(e=e??u.EMPTY_OBJECT).polygonHierarchy;m.defined("options.polygonHierarchy",r),this._polygonHierarchy=r,this._workerName="createCoplanarPolygonOutlineGeometry",this.packedLength=l.computeHierarchyPackedLength(r,y)+1}c.fromPositions=function(e){return e=e??u.EMPTY_OBJECT,m.defined("options.positions",e.positions),new c({polygonHierarchy:{positions:e.positions}})},c.pack=function(e,r,t){return m.typeOf.object("value",e),m.defined("array",r),t=t??0,r[t=l.packPolygonHierarchy(e._polygonHierarchy,r,t,y)]=e.packedLength,r};var v={polygonHierarchy:{}};c.unpack=function(e,r,t){m.defined("array",e),r=r??0;let n=l.unpackPolygonHierarchy(e,r,y);r=n.startingIndex,delete n.startingIndex;let o=e[r];return f(t)||(t=new c(v)),t._polygonHierarchy=n,t.packedLength=o,t},c.createGeometry=function(e){let r=e._polygonHierarchy,t=r.positions;if(t=L(t,y.equalsEpsilon,!0),t.length<3||!T.validOutline(t))return;let n=l.polygonOutlinesFromHierarchy(r,!1);if(0===n.length)return;let o=[];for(let e=0;e<n.length;e++){let r=new G({geometry:E(n[e])});o.push(r)}let i=C.combineInstances(o)[0],s=P.fromPoints(r.positions);return new d({attributes:i.attributes,indices:i.indices,primitiveType:i.primitiveType,boundingSphere:s})};var h=c;function A(e,r){return f(r)&&(e=h.unpack(e,r)),e._ellipsoid=g.clone(e._ellipsoid),h.createGeometry(e)}var Z=A;export{Z as default};
|
|
@@ -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 createCorridorGeometry.js.LICENSE.txt */
|
|
2
|
+
import{a as M}from"./chunk-FVGSQINW.js";import{a as ut}from"./chunk-Q4W25C4L.js";import"./chunk-QORMFUM4.js";import"./chunk-FWF3VNA2.js";import{a as bt}from"./chunk-T77EB7BE.js";import{a as J}from"./chunk-APG2S62J.js";import"./chunk-ET7KY3BS.js";import"./chunk-CUP6SILZ.js";import{b as _t}from"./chunk-IYO6TYGP.js";import{a as Pt}from"./chunk-AZLP5742.js";import"./chunk-5HPISDSZ.js";import"./chunk-HSJ6GSLC.js";import"./chunk-SXKYZMEL.js";import{a as Nt}from"./chunk-T6Q6HX5J.js";import{a as Dt}from"./chunk-4MJDNHOT.js";import{b as Mt,c as Ct,d as F}from"./chunk-EDF5FKWJ.js";import{d as St}from"./chunk-XQIJGAVD.js";import{i as Et}from"./chunk-UTYWXSQT.js";import{a as v}from"./chunk-RCHWDG3R.js";import"./chunk-4WJUWBRK.js";import"./chunk-5G23AKP3.js";import{a as o,b as At,d as Y,f as Tt}from"./chunk-KWAHJ72S.js";import{a as it}from"./chunk-MKDADUG3.js";import{b as ot}from"./chunk-NOIUI5SY.js";import{e as Q}from"./chunk-XRRBRTKL.js";var Rt=new o,kt=new o,yt=new o,wt=new o,jt=new o,Ht=new o,st=new o,dt=new o;function Ut(t,e){for(let o=0;o<t.length;o++)t[o]=e.scaleToGeodeticSurface(t[o],t[o]);return t}function X(t,e,r,i,a,n){let s=t.normals,l=t.tangents,u=t.bitangents,d=o.normalize(o.cross(r,e,st),st);n.normal&&M.addAttribute(s,e,i,a),n.tangent&&M.addAttribute(l,d,i,a),n.bitangent&&M.addAttribute(u,r,i,a)}function Bt(t,e,r){let i,a,n,s=t.positions,l=t.corners,u=t.endPositions,d=t.lefts,m=t.normals,h=new Dt,c=0,f=0,g=0;for(a=0;a<s.length;a+=2)n=s[a].length-3,c+=n,g+=2*n,f+=s[a+1].length-3;for(c+=3,f+=3,a=0;a<l.length;a++){i=l[a];let t=l[a].leftPositions;Q(t)?(n=t.length,c+=n,g+=n):(n=l[a].rightPositions.length,f+=n,g+=n)}let p,A=Q(u);A&&(p=u[0].length-3,c+=p,f+=p,p/=3,g+=6*p);let y,b,_,w,T,I,k=c+f,N=new Float64Array(k),E={normals:e.normal?new Float32Array(k):void 0,tangents:e.tangent?new Float32Array(k):void 0,bitangents:e.bitangent?new Float32Array(k):void 0},x=0,O=k-1,P=Rt,G=kt,S=p/2,D=Nt.createTypedArray(k/3,g),W=0;if(A){I=yt,T=wt;let t=u[0];for(P=o.fromArray(m,0,P),G=o.fromArray(d,0,G),a=0;a<S;a++)I=o.fromArray(t,3*(S-1-a),I),T=o.fromArray(t,3*(S+a),T),M.addAttribute(N,T,x),M.addAttribute(N,I,void 0,O),X(E,P,G,x,O,e),b=x/3,w=b+1,y=(O-2)/3,_=y-1,D[W++]=y,D[W++]=b,D[W++]=_,D[W++]=_,D[W++]=b,D[W++]=w,x+=3,O-=3}let Y,L,j=0,V=0,R=s[j++],J=s[j++];for(N.set(R,x),N.set(J,O-J.length+1),G=o.fromArray(d,V,G),n=J.length-3,a=0;a<n;a+=3)Y=r.geodeticSurfaceNormal(o.fromArray(R,a,st),st),L=r.geodeticSurfaceNormal(o.fromArray(J,n-a,dt),dt),P=o.normalize(o.add(Y,L,P),P),X(E,P,G,x,O,e),b=x/3,w=b+1,y=(O-2)/3,_=y-1,D[W++]=y,D[W++]=b,D[W++]=_,D[W++]=_,D[W++]=b,D[W++]=w,x+=3,O-=3;for(Y=r.geodeticSurfaceNormal(o.fromArray(R,n,st),st),L=r.geodeticSurfaceNormal(o.fromArray(J,n,dt),dt),P=o.normalize(o.add(Y,L,P),P),V+=3,a=0;a<l.length;a++){let t;i=l[a];let u,h,c=i.leftPositions,f=i.rightPositions,g=Ht,p=yt,A=wt;if(P=o.fromArray(m,V,P),Q(c)){for(X(E,P,G,void 0,O,e),O-=3,u=w,h=_,t=0;t<c.length/3;t++)g=o.fromArray(c,3*t,g),D[W++]=u,D[W++]=h-t-1,D[W++]=h-t,M.addAttribute(N,g,void 0,O),p=o.fromArray(N,3*(h-t-1),p),A=o.fromArray(N,3*u,A),G=o.normalize(o.subtract(p,A,G),G),X(E,P,G,void 0,O,e),O-=3;g=o.fromArray(N,3*u,g),p=o.subtract(o.fromArray(N,3*h,p),g,p),A=o.subtract(o.fromArray(N,3*(h-t),A),g,A),G=o.normalize(o.add(p,A,G),G),X(E,P,G,x,void 0,e),x+=3}else{for(X(E,P,G,x,void 0,e),x+=3,u=_,h=w,t=0;t<f.length/3;t++)g=o.fromArray(f,3*t,g),D[W++]=u,D[W++]=h+t,D[W++]=h+t+1,M.addAttribute(N,g,x),p=o.fromArray(N,3*u,p),A=o.fromArray(N,3*(h+t),A),G=o.normalize(o.subtract(p,A,G),G),X(E,P,G,x,void 0,e),x+=3;g=o.fromArray(N,3*u,g),p=o.subtract(o.fromArray(N,3*(h+t),p),g,p),A=o.subtract(o.fromArray(N,3*h,A),g,A),G=o.normalize(o.negate(o.add(A,p,G),G),G),X(E,P,G,void 0,O,e),O-=3}for(R=s[j++],J=s[j++],R.splice(0,3),J.splice(J.length-3,3),N.set(R,x),N.set(J,O-J.length+1),n=J.length-3,V+=3,G=o.fromArray(d,V,G),t=0;t<J.length;t+=3)Y=r.geodeticSurfaceNormal(o.fromArray(R,t,st),st),L=r.geodeticSurfaceNormal(o.fromArray(J,n-t,dt),dt),P=o.normalize(o.add(Y,L,P),P),X(E,P,G,x,O,e),w=x/3,b=w-1,_=(O-2)/3,y=_+1,D[W++]=y,D[W++]=b,D[W++]=_,D[W++]=_,D[W++]=b,D[W++]=w,x+=3,O-=3;x-=3,O+=3}if(P=o.fromArray(m,m.length-3,P),X(E,P,G,x,O,e),A){x+=3,O-=3,I=yt,T=wt;let t=u[1];for(a=0;a<S;a++)I=o.fromArray(t,3*(p-a-1),I),T=o.fromArray(t,3*a,T),M.addAttribute(N,I,void 0,O),M.addAttribute(N,T,x),X(E,P,G,x,O,e),w=x/3,b=w-1,_=(O-2)/3,y=_+1,D[W++]=y,D[W++]=b,D[W++]=_,D[W++]=_,D[W++]=b,D[W++]=w,x+=3,O-=3}if(h.position=new F({componentDatatype:v.DOUBLE,componentsPerAttribute:3,values:N}),e.st){let t,e,o=new Float32Array(k/3*2),r=0;if(A){c/=3,f/=3;let i=Math.PI/(p+1);e=1/(c-p+1),t=1/(f-p+1);let n,s=p/2;for(a=s+1;a<p+1;a++)n=it.PI_OVER_TWO+i*a,o[r++]=t*(1+Math.cos(n)),o[r++]=.5*(1+Math.sin(n));for(a=1;a<f-p+1;a++)o[r++]=a*t,o[r++]=0;for(a=p;a>s;a--)n=it.PI_OVER_TWO-a*i,o[r++]=1-t*(1+Math.cos(n)),o[r++]=.5*(1+Math.sin(n));for(a=s;a>0;a--)n=it.PI_OVER_TWO-i*a,o[r++]=1-e*(1+Math.cos(n)),o[r++]=.5*(1+Math.sin(n));for(a=c-p;a>0;a--)o[r++]=a*e,o[r++]=1;for(a=1;a<s+1;a++)n=it.PI_OVER_TWO+i*a,o[r++]=e*(1+Math.cos(n)),o[r++]=.5*(1+Math.sin(n))}else{for(c/=3,f/=3,e=1/(c-1),t=1/(f-1),a=0;a<f;a++)o[r++]=a*t,o[r++]=0;for(a=c;a>0;a--)o[r++]=(a-1)*e,o[r++]=1}h.st=new F({componentDatatype:v.FLOAT,componentsPerAttribute:2,values:o})}return e.normal&&(h.normal=new F({componentDatatype:v.FLOAT,componentsPerAttribute:3,values:E.normals})),e.tangent&&(h.tangent=new F({componentDatatype:v.FLOAT,componentsPerAttribute:3,values:E.tangents})),e.bitangent&&(h.bitangent=new F({componentDatatype:v.FLOAT,componentsPerAttribute:3,values:E.bitangents})),{attributes:h,indices:D}}function qt(t,e){if(!(e.normal||e.tangent||e.bitangent||e.st))return t;let r,i,a=t.position.values;(e.normal||e.bitangent)&&(r=t.normal.values,i=t.bitangent.values);let n,s=t.position.values.length/18,l=3*s,u=2*s,d=2*l;if(e.normal||e.bitangent||e.tangent){let s=e.normal?new Float32Array(6*l):void 0,u=e.tangent?new Float32Array(6*l):void 0,m=e.bitangent?new Float32Array(6*l):void 0,h=Rt,c=kt,f=yt,g=wt,p=jt,A=Ht,y=d;for(n=0;n<l;n+=3){let t=y+d;h=o.fromArray(a,n,h),c=o.fromArray(a,n+l,c),f=o.fromArray(a,(n+3)%l,f),c=o.subtract(c,h,c),f=o.subtract(f,h,f),g=o.normalize(o.cross(c,f,g),g),e.normal&&(M.addAttribute(s,g,t),M.addAttribute(s,g,t+3),M.addAttribute(s,g,y),M.addAttribute(s,g,y+3)),(e.tangent||e.bitangent)&&(A=o.fromArray(r,n,A),e.bitangent&&(M.addAttribute(m,A,t),M.addAttribute(m,A,t+3),M.addAttribute(m,A,y),M.addAttribute(m,A,y+3)),e.tangent&&(p=o.normalize(o.cross(A,g,p),p),M.addAttribute(u,p,t),M.addAttribute(u,p,t+3),M.addAttribute(u,p,y),M.addAttribute(u,p,y+3))),y+=6}if(e.normal){for(s.set(r),n=0;n<l;n+=3)s[n+l]=-r[n],s[n+l+1]=-r[n+1],s[n+l+2]=-r[n+2];t.normal.values=s}else t.normal=void 0;if(e.bitangent?(m.set(i),m.set(i,l),t.bitangent.values=m):t.bitangent=void 0,e.tangent){let e=t.tangent.values;u.set(e),u.set(e,l),t.tangent.values=u}}if(e.st){let e=t.st.values,o=new Float32Array(6*u);o.set(e),o.set(e,u);let r=2*u;for(let t=0;t<2;t++){for(o[r++]=e[0],o[r++]=e[1],n=2;n<u;n+=2){let t=e[n],i=e[n+1];o[r++]=t,o[r++]=i,o[r++]=t,o[r++]=i}o[r++]=e[0],o[r++]=e[1]}t.st.values=o}return t}function Ot(t,e,o){o[e++]=t[0],o[e++]=t[1],o[e++]=t[2];for(let r=3;r<t.length;r+=3){let i=t[r],a=t[r+1],n=t[r+2];o[e++]=i,o[e++]=a,o[e++]=n,o[e++]=i,o[e++]=a,o[e++]=n}return o[e++]=t[0],o[e++]=t[1],o[e++]=t[2],o}function Jt(t,e){let o=new J({position:e.position,normal:e.normal||e.bitangent||t.shadowVolume,tangent:e.tangent,bitangent:e.normal||e.bitangent,st:e.st}),r=t.ellipsoid,i=Bt(M.computePositions(t),o,r),a=t.height,n=t.extrudedHeight,s=i.attributes,l=i.indices,u=s.position.values,d=u.length,m=new Float64Array(6*d),h=new Float64Array(d);h.set(u);let c=new Float64Array(4*d);u=_t.scaleToGeodeticHeight(u,a,r),c=Ot(u,0,c),h=_t.scaleToGeodeticHeight(h,n,r),c=Ot(h,2*d,c),m.set(u),m.set(h,d),m.set(c,2*d),s.position.values=m,s=qt(s,e);let f,g=d/3;if(t.shadowVolume){let t=s.normal.values;d=t.length;let o=new Float32Array(6*d);for(f=0;f<d;f++)t[f]=-t[f];o.set(t,d),o=Ot(t,4*d,o),s.extrudeDirection=new F({componentDatatype:v.FLOAT,componentsPerAttribute:3,values:o}),e.normal||(s.normal=void 0)}if(Q(t.offsetAttribute)){let e=new Uint8Array(6*g);if(t.offsetAttribute===bt.TOP)e=e.fill(1,0,g).fill(1,2*g,4*g);else{let o=t.offsetAttribute===bt.NONE?0:1;e=e.fill(o)}s.applyOffset=new F({componentDatatype:v.UNSIGNED_BYTE,componentsPerAttribute:1,values:e})}let p=l.length,A=g+g,y=Nt.createTypedArray(m.length/3,2*p+3*A);y.set(l);let b,_,w,T,I=p;for(f=0;f<p;f+=3){let t=l[f],e=l[f+1],o=l[f+2];y[I++]=o+g,y[I++]=e+g,y[I++]=t+g}for(f=0;f<A;f+=2)b=f+A,_=b+A,w=b+1,T=_+1,y[I++]=b,y[I++]=_,y[I++]=w,y[I++]=w,y[I++]=_,y[I++]=T;return{attributes:s,indices:y}}var Vt=new o,ht=new o,K=new At;function zt(t,e,r,i,a,n){let s=o.subtract(e,t,Vt);o.normalize(s,s);let l=r.geodeticSurfaceNormal(t,ht),u=o.cross(s,l,Vt);o.multiplyByScalar(u,i,u);let d=a.latitude,m=a.longitude,h=n.latitude,c=n.longitude;o.add(t,u,ht),r.cartesianToCartographic(ht,K);let f=K.latitude,g=K.longitude;d=Math.min(d,f),m=Math.min(m,g),h=Math.max(h,f),c=Math.max(c,g),o.subtract(t,u,ht),r.cartesianToCartographic(ht,K),f=K.latitude,g=K.longitude,d=Math.min(d,f),m=Math.min(m,g),h=Math.max(h,f),c=Math.max(c,g),a.latitude=d,a.longitude=m,n.latitude=h,n.longitude=c}var G=new o,gt=new o,I=new At,W=new At;function Yt(t,e,r,i,a){t=Ut(t,e);let n=Pt(t,o.equalsEpsilon),s=n.length;if(s<2||r<=0)return new Et;let l,u,d=.5*r;if(I.latitude=Number.POSITIVE_INFINITY,I.longitude=Number.POSITIVE_INFINITY,W.latitude=Number.NEGATIVE_INFINITY,W.longitude=Number.NEGATIVE_INFINITY,i===ut.ROUNDED){let t=n[0];o.subtract(t,n[1],G),o.normalize(G,G),o.multiplyByScalar(G,d,G),o.add(t,G,gt),e.cartesianToCartographic(gt,K),l=K.latitude,u=K.longitude,I.latitude=Math.min(I.latitude,l),I.longitude=Math.min(I.longitude,u),W.latitude=Math.max(W.latitude,l),W.longitude=Math.max(W.longitude,u)}for(let t=0;t<s-1;++t)zt(n[t],n[t+1],e,d,I,W);let m=n[s-1];o.subtract(m,n[s-2],G),o.normalize(G,G),o.multiplyByScalar(G,d,G),o.add(m,G,gt),zt(m,gt,e,d,I,W),i===ut.ROUNDED&&(e.cartesianToCartographic(gt,K),l=K.latitude,u=K.longitude,I.latitude=Math.min(I.latitude,l),I.longitude=Math.min(I.longitude,u),W.latitude=Math.max(W.latitude,l),W.longitude=Math.max(W.longitude,u));let h=Q(a)?a:new Et;return h.north=W.latitude,h.south=I.latitude,h.east=W.longitude,h.west=I.longitude,h}function tt(t){let e=(t=t??Tt.EMPTY_OBJECT).positions,r=t.width;ot.defined("options.positions",e),ot.defined("options.width",r);let i=t.height??0,a=t.extrudedHeight??i;this._positions=e,this._ellipsoid=Y.clone(t.ellipsoid??Y.default),this._vertexFormat=J.clone(t.vertexFormat??J.DEFAULT),this._width=r,this._height=Math.max(i,a),this._extrudedHeight=Math.min(i,a),this._cornerType=t.cornerType??ut.ROUNDED,this._granularity=t.granularity??it.RADIANS_PER_DEGREE,this._shadowVolume=t.shadowVolume??!1,this._workerName="createCorridorGeometry",this._offsetAttribute=t.offsetAttribute,this._rectangle=void 0,this.packedLength=1+e.length*o.packedLength+Y.packedLength+J.packedLength+7}tt.pack=function(t,e,r){ot.defined("value",t),ot.defined("array",e),r=r??0;let i=t._positions,a=i.length;e[r++]=a;for(let t=0;t<a;++t,r+=o.packedLength)o.pack(i[t],e,r);return Y.pack(t._ellipsoid,e,r),r+=Y.packedLength,J.pack(t._vertexFormat,e,r),r+=J.packedLength,e[r++]=t._width,e[r++]=t._height,e[r++]=t._extrudedHeight,e[r++]=t._cornerType,e[r++]=t._granularity,e[r++]=t._shadowVolume?1:0,e[r]=t._offsetAttribute??-1,e};var It=Y.clone(Y.UNIT_SPHERE),Wt=new J,x={positions:void 0,ellipsoid:It,vertexFormat:Wt,width:void 0,height:void 0,extrudedHeight:void 0,cornerType:void 0,granularity:void 0,shadowVolume:void 0,offsetAttribute:void 0};tt.unpack=function(t,e,r){ot.defined("array",t),e=e??0;let i=t[e++],a=new Array(i);for(let r=0;r<i;++r,e+=o.packedLength)a[r]=o.unpack(t,e);let n=Y.unpack(t,e,It);e+=Y.packedLength;let s=J.unpack(t,e,Wt);e+=J.packedLength;let l=t[e++],u=t[e++],d=t[e++],m=t[e++],h=t[e++],c=1===t[e++],f=t[e];return Q(r)?(r._positions=a,r._ellipsoid=Y.clone(n,r._ellipsoid),r._vertexFormat=J.clone(s,r._vertexFormat),r._width=l,r._height=u,r._extrudedHeight=d,r._cornerType=m,r._granularity=h,r._shadowVolume=c,r._offsetAttribute=-1===f?void 0:f,r):(x.positions=a,x.width=l,x.height=u,x.extrudedHeight=d,x.cornerType=m,x.granularity=h,x.shadowVolume=c,x.offsetAttribute=-1===f?void 0:f,new tt(x))},tt.computeRectangle=function(t,e){let o=(t=t??Tt.EMPTY_OBJECT).positions,r=t.width;return ot.defined("options.positions",o),ot.defined("options.width",r),Yt(o,t.ellipsoid??Y.default,r,t.cornerType??ut.ROUNDED,e)},tt.createGeometry=function(t){let e=t._positions,r=t._width,i=t._ellipsoid;e=Ut(e,i);let a=Pt(e,o.equalsEpsilon);if(a.length<2||r<=0)return;let n,s=t._height,l=t._extrudedHeight,u=!it.equalsEpsilon(s,l,0,it.EPSILON2),d=t._vertexFormat,m={ellipsoid:i,positions:a,width:r,cornerType:t._cornerType,granularity:t._granularity,saveAttributes:!0};if(u)m.height=s,m.extrudedHeight=l,m.shadowVolume=t._shadowVolume,m.offsetAttribute=t._offsetAttribute,n=Jt(m,d);else if(n=Bt(M.computePositions(m),d,i),n.attributes.position.values=_t.scaleToGeodeticHeight(n.attributes.position.values,s,i),Q(t._offsetAttribute)){let e=t._offsetAttribute===bt.NONE?0:1,o=n.attributes.position.values.length,r=new Uint8Array(o/3).fill(e);n.attributes.applyOffset=new F({componentDatatype:v.UNSIGNED_BYTE,componentsPerAttribute:1,values:r})}let h=n.attributes,c=St.fromVertices(h.position.values,void 0,3);return d.position||(n.attributes.position.values=void 0),new Ct({attributes:h,indices:n.indices,primitiveType:Mt.TRIANGLES,boundingSphere:c,offsetAttribute:t._offsetAttribute})},tt.createShadowVolume=function(t,e,o){let r=t._granularity,i=t._ellipsoid,a=e(r,i),n=o(r,i);return new tt({positions:t._positions,width:t._width,cornerType:t._cornerType,ellipsoid:i,granularity:r,extrudedHeight:a,height:n,vertexFormat:J.POSITION_ONLY,shadowVolume:!0})},Object.defineProperties(tt.prototype,{rectangle:{get:function(){return Q(this._rectangle)||(this._rectangle=Yt(this._positions,this._ellipsoid,this._width,this._cornerType)),this._rectangle}},textureCoordinateRotationPoints:{get:function(){return[0,0,0,1,1,0]}}});var Lt=tt;function Gt(t,e){return Q(e)&&(t=Lt.unpack(t,e)),t._ellipsoid=Y.clone(t._ellipsoid),Lt.createGeometry(t)}var Ae=Gt;export{Ae as default};
|
|
@@ -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 createCorridorOutlineGeometry.js.LICENSE.txt */
|
|
2
|
+
import{a as C}from"./chunk-FVGSQINW.js";import{a as Q}from"./chunk-Q4W25C4L.js";import"./chunk-QORMFUM4.js";import"./chunk-FWF3VNA2.js";import{a as J}from"./chunk-T77EB7BE.js";import"./chunk-ET7KY3BS.js";import"./chunk-CUP6SILZ.js";import{b as K}from"./chunk-IYO6TYGP.js";import{a as it}from"./chunk-AZLP5742.js";import"./chunk-5HPISDSZ.js";import"./chunk-HSJ6GSLC.js";import"./chunk-SXKYZMEL.js";import{a as X}from"./chunk-T6Q6HX5J.js";import{a as et}from"./chunk-4MJDNHOT.js";import{b as I,c as tt,d as z}from"./chunk-EDF5FKWJ.js";import{d as x}from"./chunk-XQIJGAVD.js";import"./chunk-UTYWXSQT.js";import{a as q}from"./chunk-RCHWDG3R.js";import"./chunk-4WJUWBRK.js";import"./chunk-5G23AKP3.js";import{a as A,d as P,f as $}from"./chunk-KWAHJ72S.js";import{a as Y}from"./chunk-MKDADUG3.js";import{b as B}from"./chunk-NOIUI5SY.js";import{e as N}from"./chunk-XRRBRTKL.js";var ot=new A,nt=new A,lt=new A;function ft(t,e){for(let i=0;i<t.length;i++)t[i]=e.scaleToGeodeticSurface(t[i],t[i]);return t}function st(t,e){let i,r,o,s=[],n=t.positions,l=t.corners,a=t.endPositions,h=new et,u=0,p=0,f=0;for(r=0;r<n.length;r+=2)o=n[r].length-3,u+=o,f+=o/3*4,p+=n[r+1].length-3;for(u+=3,p+=3,r=0;r<l.length;r++){i=l[r];let t=l[r].leftPositions;N(t)?(o=t.length,u+=o,f+=o/3*2):(o=l[r].rightPositions.length,p+=o,f+=o/3*2)}let c,d=N(a);d&&(c=a[0].length-3,u+=c,p+=c,c/=3,f+=4*c);let g,m,y,_,b,k,v=u+p,P=new Float64Array(v),E=0,T=v-1,j=c/2,w=X.createTypedArray(v/3,f+4),O=0;if(w[O++]=E/3,w[O++]=(T-2)/3,d){s.push(E/3),k=ot,b=nt;let t=a[0];for(r=0;r<j;r++)k=A.fromArray(t,3*(j-1-r),k),b=A.fromArray(t,3*(j+r),b),C.addAttribute(P,b,E),C.addAttribute(P,k,void 0,T),m=E/3,_=m+1,g=(T-2)/3,y=g-1,w[O++]=g,w[O++]=y,w[O++]=m,w[O++]=_,E+=3,T-=3}let D=0,H=n[D++],S=n[D++];for(P.set(H,E),P.set(S,T-S.length+1),o=S.length-3,s.push(E/3,(T-2)/3),r=0;r<o;r+=3)m=E/3,_=m+1,g=(T-2)/3,y=g-1,w[O++]=g,w[O++]=y,w[O++]=m,w[O++]=_,E+=3,T-=3;for(r=0;r<l.length;r++){let t;i=l[r];let a,h=i.leftPositions,u=i.rightPositions,p=lt;if(N(h)){for(T-=3,a=y,s.push(_),t=0;t<h.length/3;t++)p=A.fromArray(h,3*t,p),w[O++]=a-t-1,w[O++]=a-t,C.addAttribute(P,p,void 0,T),T-=3;s.push(a-Math.floor(h.length/6)),e===Q.BEVELED&&s.push((T-2)/3+1),E+=3}else{for(E+=3,a=_,s.push(y),t=0;t<u.length/3;t++)p=A.fromArray(u,3*t,p),w[O++]=a+t,w[O++]=a+t+1,C.addAttribute(P,p,E),E+=3;s.push(a+Math.floor(u.length/6)),e===Q.BEVELED&&s.push(E/3-1),T-=3}for(H=n[D++],S=n[D++],H.splice(0,3),S.splice(S.length-3,3),P.set(H,E),P.set(S,T-S.length+1),o=S.length-3,t=0;t<S.length;t+=3)_=E/3,m=_-1,y=(T-2)/3,g=y+1,w[O++]=g,w[O++]=y,w[O++]=m,w[O++]=_,E+=3,T-=3;E-=3,T+=3,s.push(E/3,(T-2)/3)}if(d){E+=3,T-=3,k=ot,b=nt;let t=a[1];for(r=0;r<j;r++)k=A.fromArray(t,3*(c-r-1),k),b=A.fromArray(t,3*r,b),C.addAttribute(P,k,void 0,T),C.addAttribute(P,b,E),_=E/3,m=_-1,y=(T-2)/3,g=y+1,w[O++]=g,w[O++]=y,w[O++]=m,w[O++]=_,E+=3,T-=3;s.push(E/3)}else s.push(E/3,(T-2)/3);return w[O++]=E/3,w[O++]=(T-2)/3,h.position=new z({componentDatatype:q.DOUBLE,componentsPerAttribute:3,values:P}),{attributes:h,indices:w,wallIndices:s}}function ct(t){let e=t.ellipsoid,i=st(C.computePositions(t),t.cornerType),r=i.wallIndices,o=t.height,s=t.extrudedHeight,n=i.attributes,l=i.indices,a=n.position.values,h=a.length,u=new Float64Array(h);u.set(a);let p=new Float64Array(2*h);if(a=K.scaleToGeodeticHeight(a,o,e),u=K.scaleToGeodeticHeight(u,s,e),p.set(a),p.set(u,h),n.position.values=p,h/=3,N(t.offsetAttribute)){let e=new Uint8Array(2*h);if(t.offsetAttribute===J.TOP)e=e.fill(1,0,h);else{let i=t.offsetAttribute===J.NONE?0:1;e=e.fill(i)}n.applyOffset=new z({componentDatatype:q.UNSIGNED_BYTE,componentsPerAttribute:1,values:e})}let f,c=l.length,d=X.createTypedArray(p.length/3,2*(c+r.length));d.set(l);let g,A,m=c;for(f=0;f<c;f+=2){let t=l[f],e=l[f+1];d[m++]=t+h,d[m++]=e+h}for(f=0;f<r.length;f++)g=r[f],A=g+h,d[m++]=g,d[m++]=A;return{attributes:n,indices:d}}function M(t){let e=(t=t??$.EMPTY_OBJECT).positions,i=t.width;B.typeOf.object("options.positions",e),B.typeOf.number("options.width",i);let r=t.height??0,o=t.extrudedHeight??r;this._positions=e,this._ellipsoid=P.clone(t.ellipsoid??P.default),this._width=i,this._height=Math.max(r,o),this._extrudedHeight=Math.min(r,o),this._cornerType=t.cornerType??Q.ROUNDED,this._granularity=t.granularity??Y.RADIANS_PER_DEGREE,this._offsetAttribute=t.offsetAttribute,this._workerName="createCorridorOutlineGeometry",this.packedLength=1+e.length*A.packedLength+P.packedLength+6}M.pack=function(t,e,i){B.typeOf.object("value",t),B.typeOf.object("array",e),i=i??0;let r=t._positions,o=r.length;e[i++]=o;for(let t=0;t<o;++t,i+=A.packedLength)A.pack(r[t],e,i);return P.pack(t._ellipsoid,e,i),i+=P.packedLength,e[i++]=t._width,e[i++]=t._height,e[i++]=t._extrudedHeight,e[i++]=t._cornerType,e[i++]=t._granularity,e[i]=t._offsetAttribute??-1,e};var rt=P.clone(P.UNIT_SPHERE),v={positions:void 0,ellipsoid:rt,width:void 0,height:void 0,extrudedHeight:void 0,cornerType:void 0,granularity:void 0,offsetAttribute:void 0};M.unpack=function(t,e,i){B.typeOf.object("array",t),e=e??0;let r=t[e++],o=new Array(r);for(let i=0;i<r;++i,e+=A.packedLength)o[i]=A.unpack(t,e);let s=P.unpack(t,e,rt);e+=P.packedLength;let n=t[e++],l=t[e++],a=t[e++],h=t[e++],u=t[e++],p=t[e];return N(i)?(i._positions=o,i._ellipsoid=P.clone(s,i._ellipsoid),i._width=n,i._height=l,i._extrudedHeight=a,i._cornerType=h,i._granularity=u,i._offsetAttribute=-1===p?void 0:p,i):(v.positions=o,v.width=n,v.height=l,v.extrudedHeight=a,v.cornerType=h,v.granularity=u,v.offsetAttribute=-1===p?void 0:p,new M(v))},M.createGeometry=function(t){let e=t._positions,i=t._width,r=t._ellipsoid;e=ft(e,r);let o=it(e,A.equalsEpsilon);if(o.length<2||i<=0)return;let s,n=t._height,l=t._extrudedHeight,a=!Y.equalsEpsilon(n,l,0,Y.EPSILON2),h={ellipsoid:r,positions:o,width:i,cornerType:t._cornerType,granularity:t._granularity,saveAttributes:!1};if(a)h.height=n,h.extrudedHeight=l,h.offsetAttribute=t._offsetAttribute,s=ct(h);else if(s=st(C.computePositions(h),h.cornerType),s.attributes.position.values=K.scaleToGeodeticHeight(s.attributes.position.values,n,r),N(t._offsetAttribute)){let e=s.attributes.position.values.length,i=t._offsetAttribute===J.NONE?0:1,r=new Uint8Array(e/3).fill(i);s.attributes.applyOffset=new z({componentDatatype:q.UNSIGNED_BYTE,componentsPerAttribute:1,values:r})}let u=s.attributes,p=x.fromVertices(u.position.values,void 0,3);return new tt({attributes:u,indices:s.indices,primitiveType:I.LINES,boundingSphere:p,offsetAttribute:t._offsetAttribute})};var Z=M;function ht(t,e){return N(e)&&(t=Z.unpack(t,e)),t._ellipsoid=P.clone(t._ellipsoid),Z.createGeometry(t)}var Ot=ht;export{Ot as default};
|
|
@@ -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 createCylinderGeometry.js.LICENSE.txt */
|
|
2
|
+
import{a as r}from"./chunk-BTDQB5Q4.js";import"./chunk-XQDTMI7Q.js";import"./chunk-T77EB7BE.js";import"./chunk-APG2S62J.js";import"./chunk-T6Q6HX5J.js";import"./chunk-4MJDNHOT.js";import"./chunk-EDF5FKWJ.js";import"./chunk-XQIJGAVD.js";import"./chunk-UTYWXSQT.js";import"./chunk-RCHWDG3R.js";import"./chunk-4WJUWBRK.js";import"./chunk-5G23AKP3.js";import"./chunk-KWAHJ72S.js";import"./chunk-MKDADUG3.js";import"./chunk-NOIUI5SY.js";import{e as o}from"./chunk-XRRBRTKL.js";function i(t,n){return o(n)&&(t=r.unpack(t,n)),r.createGeometry(t)}var a=i;export{a as default};
|
|
@@ -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 createCylinderOutlineGeometry.js.LICENSE.txt */
|
|
2
|
+
import{a as M}from"./chunk-XQDTMI7Q.js";import{a as L}from"./chunk-T77EB7BE.js";import{a as N}from"./chunk-T6Q6HX5J.js";import{a as k}from"./chunk-4MJDNHOT.js";import{b as D,c as P,d as A}from"./chunk-EDF5FKWJ.js";import{d as y}from"./chunk-XQIJGAVD.js";import"./chunk-UTYWXSQT.js";import{a as R}from"./chunk-RCHWDG3R.js";import"./chunk-4WJUWBRK.js";import"./chunk-5G23AKP3.js";import{a as T,c as _,f as S}from"./chunk-KWAHJ72S.js";import"./chunk-MKDADUG3.js";import{a as E,b as m}from"./chunk-NOIUI5SY.js";import{e as b}from"./chunk-XRRBRTKL.js";var V=new _;function d(t){let e=(t=t??S.EMPTY_OBJECT).length,i=t.topRadius,o=t.bottomRadius,s=t.slices??128,r=Math.max(t.numberOfVerticalLines??16,0);if(m.typeOf.number("options.positions",e),m.typeOf.number("options.topRadius",i),m.typeOf.number("options.bottomRadius",o),m.typeOf.number.greaterThanOrEquals("options.slices",s,3),b(t.offsetAttribute)&&t.offsetAttribute===L.TOP)throw new E("GeometryOffsetAttribute.TOP is not a supported options.offsetAttribute for this geometry.");this._length=e,this._topRadius=i,this._bottomRadius=o,this._slices=s,this._numberOfVerticalLines=r,this._offsetAttribute=t.offsetAttribute,this._workerName="createCylinderOutlineGeometry"}d.packedLength=6,d.pack=function(t,e,i){return m.typeOf.object("value",t),m.defined("array",e),i=i??0,e[i++]=t._length,e[i++]=t._topRadius,e[i++]=t._bottomRadius,e[i++]=t._slices,e[i++]=t._numberOfVerticalLines,e[i]=t._offsetAttribute??-1,e};var p={length:void 0,topRadius:void 0,bottomRadius:void 0,slices:void 0,numberOfVerticalLines:void 0,offsetAttribute:void 0};d.unpack=function(t,e,i){m.defined("array",t),e=e??0;let o=t[e++],s=t[e++],r=t[e++],n=t[e++],a=t[e++],u=t[e];return b(i)?(i._length=o,i._topRadius=s,i._bottomRadius=r,i._slices=n,i._numberOfVerticalLines=a,i._offsetAttribute=-1===u?void 0:u,i):(p.length=o,p.topRadius=s,p.bottomRadius=r,p.slices=n,p.numberOfVerticalLines=a,p.offsetAttribute=-1===u?void 0:u,new d(p))},d.createGeometry=function(t){let e=t._length,i=t._topRadius,o=t._bottomRadius,s=t._slices,r=t._numberOfVerticalLines;if(e<=0||i<0||o<0||0===i&&0===o)return;let n,a=2*s,u=M.computePositions(e,i,o,s,!1),f=2*s;if(r>0){let t=Math.min(r,s);n=Math.round(s/t),f+=t}let m,p=N.createTypedArray(a,2*f),c=0;for(m=0;m<s-1;m++)p[c++]=m,p[c++]=m+1,p[c++]=m+s,p[c++]=m+1+s;if(p[c++]=s-1,p[c++]=0,p[c++]=s+s-1,p[c++]=s,r>0)for(m=0;m<s;m+=n)p[c++]=m,p[c++]=m+s;let d=new k;d.position=new A({componentDatatype:R.DOUBLE,componentsPerAttribute:3,values:u}),V.x=.5*e,V.y=Math.max(o,i);let l=new y(T.ZERO,_.magnitude(V));if(b(t._offsetAttribute)){e=u.length;let i=t._offsetAttribute===L.NONE?0:1,o=new Uint8Array(e/3).fill(i);d.applyOffset=new A({componentDatatype:R.UNSIGNED_BYTE,componentsPerAttribute:1,values:o})}return new P({attributes:d,indices:p,primitiveType:D.LINES,boundingSphere:l,offsetAttribute:t._offsetAttribute})};var w=d;function G(t,e){return b(e)&&(t=w.unpack(t,e)),w.createGeometry(t)}var et=G;export{et as default};
|
|
@@ -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 createEllipseGeometry.js.LICENSE.txt */
|
|
2
|
+
import{a as o}from"./chunk-IOTBNCMN.js";import"./chunk-YHWHVNY2.js";import"./chunk-2ZPEMRCT.js";import"./chunk-3BSRJTW3.js";import"./chunk-VHZAK4GN.js";import"./chunk-OFCC6BNI.js";import"./chunk-T77EB7BE.js";import"./chunk-APG2S62J.js";import"./chunk-HSJ6GSLC.js";import"./chunk-SXKYZMEL.js";import"./chunk-T6Q6HX5J.js";import"./chunk-4MJDNHOT.js";import"./chunk-EDF5FKWJ.js";import"./chunk-XQIJGAVD.js";import"./chunk-UTYWXSQT.js";import"./chunk-RCHWDG3R.js";import"./chunk-4WJUWBRK.js";import"./chunk-5G23AKP3.js";import{a as t,d as c}from"./chunk-KWAHJ72S.js";import"./chunk-MKDADUG3.js";import"./chunk-NOIUI5SY.js";import{e as n}from"./chunk-XRRBRTKL.js";function a(r,s){return n(s)&&(r=o.unpack(r,s)),r._center=t.clone(r._center),r._ellipsoid=c.clone(r._ellipsoid),o.createGeometry(r)}var u=a;export{u as default};
|
|
@@ -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 createEllipseOutlineGeometry.js.LICENSE.txt */
|
|
2
|
+
import{a as i}from"./chunk-FIHQI7E3.js";import"./chunk-YHWHVNY2.js";import"./chunk-T77EB7BE.js";import"./chunk-T6Q6HX5J.js";import"./chunk-4MJDNHOT.js";import"./chunk-EDF5FKWJ.js";import"./chunk-XQIJGAVD.js";import"./chunk-UTYWXSQT.js";import"./chunk-RCHWDG3R.js";import"./chunk-4WJUWBRK.js";import"./chunk-5G23AKP3.js";import{a as t,d as c}from"./chunk-KWAHJ72S.js";import"./chunk-MKDADUG3.js";import"./chunk-NOIUI5SY.js";import{e as o}from"./chunk-XRRBRTKL.js";function a(r,n){return o(n)&&(r=i.unpack(r,n)),r._center=t.clone(r._center),r._ellipsoid=c.clone(r._ellipsoid),i.createGeometry(r)}var p=a;export{p as default};
|