drone_view 3.0.62 → 3.0.63
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/servicee/3d/Assets/IAU2006_XYS/IAU2006_XYS_0.json +1 -0
- package/servicee/3d/Assets/IAU2006_XYS/IAU2006_XYS_1.json +1 -0
- package/servicee/3d/Assets/IAU2006_XYS/IAU2006_XYS_10.json +1 -0
- package/servicee/3d/Assets/IAU2006_XYS/IAU2006_XYS_11.json +1 -0
- package/servicee/3d/Assets/IAU2006_XYS/IAU2006_XYS_12.json +1 -0
- package/servicee/3d/Assets/IAU2006_XYS/IAU2006_XYS_13.json +1 -0
- package/servicee/3d/Assets/IAU2006_XYS/IAU2006_XYS_14.json +1 -0
- package/servicee/3d/Assets/IAU2006_XYS/IAU2006_XYS_15.json +1 -0
- package/servicee/3d/Assets/IAU2006_XYS/IAU2006_XYS_16.json +1 -0
- package/servicee/3d/Assets/IAU2006_XYS/IAU2006_XYS_17.json +1 -0
- package/servicee/3d/Assets/IAU2006_XYS/IAU2006_XYS_18.json +1 -0
- package/servicee/3d/Assets/IAU2006_XYS/IAU2006_XYS_19.json +1 -0
- package/servicee/3d/Assets/IAU2006_XYS/IAU2006_XYS_2.json +1 -0
- package/servicee/3d/Assets/IAU2006_XYS/IAU2006_XYS_20.json +1 -0
- package/servicee/3d/Assets/IAU2006_XYS/IAU2006_XYS_21.json +1 -0
- package/servicee/3d/Assets/IAU2006_XYS/IAU2006_XYS_22.json +1 -0
- package/servicee/3d/Assets/IAU2006_XYS/IAU2006_XYS_23.json +1 -0
- package/servicee/3d/Assets/IAU2006_XYS/IAU2006_XYS_24.json +1 -0
- package/servicee/3d/Assets/IAU2006_XYS/IAU2006_XYS_25.json +1 -0
- package/servicee/3d/Assets/IAU2006_XYS/IAU2006_XYS_26.json +1 -0
- package/servicee/3d/Assets/IAU2006_XYS/IAU2006_XYS_27.json +1 -0
- package/servicee/3d/Assets/IAU2006_XYS/IAU2006_XYS_3.json +1 -0
- package/servicee/3d/Assets/IAU2006_XYS/IAU2006_XYS_4.json +1 -0
- package/servicee/3d/Assets/IAU2006_XYS/IAU2006_XYS_5.json +1 -0
- package/servicee/3d/Assets/IAU2006_XYS/IAU2006_XYS_6.json +1 -0
- package/servicee/3d/Assets/IAU2006_XYS/IAU2006_XYS_7.json +1 -0
- package/servicee/3d/Assets/IAU2006_XYS/IAU2006_XYS_8.json +1 -0
- package/servicee/3d/Assets/IAU2006_XYS/IAU2006_XYS_9.json +1 -0
- package/servicee/3d/Assets/Images/bing_maps_credit.png +0 -0
- package/servicee/3d/Assets/Images/cesium_credit.png +0 -0
- package/servicee/3d/Assets/Images/google_earth_credit.png +0 -0
- package/servicee/3d/Assets/Images/ion-credit.png +0 -0
- package/servicee/3d/Assets/Textures/LensFlare/DirtMask.jpg +0 -0
- package/servicee/3d/Assets/Textures/LensFlare/StarBurst.jpg +0 -0
- package/servicee/3d/Assets/Textures/NaturalEarthII/0/0/0.jpg +0 -0
- package/servicee/3d/Assets/Textures/NaturalEarthII/0/1/0.jpg +0 -0
- package/servicee/3d/Assets/Textures/NaturalEarthII/1/0/0.jpg +0 -0
- package/servicee/3d/Assets/Textures/NaturalEarthII/1/0/1.jpg +0 -0
- package/servicee/3d/Assets/Textures/NaturalEarthII/1/1/0.jpg +0 -0
- package/servicee/3d/Assets/Textures/NaturalEarthII/1/1/1.jpg +0 -0
- package/servicee/3d/Assets/Textures/NaturalEarthII/1/2/0.jpg +0 -0
- package/servicee/3d/Assets/Textures/NaturalEarthII/1/2/1.jpg +0 -0
- package/servicee/3d/Assets/Textures/NaturalEarthII/1/3/0.jpg +0 -0
- package/servicee/3d/Assets/Textures/NaturalEarthII/1/3/1.jpg +0 -0
- package/servicee/3d/Assets/Textures/NaturalEarthII/2/0/0.jpg +0 -0
- package/servicee/3d/Assets/Textures/NaturalEarthII/2/0/1.jpg +0 -0
- package/servicee/3d/Assets/Textures/NaturalEarthII/2/0/2.jpg +0 -0
- package/servicee/3d/Assets/Textures/NaturalEarthII/2/0/3.jpg +0 -0
- package/servicee/3d/Assets/Textures/NaturalEarthII/2/1/0.jpg +0 -0
- package/servicee/3d/Assets/Textures/NaturalEarthII/2/1/1.jpg +0 -0
- package/servicee/3d/Assets/Textures/NaturalEarthII/2/1/2.jpg +0 -0
- package/servicee/3d/Assets/Textures/NaturalEarthII/2/1/3.jpg +0 -0
- package/servicee/3d/Assets/Textures/NaturalEarthII/2/2/0.jpg +0 -0
- package/servicee/3d/Assets/Textures/NaturalEarthII/2/2/1.jpg +0 -0
- package/servicee/3d/Assets/Textures/NaturalEarthII/2/2/2.jpg +0 -0
- package/servicee/3d/Assets/Textures/NaturalEarthII/2/2/3.jpg +0 -0
- package/servicee/3d/Assets/Textures/NaturalEarthII/2/3/0.jpg +0 -0
- package/servicee/3d/Assets/Textures/NaturalEarthII/2/3/1.jpg +0 -0
- package/servicee/3d/Assets/Textures/NaturalEarthII/2/3/2.jpg +0 -0
- package/servicee/3d/Assets/Textures/NaturalEarthII/2/3/3.jpg +0 -0
- package/servicee/3d/Assets/Textures/NaturalEarthII/2/4/0.jpg +0 -0
- package/servicee/3d/Assets/Textures/NaturalEarthII/2/4/1.jpg +0 -0
- package/servicee/3d/Assets/Textures/NaturalEarthII/2/4/2.jpg +0 -0
- package/servicee/3d/Assets/Textures/NaturalEarthII/2/4/3.jpg +0 -0
- package/servicee/3d/Assets/Textures/NaturalEarthII/2/5/0.jpg +0 -0
- package/servicee/3d/Assets/Textures/NaturalEarthII/2/5/1.jpg +0 -0
- package/servicee/3d/Assets/Textures/NaturalEarthII/2/5/2.jpg +0 -0
- package/servicee/3d/Assets/Textures/NaturalEarthII/2/5/3.jpg +0 -0
- package/servicee/3d/Assets/Textures/NaturalEarthII/2/6/0.jpg +0 -0
- package/servicee/3d/Assets/Textures/NaturalEarthII/2/6/1.jpg +0 -0
- package/servicee/3d/Assets/Textures/NaturalEarthII/2/6/2.jpg +0 -0
- package/servicee/3d/Assets/Textures/NaturalEarthII/2/6/3.jpg +0 -0
- package/servicee/3d/Assets/Textures/NaturalEarthII/2/7/0.jpg +0 -0
- package/servicee/3d/Assets/Textures/NaturalEarthII/2/7/1.jpg +0 -0
- package/servicee/3d/Assets/Textures/NaturalEarthII/2/7/2.jpg +0 -0
- package/servicee/3d/Assets/Textures/NaturalEarthII/2/7/3.jpg +0 -0
- package/servicee/3d/Assets/Textures/NaturalEarthII/tilemapresource.xml +14 -0
- package/servicee/3d/Assets/Textures/SkyBox/tycho2t3_80_mx.jpg +0 -0
- package/servicee/3d/Assets/Textures/SkyBox/tycho2t3_80_my.jpg +0 -0
- package/servicee/3d/Assets/Textures/SkyBox/tycho2t3_80_mz.jpg +0 -0
- package/servicee/3d/Assets/Textures/SkyBox/tycho2t3_80_px.jpg +0 -0
- package/servicee/3d/Assets/Textures/SkyBox/tycho2t3_80_py.jpg +0 -0
- package/servicee/3d/Assets/Textures/SkyBox/tycho2t3_80_pz.jpg +0 -0
- package/servicee/3d/Assets/Textures/maki/airfield.png +0 -0
- package/servicee/3d/Assets/Textures/maki/airport.png +0 -0
- package/servicee/3d/Assets/Textures/maki/alcohol-shop.png +0 -0
- package/servicee/3d/Assets/Textures/maki/america-football.png +0 -0
- package/servicee/3d/Assets/Textures/maki/art-gallery.png +0 -0
- package/servicee/3d/Assets/Textures/maki/bakery.png +0 -0
- package/servicee/3d/Assets/Textures/maki/bank.png +0 -0
- package/servicee/3d/Assets/Textures/maki/bar.png +0 -0
- package/servicee/3d/Assets/Textures/maki/baseball.png +0 -0
- package/servicee/3d/Assets/Textures/maki/basketball.png +0 -0
- package/servicee/3d/Assets/Textures/maki/beer.png +0 -0
- package/servicee/3d/Assets/Textures/maki/bicycle.png +0 -0
- package/servicee/3d/Assets/Textures/maki/building.png +0 -0
- package/servicee/3d/Assets/Textures/maki/bus.png +0 -0
- package/servicee/3d/Assets/Textures/maki/cafe.png +0 -0
- package/servicee/3d/Assets/Textures/maki/camera.png +0 -0
- package/servicee/3d/Assets/Textures/maki/campsite.png +0 -0
- package/servicee/3d/Assets/Textures/maki/car.png +0 -0
- package/servicee/3d/Assets/Textures/maki/cemetery.png +0 -0
- package/servicee/3d/Assets/Textures/maki/cesium.png +0 -0
- package/servicee/3d/Assets/Textures/maki/chemist.png +0 -0
- package/servicee/3d/Assets/Textures/maki/cinema.png +0 -0
- package/servicee/3d/Assets/Textures/maki/circle-stroked.png +0 -0
- package/servicee/3d/Assets/Textures/maki/circle.png +0 -0
- package/servicee/3d/Assets/Textures/maki/city.png +0 -0
- package/servicee/3d/Assets/Textures/maki/clothing-store.png +0 -0
- package/servicee/3d/Assets/Textures/maki/college.png +0 -0
- package/servicee/3d/Assets/Textures/maki/commercial.png +0 -0
- package/servicee/3d/Assets/Textures/maki/cricket.png +0 -0
- package/servicee/3d/Assets/Textures/maki/cross.png +0 -0
- package/servicee/3d/Assets/Textures/maki/dam.png +0 -0
- package/servicee/3d/Assets/Textures/maki/danger.png +0 -0
- package/servicee/3d/Assets/Textures/maki/disability.png +0 -0
- package/servicee/3d/Assets/Textures/maki/dog-park.png +0 -0
- package/servicee/3d/Assets/Textures/maki/embassy.png +0 -0
- package/servicee/3d/Assets/Textures/maki/emergency-telephone.png +0 -0
- package/servicee/3d/Assets/Textures/maki/entrance.png +0 -0
- package/servicee/3d/Assets/Textures/maki/farm.png +0 -0
- package/servicee/3d/Assets/Textures/maki/fast-food.png +0 -0
- package/servicee/3d/Assets/Textures/maki/ferry.png +0 -0
- package/servicee/3d/Assets/Textures/maki/fire-station.png +0 -0
- package/servicee/3d/Assets/Textures/maki/fuel.png +0 -0
- package/servicee/3d/Assets/Textures/maki/garden.png +0 -0
- package/servicee/3d/Assets/Textures/maki/gift.png +0 -0
- package/servicee/3d/Assets/Textures/maki/golf.png +0 -0
- package/servicee/3d/Assets/Textures/maki/grocery.png +0 -0
- package/servicee/3d/Assets/Textures/maki/hairdresser.png +0 -0
- package/servicee/3d/Assets/Textures/maki/harbor.png +0 -0
- package/servicee/3d/Assets/Textures/maki/heart.png +0 -0
- package/servicee/3d/Assets/Textures/maki/heliport.png +0 -0
- package/servicee/3d/Assets/Textures/maki/hospital.png +0 -0
- package/servicee/3d/Assets/Textures/maki/ice-cream.png +0 -0
- package/servicee/3d/Assets/Textures/maki/industrial.png +0 -0
- package/servicee/3d/Assets/Textures/maki/land-use.png +0 -0
- package/servicee/3d/Assets/Textures/maki/laundry.png +0 -0
- package/servicee/3d/Assets/Textures/maki/library.png +0 -0
- package/servicee/3d/Assets/Textures/maki/lighthouse.png +0 -0
- package/servicee/3d/Assets/Textures/maki/lodging.png +0 -0
- package/servicee/3d/Assets/Textures/maki/logging.png +0 -0
- package/servicee/3d/Assets/Textures/maki/london-underground.png +0 -0
- package/servicee/3d/Assets/Textures/maki/marker-stroked.png +0 -0
- package/servicee/3d/Assets/Textures/maki/marker.png +0 -0
- package/servicee/3d/Assets/Textures/maki/minefield.png +0 -0
- package/servicee/3d/Assets/Textures/maki/mobilephone.png +0 -0
- package/servicee/3d/Assets/Textures/maki/monument.png +0 -0
- package/servicee/3d/Assets/Textures/maki/museum.png +0 -0
- package/servicee/3d/Assets/Textures/maki/music.png +0 -0
- package/servicee/3d/Assets/Textures/maki/oil-well.png +0 -0
- package/servicee/3d/Assets/Textures/maki/park.png +0 -0
- package/servicee/3d/Assets/Textures/maki/park2.png +0 -0
- package/servicee/3d/Assets/Textures/maki/parking-garage.png +0 -0
- package/servicee/3d/Assets/Textures/maki/parking.png +0 -0
- package/servicee/3d/Assets/Textures/maki/pharmacy.png +0 -0
- package/servicee/3d/Assets/Textures/maki/pitch.png +0 -0
- package/servicee/3d/Assets/Textures/maki/place-of-worship.png +0 -0
- package/servicee/3d/Assets/Textures/maki/playground.png +0 -0
- package/servicee/3d/Assets/Textures/maki/police.png +0 -0
- package/servicee/3d/Assets/Textures/maki/polling-place.png +0 -0
- package/servicee/3d/Assets/Textures/maki/post.png +0 -0
- package/servicee/3d/Assets/Textures/maki/prison.png +0 -0
- package/servicee/3d/Assets/Textures/maki/rail-above.png +0 -0
- package/servicee/3d/Assets/Textures/maki/rail-light.png +0 -0
- package/servicee/3d/Assets/Textures/maki/rail-metro.png +0 -0
- package/servicee/3d/Assets/Textures/maki/rail-underground.png +0 -0
- package/servicee/3d/Assets/Textures/maki/rail.png +0 -0
- package/servicee/3d/Assets/Textures/maki/religious-christian.png +0 -0
- package/servicee/3d/Assets/Textures/maki/religious-jewish.png +0 -0
- package/servicee/3d/Assets/Textures/maki/religious-muslim.png +0 -0
- package/servicee/3d/Assets/Textures/maki/restaurant.png +0 -0
- package/servicee/3d/Assets/Textures/maki/roadblock.png +0 -0
- package/servicee/3d/Assets/Textures/maki/rocket.png +0 -0
- package/servicee/3d/Assets/Textures/maki/school.png +0 -0
- package/servicee/3d/Assets/Textures/maki/scooter.png +0 -0
- package/servicee/3d/Assets/Textures/maki/shop.png +0 -0
- package/servicee/3d/Assets/Textures/maki/skiing.png +0 -0
- package/servicee/3d/Assets/Textures/maki/slaughterhouse.png +0 -0
- package/servicee/3d/Assets/Textures/maki/soccer.png +0 -0
- package/servicee/3d/Assets/Textures/maki/square-stroked.png +0 -0
- package/servicee/3d/Assets/Textures/maki/square.png +0 -0
- package/servicee/3d/Assets/Textures/maki/star-stroked.png +0 -0
- package/servicee/3d/Assets/Textures/maki/star.png +0 -0
- package/servicee/3d/Assets/Textures/maki/suitcase.png +0 -0
- package/servicee/3d/Assets/Textures/maki/swimming.png +0 -0
- package/servicee/3d/Assets/Textures/maki/telephone.png +0 -0
- package/servicee/3d/Assets/Textures/maki/tennis.png +0 -0
- package/servicee/3d/Assets/Textures/maki/theatre.png +0 -0
- package/servicee/3d/Assets/Textures/maki/toilets.png +0 -0
- package/servicee/3d/Assets/Textures/maki/town-hall.png +0 -0
- package/servicee/3d/Assets/Textures/maki/town.png +0 -0
- package/servicee/3d/Assets/Textures/maki/triangle-stroked.png +0 -0
- package/servicee/3d/Assets/Textures/maki/triangle.png +0 -0
- package/servicee/3d/Assets/Textures/maki/village.png +0 -0
- package/servicee/3d/Assets/Textures/maki/warehouse.png +0 -0
- package/servicee/3d/Assets/Textures/maki/waste-basket.png +0 -0
- package/servicee/3d/Assets/Textures/maki/water.png +0 -0
- package/servicee/3d/Assets/Textures/maki/wetland.png +0 -0
- package/servicee/3d/Assets/Textures/maki/zoo.png +0 -0
- package/servicee/3d/Assets/Textures/moonSmall.jpg +0 -0
- package/servicee/3d/Assets/Textures/pin.svg +1 -0
- package/servicee/3d/Assets/Textures/waterNormals.jpg +0 -0
- package/servicee/3d/Assets/Textures/waterNormalsSmall.jpg +0 -0
- package/servicee/3d/Assets/approximateTerrainHeights.json +1 -0
- package/servicee/3d/Cesium.js +16569 -0
- package/servicee/3d/ThirdParty/Workers/package.json +1 -0
- package/servicee/3d/ThirdParty/Workers/zip-web-worker.js +1 -0
- package/servicee/3d/ThirdParty/basis_transcoder.wasm +0 -0
- package/servicee/3d/ThirdParty/draco_decoder.wasm +0 -0
- package/servicee/3d/ThirdParty/google-earth-dbroot-parser.js +1 -0
- package/servicee/3d/ThirdParty/wasm_splats_bg.wasm +0 -0
- package/servicee/3d/ThirdParty/zip-module.wasm +0 -0
- package/servicee/3d/Widgets/Animation/Animation.css +127 -0
- package/servicee/3d/Widgets/Animation/lighter.css +70 -0
- package/servicee/3d/Widgets/BaseLayerPicker/BaseLayerPicker.css +108 -0
- package/servicee/3d/Widgets/BaseLayerPicker/lighter.css +22 -0
- package/servicee/3d/Widgets/Cesium3DTilesInspector/Cesium3DTilesInspector.css +102 -0
- package/servicee/3d/Widgets/CesiumInspector/CesiumInspector.css +113 -0
- package/servicee/3d/Widgets/CesiumWidget/CesiumWidget.css +119 -0
- package/servicee/3d/Widgets/CesiumWidget/lighter.css +14 -0
- package/servicee/3d/Widgets/FullscreenButton/FullscreenButton.css +8 -0
- package/servicee/3d/Widgets/Geocoder/Geocoder.css +70 -0
- package/servicee/3d/Widgets/Geocoder/lighter.css +17 -0
- package/servicee/3d/Widgets/I3SBuildingSceneLayerExplorer/I3SBuildingSceneLayerExplorer.css +27 -0
- package/servicee/3d/Widgets/Images/ImageryProviders/ArcGisMapServiceWorldHillshade.png +0 -0
- package/servicee/3d/Widgets/Images/ImageryProviders/ArcGisMapServiceWorldImagery.png +0 -0
- package/servicee/3d/Widgets/Images/ImageryProviders/ArcGisMapServiceWorldOcean.png +0 -0
- package/servicee/3d/Widgets/Images/ImageryProviders/bingAerial.png +0 -0
- package/servicee/3d/Widgets/Images/ImageryProviders/bingAerialLabels.png +0 -0
- package/servicee/3d/Widgets/Images/ImageryProviders/bingRoads.png +0 -0
- package/servicee/3d/Widgets/Images/ImageryProviders/blueMarble.png +0 -0
- package/servicee/3d/Widgets/Images/ImageryProviders/earthAtNight.png +0 -0
- package/servicee/3d/Widgets/Images/ImageryProviders/googleContour.png +0 -0
- package/servicee/3d/Widgets/Images/ImageryProviders/googleLabels.png +0 -0
- package/servicee/3d/Widgets/Images/ImageryProviders/googleRoadmap.png +0 -0
- package/servicee/3d/Widgets/Images/ImageryProviders/googleSatellite.png +0 -0
- package/servicee/3d/Widgets/Images/ImageryProviders/googleSatelliteLabels.png +0 -0
- package/servicee/3d/Widgets/Images/ImageryProviders/mapQuestOpenStreetMap.png +0 -0
- package/servicee/3d/Widgets/Images/ImageryProviders/mapboxSatellite.png +0 -0
- package/servicee/3d/Widgets/Images/ImageryProviders/mapboxStreets.png +0 -0
- package/servicee/3d/Widgets/Images/ImageryProviders/mapboxTerrain.png +0 -0
- package/servicee/3d/Widgets/Images/ImageryProviders/naturalEarthII.png +0 -0
- package/servicee/3d/Widgets/Images/ImageryProviders/openStreetMap.png +0 -0
- package/servicee/3d/Widgets/Images/ImageryProviders/sentinel-2.png +0 -0
- package/servicee/3d/Widgets/Images/ImageryProviders/stadiaAlidadeSmooth.png +0 -0
- package/servicee/3d/Widgets/Images/ImageryProviders/stadiaAlidadeSmoothDark.png +0 -0
- package/servicee/3d/Widgets/Images/ImageryProviders/stamenToner.png +0 -0
- package/servicee/3d/Widgets/Images/ImageryProviders/stamenWatercolor.png +0 -0
- package/servicee/3d/Widgets/Images/NavigationHelp/Mouse.svg +84 -0
- package/servicee/3d/Widgets/Images/NavigationHelp/MouseLeft.svg +76 -0
- package/servicee/3d/Widgets/Images/NavigationHelp/MouseMiddle.svg +76 -0
- package/servicee/3d/Widgets/Images/NavigationHelp/MouseRight.svg +76 -0
- package/servicee/3d/Widgets/Images/NavigationHelp/Touch.svg +120 -0
- package/servicee/3d/Widgets/Images/NavigationHelp/TouchDrag.svg +129 -0
- package/servicee/3d/Widgets/Images/NavigationHelp/TouchRotate.svg +76 -0
- package/servicee/3d/Widgets/Images/NavigationHelp/TouchTilt.svg +135 -0
- package/servicee/3d/Widgets/Images/NavigationHelp/TouchZoom.svg +74 -0
- package/servicee/3d/Widgets/Images/TerrainProviders/CesiumWorldTerrain.png +0 -0
- package/servicee/3d/Widgets/Images/TerrainProviders/Ellipsoid.png +0 -0
- package/servicee/3d/Widgets/Images/TimelineIcons.png +0 -0
- package/servicee/3d/Widgets/Images/info-loading.gif +0 -0
- package/servicee/3d/Widgets/InfoBox/InfoBox.css +92 -0
- package/servicee/3d/Widgets/InfoBox/InfoBoxDescription.css +178 -0
- package/servicee/3d/Widgets/NavigationHelpButton/NavigationHelpButton.css +93 -0
- package/servicee/3d/Widgets/NavigationHelpButton/lighter.css +38 -0
- package/servicee/3d/Widgets/PerformanceWatchdog/PerformanceWatchdog.css +15 -0
- package/servicee/3d/Widgets/ProjectionPicker/ProjectionPicker.css +38 -0
- package/servicee/3d/Widgets/SceneModePicker/SceneModePicker.css +56 -0
- package/servicee/3d/Widgets/SelectionIndicator/SelectionIndicator.css +20 -0
- package/servicee/3d/Widgets/Timeline/Timeline.css +103 -0
- package/servicee/3d/Widgets/Timeline/lighter.css +23 -0
- package/servicee/3d/Widgets/VRButton/VRButton.css +8 -0
- package/servicee/3d/Widgets/Viewer/Viewer.css +107 -0
- package/servicee/3d/Widgets/VoxelInspector/VoxelInspector.css +16 -0
- package/servicee/3d/Widgets/lighter.css +237 -0
- package/servicee/3d/Widgets/lighterShared.css +46 -0
- package/servicee/3d/Widgets/shared.css +103 -0
- package/servicee/3d/Widgets/widgets.css +1342 -0
- package/servicee/3d/Workers/chunk-2ZPEMRCT.js +26 -0
- package/servicee/3d/Workers/chunk-2ZPEMRCT.js.LICENSE.txt +24 -0
- package/servicee/3d/Workers/chunk-3BSRJTW3.js +26 -0
- package/servicee/3d/Workers/chunk-3BSRJTW3.js.LICENSE.txt +24 -0
- package/servicee/3d/Workers/chunk-3WSHJXU2.js +26 -0
- package/servicee/3d/Workers/chunk-3WSHJXU2.js.LICENSE.txt +24 -0
- package/servicee/3d/Workers/chunk-42MGKNSS.js +26 -0
- package/servicee/3d/Workers/chunk-42MGKNSS.js.LICENSE.txt +24 -0
- package/servicee/3d/Workers/chunk-4MJDNHOT.js +26 -0
- package/servicee/3d/Workers/chunk-4MJDNHOT.js.LICENSE.txt +24 -0
- package/servicee/3d/Workers/chunk-4WJUWBRK.js +26 -0
- package/servicee/3d/Workers/chunk-4WJUWBRK.js.LICENSE.txt +24 -0
- package/servicee/3d/Workers/chunk-5G23AKP3.js +27 -0
- package/servicee/3d/Workers/chunk-5G23AKP3.js.LICENSE.txt +24 -0
- package/servicee/3d/Workers/chunk-5HPISDSZ.js +26 -0
- package/servicee/3d/Workers/chunk-5HPISDSZ.js.LICENSE.txt +24 -0
- package/servicee/3d/Workers/chunk-APG2S62J.js +26 -0
- package/servicee/3d/Workers/chunk-APG2S62J.js.LICENSE.txt +24 -0
- package/servicee/3d/Workers/chunk-AZLP5742.js +26 -0
- package/servicee/3d/Workers/chunk-AZLP5742.js.LICENSE.txt +24 -0
- package/servicee/3d/Workers/chunk-BJAB7QAF.js +26 -0
- package/servicee/3d/Workers/chunk-BJAB7QAF.js.LICENSE.txt +24 -0
- package/servicee/3d/Workers/chunk-BTDQB5Q4.js +26 -0
- package/servicee/3d/Workers/chunk-BTDQB5Q4.js.LICENSE.txt +24 -0
- package/servicee/3d/Workers/chunk-CJRI54BI.js +26 -0
- package/servicee/3d/Workers/chunk-CJRI54BI.js.LICENSE.txt +24 -0
- package/servicee/3d/Workers/chunk-CUP6SILZ.js +26 -0
- package/servicee/3d/Workers/chunk-CUP6SILZ.js.LICENSE.txt +24 -0
- package/servicee/3d/Workers/chunk-D2NFCOGE.js +28 -0
- package/servicee/3d/Workers/chunk-D2NFCOGE.js.LICENSE.txt +24 -0
- package/servicee/3d/Workers/chunk-DK73HV33.js +26 -0
- package/servicee/3d/Workers/chunk-DK73HV33.js.LICENSE.txt +24 -0
- package/servicee/3d/Workers/chunk-EDF5FKWJ.js +26 -0
- package/servicee/3d/Workers/chunk-EDF5FKWJ.js.LICENSE.txt +24 -0
- package/servicee/3d/Workers/chunk-ET7KY3BS.js +26 -0
- package/servicee/3d/Workers/chunk-ET7KY3BS.js.LICENSE.txt +24 -0
- package/servicee/3d/Workers/chunk-FIHQI7E3.js +26 -0
- package/servicee/3d/Workers/chunk-FIHQI7E3.js.LICENSE.txt +24 -0
- package/servicee/3d/Workers/chunk-FVGSQINW.js +26 -0
- package/servicee/3d/Workers/chunk-FVGSQINW.js.LICENSE.txt +24 -0
- package/servicee/3d/Workers/chunk-FWF3VNA2.js +26 -0
- package/servicee/3d/Workers/chunk-FWF3VNA2.js.LICENSE.txt +24 -0
- package/servicee/3d/Workers/chunk-GTQ3WXPT.js +26 -0
- package/servicee/3d/Workers/chunk-GTQ3WXPT.js.LICENSE.txt +24 -0
- package/servicee/3d/Workers/chunk-HSJ6GSLC.js +26 -0
- package/servicee/3d/Workers/chunk-HSJ6GSLC.js.LICENSE.txt +24 -0
- package/servicee/3d/Workers/chunk-IOTBNCMN.js +26 -0
- package/servicee/3d/Workers/chunk-IOTBNCMN.js.LICENSE.txt +24 -0
- package/servicee/3d/Workers/chunk-IYO6TYGP.js +26 -0
- package/servicee/3d/Workers/chunk-IYO6TYGP.js.LICENSE.txt +24 -0
- package/servicee/3d/Workers/chunk-J7MBSSYW.js +26 -0
- package/servicee/3d/Workers/chunk-J7MBSSYW.js.LICENSE.txt +24 -0
- package/servicee/3d/Workers/chunk-KWAHJ72S.js +28 -0
- package/servicee/3d/Workers/chunk-KWAHJ72S.js.LICENSE.txt +24 -0
- package/servicee/3d/Workers/chunk-KX5PR5Q3.js +26 -0
- package/servicee/3d/Workers/chunk-KX5PR5Q3.js.LICENSE.txt +24 -0
- package/servicee/3d/Workers/chunk-LJBMXZ6U.js +26 -0
- package/servicee/3d/Workers/chunk-LJBMXZ6U.js.LICENSE.txt +24 -0
- package/servicee/3d/Workers/chunk-LPJEXZWM.js +26 -0
- package/servicee/3d/Workers/chunk-LPJEXZWM.js.LICENSE.txt +24 -0
- package/servicee/3d/Workers/chunk-MKDADUG3.js +26 -0
- package/servicee/3d/Workers/chunk-MKDADUG3.js.LICENSE.txt +24 -0
- package/servicee/3d/Workers/chunk-NOIUI5SY.js +27 -0
- package/servicee/3d/Workers/chunk-NOIUI5SY.js.LICENSE.txt +24 -0
- package/servicee/3d/Workers/chunk-OFCC6BNI.js +26 -0
- package/servicee/3d/Workers/chunk-OFCC6BNI.js.LICENSE.txt +24 -0
- package/servicee/3d/Workers/chunk-OXJ2LJUE.js +26 -0
- package/servicee/3d/Workers/chunk-OXJ2LJUE.js.LICENSE.txt +24 -0
- package/servicee/3d/Workers/chunk-Q4W25C4L.js +26 -0
- package/servicee/3d/Workers/chunk-Q4W25C4L.js.LICENSE.txt +24 -0
- package/servicee/3d/Workers/chunk-QORMFUM4.js +26 -0
- package/servicee/3d/Workers/chunk-QORMFUM4.js.LICENSE.txt +24 -0
- package/servicee/3d/Workers/chunk-RCHWDG3R.js +26 -0
- package/servicee/3d/Workers/chunk-RCHWDG3R.js.LICENSE.txt +24 -0
- package/servicee/3d/Workers/chunk-RYOF6QSA.js +26 -0
- package/servicee/3d/Workers/chunk-RYOF6QSA.js.LICENSE.txt +24 -0
- package/servicee/3d/Workers/chunk-SCO7TMKT.js +26 -0
- package/servicee/3d/Workers/chunk-SCO7TMKT.js.LICENSE.txt +24 -0
- package/servicee/3d/Workers/chunk-SNSHUVCZ.js +26 -0
- package/servicee/3d/Workers/chunk-SNSHUVCZ.js.LICENSE.txt +24 -0
- package/servicee/3d/Workers/chunk-SXKYZMEL.js +26 -0
- package/servicee/3d/Workers/chunk-SXKYZMEL.js.LICENSE.txt +24 -0
- package/servicee/3d/Workers/chunk-T6Q6HX5J.js +26 -0
- package/servicee/3d/Workers/chunk-T6Q6HX5J.js.LICENSE.txt +24 -0
- package/servicee/3d/Workers/chunk-T77EB7BE.js +26 -0
- package/servicee/3d/Workers/chunk-T77EB7BE.js.LICENSE.txt +24 -0
- package/servicee/3d/Workers/chunk-TGKHFJV6.js +26 -0
- package/servicee/3d/Workers/chunk-TGKHFJV6.js.LICENSE.txt +24 -0
- package/servicee/3d/Workers/chunk-U6GWZBRL.js +26 -0
- package/servicee/3d/Workers/chunk-U6GWZBRL.js.LICENSE.txt +24 -0
- package/servicee/3d/Workers/chunk-UTYWXSQT.js +66 -0
- package/servicee/3d/Workers/chunk-UTYWXSQT.js.LICENSE.txt +67 -0
- package/servicee/3d/Workers/chunk-VHZAK4GN.js +26 -0
- package/servicee/3d/Workers/chunk-VHZAK4GN.js.LICENSE.txt +24 -0
- package/servicee/3d/Workers/chunk-VTK7G5BX.js +26 -0
- package/servicee/3d/Workers/chunk-VTK7G5BX.js.LICENSE.txt +24 -0
- package/servicee/3d/Workers/chunk-XBWRWNYZ.js +26 -0
- package/servicee/3d/Workers/chunk-XBWRWNYZ.js.LICENSE.txt +24 -0
- package/servicee/3d/Workers/chunk-XQDTMI7Q.js +26 -0
- package/servicee/3d/Workers/chunk-XQDTMI7Q.js.LICENSE.txt +24 -0
- package/servicee/3d/Workers/chunk-XQIJGAVD.js +26 -0
- package/servicee/3d/Workers/chunk-XQIJGAVD.js.LICENSE.txt +24 -0
- package/servicee/3d/Workers/chunk-XRRBRTKL.js +26 -0
- package/servicee/3d/Workers/chunk-XRRBRTKL.js.LICENSE.txt +24 -0
- package/servicee/3d/Workers/chunk-YHWHVNY2.js +26 -0
- package/servicee/3d/Workers/chunk-YHWHVNY2.js.LICENSE.txt +24 -0
- package/servicee/3d/Workers/chunk-YY6GMQGO.js +26 -0
- package/servicee/3d/Workers/chunk-YY6GMQGO.js.LICENSE.txt +24 -0
- package/servicee/3d/Workers/combineGeometry.js +26 -0
- package/servicee/3d/Workers/combineGeometry.js.LICENSE.txt +24 -0
- package/servicee/3d/Workers/createBoxGeometry.js +26 -0
- package/servicee/3d/Workers/createBoxGeometry.js.LICENSE.txt +24 -0
- package/servicee/3d/Workers/createBoxOutlineGeometry.js +26 -0
- package/servicee/3d/Workers/createBoxOutlineGeometry.js.LICENSE.txt +24 -0
- package/servicee/3d/Workers/createCircleGeometry.js +26 -0
- package/servicee/3d/Workers/createCircleGeometry.js.LICENSE.txt +24 -0
- package/servicee/3d/Workers/createCircleOutlineGeometry.js +26 -0
- package/servicee/3d/Workers/createCircleOutlineGeometry.js.LICENSE.txt +24 -0
- package/servicee/3d/Workers/createCoplanarPolygonGeometry.js +26 -0
- package/servicee/3d/Workers/createCoplanarPolygonGeometry.js.LICENSE.txt +24 -0
- package/servicee/3d/Workers/createCoplanarPolygonOutlineGeometry.js +26 -0
- package/servicee/3d/Workers/createCoplanarPolygonOutlineGeometry.js.LICENSE.txt +24 -0
- package/servicee/3d/Workers/createCorridorGeometry.js +26 -0
- package/servicee/3d/Workers/createCorridorGeometry.js.LICENSE.txt +24 -0
- package/servicee/3d/Workers/createCorridorOutlineGeometry.js +26 -0
- package/servicee/3d/Workers/createCorridorOutlineGeometry.js.LICENSE.txt +24 -0
- package/servicee/3d/Workers/createCylinderGeometry.js +26 -0
- package/servicee/3d/Workers/createCylinderGeometry.js.LICENSE.txt +24 -0
- package/servicee/3d/Workers/createCylinderOutlineGeometry.js +26 -0
- package/servicee/3d/Workers/createCylinderOutlineGeometry.js.LICENSE.txt +24 -0
- package/servicee/3d/Workers/createEllipseGeometry.js +26 -0
- package/servicee/3d/Workers/createEllipseGeometry.js.LICENSE.txt +24 -0
- package/servicee/3d/Workers/createEllipseOutlineGeometry.js +26 -0
- package/servicee/3d/Workers/createEllipseOutlineGeometry.js.LICENSE.txt +24 -0
- package/servicee/3d/Workers/createEllipsoidGeometry.js +26 -0
- package/servicee/3d/Workers/createEllipsoidGeometry.js.LICENSE.txt +24 -0
- package/servicee/3d/Workers/createEllipsoidOutlineGeometry.js +26 -0
- package/servicee/3d/Workers/createEllipsoidOutlineGeometry.js.LICENSE.txt +24 -0
- package/servicee/3d/Workers/createFrustumGeometry.js +26 -0
- package/servicee/3d/Workers/createFrustumGeometry.js.LICENSE.txt +24 -0
- package/servicee/3d/Workers/createFrustumOutlineGeometry.js +26 -0
- package/servicee/3d/Workers/createFrustumOutlineGeometry.js.LICENSE.txt +24 -0
- package/servicee/3d/Workers/createGeometry.js +26 -0
- package/servicee/3d/Workers/createGeometry.js.LICENSE.txt +24 -0
- package/servicee/3d/Workers/createGroundPolylineGeometry.js +26 -0
- package/servicee/3d/Workers/createGroundPolylineGeometry.js.LICENSE.txt +24 -0
- package/servicee/3d/Workers/createPlaneGeometry.js +26 -0
- package/servicee/3d/Workers/createPlaneGeometry.js.LICENSE.txt +24 -0
- package/servicee/3d/Workers/createPlaneOutlineGeometry.js +26 -0
- package/servicee/3d/Workers/createPlaneOutlineGeometry.js.LICENSE.txt +24 -0
- package/servicee/3d/Workers/createPolygonGeometry.js +26 -0
- package/servicee/3d/Workers/createPolygonGeometry.js.LICENSE.txt +24 -0
- package/servicee/3d/Workers/createPolygonOutlineGeometry.js +26 -0
- package/servicee/3d/Workers/createPolygonOutlineGeometry.js.LICENSE.txt +24 -0
- package/servicee/3d/Workers/createPolylineGeometry.js +26 -0
- package/servicee/3d/Workers/createPolylineGeometry.js.LICENSE.txt +24 -0
- package/servicee/3d/Workers/createPolylineVolumeGeometry.js +26 -0
- package/servicee/3d/Workers/createPolylineVolumeGeometry.js.LICENSE.txt +24 -0
- package/servicee/3d/Workers/createPolylineVolumeOutlineGeometry.js +26 -0
- package/servicee/3d/Workers/createPolylineVolumeOutlineGeometry.js.LICENSE.txt +24 -0
- package/servicee/3d/Workers/createRectangleGeometry.js +26 -0
- package/servicee/3d/Workers/createRectangleGeometry.js.LICENSE.txt +24 -0
- package/servicee/3d/Workers/createRectangleOutlineGeometry.js +26 -0
- package/servicee/3d/Workers/createRectangleOutlineGeometry.js.LICENSE.txt +24 -0
- package/servicee/3d/Workers/createSimplePolylineGeometry.js +26 -0
- package/servicee/3d/Workers/createSimplePolylineGeometry.js.LICENSE.txt +24 -0
- package/servicee/3d/Workers/createSphereGeometry.js +26 -0
- package/servicee/3d/Workers/createSphereGeometry.js.LICENSE.txt +24 -0
- package/servicee/3d/Workers/createSphereOutlineGeometry.js +26 -0
- package/servicee/3d/Workers/createSphereOutlineGeometry.js.LICENSE.txt +24 -0
- package/servicee/3d/Workers/createTaskProcessorWorker.js +26 -0
- package/servicee/3d/Workers/createTaskProcessorWorker.js.LICENSE.txt +24 -0
- package/servicee/3d/Workers/createVectorTileClampedPolylines.js +26 -0
- package/servicee/3d/Workers/createVectorTileClampedPolylines.js.LICENSE.txt +24 -0
- package/servicee/3d/Workers/createVectorTileGeometries.js +26 -0
- package/servicee/3d/Workers/createVectorTileGeometries.js.LICENSE.txt +24 -0
- package/servicee/3d/Workers/createVectorTilePoints.js +26 -0
- package/servicee/3d/Workers/createVectorTilePoints.js.LICENSE.txt +24 -0
- package/servicee/3d/Workers/createVectorTilePolygons.js +26 -0
- package/servicee/3d/Workers/createVectorTilePolygons.js.LICENSE.txt +24 -0
- package/servicee/3d/Workers/createVectorTilePolylines.js +26 -0
- package/servicee/3d/Workers/createVectorTilePolylines.js.LICENSE.txt +24 -0
- package/servicee/3d/Workers/createVerticesFromCesium3DTilesTerrain.js +26 -0
- package/servicee/3d/Workers/createVerticesFromCesium3DTilesTerrain.js.LICENSE.txt +24 -0
- package/servicee/3d/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js +26 -0
- package/servicee/3d/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js.LICENSE.txt +24 -0
- package/servicee/3d/Workers/createVerticesFromHeightmap.js +26 -0
- package/servicee/3d/Workers/createVerticesFromHeightmap.js.LICENSE.txt +26 -0
- package/servicee/3d/Workers/createVerticesFromQuantizedTerrainMesh.js +26 -0
- package/servicee/3d/Workers/createVerticesFromQuantizedTerrainMesh.js.LICENSE.txt +24 -0
- package/servicee/3d/Workers/createWallGeometry.js +26 -0
- package/servicee/3d/Workers/createWallGeometry.js.LICENSE.txt +24 -0
- package/servicee/3d/Workers/createWallOutlineGeometry.js +26 -0
- package/servicee/3d/Workers/createWallOutlineGeometry.js.LICENSE.txt +24 -0
- package/servicee/3d/Workers/decodeDraco.js +26 -0
- package/servicee/3d/Workers/decodeDraco.js.LICENSE.txt +24 -0
- package/servicee/3d/Workers/decodeGoogleEarthEnterprisePacket.js +26 -0
- package/servicee/3d/Workers/decodeGoogleEarthEnterprisePacket.js.LICENSE.txt +24 -0
- package/servicee/3d/Workers/decodeI3S.js +26 -0
- package/servicee/3d/Workers/decodeI3S.js.LICENSE.txt +24 -0
- package/servicee/3d/Workers/gaussianSplatSorter.js +26 -0
- package/servicee/3d/Workers/gaussianSplatSorter.js.LICENSE.txt +24 -0
- package/servicee/3d/Workers/gaussianSplatTextureGenerator.js +26 -0
- package/servicee/3d/Workers/gaussianSplatTextureGenerator.js.LICENSE.txt +24 -0
- package/servicee/3d/Workers/transcodeKTX2.js +56 -0
- package/servicee/3d/Workers/transcodeKTX2.js.LICENSE.txt +24 -0
- package/servicee/3d/Workers/transferTypedArrayTest.js +26 -0
- package/servicee/3d/Workers/transferTypedArrayTest.js.LICENSE.txt +24 -0
- package/servicee/3d/Workers/upsampleQuantizedTerrainMesh.js +26 -0
- package/servicee/3d/Workers/upsampleQuantizedTerrainMesh.js.LICENSE.txt +24 -0
- package/servicee/3d/Workers/upsampleVerticesFromCesium3DTilesTerrain.js +26 -0
- package/servicee/3d/Workers/upsampleVerticesFromCesium3DTilesTerrain.js.LICENSE.txt +24 -0
- package/servicee/3d/index.cjs +16569 -0
- package/servicee/3d/index.js +16569 -0
|
@@ -0,0 +1,26 @@
|
|
|
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
|
+
*/
|
|
25
|
+
|
|
26
|
+
import{a as W}from"./chunk-U6GWZBRL.js";import{a as U}from"./chunk-3BSRJTW3.js";import"./chunk-VHZAK4GN.js";import"./chunk-OFCC6BNI.js";import{a as x,b as I,c as j}from"./chunk-Q4W25C4L.js";import"./chunk-QORMFUM4.js";import"./chunk-FWF3VNA2.js";import{a as g}from"./chunk-APG2S62J.js";import"./chunk-ET7KY3BS.js";import"./chunk-CUP6SILZ.js";import{a as $,b as M}from"./chunk-IYO6TYGP.js";import{a as Z}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 Q}from"./chunk-4MJDNHOT.js";import{b as V,c as Y,d as B}from"./chunk-EDF5FKWJ.js";import{d as K}from"./chunk-XQIJGAVD.js";import"./chunk-UTYWXSQT.js";import{a as N}from"./chunk-RCHWDG3R.js";import"./chunk-4WJUWBRK.js";import"./chunk-5G23AKP3.js";import{a as E,c as D,d as f,f as J}from"./chunk-KWAHJ72S.js";import{a as H}from"./chunk-MKDADUG3.js";import{a as A}from"./chunk-NOIUI5SY.js";import{e as _}from"./chunk-XRRBRTKL.js";function oe(t,e,n,o){let m=new Q;o.position&&(m.position=new B({componentDatatype:N.DOUBLE,componentsPerAttribute:3,values:t}));let i=e.length,u=t.length/3,w=(u-i*2)/(i*2),L=M.triangulate(e),R=(w-1)*i*6+L.length*2,r=X.createTypedArray(u,R),l,s,d,T,b,F,q=i*2,p=0;for(l=0;l<w-1;l++){for(s=0;s<i-1;s++)d=s*2+l*i*2,F=d+q,T=d+1,b=T+q,r[p++]=T,r[p++]=d,r[p++]=b,r[p++]=b,r[p++]=d,r[p++]=F;d=i*2-2+l*i*2,T=d+1,b=T+q,F=d+q,r[p++]=T,r[p++]=d,r[p++]=b,r[p++]=b,r[p++]=d,r[p++]=F}if(o.st||o.tangent||o.bitangent){let c=new Float32Array(u*2),C=1/(w-1),P=1/n.height,O=n.height/2,y,a,h=0;for(l=0;l<w;l++){for(y=l*C,a=P*(e[0].y+O),c[h++]=y,c[h++]=a,s=1;s<i;s++)a=P*(e[s].y+O),c[h++]=y,c[h++]=a,c[h++]=y,c[h++]=a;a=P*(e[0].y+O),c[h++]=y,c[h++]=a}for(s=0;s<i;s++)y=0,a=P*(e[s].y+O),c[h++]=y,c[h++]=a;for(s=0;s<i;s++)y=(w-1)*C,a=P*(e[s].y+O),c[h++]=y,c[h++]=a;m.st=new B({componentDatatype:N.FLOAT,componentsPerAttribute:2,values:new Float32Array(c)})}let G=u-i*2;for(l=0;l<L.length;l+=3){let c=L[l]+G,C=L[l+1]+G,P=L[l+2]+G;r[p++]=c,r[p++]=C,r[p++]=P,r[p++]=P+i,r[p++]=C+i,r[p++]=c+i}let k=new Y({attributes:m,indices:r,boundingSphere:K.fromVertices(t),primitiveType:V.TRIANGLES});if(o.normal&&(k=U.computeNormal(k)),o.tangent||o.bitangent){try{k=U.computeTangentAndBitangent(k)}catch{I("polyline-volume-tangent-bitangent","Unable to compute tangents and bitangents for polyline volume geometry")}o.tangent||(k.attributes.tangent=void 0),o.bitangent||(k.attributes.bitangent=void 0),o.st||(k.attributes.st=void 0)}return k}function v(t){t=t??J.EMPTY_OBJECT;let e=t.polylinePositions,n=t.shapePositions;if(!_(e))throw new A("options.polylinePositions is required.");if(!_(n))throw new A("options.shapePositions is required.");this._positions=e,this._shape=n,this._ellipsoid=f.clone(t.ellipsoid??f.default),this._cornerType=t.cornerType??x.ROUNDED,this._vertexFormat=g.clone(t.vertexFormat??g.DEFAULT),this._granularity=t.granularity??H.RADIANS_PER_DEGREE,this._workerName="createPolylineVolumeGeometry";let o=1+e.length*E.packedLength;o+=1+n.length*D.packedLength,this.packedLength=o+f.packedLength+g.packedLength+2}v.pack=function(t,e,n){if(!_(t))throw new A("value is required");if(!_(e))throw new A("array is required");n=n??0;let o,m=t._positions,i=m.length;for(e[n++]=i,o=0;o<i;++o,n+=E.packedLength)E.pack(m[o],e,n);let u=t._shape;for(i=u.length,e[n++]=i,o=0;o<i;++o,n+=D.packedLength)D.pack(u[o],e,n);return f.pack(t._ellipsoid,e,n),n+=f.packedLength,g.pack(t._vertexFormat,e,n),n+=g.packedLength,e[n++]=t._cornerType,e[n]=t._granularity,e};var ee=f.clone(f.UNIT_SPHERE),te=new g,S={polylinePositions:void 0,shapePositions:void 0,ellipsoid:ee,vertexFormat:te,cornerType:void 0,granularity:void 0};v.unpack=function(t,e,n){if(!_(t))throw new A("array is required");e=e??0;let o,m=t[e++],i=new Array(m);for(o=0;o<m;++o,e+=E.packedLength)i[o]=E.unpack(t,e);m=t[e++];let u=new Array(m);for(o=0;o<m;++o,e+=D.packedLength)u[o]=D.unpack(t,e);let w=f.unpack(t,e,ee);e+=f.packedLength;let L=g.unpack(t,e,te);e+=g.packedLength;let R=t[e++],r=t[e];return _(n)?(n._positions=i,n._shape=u,n._ellipsoid=f.clone(w,n._ellipsoid),n._vertexFormat=g.clone(L,n._vertexFormat),n._cornerType=R,n._granularity=r,n):(S.polylinePositions=i,S.shapePositions=u,S.cornerType=R,S.granularity=r,new v(S))};var ne=new W;v.createGeometry=function(t){let e=t._positions,n=Z(e,E.equalsEpsilon),o=t._shape;if(o=j.removeDuplicatesFromShape(o),n.length<2||o.length<3)return;M.computeWindingOrder2D(o)===$.CLOCKWISE&&o.reverse();let m=W.fromPoints(o,ne),i=j.computePositions(n,o,m,t,!0);return oe(i,o,m,t._vertexFormat)};var z=v;function ie(t,e){return _(e)&&(t=z.unpack(t,e)),t._ellipsoid=f.clone(t._ellipsoid),z.createGeometry(t)}var Re=ie;export{Re 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,26 @@
|
|
|
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
|
+
*/
|
|
25
|
+
|
|
26
|
+
import{a as k}from"./chunk-U6GWZBRL.js";import{a as N,c as w}from"./chunk-Q4W25C4L.js";import"./chunk-QORMFUM4.js";import"./chunk-FWF3VNA2.js";import"./chunk-ET7KY3BS.js";import"./chunk-CUP6SILZ.js";import{a as v,b as G}from"./chunk-IYO6TYGP.js";import{a as q}from"./chunk-AZLP5742.js";import"./chunk-5HPISDSZ.js";import"./chunk-HSJ6GSLC.js";import"./chunk-SXKYZMEL.js";import{a as g}from"./chunk-T6Q6HX5J.js";import{a as O}from"./chunk-4MJDNHOT.js";import{b as A,c as R,d as S}from"./chunk-EDF5FKWJ.js";import{d as C}from"./chunk-XQIJGAVD.js";import"./chunk-UTYWXSQT.js";import{a as b}from"./chunk-RCHWDG3R.js";import"./chunk-4WJUWBRK.js";import"./chunk-5G23AKP3.js";import{a as d,c as y,d as s,f as D}from"./chunk-KWAHJ72S.js";import{a as T}from"./chunk-MKDADUG3.js";import{a}from"./chunk-NOIUI5SY.js";import{e as u}from"./chunk-XRRBRTKL.js";function W(o,i){let t=new O;t.position=new S({componentDatatype:b.DOUBLE,componentsPerAttribute:3,values:o});let e=i.length,r=t.position.values.length/3,f=o.length/3/e,p=g.createTypedArray(r,2*e*(f+1)),m,n,l=0;m=0;let h=m*e;for(n=0;n<e-1;n++)p[l++]=n+h,p[l++]=n+h+1;for(p[l++]=e-1+h,p[l++]=h,m=f-1,h=m*e,n=0;n<e-1;n++)p[l++]=n+h,p[l++]=n+h+1;for(p[l++]=e-1+h,p[l++]=h,m=0;m<f-1;m++){let L=e*m,U=L+e;for(n=0;n<e;n++)p[l++]=n+L,p[l++]=n+U}return new R({attributes:t,indices:g.createTypedArray(r,p),boundingSphere:C.fromVertices(o),primitiveType:A.LINES})}function P(o){o=o??D.EMPTY_OBJECT;let i=o.polylinePositions,t=o.shapePositions;if(!u(i))throw new a("options.polylinePositions is required.");if(!u(t))throw new a("options.shapePositions is required.");this._positions=i,this._shape=t,this._ellipsoid=s.clone(o.ellipsoid??s.default),this._cornerType=o.cornerType??N.ROUNDED,this._granularity=o.granularity??T.RADIANS_PER_DEGREE,this._workerName="createPolylineVolumeOutlineGeometry";let e=1+i.length*d.packedLength;e+=1+t.length*y.packedLength,this.packedLength=e+s.packedLength+2}P.pack=function(o,i,t){if(!u(o))throw new a("value is required");if(!u(i))throw new a("array is required");t=t??0;let e,r=o._positions,c=r.length;for(i[t++]=c,e=0;e<c;++e,t+=d.packedLength)d.pack(r[e],i,t);let f=o._shape;for(c=f.length,i[t++]=c,e=0;e<c;++e,t+=y.packedLength)y.pack(f[e],i,t);return s.pack(o._ellipsoid,i,t),t+=s.packedLength,i[t++]=o._cornerType,i[t]=o._granularity,i};var B=s.clone(s.UNIT_SPHERE),_={polylinePositions:void 0,shapePositions:void 0,ellipsoid:B,height:void 0,cornerType:void 0,granularity:void 0};P.unpack=function(o,i,t){if(!u(o))throw new a("array is required");i=i??0;let e,r=o[i++],c=new Array(r);for(e=0;e<r;++e,i+=d.packedLength)c[e]=d.unpack(o,i);r=o[i++];let f=new Array(r);for(e=0;e<r;++e,i+=y.packedLength)f[e]=y.unpack(o,i);let p=s.unpack(o,i,B);i+=s.packedLength;let m=o[i++],n=o[i];return u(t)?(t._positions=c,t._shape=f,t._ellipsoid=s.clone(p,t._ellipsoid),t._cornerType=m,t._granularity=n,t):(_.polylinePositions=c,_.shapePositions=f,_.cornerType=m,_.granularity=n,new P(_))};var F=new k;P.createGeometry=function(o){let i=o._positions,t=q(i,d.equalsEpsilon),e=o._shape;if(e=w.removeDuplicatesFromShape(e),t.length<2||e.length<3)return;G.computeWindingOrder2D(e)===v.CLOCKWISE&&e.reverse();let r=k.fromPoints(e,F),c=w.computePositions(t,e,r,o,!1);return W(c,e)};var E=P;function M(o,i){return u(i)&&(o=E.unpack(o,i)),o._ellipsoid=s.clone(o._ellipsoid),E.createGeometry(o)}var he=M;export{he 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,26 @@
|
|
|
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
|
+
*/
|
|
25
|
+
|
|
26
|
+
import{a as W}from"./chunk-RYOF6QSA.js";import{a as Nt}from"./chunk-2ZPEMRCT.js";import{a as zt}from"./chunk-3BSRJTW3.js";import"./chunk-VHZAK4GN.js";import"./chunk-OFCC6BNI.js";import{a as ft}from"./chunk-T77EB7BE.js";import{a as q}from"./chunk-APG2S62J.js";import{b as yt}from"./chunk-IYO6TYGP.js";import"./chunk-5HPISDSZ.js";import"./chunk-HSJ6GSLC.js";import"./chunk-SXKYZMEL.js";import{a as At}from"./chunk-T6Q6HX5J.js";import{a as Vt}from"./chunk-4MJDNHOT.js";import{b as Mt,c as Pt,d as Y}from"./chunk-EDF5FKWJ.js";import{d as at}from"./chunk-XQIJGAVD.js";import{g as Lt,i as E,j as bt}from"./chunk-UTYWXSQT.js";import{a as U}from"./chunk-RCHWDG3R.js";import"./chunk-4WJUWBRK.js";import"./chunk-5G23AKP3.js";import{a as w,b as mt,c as $,d as D,e as lt,f as St}from"./chunk-KWAHJ72S.js";import{a as I}from"./chunk-MKDADUG3.js";import{a as Et,b as ct}from"./chunk-NOIUI5SY.js";import{e as K}from"./chunk-XRRBRTKL.js";var Tt=new w,Bt=new w,Ut=new w,Yt=new w,qt=new E,Zt=new $,Kt=new at,$t=new at;function Xt(t,e){let n=new Pt({attributes:new Vt,primitiveType:Mt.TRIANGLES});return n.attributes.position=new Y({componentDatatype:U.DOUBLE,componentsPerAttribute:3,values:e.positions}),t.normal&&(n.attributes.normal=new Y({componentDatatype:U.FLOAT,componentsPerAttribute:3,values:e.normals})),t.tangent&&(n.attributes.tangent=new Y({componentDatatype:U.FLOAT,componentsPerAttribute:3,values:e.tangents})),t.bitangent&&(n.attributes.bitangent=new Y({componentDatatype:U.FLOAT,componentsPerAttribute:3,values:e.bitangents})),n}function Gt(t,e,n,r){let a=t.length,c=e.normal?new Float32Array(a):void 0,l=e.tangent?new Float32Array(a):void 0,u=e.bitangent?new Float32Array(a):void 0,p=0,d=Yt,o=Ut,i=Bt;if(e.normal||e.tangent||e.bitangent)for(let f=0;f<a;f+=3){let s=w.fromArray(t,f,Tt),h=p+1,g=p+2;i=n.geodeticSurfaceNormal(s,i),(e.tangent||e.bitangent)&&(w.cross(w.UNIT_Z,i,o),lt.multiplyByVector(r,o,o),w.normalize(o,o),e.bitangent&&w.normalize(w.cross(i,o,d),d)),e.normal&&(c[p]=i.x,c[h]=i.y,c[g]=i.z),e.tangent&&(l[p]=o.x,l[h]=o.y,l[g]=o.z),e.bitangent&&(u[p]=d.x,u[h]=d.y,u[g]=d.z),p+=3}return Xt(e,{positions:t,normals:c,tangents:l,bitangents:u})}var Ct=new w,jt=new w;function te(t,e,n){let r=t.length,a=e.normal?new Float32Array(r):void 0,c=e.tangent?new Float32Array(r):void 0,l=e.bitangent?new Float32Array(r):void 0,u=0,p=0,d=0,o=!0,i=Yt,f=Ut,s=Bt;if(e.normal||e.tangent||e.bitangent)for(let h=0;h<r;h+=6){let g=w.fromArray(t,h,Tt),A=w.fromArray(t,(h+6)%r,Ct);if(o){let b=w.fromArray(t,(h+3)%r,jt);w.subtract(A,g,A),w.subtract(b,g,b),s=w.normalize(w.cross(b,A,s),s),o=!1}w.equalsEpsilon(A,g,I.EPSILON10)&&(o=!0),(e.tangent||e.bitangent)&&(i=n.geodeticSurfaceNormal(g,i),e.tangent&&(f=w.normalize(w.cross(i,s,f),f))),e.normal&&(a[u++]=s.x,a[u++]=s.y,a[u++]=s.z,a[u++]=s.x,a[u++]=s.y,a[u++]=s.z),e.tangent&&(c[p++]=f.x,c[p++]=f.y,c[p++]=f.z,c[p++]=f.x,c[p++]=f.y,c[p++]=f.z),e.bitangent&&(l[d++]=i.x,l[d++]=i.y,l[d++]=i.z,l[d++]=i.x,l[d++]=i.y,l[d++]=i.z)}return Xt(e,{positions:t,normals:a,tangents:c,bitangents:l})}function It(t,e){let n=t._vertexFormat,r=t._ellipsoid,a=e.height,c=e.width,l=e.northCap,u=e.southCap,p=0,d=a,o=a,i=0;l&&(p=1,o-=1,i+=1),u&&(d-=1,o-=1,i+=1),i+=c*o;let f=n.position?new Float64Array(i*3):void 0,s=n.st?new Float32Array(i*2):void 0,h=0,g=0,A=Tt,b=Zt,V=Number.MAX_VALUE,z=Number.MAX_VALUE,X=-Number.MAX_VALUE,N=-Number.MAX_VALUE;for(let x=p;x<d;++x)for(let O=0;O<c;++O)W.computePosition(e,r,n.st,x,O,A,b),f[h++]=A.x,f[h++]=A.y,f[h++]=A.z,n.st&&(s[g++]=b.x,s[g++]=b.y,V=Math.min(V,b.x),z=Math.min(z,b.y),X=Math.max(X,b.x),N=Math.max(N,b.y));if(l&&(W.computePosition(e,r,n.st,0,0,A,b),f[h++]=A.x,f[h++]=A.y,f[h++]=A.z,n.st&&(s[g++]=b.x,s[g++]=b.y,V=b.x,z=b.y,X=b.x,N=b.y)),u&&(W.computePosition(e,r,n.st,a-1,0,A,b),f[h++]=A.x,f[h++]=A.y,f[h]=A.z,n.st&&(s[g++]=b.x,s[g]=b.y,V=Math.min(V,b.x),z=Math.min(z,b.y),X=Math.max(X,b.x),N=Math.max(N,b.y))),n.st&&(V<0||z<0||X>1||N>1))for(let x=0;x<s.length;x+=2)s[x]=(s[x]-V)/(X-V),s[x+1]=(s[x+1]-z)/(N-z);let m=Gt(f,n,r,e.tangentRotationMatrix),Z=6*(c-1)*(o-1);l&&(Z+=3*(c-1)),u&&(Z+=3*(c-1));let L=At.createTypedArray(i,Z),C=0,P=0,H;for(H=0;H<o-1;++H){for(let x=0;x<c-1;++x){let O=C,k=O+c,j=k+1,st=O+1;L[P++]=O,L[P++]=k,L[P++]=st,L[P++]=st,L[P++]=k,L[P++]=j,++C}++C}if(l||u){let x=i-1,O=i-1;l&&u&&(x=i-2);let k,j;if(C=0,l)for(H=0;H<c-1;H++)k=C,j=k+1,L[P++]=x,L[P++]=k,L[P++]=j,++C;if(u)for(C=(o-1)*c,H=0;H<c-1;H++)k=C,j=k+1,L[P++]=k,L[P++]=O,L[P++]=j,++C}return m.indices=L,n.st&&(m.attributes.st=new Y({componentDatatype:U.FLOAT,componentsPerAttribute:2,values:s})),m}function ut(t,e,n,r,a){return t[e++]=r[n],t[e++]=r[n+1],t[e++]=r[n+2],t[e++]=a[n],t[e++]=a[n+1],t[e]=a[n+2],t}function ht(t,e,n,r){return t[e++]=r[n],t[e++]=r[n+1],t[e++]=r[n],t[e]=r[n+1],t}var Dt=new q;function ee(t,e){let n=t._shadowVolume,r=t._offsetAttribute,a=t._vertexFormat,c=t._extrudedHeight,l=t._surfaceHeight,u=t._ellipsoid,p=e.height,d=e.width,o;if(n){let R=q.clone(a,Dt);R.normal=!0,t._vertexFormat=R}let i=It(t,e);n&&(t._vertexFormat=a);let f=yt.scaleToGeodeticHeight(i.attributes.position.values,l,u,!1);f=new Float64Array(f);let s=f.length,h=s*2,g=new Float64Array(h);g.set(f);let A=yt.scaleToGeodeticHeight(i.attributes.position.values,c,u);g.set(A,s),i.attributes.position.values=g;let b=a.normal?new Float32Array(h):void 0,V=a.tangent?new Float32Array(h):void 0,z=a.bitangent?new Float32Array(h):void 0,X=a.st?new Float32Array(h/3*2):void 0,N,m;if(a.normal){for(m=i.attributes.normal.values,b.set(m),o=0;o<s;o++)m[o]=-m[o];b.set(m,s),i.attributes.normal.values=b}if(n){m=i.attributes.normal.values,a.normal||(i.attributes.normal=void 0);let R=new Float32Array(h);for(o=0;o<s;o++)m[o]=-m[o];R.set(m,s),i.attributes.extrudeDirection=new Y({componentDatatype:U.FLOAT,componentsPerAttribute:3,values:R})}let Z,L=K(r);if(L){let R=s/3*2,it=new Uint8Array(R);r===ft.TOP?it=it.fill(1,0,R/2):(Z=r===ft.NONE?0:1,it=it.fill(Z)),i.attributes.applyOffset=new Y({componentDatatype:U.UNSIGNED_BYTE,componentsPerAttribute:1,values:it})}if(a.tangent){let R=i.attributes.tangent.values;for(V.set(R),o=0;o<s;o++)R[o]=-R[o];V.set(R,s),i.attributes.tangent.values=V}if(a.bitangent){let R=i.attributes.bitangent.values;z.set(R),z.set(R,s),i.attributes.bitangent.values=z}a.st&&(N=i.attributes.st.values,X.set(N),X.set(N,s/3*2),i.attributes.st.values=X);let C=i.indices,P=C.length,H=s/3,x=At.createTypedArray(h/3,P*2);for(x.set(C),o=0;o<P;o+=3)x[o+P]=C[o+2]+H,x[o+1+P]=C[o+1]+H,x[o+2+P]=C[o]+H;i.indices=x;let O=e.northCap,k=e.southCap,j=p,st=2,pt=0,Rt=4,xt=4;O&&(st-=1,j-=1,pt+=1,Rt-=2,xt-=1),k&&(st-=1,j-=1,pt+=1,Rt-=2,xt-=1),pt+=st*d+2*j-Rt;let dt=(pt+xt)*2,T=new Float64Array(dt*3),S=n?new Float32Array(dt*3):void 0,Q=L?new Uint8Array(dt):void 0,M=a.st?new Float32Array(dt*2):void 0,tt=r===ft.TOP;L&&!tt&&(Z=r===ft.ALL?1:0,Q=Q.fill(Z));let F=0,v=0,y=0,B=0,et=d*j,_;for(o=0;o<et;o+=d)_=o*3,T=ut(T,F,_,f,A),F+=6,a.st&&(M=ht(M,v,o*2,N),v+=4),n&&(y+=3,S[y++]=m[_],S[y++]=m[_+1],S[y++]=m[_+2]),tt&&(Q[B++]=1,B+=1);if(k){let R=O?et+1:et;for(_=R*3,o=0;o<2;o++)T=ut(T,F,_,f,A),F+=6,a.st&&(M=ht(M,v,R*2,N),v+=4),n&&(y+=3,S[y++]=m[_],S[y++]=m[_+1],S[y++]=m[_+2]),tt&&(Q[B++]=1,B+=1)}else for(o=et-d;o<et;o++)_=o*3,T=ut(T,F,_,f,A),F+=6,a.st&&(M=ht(M,v,o*2,N),v+=4),n&&(y+=3,S[y++]=m[_],S[y++]=m[_+1],S[y++]=m[_+2]),tt&&(Q[B++]=1,B+=1);for(o=et-1;o>0;o-=d)_=o*3,T=ut(T,F,_,f,A),F+=6,a.st&&(M=ht(M,v,o*2,N),v+=4),n&&(y+=3,S[y++]=m[_],S[y++]=m[_+1],S[y++]=m[_+2]),tt&&(Q[B++]=1,B+=1);if(O){let R=et;for(_=R*3,o=0;o<2;o++)T=ut(T,F,_,f,A),F+=6,a.st&&(M=ht(M,v,R*2,N),v+=4),n&&(y+=3,S[y++]=m[_],S[y++]=m[_+1],S[y++]=m[_+2]),tt&&(Q[B++]=1,B+=1)}else for(o=d-1;o>=0;o--)_=o*3,T=ut(T,F,_,f,A),F+=6,a.st&&(M=ht(M,v,o*2,N),v+=4),n&&(y+=3,S[y++]=m[_],S[y++]=m[_+1],S[y++]=m[_+2]),tt&&(Q[B++]=1,B+=1);let nt=te(T,a,u);a.st&&(nt.attributes.st=new Y({componentDatatype:U.FLOAT,componentsPerAttribute:2,values:M})),n&&(nt.attributes.extrudeDirection=new Y({componentDatatype:U.FLOAT,componentsPerAttribute:3,values:S})),L&&(nt.attributes.applyOffset=new Y({componentDatatype:U.UNSIGNED_BYTE,componentsPerAttribute:1,values:Q}));let ot=At.createTypedArray(dt,pt*6),gt,_t,kt,wt;s=T.length/3;let rt=0;for(o=0;o<s-1;o+=2){gt=o,wt=(gt+2)%s;let R=w.fromArray(T,gt*3,Ct),it=w.fromArray(T,wt*3,jt);w.equalsEpsilon(R,it,I.EPSILON10)||(_t=(gt+1)%s,kt=(_t+2)%s,ot[rt++]=gt,ot[rt++]=_t,ot[rt++]=wt,ot[rt++]=wt,ot[rt++]=_t,ot[rt++]=kt)}return nt.indices=ot,nt=zt.combineInstances([new Nt({geometry:i}),new Nt({geometry:nt})]),nt[0]}var ne=[new w,new w,new w,new w],Wt=new mt,oe=new mt;function Ht(t,e,n,r,a){if(n===0)return E.clone(t,a);let c=W.computeOptions(t,e,n,0,qt,Wt),l=c.height,u=c.width,p=ne;return W.computePosition(c,r,!1,0,0,p[0]),W.computePosition(c,r,!1,0,u-1,p[1]),W.computePosition(c,r,!1,l-1,0,p[2]),W.computePosition(c,r,!1,l-1,u-1,p[3]),E.fromCartesianArray(p,r,a)}function J(t){t=t??St.EMPTY_OBJECT;let e=t.rectangle;if(ct.typeOf.object("rectangle",e),E._validate(e),e.north<e.south)throw new Et("options.rectangle.north must be greater than or equal to options.rectangle.south");let n=t.height??0,r=t.extrudedHeight??n;this._rectangle=E.clone(e),this._granularity=t.granularity??I.RADIANS_PER_DEGREE,this._ellipsoid=D.clone(t.ellipsoid??D.default),this._surfaceHeight=Math.max(n,r),this._rotation=t.rotation??0,this._stRotation=t.stRotation??0,this._vertexFormat=q.clone(t.vertexFormat??q.DEFAULT),this._extrudedHeight=Math.min(n,r),this._shadowVolume=t.shadowVolume??!1,this._workerName="createRectangleGeometry",this._offsetAttribute=t.offsetAttribute,this._rotatedRectangle=void 0,this._textureCoordinateRotationPoints=void 0}J.packedLength=E.packedLength+D.packedLength+q.packedLength+7;J.pack=function(t,e,n){return ct.typeOf.object("value",t),ct.defined("array",e),n=n??0,E.pack(t._rectangle,e,n),n+=E.packedLength,D.pack(t._ellipsoid,e,n),n+=D.packedLength,q.pack(t._vertexFormat,e,n),n+=q.packedLength,e[n++]=t._granularity,e[n++]=t._surfaceHeight,e[n++]=t._rotation,e[n++]=t._stRotation,e[n++]=t._extrudedHeight,e[n++]=t._shadowVolume?1:0,e[n]=t._offsetAttribute??-1,e};var Jt=new E,Qt=D.clone(D.UNIT_SPHERE),G={rectangle:Jt,ellipsoid:Qt,vertexFormat:Dt,granularity:void 0,height:void 0,rotation:void 0,stRotation:void 0,extrudedHeight:void 0,shadowVolume:void 0,offsetAttribute:void 0};J.unpack=function(t,e,n){ct.defined("array",t),e=e??0;let r=E.unpack(t,e,Jt);e+=E.packedLength;let a=D.unpack(t,e,Qt);e+=D.packedLength;let c=q.unpack(t,e,Dt);e+=q.packedLength;let l=t[e++],u=t[e++],p=t[e++],d=t[e++],o=t[e++],i=t[e++]===1,f=t[e];return K(n)?(n._rectangle=E.clone(r,n._rectangle),n._ellipsoid=D.clone(a,n._ellipsoid),n._vertexFormat=q.clone(c,n._vertexFormat),n._granularity=l,n._surfaceHeight=u,n._rotation=p,n._stRotation=d,n._extrudedHeight=o,n._shadowVolume=i,n._offsetAttribute=f===-1?void 0:f,n):(G.granularity=l,G.height=u,G.rotation=p,G.stRotation=d,G.extrudedHeight=o,G.shadowVolume=i,G.offsetAttribute=f===-1?void 0:f,new J(G))};J.computeRectangle=function(t,e){t=t??St.EMPTY_OBJECT;let n=t.rectangle;if(ct.typeOf.object("rectangle",n),E._validate(n),n.north<n.south)throw new Et("options.rectangle.north must be greater than or equal to options.rectangle.south");let r=t.granularity??I.RADIANS_PER_DEGREE,a=t.ellipsoid??D.default,c=t.rotation??0;return Ht(n,r,c,a,e)};var ie=new lt,Ft=new Lt,ae=new mt;J.createGeometry=function(t){if(I.equalsEpsilon(t._rectangle.north,t._rectangle.south,I.EPSILON10)||I.equalsEpsilon(t._rectangle.east,t._rectangle.west,I.EPSILON10))return;let e=t._rectangle,n=t._ellipsoid,r=t._rotation,a=t._stRotation,c=t._vertexFormat,l=W.computeOptions(e,t._granularity,r,a,qt,Wt,oe),u=ie;if(a!==0||r!==0){let s=E.center(e,ae),h=n.geodeticSurfaceNormalCartographic(s,Ct);Lt.fromAxisAngle(h,-a,Ft),lt.fromQuaternion(Ft,u)}else lt.clone(lt.IDENTITY,u);let p=t._surfaceHeight,d=t._extrudedHeight,o=!I.equalsEpsilon(p,d,0,I.EPSILON2);l.lonScalar=1/t._rectangle.width,l.latScalar=1/t._rectangle.height,l.tangentRotationMatrix=u;let i,f;if(e=t._rectangle,o){i=ee(t,l);let s=at.fromRectangle3D(e,n,p,$t),h=at.fromRectangle3D(e,n,d,Kt);f=at.union(s,h)}else{if(i=It(t,l),i.attributes.position.values=yt.scaleToGeodeticHeight(i.attributes.position.values,p,n,!1),K(t._offsetAttribute)){let s=i.attributes.position.values.length,h=t._offsetAttribute===ft.NONE?0:1,g=new Uint8Array(s/3).fill(h);i.attributes.applyOffset=new Y({componentDatatype:U.UNSIGNED_BYTE,componentsPerAttribute:1,values:g})}f=at.fromRectangle3D(e,n,p)}return c.position||delete i.attributes.position,new Pt({attributes:i.attributes,indices:i.indices,primitiveType:i.primitiveType,boundingSphere:f,offsetAttribute:t._offsetAttribute})};J.createShadowVolume=function(t,e,n){let r=t._granularity,a=t._ellipsoid,c=e(r,a),l=n(r,a);return new J({rectangle:t._rectangle,rotation:t._rotation,ellipsoid:a,stRotation:t._stRotation,granularity:r,extrudedHeight:l,height:c,vertexFormat:q.POSITION_ONLY,shadowVolume:!0})};var vt=new E,se=[new $,new $,new $],re=new bt,ce=new mt;function le(t){if(t._stRotation===0)return[0,0,0,1,1,0];let e=E.clone(t._rectangle,vt),n=t._granularity,r=t._ellipsoid,a=t._rotation-t._stRotation,c=Ht(e,n,a,r,vt),l=se;l[0].x=c.west,l[0].y=c.south,l[1].x=c.west,l[1].y=c.north,l[2].x=c.east,l[2].y=c.south;let u=t.rectangle,p=bt.fromRotation(t._stRotation,re),d=E.center(u,ce);for(let h=0;h<3;++h){let g=l[h];g.x-=d.longitude,g.y-=d.latitude,bt.multiplyByVector(p,g,g),g.x+=d.longitude,g.y+=d.latitude,g.x=(g.x-u.west)/u.width,g.y=(g.y-u.south)/u.height}let o=l[0],i=l[1],f=l[2],s=new Array(6);return $.pack(o,s),$.pack(i,s,2),$.pack(f,s,4),s}Object.defineProperties(J.prototype,{rectangle:{get:function(){return K(this._rotatedRectangle)||(this._rotatedRectangle=Ht(this._rectangle,this._granularity,this._rotation,this._ellipsoid)),this._rotatedRectangle}},textureCoordinateRotationPoints:{get:function(){return K(this._textureCoordinateRotationPoints)||(this._textureCoordinateRotationPoints=le(this)),this._textureCoordinateRotationPoints}}});var Ot=J;function fe(t,e){return K(e)&&(t=Ot.unpack(t,e)),t._ellipsoid=D.clone(t._ellipsoid),t._rectangle=E.clone(t._rectangle),Ot.createGeometry(t)}var Ye=fe;export{Ye 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,26 @@
|
|
|
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
|
+
*/
|
|
25
|
+
|
|
26
|
+
import{a as R}from"./chunk-RYOF6QSA.js";import{a as y}from"./chunk-T77EB7BE.js";import{b as z}from"./chunk-IYO6TYGP.js";import"./chunk-5HPISDSZ.js";import{a as q}from"./chunk-T6Q6HX5J.js";import{a as F}from"./chunk-4MJDNHOT.js";import{b as v,c as B,d as T}from"./chunk-EDF5FKWJ.js";import{d as P}from"./chunk-XQIJGAVD.js";import{i as b}from"./chunk-UTYWXSQT.js";import{a as D}from"./chunk-RCHWDG3R.js";import"./chunk-4WJUWBRK.js";import"./chunk-5G23AKP3.js";import{a as x,b as U,d as w,f as M}from"./chunk-KWAHJ72S.js";import{a as S}from"./chunk-MKDADUG3.js";import{a as C}from"./chunk-NOIUI5SY.js";import{e as H}from"./chunk-XRRBRTKL.js";var j=new P,K=new P,Q=new x,W=new b;function Y(t,e){let i=t._ellipsoid,m=e.height,s=e.width,h=e.northCap,p=e.southCap,_=m,A=2,o=0,g=4;h&&(A-=1,_-=1,o+=1,g-=2),p&&(A-=1,_-=1,o+=1,g-=2),o+=A*s+2*_-g;let n=new Float64Array(o*3),l=0,f=0,a,r=Q;if(h)R.computePosition(e,i,!1,f,0,r),n[l++]=r.x,n[l++]=r.y,n[l++]=r.z;else for(a=0;a<s;a++)R.computePosition(e,i,!1,f,a,r),n[l++]=r.x,n[l++]=r.y,n[l++]=r.z;for(a=s-1,f=1;f<m;f++)R.computePosition(e,i,!1,f,a,r),n[l++]=r.x,n[l++]=r.y,n[l++]=r.z;if(f=m-1,!p)for(a=s-2;a>=0;a--)R.computePosition(e,i,!1,f,a,r),n[l++]=r.x,n[l++]=r.y,n[l++]=r.z;for(a=0,f=m-2;f>0;f--)R.computePosition(e,i,!1,f,a,r),n[l++]=r.x,n[l++]=r.y,n[l++]=r.z;let u=n.length/3*2,c=q.createTypedArray(n.length/3,u),E=0;for(let L=0;L<n.length/3-1;L++)c[E++]=L,c[E++]=L+1;c[E++]=n.length/3-1,c[E++]=0;let d=new B({attributes:new F,primitiveType:v.LINES});return d.attributes.position=new T({componentDatatype:D.DOUBLE,componentsPerAttribute:3,values:n}),d.indices=c,d}function X(t,e){let i=t._surfaceHeight,m=t._extrudedHeight,s=t._ellipsoid,h=Y(t,e),p=e.height,_=e.width,A=z.scaleToGeodeticHeight(h.attributes.position.values,i,s,!1),o=A.length,g=new Float64Array(o*2);g.set(A);let n=z.scaleToGeodeticHeight(h.attributes.position.values,m,s);g.set(n,o),h.attributes.position.values=g;let l=e.northCap,f=e.southCap,a=4;l&&(a-=1),f&&(a-=1);let r=(g.length/3+a)*2,u=q.createTypedArray(g.length/3,r);o=g.length/6;let c=0;for(let d=0;d<o-1;d++)u[c++]=d,u[c++]=d+1,u[c++]=d+o,u[c++]=d+o+1;u[c++]=o-1,u[c++]=0,u[c++]=o+o-1,u[c++]=o,u[c++]=0,u[c++]=o;let E;if(l)E=p-1;else{let d=_-1;u[c++]=d,u[c++]=d+o,E=_+p-2}if(u[c++]=E,u[c++]=E+o,!f){let d=_+E-1;u[c++]=d,u[c]=d+o}return h.indices=u,h}function k(t){t=t??M.EMPTY_OBJECT;let e=t.rectangle,i=t.granularity??S.RADIANS_PER_DEGREE,m=t.ellipsoid??w.default,s=t.rotation??0;if(!H(e))throw new C("rectangle is required.");if(b._validate(e),e.north<e.south)throw new C("options.rectangle.north must be greater than options.rectangle.south");let h=t.height??0,p=t.extrudedHeight??h;this._rectangle=b.clone(e),this._granularity=i,this._ellipsoid=m,this._surfaceHeight=Math.max(h,p),this._rotation=s,this._extrudedHeight=Math.min(h,p),this._offsetAttribute=t.offsetAttribute,this._workerName="createRectangleOutlineGeometry"}k.packedLength=b.packedLength+w.packedLength+5;k.pack=function(t,e,i){if(!H(t))throw new C("value is required");if(!H(e))throw new C("array is required");return i=i??0,b.pack(t._rectangle,e,i),i+=b.packedLength,w.pack(t._ellipsoid,e,i),i+=w.packedLength,e[i++]=t._granularity,e[i++]=t._surfaceHeight,e[i++]=t._rotation,e[i++]=t._extrudedHeight,e[i]=t._offsetAttribute??-1,e};var J=new b,V=w.clone(w.UNIT_SPHERE),N={rectangle:J,ellipsoid:V,granularity:void 0,height:void 0,rotation:void 0,extrudedHeight:void 0,offsetAttribute:void 0};k.unpack=function(t,e,i){if(!H(t))throw new C("array is required");e=e??0;let m=b.unpack(t,e,J);e+=b.packedLength;let s=w.unpack(t,e,V);e+=w.packedLength;let h=t[e++],p=t[e++],_=t[e++],A=t[e++],o=t[e];return H(i)?(i._rectangle=b.clone(m,i._rectangle),i._ellipsoid=w.clone(s,i._ellipsoid),i._surfaceHeight=p,i._rotation=_,i._extrudedHeight=A,i._offsetAttribute=o===-1?void 0:o,i):(N.granularity=h,N.height=p,N.rotation=_,N.extrudedHeight=A,N.offsetAttribute=o===-1?void 0:o,new k(N))};var Z=new U;k.createGeometry=function(t){let e=t._rectangle,i=t._ellipsoid,m=R.computeOptions(e,t._granularity,t._rotation,0,W,Z),s,h;if(S.equalsEpsilon(e.north,e.south,S.EPSILON10)||S.equalsEpsilon(e.east,e.west,S.EPSILON10))return;let p=t._surfaceHeight,_=t._extrudedHeight,A=!S.equalsEpsilon(p,_,0,S.EPSILON2),o;if(A){if(s=X(t,m),H(t._offsetAttribute)){let l=s.attributes.position.values.length/3,f=new Uint8Array(l);t._offsetAttribute===y.TOP?f=f.fill(1,0,l/2):(o=t._offsetAttribute===y.NONE?0:1,f=f.fill(o)),s.attributes.applyOffset=new T({componentDatatype:D.UNSIGNED_BYTE,componentsPerAttribute:1,values:f})}let g=P.fromRectangle3D(e,i,p,K),n=P.fromRectangle3D(e,i,_,j);h=P.union(g,n)}else{if(s=Y(t,m),s.attributes.position.values=z.scaleToGeodeticHeight(s.attributes.position.values,p,i,!1),H(t._offsetAttribute)){let g=s.attributes.position.values.length;o=t._offsetAttribute===y.NONE?0:1;let n=new Uint8Array(g/3).fill(o);s.attributes.applyOffset=new T({componentDatatype:D.UNSIGNED_BYTE,componentsPerAttribute:1,values:n})}h=P.fromRectangle3D(e,i,p)}return new B({attributes:s.attributes,indices:s.indices,primitiveType:v.LINES,boundingSphere:h,offsetAttribute:t._offsetAttribute})};var O=k;function $(t,e){return H(e)&&(t=O.unpack(t,e)),t._ellipsoid=w.clone(t._ellipsoid),t._rectangle=b.clone(t._rectangle),O.createGeometry(t)}var Et=$;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,26 @@
|
|
|
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
|
+
*/
|
|
25
|
+
|
|
26
|
+
import{a as r}from"./chunk-GTQ3WXPT.js";import{a as L}from"./chunk-OXJ2LJUE.js";import{a as P}from"./chunk-QORMFUM4.js";import"./chunk-FWF3VNA2.js";import"./chunk-5HPISDSZ.js";import"./chunk-HSJ6GSLC.js";import"./chunk-SXKYZMEL.js";import{a as X}from"./chunk-T6Q6HX5J.js";import{a as W}from"./chunk-4MJDNHOT.js";import{b as K,c as Q,d as H}from"./chunk-EDF5FKWJ.js";import{d as j}from"./chunk-XQIJGAVD.js";import"./chunk-UTYWXSQT.js";import{a as v}from"./chunk-RCHWDG3R.js";import"./chunk-4WJUWBRK.js";import"./chunk-5G23AKP3.js";import{a as A,d as w,f as J}from"./chunk-KWAHJ72S.js";import{a as G}from"./chunk-MKDADUG3.js";import{a as D}from"./chunk-NOIUI5SY.js";import{e as u}from"./chunk-XRRBRTKL.js";function Z(t,e,o,i,s,c,p){let g=P.numberOfPoints(t,e,s),f,n=o.red,m=o.green,d=o.blue,T=o.alpha,l=i.red,h=i.green,y=i.blue,S=i.alpha;if(r.equals(o,i)){for(f=0;f<g;f++)c[p++]=r.floatToByte(n),c[p++]=r.floatToByte(m),c[p++]=r.floatToByte(d),c[p++]=r.floatToByte(T);return p}let N=(l-n)/g,V=(h-m)/g,R=(y-d)/g,_=(S-T)/g,a=p;for(f=0;f<g;f++)c[a++]=r.floatToByte(n+f*N),c[a++]=r.floatToByte(m+f*V),c[a++]=r.floatToByte(d+f*R),c[a++]=r.floatToByte(T+f*_);return a}function O(t){t=t??J.EMPTY_OBJECT;let e=t.positions,o=t.colors,i=t.colorsPerVertex??!1;if(!u(e)||e.length<2)throw new D("At least two positions are required.");if(u(o)&&(i&&o.length<e.length||!i&&o.length<e.length-1))throw new D("colors has an invalid length.");this._positions=e,this._colors=o,this._colorsPerVertex=i,this._arcType=t.arcType??L.GEODESIC,this._granularity=t.granularity??G.RADIANS_PER_DEGREE,this._ellipsoid=t.ellipsoid??w.default,this._workerName="createSimplePolylineGeometry";let s=1+e.length*A.packedLength;s+=u(o)?1+o.length*r.packedLength:1,this.packedLength=s+w.packedLength+3}O.pack=function(t,e,o){if(!u(t))throw new D("value is required");if(!u(e))throw new D("array is required");o=o??0;let i,s=t._positions,c=s.length;for(e[o++]=c,i=0;i<c;++i,o+=A.packedLength)A.pack(s[i],e,o);let p=t._colors;for(c=u(p)?p.length:0,e[o++]=c,i=0;i<c;++i,o+=r.packedLength)r.pack(p[i],e,o);return w.pack(t._ellipsoid,e,o),o+=w.packedLength,e[o++]=t._colorsPerVertex?1:0,e[o++]=t._arcType,e[o]=t._granularity,e};O.unpack=function(t,e,o){if(!u(t))throw new D("array is required");e=e??0;let i,s=t[e++],c=new Array(s);for(i=0;i<s;++i,e+=A.packedLength)c[i]=A.unpack(t,e);s=t[e++];let p=s>0?new Array(s):void 0;for(i=0;i<s;++i,e+=r.packedLength)p[i]=r.unpack(t,e);let g=w.unpack(t,e);e+=w.packedLength;let f=t[e++]===1,n=t[e++],m=t[e];return u(o)?(o._positions=c,o._colors=p,o._ellipsoid=g,o._colorsPerVertex=f,o._arcType=n,o._granularity=m,o):new O({positions:c,colors:p,ellipsoid:g,colorsPerVertex:f,arcType:n,granularity:m})};var U=new Array(2),q=new Array(2),$={positions:U,height:q,ellipsoid:void 0,minDistance:void 0,granularity:void 0};O.createGeometry=function(t){let e=t._positions,o=t._colors,i=t._colorsPerVertex,s=t._arcType,c=t._granularity,p=t._ellipsoid,g=G.chordLength(c,p.maximumRadius),f=u(o)&&!i,n,m=e.length,d,T,l,h,y=0;if(s===L.GEODESIC||s===L.RHUMB){let _,a,k;s===L.GEODESIC?(_=G.chordLength(c,p.maximumRadius),a=P.numberOfPoints,k=P.generateArc):(_=c,a=P.numberOfPointsRhumbLine,k=P.generateRhumbArc);let z=P.extractHeights(e,p),B=$;if(s===L.GEODESIC?B.minDistance=g:B.granularity=c,B.ellipsoid=p,f){let b=0;for(n=0;n<m-1;n++)b+=a(e[n],e[n+1],_)+1;d=new Float64Array(b*3),l=new Uint8Array(b*4),B.positions=U,B.height=q;let E=0;for(n=0;n<m-1;++n){U[0]=e[n],U[1]=e[n+1],q[0]=z[n],q[1]=z[n+1];let C=k(B);if(u(o)){let M=C.length/3;h=o[n];for(let F=0;F<M;++F)l[E++]=r.floatToByte(h.red),l[E++]=r.floatToByte(h.green),l[E++]=r.floatToByte(h.blue),l[E++]=r.floatToByte(h.alpha)}d.set(C,y),y+=C.length}}else if(B.positions=e,B.height=z,d=new Float64Array(k(B)),u(o)){for(l=new Uint8Array(d.length/3*4),n=0;n<m-1;++n){let E=e[n],C=e[n+1],M=o[n],F=o[n+1];y=Z(E,C,M,F,g,l,y)}let b=o[m-1];l[y++]=r.floatToByte(b.red),l[y++]=r.floatToByte(b.green),l[y++]=r.floatToByte(b.blue),l[y++]=r.floatToByte(b.alpha)}}else{T=f?m*2-2:m,d=new Float64Array(T*3),l=u(o)?new Uint8Array(T*4):void 0;let _=0,a=0;for(n=0;n<m;++n){let k=e[n];if(f&&n>0&&(A.pack(k,d,_),_+=3,h=o[n-1],l[a++]=r.floatToByte(h.red),l[a++]=r.floatToByte(h.green),l[a++]=r.floatToByte(h.blue),l[a++]=r.floatToByte(h.alpha)),f&&n===m-1)break;A.pack(k,d,_),_+=3,u(o)&&(h=o[n],l[a++]=r.floatToByte(h.red),l[a++]=r.floatToByte(h.green),l[a++]=r.floatToByte(h.blue),l[a++]=r.floatToByte(h.alpha))}}let S=new W;S.position=new H({componentDatatype:v.DOUBLE,componentsPerAttribute:3,values:d}),u(o)&&(S.color=new H({componentDatatype:v.UNSIGNED_BYTE,componentsPerAttribute:4,values:l,normalize:!0})),T=d.length/3;let N=(T-1)*2,V=X.createTypedArray(T,N),R=0;for(n=0;n<T-1;++n)V[R++]=n,V[R++]=n+1;return new Q({attributes:S,indices:V,primitiveType:K.LINES,boundingSphere:j.fromPoints(e)})};var Y=O;function x(t,e){return u(e)&&(t=Y.unpack(t,e)),t._ellipsoid=w.clone(t._ellipsoid),Y.createGeometry(t)}var _e=x;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,26 @@
|
|
|
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
|
+
*/
|
|
25
|
+
|
|
26
|
+
import{a as r}from"./chunk-CJRI54BI.js";import"./chunk-T77EB7BE.js";import{a as m}from"./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{a as s}from"./chunk-KWAHJ72S.js";import"./chunk-MKDADUG3.js";import{b as p}from"./chunk-NOIUI5SY.js";import{e as c}from"./chunk-XRRBRTKL.js";function a(e){let t=e.radius??1,o={radii:new s(t,t,t),stackPartitions:e.stackPartitions,slicePartitions:e.slicePartitions,vertexFormat:e.vertexFormat};this._ellipsoidGeometry=new r(o),this._workerName="createSphereGeometry"}a.packedLength=r.packedLength;a.pack=function(e,t,n){return p.typeOf.object("value",e),r.pack(e._ellipsoidGeometry,t,n)};var l=new r,i={radius:void 0,radii:new s,vertexFormat:new m,stackPartitions:void 0,slicePartitions:void 0};a.unpack=function(e,t,n){let o=r.unpack(e,t,l);return i.vertexFormat=m.clone(o._vertexFormat,i.vertexFormat),i.stackPartitions=o._stackPartitions,i.slicePartitions=o._slicePartitions,c(n)?(s.clone(o._radii,i.radii),n._ellipsoidGeometry=new r(i),n):(i.radius=o._radii.x,new a(i))};a.createGeometry=function(e){return r.createGeometry(e._ellipsoidGeometry)};var d=a;function f(e,t){return c(t)&&(e=d.unpack(e,t)),d.createGeometry(e)}var w=f;export{w 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,26 @@
|
|
|
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
|
+
*/
|
|
25
|
+
|
|
26
|
+
import{a as t}from"./chunk-J7MBSSYW.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 c}from"./chunk-KWAHJ72S.js";import"./chunk-MKDADUG3.js";import{b as u}from"./chunk-NOIUI5SY.js";import{e as a}from"./chunk-XRRBRTKL.js";function s(i){let e=i.radius??1,r={radii:new c(e,e,e),stackPartitions:i.stackPartitions,slicePartitions:i.slicePartitions,subdivisions:i.subdivisions};this._ellipsoidGeometry=new t(r),this._workerName="createSphereOutlineGeometry"}s.packedLength=t.packedLength;s.pack=function(i,e,o){return u.typeOf.object("value",i),t.pack(i._ellipsoidGeometry,e,o)};var l=new t,n={radius:void 0,radii:new c,stackPartitions:void 0,slicePartitions:void 0,subdivisions:void 0};s.unpack=function(i,e,o){let r=t.unpack(i,e,l);return n.stackPartitions=r._stackPartitions,n.slicePartitions=r._slicePartitions,n.subdivisions=r._subdivisions,a(o)?(c.clone(r._radii,n.radii),o._ellipsoidGeometry=new t(n),o):(n.radius=r._radii.x,new s(n))};s.createGeometry=function(i){return t.createGeometry(i._ellipsoidGeometry)};var d=s;function m(i,e){return a(e)&&(i=d.unpack(i,e)),d.createGeometry(i)}var h=m;export{h 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,26 @@
|
|
|
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
|
+
*/
|
|
25
|
+
|
|
26
|
+
import{a}from"./chunk-D2NFCOGE.js";import"./chunk-XRRBRTKL.js";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,26 @@
|
|
|
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
|
+
*/
|
|
25
|
+
|
|
26
|
+
import{a as J}from"./chunk-D2NFCOGE.js";import{a as Y}from"./chunk-VHZAK4GN.js";import{a as B}from"./chunk-T6Q6HX5J.js";import{d as X,i as W}from"./chunk-UTYWXSQT.js";import"./chunk-RCHWDG3R.js";import"./chunk-4WJUWBRK.js";import"./chunk-5G23AKP3.js";import{a as t,b as k,d as _}from"./chunk-KWAHJ72S.js";import{a as v}from"./chunk-MKDADUG3.js";import"./chunk-NOIUI5SY.js";import"./chunk-XRRBRTKL.js";var V=32767,it=Math.cos(v.toRadians(150)),ct=new k,rt=new t;function at(e,o,c,i,s,A,h){let g=e.length,f=new Float64Array(g*3);for(let d=0;d<g;++d){let l=e[d],r=o[d],E=c[d],n=v.lerp(i.west,i.east,l/V),p=v.lerp(i.south,i.north,r/V),w=v.lerp(s,A,E/V),x=k.fromRadians(n,p,w,ct),P=h.cartographicToCartesian(x,rt);t.pack(P,f,d*3)}return f}function dt(e){let o=e.length,c=new Uint32Array(o+1),i=0;for(let s=0;s<o;++s)c[s]=i,i+=e[s];return c[o]=i,c}var lt=new k,ht=new k;function ft(e,o,c,i){let s=i.length,A=e.length,h=new Uint8Array(A),g=lt,f=ht,d=0;for(let r=0;r<s;r++){let E=i[r],n=E;for(let p=1;p<E;p++){let w=d+p,x=w-1;f.longitude=e[w],f.latitude=o[w],g.longitude=e[x],g.latitude=o[x],k.equals(f,g)&&(n--,h[x]=1)}i[r]=n,d+=E}let l=0;for(let r=0;r<A;r++)h[r]!==1&&(e[l]=e[r],o[l]=o[r],c[l]=c[r],l++)}function ot(e){let o=e*8,c=o*3,i=o*4;this.startEllipsoidNormals=new Float32Array(c),this.endEllipsoidNormals=new Float32Array(c),this.startPositionAndHeights=new Float32Array(i),this.startFaceNormalAndVertexCornerIds=new Float32Array(i),this.endPositionAndHeights=new Float32Array(i),this.endFaceNormalAndHalfWidths=new Float32Array(i),this.vertexBatchIds=new Uint16Array(o),this.indices=B.createTypedArray(o,36*e),this.vec3Offset=0,this.vec4Offset=0,this.batchIdOffset=0,this.indexOffset=0,this.volumeStartIndex=0}var Q=new t,pt=new t;function $(e,o,c,i,s){let A=t.subtract(c,o,pt),h=t.subtract(o,e,Q);return t.normalize(A,A),t.normalize(h,h),t.dot(A,h)<it&&(h=t.multiplyByScalar(h,-1,Q)),t.add(A,h,s),t.equals(s,t.ZERO)&&(s=t.subtract(e,o)),t.cross(s,i,s),t.cross(i,s,s),t.normalize(s,s),s}var st=[0,2,6,0,6,4,0,1,3,0,3,2,0,4,5,0,5,1,5,3,1,5,7,3,7,5,4,7,4,6,7,6,2,7,2,3],j=st.length,tt=new t,ut=new t,mt=new t,At=new t,Nt=new t;ot.prototype.addVolume=function(e,o,c,i,s,A,h,g,f,d){let l=t.add(o,f,tt),r=d.geodeticSurfaceNormal(l,ut);l=t.add(c,f,tt);let E=d.geodeticSurfaceNormal(l,At),n=$(e,o,c,r,mt),p=$(i,c,o,E,Nt),w=this.startEllipsoidNormals,x=this.endEllipsoidNormals,P=this.startPositionAndHeights,H=this.startFaceNormalAndVertexCornerIds,b=this.endPositionAndHeights,a=this.endFaceNormalAndHalfWidths,F=this.vertexBatchIds,m=this.batchIdOffset,I=this.vec3Offset,u=this.vec4Offset,N;for(N=0;N<8;N++)t.pack(r,w,I),t.pack(E,x,I),t.pack(o,P,u),P[u+3]=s,t.pack(c,b,u),b[u+3]=A,t.pack(n,H,u),H[u+3]=N,t.pack(p,a,u),a[u+3]=h,F[m++]=g,I+=3,u+=4;this.batchIdOffset=m,this.vec3Offset=I,this.vec4Offset=u;let C=this.indices,y=this.volumeStartIndex,z=this.indexOffset;for(N=0;N<j;N++)C[z+N]=st[N]+y;this.volumeStartIndex+=8,this.indexOffset+=j};var gt=new W,Et=new _,wt=new t,M=new t,It=new t,xt=new t,T=new t;function Pt(e,o){let c=new Uint16Array(e.positions),i=new Uint16Array(e.widths),s=new Uint32Array(e.counts),A=new Uint16Array(e.batchIds),h=gt,g=Et,f=wt,d=new Float64Array(e.packedBuffer),l=0,r=d[l++],E=d[l++];W.unpack(d,l,h),l+=W.packedLength,_.unpack(d,l,g),l+=_.packedLength,t.unpack(d,l,f);let n,p=c.length/3,w=c.subarray(0,p),x=c.subarray(p,2*p),P=c.subarray(2*p,3*p);Y.zigZagDeltaDecode(w,x,P),ft(w,x,P,s);let H=s.length,b=0;for(n=0;n<H;n++){let y=s[n];b+=y-1}let a=new ot(b),F=at(w,x,P,h,r,E,g,f);p=w.length;let m=new Float32Array(p*3);for(n=0;n<p;++n)m[n*3]=F[n*3]-f.x,m[n*3+1]=F[n*3+1]-f.y,m[n*3+2]=F[n*3+2]-f.z;let I=0,u=0;for(n=0;n<H;n++){let y=s[n]-1,z=i[n]*.5,et=A[n],q=I;for(let D=0;D<y;D++){let S=t.unpack(m,I,It),O=t.unpack(m,I+3,xt),G=P[u],Z=P[u+1];G=v.lerp(r,E,G/V),Z=v.lerp(r,E,Z/V),u++;let L=M,R=T;if(D===0){let U=q+y*3,K=t.unpack(m,U,M);if(t.equals(K,S))t.unpack(m,U-3,L);else{let nt=t.subtract(S,O,M);L=t.add(nt,S,M)}}else t.unpack(m,I-3,L);if(D===y-1){let U=t.unpack(m,q,T);if(t.equals(U,O))t.unpack(m,q+3,R);else{let K=t.subtract(O,S,T);R=t.add(K,O,T)}}else t.unpack(m,I+6,R);a.addVolume(L,S,O,R,G,Z,z,et,f,g),I+=3}I+=3,u++}let N=a.indices;o.push(a.startEllipsoidNormals.buffer),o.push(a.endEllipsoidNormals.buffer),o.push(a.startPositionAndHeights.buffer),o.push(a.startFaceNormalAndVertexCornerIds.buffer),o.push(a.endPositionAndHeights.buffer),o.push(a.endFaceNormalAndHalfWidths.buffer),o.push(a.vertexBatchIds.buffer),o.push(N.buffer);let C={indexDatatype:N.BYTES_PER_ELEMENT===2?B.UNSIGNED_SHORT:B.UNSIGNED_INT,startEllipsoidNormals:a.startEllipsoidNormals.buffer,endEllipsoidNormals:a.endEllipsoidNormals.buffer,startPositionAndHeights:a.startPositionAndHeights.buffer,startFaceNormalAndVertexCornerIds:a.startFaceNormalAndVertexCornerIds.buffer,endPositionAndHeights:a.endPositionAndHeights.buffer,endFaceNormalAndHalfWidths:a.endFaceNormalAndHalfWidths.buffer,vertexBatchIds:a.vertexBatchIds.buffer,indices:N.buffer};if(e.keepDecodedPositions){let y=dt(s);o.push(F.buffer,y.buffer),C=X(C,{decodedPositions:F.buffer,decodedPositionOffsets:y.buffer})}return C}var Vt=J(Pt);export{Vt 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,26 @@
|
|
|
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
|
+
*/
|
|
25
|
+
|
|
26
|
+
import{a as P}from"./chunk-GTQ3WXPT.js";import{a as z}from"./chunk-BTDQB5Q4.js";import"./chunk-XQDTMI7Q.js";import{a as H}from"./chunk-CJRI54BI.js";import{a as Y}from"./chunk-D2NFCOGE.js";import{a as j}from"./chunk-KX5PR5Q3.js";import"./chunk-T77EB7BE.js";import"./chunk-APG2S62J.js";import{a as W}from"./chunk-T6Q6HX5J.js";import"./chunk-4MJDNHOT.js";import"./chunk-EDF5FKWJ.js";import{d as E}from"./chunk-XQIJGAVD.js";import{b as d}from"./chunk-UTYWXSQT.js";import"./chunk-RCHWDG3R.js";import"./chunk-4WJUWBRK.js";import"./chunk-5G23AKP3.js";import{a as o}from"./chunk-KWAHJ72S.js";import"./chunk-MKDADUG3.js";import"./chunk-NOIUI5SY.js";import{e as l}from"./chunk-XRRBRTKL.js";function X(e){this.offset=e.offset,this.count=e.count,this.color=e.color,this.batchIds=e.batchIds}var J=X;var S=new o,$=d.packedLength+o.packedLength,ee=d.packedLength+2,ne=d.packedLength+o.packedLength,te=o.packedLength+1,u={modelMatrix:new d,boundingVolume:new E};function oe(e,c){let n=c*$,i=o.unpack(e,n,S);n+=o.packedLength;let r=d.unpack(e,n,u.modelMatrix);d.multiplyByScale(r,i,r);let t=u.boundingVolume;return o.clone(o.ZERO,t.center),t.radius=Math.sqrt(3),u}function ce(e,c){let n=c*ee,i=e[n++],r=e[n++],t=o.fromElements(i,i,r,S),s=d.unpack(e,n,u.modelMatrix);d.multiplyByScale(s,t,s);let h=u.boundingVolume;return o.clone(o.ZERO,h.center),h.radius=Math.sqrt(2),u}function se(e,c){let n=c*ne,i=o.unpack(e,n,S);n+=o.packedLength;let r=d.unpack(e,n,u.modelMatrix);d.multiplyByScale(r,i,r);let t=u.boundingVolume;return o.clone(o.ZERO,t.center),t.radius=1,u}function ie(e,c){let n=c*te,i=e[n++],r=o.unpack(e,n,S),t=d.fromTranslation(r,u.modelMatrix);d.multiplyByUniformScale(t,i,t);let s=u.boundingVolume;return o.clone(o.ZERO,s.center),s.radius=1,u}var de=new o;function R(e,c,n,i,r){if(!l(c))return;let t=n.length,s=i.attributes.position.values,h=i.indices,a=e.positions,x=e.vertexBatchIds,y=e.indices,I=e.batchIds,p=e.batchTableColors,T=e.batchedIndices,U=e.indexOffsets,v=e.indexCounts,L=e.boundingVolumes,F=e.modelMatrix,Z=e.center,V=e.positionOffset,B=e.batchIdIndex,O=e.indexOffset,D=e.batchedIndicesOffset;for(let w=0;w<t;++w){let C=r(c,w),k=C.modelMatrix;d.multiply(F,k,k);let M=n[w],A=s.length;for(let f=0;f<A;f+=3){let m=o.unpack(s,f,de);d.multiplyByPoint(k,m,m),o.subtract(m,Z,m),o.pack(m,a,V*3+f),x[B++]=M}let b=h.length;for(let f=0;f<b;++f)y[O+f]=h[f]+V;let g=w+D;T[g]=new J({offset:O,count:b,color:P.fromRgba(p[M]),batchIds:[M]}),I[g]=M,U[g]=O,v[g]=b,L[g]=E.transform(C.boundingVolume,k),V+=A/3,O+=b}e.positionOffset=V,e.batchIdIndex=B,e.indexOffset=O,e.batchedIndicesOffset+=t}var K=new o,Q=new d;function re(e){let c=new Float64Array(e),n=0;o.unpack(c,n,K),n+=o.packedLength,d.unpack(c,n,Q)}function le(e){let c=e.length,n=0;for(let i=0;i<c;++i)n+=P.packedLength+3+e[i].batchIds.length;return n}function ae(e,c,n){let i=n.length,r=2+i*E.packedLength+1+le(c),t=new Float64Array(r),s=0;t[s++]=e,t[s++]=i;for(let a=0;a<i;++a)E.pack(n[a],t,s),s+=E.packedLength;let h=c.length;t[s++]=h;for(let a=0;a<h;++a){let x=c[a];P.pack(x.color,t,s),s+=P.packedLength,t[s++]=x.offset,t[s++]=x.count;let y=x.batchIds,I=y.length;t[s++]=I;for(let p=0;p<I;++p)t[s++]=y[p]}return t}function fe(e,c){let n=l(e.boxes)?new Float32Array(e.boxes):void 0,i=l(e.boxBatchIds)?new Uint16Array(e.boxBatchIds):void 0,r=l(e.cylinders)?new Float32Array(e.cylinders):void 0,t=l(e.cylinderBatchIds)?new Uint16Array(e.cylinderBatchIds):void 0,s=l(e.ellipsoids)?new Float32Array(e.ellipsoids):void 0,h=l(e.ellipsoidBatchIds)?new Uint16Array(e.ellipsoidBatchIds):void 0,a=l(e.spheres)?new Float32Array(e.spheres):void 0,x=l(e.sphereBatchIds)?new Uint16Array(e.sphereBatchIds):void 0,y=l(n)?i.length:0,I=l(r)?t.length:0,p=l(s)?h.length:0,T=l(a)?x.length:0,U=j.getUnitBox(),v=z.getUnitCylinder(),L=H.getUnitEllipsoid(),F=U.attributes.position.values,Z=v.attributes.position.values,V=L.attributes.position.values,B=F.length*y;B+=Z.length*I,B+=V.length*(p+T);let O=U.indices,D=v.indices,w=L.indices,C=O.length*y;C+=D.length*I,C+=w.length*(p+T);let k=new Float32Array(B),M=new Uint16Array(B/3),A=W.createTypedArray(B/3,C),b=y+I+p+T,g=new Uint16Array(b),f=new Array(b),m=new Uint32Array(b),q=new Uint32Array(b),_=new Array(b);re(e.packedBuffer);let G={batchTableColors:new Uint32Array(e.batchTableColors),positions:k,vertexBatchIds:M,indices:A,batchIds:g,batchedIndices:f,indexOffsets:m,indexCounts:q,boundingVolumes:_,positionOffset:0,batchIdIndex:0,indexOffset:0,batchedIndicesOffset:0,modelMatrix:Q,center:K};R(G,n,i,U,oe),R(G,r,t,v,ce),R(G,s,h,L,se),R(G,a,x,L,ie);let N=ae(A.BYTES_PER_ELEMENT,f,_);return c.push(k.buffer,M.buffer,A.buffer),c.push(g.buffer,m.buffer,q.buffer),c.push(N.buffer),{positions:k.buffer,vertexBatchIds:M.buffer,indices:A.buffer,indexOffsets:m.buffer,indexCounts:q.buffer,batchIds:g.buffer,packedBuffer:N.buffer}}var Oe=Y(fe);export{Oe 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
|
+
*/
|