create-swdg-frontend 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +39 -0
- package/bin/index.js +248 -0
- package/package.json +29 -0
- package/template/.husky/commit-msg +42 -0
- package/template/.husky/pre-commit +2 -0
- package/template/.husky/prepare-commit-msg +1 -0
- package/template/.lintstagedrc +5 -0
- package/template/.prettierignore +26 -0
- package/template/.prettierrc.cjs +10 -0
- package/template/.stylelintignore +1 -0
- package/template/.stylelintrc.json +6 -0
- package/template/README.md +36 -0
- package/template/commitlint.config.cjs +64 -0
- package/template/eslint.config.js +96 -0
- package/template/index.html +17 -0
- package/template/interface/user.ts +5 -0
- package/template/package.json +84 -0
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_0.json +1012 -0
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_1.json +1012 -0
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_10.json +1012 -0
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_11.json +1012 -0
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_12.json +1012 -0
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_13.json +1012 -0
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_14.json +1012 -0
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_15.json +1012 -0
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_16.json +1012 -0
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_17.json +1012 -0
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_18.json +1012 -0
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_19.json +1012 -0
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_2.json +1012 -0
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_20.json +1012 -0
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_21.json +1012 -0
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_22.json +1012 -0
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_23.json +1012 -0
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_24.json +1012 -0
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_25.json +1012 -0
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_26.json +1012 -0
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_27.json +438 -0
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_3.json +1012 -0
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_4.json +1012 -0
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_5.json +1012 -0
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_6.json +1012 -0
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_7.json +1012 -0
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_8.json +1012 -0
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_9.json +1012 -0
- package/template/public/Cesium1.119/Assets/Images/bing_maps_credit.png +0 -0
- package/template/public/Cesium1.119/Assets/Images/cesium_credit.png +0 -0
- package/template/public/Cesium1.119/Assets/Images/google_earth_credit.png +0 -0
- package/template/public/Cesium1.119/Assets/Images/ion-credit.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/LensFlare/DirtMask.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/LensFlare/StarBurst.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/0/0/0.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/0/1/0.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/1/0/0.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/1/0/1.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/1/1/0.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/1/1/1.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/1/2/0.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/1/2/1.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/1/3/0.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/1/3/1.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/0/0.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/0/1.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/0/2.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/0/3.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/1/0.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/1/1.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/1/2.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/1/3.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/2/0.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/2/1.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/2/2.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/2/3.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/3/0.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/3/1.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/3/2.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/3/3.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/4/0.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/4/1.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/4/2.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/4/3.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/5/0.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/5/1.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/5/2.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/5/3.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/6/0.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/6/1.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/6/2.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/6/3.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/7/0.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/7/1.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/7/2.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/7/3.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/tilemapresource.xml +14 -0
- package/template/public/Cesium1.119/Assets/Textures/SkyBox/tycho2t3_80_mx.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/SkyBox/tycho2t3_80_my.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/SkyBox/tycho2t3_80_mz.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/SkyBox/tycho2t3_80_px.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/SkyBox/tycho2t3_80_py.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/SkyBox/tycho2t3_80_pz.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/airfield.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/airport.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/alcohol-shop.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/america-football.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/art-gallery.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/bakery.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/bank.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/bar.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/baseball.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/basketball.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/beer.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/bicycle.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/building.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/bus.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/cafe.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/camera.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/campsite.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/car.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/cemetery.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/cesium.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/chemist.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/cinema.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/circle-stroked.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/circle.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/city.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/clothing-store.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/college.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/commercial.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/cricket.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/cross.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/dam.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/danger.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/disability.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/dog-park.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/embassy.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/emergency-telephone.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/entrance.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/farm.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/fast-food.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/ferry.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/fire-station.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/fuel.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/garden.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/gift.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/golf.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/grocery.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/hairdresser.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/harbor.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/heart.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/heliport.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/hospital.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/ice-cream.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/industrial.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/land-use.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/laundry.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/library.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/lighthouse.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/lodging.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/logging.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/london-underground.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/marker-stroked.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/marker.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/minefield.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/mobilephone.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/monument.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/museum.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/music.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/oil-well.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/park.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/park2.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/parking-garage.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/parking.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/pharmacy.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/pitch.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/place-of-worship.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/playground.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/police.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/polling-place.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/post.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/prison.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/rail-above.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/rail-light.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/rail-metro.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/rail-underground.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/rail.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/religious-christian.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/religious-jewish.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/religious-muslim.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/restaurant.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/roadblock.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/rocket.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/school.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/scooter.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/shop.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/skiing.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/slaughterhouse.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/soccer.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/square-stroked.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/square.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/star-stroked.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/star.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/suitcase.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/swimming.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/telephone.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/tennis.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/theatre.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/toilets.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/town-hall.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/town.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/triangle-stroked.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/triangle.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/village.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/warehouse.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/waste-basket.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/water.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/wetland.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/zoo.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/moonSmall.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/pin.svg +1 -0
- package/template/public/Cesium1.119/Assets/Textures/waterNormals.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/waterNormalsSmall.jpg +0 -0
- package/template/public/Cesium1.119/Assets/approximateTerrainHeights.json +10924 -0
- package/template/public/Cesium1.119/Cesium.js +185772 -0
- package/template/public/Cesium1.119/ThirdParty/Workers/package.json +3 -0
- package/template/public/Cesium1.119/ThirdParty/Workers/pako_deflate.min.js +1681 -0
- package/template/public/Cesium1.119/ThirdParty/Workers/pako_inflate.min.js +1489 -0
- package/template/public/Cesium1.119/ThirdParty/Workers/z-worker-pako.js +1070 -0
- package/template/public/Cesium1.119/ThirdParty/basis_transcoder.wasm +0 -0
- package/template/public/Cesium1.119/ThirdParty/draco_decoder.wasm +0 -0
- package/template/public/Cesium1.119/ThirdParty/google-earth-dbroot-parser.js +11424 -0
- package/template/public/Cesium1.119/Widgets/Animation/Animation.css +127 -0
- package/template/public/Cesium1.119/Widgets/Animation/lighter.css +78 -0
- package/template/public/Cesium1.119/Widgets/BaseLayerPicker/BaseLayerPicker.css +112 -0
- package/template/public/Cesium1.119/Widgets/BaseLayerPicker/lighter.css +28 -0
- package/template/public/Cesium1.119/Widgets/Cesium3DTilesInspector/Cesium3DTilesInspector.css +104 -0
- package/template/public/Cesium1.119/Widgets/CesiumInspector/CesiumInspector.css +115 -0
- package/template/public/Cesium1.119/Widgets/CesiumWidget/CesiumWidget.css +119 -0
- package/template/public/Cesium1.119/Widgets/CesiumWidget/lighter.css +14 -0
- package/template/public/Cesium1.119/Widgets/FullscreenButton/FullscreenButton.css +8 -0
- package/template/public/Cesium1.119/Widgets/Geocoder/Geocoder.css +72 -0
- package/template/public/Cesium1.119/Widgets/Geocoder/lighter.css +17 -0
- package/template/public/Cesium1.119/Widgets/I3SBuildingSceneLayerExplorer/I3SBuildingSceneLayerExplorer.css +27 -0
- package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/ArcGisMapServiceWorldHillshade.png +0 -0
- package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/ArcGisMapServiceWorldImagery.png +0 -0
- package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/ArcGisMapServiceWorldOcean.png +0 -0
- package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/bingAerial.png +0 -0
- package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/bingAerialLabels.png +0 -0
- package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/bingRoads.png +0 -0
- package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/blueMarble.png +0 -0
- package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/earthAtNight.png +0 -0
- package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/mapQuestOpenStreetMap.png +0 -0
- package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/mapboxSatellite.png +0 -0
- package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/mapboxStreets.png +0 -0
- package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/mapboxTerrain.png +0 -0
- package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/naturalEarthII.png +0 -0
- package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/openStreetMap.png +0 -0
- package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/sentinel-2.png +0 -0
- package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/stadiaAlidadeSmooth.png +0 -0
- package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/stadiaAlidadeSmoothDark.png +0 -0
- package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/stamenToner.png +0 -0
- package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/stamenWatercolor.png +0 -0
- package/template/public/Cesium1.119/Widgets/Images/NavigationHelp/Mouse.svg +84 -0
- package/template/public/Cesium1.119/Widgets/Images/NavigationHelp/MouseLeft.svg +76 -0
- package/template/public/Cesium1.119/Widgets/Images/NavigationHelp/MouseMiddle.svg +76 -0
- package/template/public/Cesium1.119/Widgets/Images/NavigationHelp/MouseRight.svg +76 -0
- package/template/public/Cesium1.119/Widgets/Images/NavigationHelp/Touch.svg +120 -0
- package/template/public/Cesium1.119/Widgets/Images/NavigationHelp/TouchDrag.svg +129 -0
- package/template/public/Cesium1.119/Widgets/Images/NavigationHelp/TouchRotate.svg +76 -0
- package/template/public/Cesium1.119/Widgets/Images/NavigationHelp/TouchTilt.svg +135 -0
- package/template/public/Cesium1.119/Widgets/Images/NavigationHelp/TouchZoom.svg +74 -0
- package/template/public/Cesium1.119/Widgets/Images/TerrainProviders/CesiumWorldTerrain.png +0 -0
- package/template/public/Cesium1.119/Widgets/Images/TerrainProviders/Ellipsoid.png +0 -0
- package/template/public/Cesium1.119/Widgets/Images/TimelineIcons.png +0 -0
- package/template/public/Cesium1.119/Widgets/Images/info-loading.gif +0 -0
- package/template/public/Cesium1.119/Widgets/InfoBox/InfoBox.css +94 -0
- package/template/public/Cesium1.119/Widgets/InfoBox/InfoBoxDescription.css +178 -0
- package/template/public/Cesium1.119/Widgets/NavigationHelpButton/NavigationHelpButton.css +95 -0
- package/template/public/Cesium1.119/Widgets/NavigationHelpButton/lighter.css +38 -0
- package/template/public/Cesium1.119/Widgets/PerformanceWatchdog/PerformanceWatchdog.css +15 -0
- package/template/public/Cesium1.119/Widgets/ProjectionPicker/ProjectionPicker.css +46 -0
- package/template/public/Cesium1.119/Widgets/SceneModePicker/SceneModePicker.css +72 -0
- package/template/public/Cesium1.119/Widgets/SelectionIndicator/SelectionIndicator.css +22 -0
- package/template/public/Cesium1.119/Widgets/Timeline/Timeline.css +103 -0
- package/template/public/Cesium1.119/Widgets/Timeline/lighter.css +18 -0
- package/template/public/Cesium1.119/Widgets/VRButton/VRButton.css +8 -0
- package/template/public/Cesium1.119/Widgets/Viewer/Viewer.css +107 -0
- package/template/public/Cesium1.119/Widgets/VoxelInspector/VoxelInspector.css +18 -0
- package/template/public/Cesium1.119/Widgets/lighter.css +246 -0
- package/template/public/Cesium1.119/Widgets/lighterShared.css +46 -0
- package/template/public/Cesium1.119/Widgets/shared.css +103 -0
- package/template/public/Cesium1.119/Widgets/widgets.css +1376 -0
- package/template/public/Cesium1.119/Workers/chunk-3C7WC463.js +611 -0
- package/template/public/Cesium1.119/Workers/chunk-3JW36LZF.js +166 -0
- package/template/public/Cesium1.119/Workers/chunk-4BTGX3WJ.js +264 -0
- package/template/public/Cesium1.119/Workers/chunk-4WRMLZA7.js +128 -0
- package/template/public/Cesium1.119/Workers/chunk-7Z5IIKOJ.js +8046 -0
- package/template/public/Cesium1.119/Workers/chunk-ABGXSJNX.js +341 -0
- package/template/public/Cesium1.119/Workers/chunk-AMQUWUD4.js +269 -0
- package/template/public/Cesium1.119/Workers/chunk-ATPDRNKI.js +28 -0
- package/template/public/Cesium1.119/Workers/chunk-BMHPVZ4H.js +199 -0
- package/template/public/Cesium1.119/Workers/chunk-CBEO3SHS.js +1102 -0
- package/template/public/Cesium1.119/Workers/chunk-CV7DLCWG.js +485 -0
- package/template/public/Cesium1.119/Workers/chunk-DQO6B4EQ.js +76 -0
- package/template/public/Cesium1.119/Workers/chunk-ED3TLP6D.js +91 -0
- package/template/public/Cesium1.119/Workers/chunk-EFZKO5RU.js +42 -0
- package/template/public/Cesium1.119/Workers/chunk-F5IHREXR.js +2678 -0
- package/template/public/Cesium1.119/Workers/chunk-FKRG4HDY.js +516 -0
- package/template/public/Cesium1.119/Workers/chunk-FYOYUPXG.js +399 -0
- package/template/public/Cesium1.119/Workers/chunk-GFN7NNSJ.js +65 -0
- package/template/public/Cesium1.119/Workers/chunk-HEEMUCG6.js +92 -0
- package/template/public/Cesium1.119/Workers/chunk-HSWA4OEL.js +672 -0
- package/template/public/Cesium1.119/Workers/chunk-IAC5XVZV.js +287 -0
- package/template/public/Cesium1.119/Workers/chunk-II4VNKYR.js +50 -0
- package/template/public/Cesium1.119/Workers/chunk-ILGBPNP6.js +28 -0
- package/template/public/Cesium1.119/Workers/chunk-IRH46BDL.js +124 -0
- package/template/public/Cesium1.119/Workers/chunk-IUA6FAOZ.js +31 -0
- package/template/public/Cesium1.119/Workers/chunk-K4ASOM65.js +331 -0
- package/template/public/Cesium1.119/Workers/chunk-KCIZBVXL.js +258 -0
- package/template/public/Cesium1.119/Workers/chunk-KF5NF354.js +162 -0
- package/template/public/Cesium1.119/Workers/chunk-KRKI6AAO.js +773 -0
- package/template/public/Cesium1.119/Workers/chunk-KZNJOCYU.js +162 -0
- package/template/public/Cesium1.119/Workers/chunk-O5IJ3OGP.js +857 -0
- package/template/public/Cesium1.119/Workers/chunk-OO23RBLX.js +183 -0
- package/template/public/Cesium1.119/Workers/chunk-P37AI2DW.js +85 -0
- package/template/public/Cesium1.119/Workers/chunk-PDMQLSBL.js +108 -0
- package/template/public/Cesium1.119/Workers/chunk-PEYJTJPE.js +73 -0
- package/template/public/Cesium1.119/Workers/chunk-POASMU2N.js +2372 -0
- package/template/public/Cesium1.119/Workers/chunk-PXCJYT2S.js +73 -0
- package/template/public/Cesium1.119/Workers/chunk-Q6L7X3LP.js +538 -0
- package/template/public/Cesium1.119/Workers/chunk-QB3MDM4J.js +1670 -0
- package/template/public/Cesium1.119/Workers/chunk-R6KGAEF6.js +392 -0
- package/template/public/Cesium1.119/Workers/chunk-RXTBM4OI.js +57 -0
- package/template/public/Cesium1.119/Workers/chunk-SB224QGV.js +72 -0
- package/template/public/Cesium1.119/Workers/chunk-T6BE4RZK.js +37 -0
- package/template/public/Cesium1.119/Workers/chunk-TAMCUKAR.js +814 -0
- package/template/public/Cesium1.119/Workers/chunk-TMSETF7M.js +579 -0
- package/template/public/Cesium1.119/Workers/chunk-TOGHF3VN.js +376 -0
- package/template/public/Cesium1.119/Workers/chunk-UH2WFNTA.js +111 -0
- package/template/public/Cesium1.119/Workers/chunk-V7JEDBOE.js +573 -0
- package/template/public/Cesium1.119/Workers/chunk-VBIROZR5.js +633 -0
- package/template/public/Cesium1.119/Workers/chunk-W23CU777.js +271 -0
- package/template/public/Cesium1.119/Workers/chunk-X5IHHI6X.js +173 -0
- package/template/public/Cesium1.119/Workers/chunk-XHX2UPDO.js +217 -0
- package/template/public/Cesium1.119/Workers/combineGeometry.js +53 -0
- package/template/public/Cesium1.119/Workers/createBoxGeometry.js +45 -0
- package/template/public/Cesium1.119/Workers/createBoxOutlineGeometry.js +189 -0
- package/template/public/Cesium1.119/Workers/createCircleGeometry.js +148 -0
- package/template/public/Cesium1.119/Workers/createCircleOutlineGeometry.js +105 -0
- package/template/public/Cesium1.119/Workers/createCoplanarPolygonGeometry.js +293 -0
- package/template/public/Cesium1.119/Workers/createCoplanarPolygonOutlineGeometry.js +143 -0
- package/template/public/Cesium1.119/Workers/createCorridorGeometry.js +830 -0
- package/template/public/Cesium1.119/Workers/createCorridorOutlineGeometry.js +417 -0
- package/template/public/Cesium1.119/Workers/createCylinderGeometry.js +47 -0
- package/template/public/Cesium1.119/Workers/createCylinderOutlineGeometry.js +170 -0
- package/template/public/Cesium1.119/Workers/createEllipseGeometry.js +58 -0
- package/template/public/Cesium1.119/Workers/createEllipseOutlineGeometry.js +51 -0
- package/template/public/Cesium1.119/Workers/createEllipsoidGeometry.js +46 -0
- package/template/public/Cesium1.119/Workers/createEllipsoidOutlineGeometry.js +45 -0
- package/template/public/Cesium1.119/Workers/createFrustumGeometry.js +45 -0
- package/template/public/Cesium1.119/Workers/createFrustumOutlineGeometry.js +164 -0
- package/template/public/Cesium1.119/Workers/createGeometry.js +159 -0
- package/template/public/Cesium1.119/Workers/createGroundPolylineGeometry.js +911 -0
- package/template/public/Cesium1.119/Workers/createPlaneGeometry.js +185 -0
- package/template/public/Cesium1.119/Workers/createPlaneOutlineGeometry.js +93 -0
- package/template/public/Cesium1.119/Workers/createPolygonGeometry.js +884 -0
- package/template/public/Cesium1.119/Workers/createPolygonOutlineGeometry.js +359 -0
- package/template/public/Cesium1.119/Workers/createPolylineGeometry.js +349 -0
- package/template/public/Cesium1.119/Workers/createPolylineVolumeGeometry.js +262 -0
- package/template/public/Cesium1.119/Workers/createPolylineVolumeOutlineGeometry.js +177 -0
- package/template/public/Cesium1.119/Workers/createRectangleGeometry.js +787 -0
- package/template/public/Cesium1.119/Workers/createRectangleOutlineGeometry.js +299 -0
- package/template/public/Cesium1.119/Workers/createSimplePolylineGeometry.js +294 -0
- package/template/public/Cesium1.119/Workers/createSphereGeometry.js +84 -0
- package/template/public/Cesium1.119/Workers/createSphereOutlineGeometry.js +83 -0
- package/template/public/Cesium1.119/Workers/createTaskProcessorWorker.js +28 -0
- package/template/public/Cesium1.119/Workers/createVectorTileClampedPolylines.js +289 -0
- package/template/public/Cesium1.119/Workers/createVectorTileGeometries.js +258 -0
- package/template/public/Cesium1.119/Workers/createVectorTilePoints.js +79 -0
- package/template/public/Cesium1.119/Workers/createVectorTilePolygons.js +275 -0
- package/template/public/Cesium1.119/Workers/createVectorTilePolylines.js +176 -0
- package/template/public/Cesium1.119/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js +375 -0
- package/template/public/Cesium1.119/Workers/createVerticesFromHeightmap.js +1772 -0
- package/template/public/Cesium1.119/Workers/createVerticesFromQuantizedTerrainMesh.js +425 -0
- package/template/public/Cesium1.119/Workers/createWallGeometry.js +320 -0
- package/template/public/Cesium1.119/Workers/createWallOutlineGeometry.js +229 -0
- package/template/public/Cesium1.119/Workers/decodeDraco.js +227 -0
- package/template/public/Cesium1.119/Workers/decodeGoogleEarthEnterprisePacket.js +1836 -0
- package/template/public/Cesium1.119/Workers/decodeI3S.js +924 -0
- package/template/public/Cesium1.119/Workers/transcodeKTX2.js +3180 -0
- package/template/public/Cesium1.119/Workers/transferTypedArrayTest.js +34 -0
- package/template/public/Cesium1.119/Workers/upsampleQuantizedTerrainMesh.js +534 -0
- package/template/public/Cesium1.119/index.cjs +185632 -0
- package/template/public/Cesium1.119/index.js +182874 -0
- package/template/public/vite.svg +1 -0
- package/template/scripts/gen-api.cjs +178 -0
- package/template/src/App.vue +6 -0
- package/template/src/api/README.md +3 -0
- package/template/src/assets/favicon.svg +49 -0
- package/template/src/components/Body/index.vue +16 -0
- package/template/src/components/Header/index.vue +8 -0
- package/template/src/directive/focus.ts +9 -0
- package/template/src/layout/BasicLayout.vue +28 -0
- package/template/src/main.ts +33 -0
- package/template/src/router/index.ts +24 -0
- package/template/src/stores/README.md +3 -0
- package/template/src/stores/useCounter.ts +12 -0
- package/template/src/styles/alerts.less +85 -0
- package/template/src/styles/global.css +326 -0
- package/template/src/utils/alert.ts +58 -0
- package/template/src/utils/components.ts +21 -0
- package/template/src/utils/composables/useAlert.ts +14 -0
- package/template/src/views/Test/index.vue +23 -0
- package/template/src/views/index.vue +9 -0
- package/template/src/vite-env.d.ts +1 -0
- package/template/swdg/bin/index.js +23 -0
- package/template/swdg/package.json +27 -0
- package/template/tests/README.md +6 -0
- package/template/tests/e2e/README.md +3 -0
- package/template/tests/setup.ts +1 -0
- package/template/tests/unit/example.test.ts +7 -0
- package/template/tests/utils/helpers.ts +1 -0
- package/template/tsconfig.json +51 -0
- package/template/tsconfig.node.json +11 -0
- package/template/types/README.md +3 -0
- package/template/types/global.d.ts +9 -0
- package/template/vite.config.ts +75 -0
- package/template/vitest.config.ts +9 -0
|
@@ -0,0 +1,299 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
+
* Version 1.119
|
|
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 C } from "./chunk-OO23RBLX.js";
|
|
27
|
+
import { a as v } from "./chunk-ILGBPNP6.js";
|
|
28
|
+
import { b as z } from "./chunk-O5IJ3OGP.js";
|
|
29
|
+
import "./chunk-FYOYUPXG.js";
|
|
30
|
+
import { a as O } from "./chunk-P37AI2DW.js";
|
|
31
|
+
import { a as Y } from "./chunk-T6BE4RZK.js";
|
|
32
|
+
import { b as B, c as q, d as y } from "./chunk-X5IHHI6X.js";
|
|
33
|
+
import { d as R } from "./chunk-TMSETF7M.js";
|
|
34
|
+
import { h as b } from "./chunk-7Z5IIKOJ.js";
|
|
35
|
+
import { a as T } from "./chunk-KZNJOCYU.js";
|
|
36
|
+
import { a as U, b as M, d as w } from "./chunk-POASMU2N.js";
|
|
37
|
+
import { a as P } from "./chunk-R6KGAEF6.js";
|
|
38
|
+
import "./chunk-3C7WC463.js";
|
|
39
|
+
import "./chunk-II4VNKYR.js";
|
|
40
|
+
import { a as E } from "./chunk-IUA6FAOZ.js";
|
|
41
|
+
import { a as N } from "./chunk-UH2WFNTA.js";
|
|
42
|
+
import { e as S } from "./chunk-PEYJTJPE.js";
|
|
43
|
+
var j = new R(),
|
|
44
|
+
K = new R(),
|
|
45
|
+
Q = new U(),
|
|
46
|
+
W = new b();
|
|
47
|
+
function F(t, e) {
|
|
48
|
+
let i = t._ellipsoid,
|
|
49
|
+
m = e.height,
|
|
50
|
+
s = e.width,
|
|
51
|
+
h = e.northCap,
|
|
52
|
+
a = e.southCap,
|
|
53
|
+
_ = m,
|
|
54
|
+
A = 2,
|
|
55
|
+
o = 0,
|
|
56
|
+
g = 4;
|
|
57
|
+
(h && ((A -= 1), (_ -= 1), (o += 1), (g -= 2)),
|
|
58
|
+
a && ((A -= 1), (_ -= 1), (o += 1), (g -= 2)),
|
|
59
|
+
(o += A * s + 2 * _ - g));
|
|
60
|
+
let n = new Float64Array(o * 3),
|
|
61
|
+
l = 0,
|
|
62
|
+
f = 0,
|
|
63
|
+
p,
|
|
64
|
+
r = Q;
|
|
65
|
+
if (h)
|
|
66
|
+
(C.computePosition(e, i, !1, f, 0, r),
|
|
67
|
+
(n[l++] = r.x),
|
|
68
|
+
(n[l++] = r.y),
|
|
69
|
+
(n[l++] = r.z));
|
|
70
|
+
else
|
|
71
|
+
for (p = 0; p < s; p++)
|
|
72
|
+
(C.computePosition(e, i, !1, f, p, r),
|
|
73
|
+
(n[l++] = r.x),
|
|
74
|
+
(n[l++] = r.y),
|
|
75
|
+
(n[l++] = r.z));
|
|
76
|
+
for (p = s - 1, f = 1; f < m; f++)
|
|
77
|
+
(C.computePosition(e, i, !1, f, p, r),
|
|
78
|
+
(n[l++] = r.x),
|
|
79
|
+
(n[l++] = r.y),
|
|
80
|
+
(n[l++] = r.z));
|
|
81
|
+
if (((f = m - 1), !a))
|
|
82
|
+
for (p = s - 2; p >= 0; p--)
|
|
83
|
+
(C.computePosition(e, i, !1, f, p, r),
|
|
84
|
+
(n[l++] = r.x),
|
|
85
|
+
(n[l++] = r.y),
|
|
86
|
+
(n[l++] = r.z));
|
|
87
|
+
for (p = 0, f = m - 2; f > 0; f--)
|
|
88
|
+
(C.computePosition(e, i, !1, f, p, r),
|
|
89
|
+
(n[l++] = r.x),
|
|
90
|
+
(n[l++] = r.y),
|
|
91
|
+
(n[l++] = r.z));
|
|
92
|
+
let u = (n.length / 3) * 2,
|
|
93
|
+
c = O.createTypedArray(n.length / 3, u),
|
|
94
|
+
H = 0;
|
|
95
|
+
for (let D = 0; D < n.length / 3 - 1; D++) ((c[H++] = D), (c[H++] = D + 1));
|
|
96
|
+
((c[H++] = n.length / 3 - 1), (c[H++] = 0));
|
|
97
|
+
let d = new q({ attributes: new Y(), primitiveType: B.LINES });
|
|
98
|
+
return (
|
|
99
|
+
(d.attributes.position = new y({
|
|
100
|
+
componentDatatype: T.DOUBLE,
|
|
101
|
+
componentsPerAttribute: 3,
|
|
102
|
+
values: n,
|
|
103
|
+
})),
|
|
104
|
+
(d.indices = c),
|
|
105
|
+
d
|
|
106
|
+
);
|
|
107
|
+
}
|
|
108
|
+
function X(t, e) {
|
|
109
|
+
let i = t._surfaceHeight,
|
|
110
|
+
m = t._extrudedHeight,
|
|
111
|
+
s = t._ellipsoid,
|
|
112
|
+
h = F(t, e),
|
|
113
|
+
a = e.height,
|
|
114
|
+
_ = e.width,
|
|
115
|
+
A = z.scaleToGeodeticHeight(h.attributes.position.values, i, s, !1),
|
|
116
|
+
o = A.length,
|
|
117
|
+
g = new Float64Array(o * 2);
|
|
118
|
+
g.set(A);
|
|
119
|
+
let n = z.scaleToGeodeticHeight(h.attributes.position.values, m, s);
|
|
120
|
+
(g.set(n, o), (h.attributes.position.values = g));
|
|
121
|
+
let l = e.northCap,
|
|
122
|
+
f = e.southCap,
|
|
123
|
+
p = 4;
|
|
124
|
+
(l && (p -= 1), f && (p -= 1));
|
|
125
|
+
let r = (g.length / 3 + p) * 2,
|
|
126
|
+
u = O.createTypedArray(g.length / 3, r);
|
|
127
|
+
o = g.length / 6;
|
|
128
|
+
let c = 0;
|
|
129
|
+
for (let d = 0; d < o - 1; d++)
|
|
130
|
+
((u[c++] = d), (u[c++] = d + 1), (u[c++] = d + o), (u[c++] = d + o + 1));
|
|
131
|
+
((u[c++] = o - 1),
|
|
132
|
+
(u[c++] = 0),
|
|
133
|
+
(u[c++] = o + o - 1),
|
|
134
|
+
(u[c++] = o),
|
|
135
|
+
(u[c++] = 0),
|
|
136
|
+
(u[c++] = o));
|
|
137
|
+
let H;
|
|
138
|
+
if (l) H = a - 1;
|
|
139
|
+
else {
|
|
140
|
+
let d = _ - 1;
|
|
141
|
+
((u[c++] = d), (u[c++] = d + o), (H = _ + a - 2));
|
|
142
|
+
}
|
|
143
|
+
if (((u[c++] = H), (u[c++] = H + o), !f)) {
|
|
144
|
+
let d = _ + H - 1;
|
|
145
|
+
((u[c++] = d), (u[c] = d + o));
|
|
146
|
+
}
|
|
147
|
+
return ((h.indices = u), h);
|
|
148
|
+
}
|
|
149
|
+
function L(t) {
|
|
150
|
+
t = E(t, E.EMPTY_OBJECT);
|
|
151
|
+
let e = t.rectangle,
|
|
152
|
+
i = E(t.granularity, P.RADIANS_PER_DEGREE),
|
|
153
|
+
m = E(t.ellipsoid, w.default),
|
|
154
|
+
s = E(t.rotation, 0);
|
|
155
|
+
if (!S(e)) throw new N("rectangle is required.");
|
|
156
|
+
if ((b.validate(e), e.north < e.south))
|
|
157
|
+
throw new N(
|
|
158
|
+
"options.rectangle.north must be greater than options.rectangle.south",
|
|
159
|
+
);
|
|
160
|
+
let h = E(t.height, 0),
|
|
161
|
+
a = E(t.extrudedHeight, h);
|
|
162
|
+
((this._rectangle = b.clone(e)),
|
|
163
|
+
(this._granularity = i),
|
|
164
|
+
(this._ellipsoid = m),
|
|
165
|
+
(this._surfaceHeight = Math.max(h, a)),
|
|
166
|
+
(this._rotation = s),
|
|
167
|
+
(this._extrudedHeight = Math.min(h, a)),
|
|
168
|
+
(this._offsetAttribute = t.offsetAttribute),
|
|
169
|
+
(this._workerName = "createRectangleOutlineGeometry"));
|
|
170
|
+
}
|
|
171
|
+
L.packedLength = b.packedLength + w.packedLength + 5;
|
|
172
|
+
L.pack = function (t, e, i) {
|
|
173
|
+
if (!S(t)) throw new N("value is required");
|
|
174
|
+
if (!S(e)) throw new N("array is required");
|
|
175
|
+
return (
|
|
176
|
+
(i = E(i, 0)),
|
|
177
|
+
b.pack(t._rectangle, e, i),
|
|
178
|
+
(i += b.packedLength),
|
|
179
|
+
w.pack(t._ellipsoid, e, i),
|
|
180
|
+
(i += w.packedLength),
|
|
181
|
+
(e[i++] = t._granularity),
|
|
182
|
+
(e[i++] = t._surfaceHeight),
|
|
183
|
+
(e[i++] = t._rotation),
|
|
184
|
+
(e[i++] = t._extrudedHeight),
|
|
185
|
+
(e[i] = E(t._offsetAttribute, -1)),
|
|
186
|
+
e
|
|
187
|
+
);
|
|
188
|
+
};
|
|
189
|
+
var V = new b(),
|
|
190
|
+
J = w.clone(w.UNIT_SPHERE),
|
|
191
|
+
k = {
|
|
192
|
+
rectangle: V,
|
|
193
|
+
ellipsoid: J,
|
|
194
|
+
granularity: void 0,
|
|
195
|
+
height: void 0,
|
|
196
|
+
rotation: void 0,
|
|
197
|
+
extrudedHeight: void 0,
|
|
198
|
+
offsetAttribute: void 0,
|
|
199
|
+
};
|
|
200
|
+
L.unpack = function (t, e, i) {
|
|
201
|
+
if (!S(t)) throw new N("array is required");
|
|
202
|
+
e = E(e, 0);
|
|
203
|
+
let m = b.unpack(t, e, V);
|
|
204
|
+
e += b.packedLength;
|
|
205
|
+
let s = w.unpack(t, e, J);
|
|
206
|
+
e += w.packedLength;
|
|
207
|
+
let h = t[e++],
|
|
208
|
+
a = t[e++],
|
|
209
|
+
_ = t[e++],
|
|
210
|
+
A = t[e++],
|
|
211
|
+
o = t[e];
|
|
212
|
+
return S(i)
|
|
213
|
+
? ((i._rectangle = b.clone(m, i._rectangle)),
|
|
214
|
+
(i._ellipsoid = w.clone(s, i._ellipsoid)),
|
|
215
|
+
(i._surfaceHeight = a),
|
|
216
|
+
(i._rotation = _),
|
|
217
|
+
(i._extrudedHeight = A),
|
|
218
|
+
(i._offsetAttribute = o === -1 ? void 0 : o),
|
|
219
|
+
i)
|
|
220
|
+
: ((k.granularity = h),
|
|
221
|
+
(k.height = a),
|
|
222
|
+
(k.rotation = _),
|
|
223
|
+
(k.extrudedHeight = A),
|
|
224
|
+
(k.offsetAttribute = o === -1 ? void 0 : o),
|
|
225
|
+
new L(k));
|
|
226
|
+
};
|
|
227
|
+
var Z = new M();
|
|
228
|
+
L.createGeometry = function (t) {
|
|
229
|
+
let e = t._rectangle,
|
|
230
|
+
i = t._ellipsoid,
|
|
231
|
+
m = C.computeOptions(e, t._granularity, t._rotation, 0, W, Z),
|
|
232
|
+
s,
|
|
233
|
+
h;
|
|
234
|
+
if (
|
|
235
|
+
P.equalsEpsilon(e.north, e.south, P.EPSILON10) ||
|
|
236
|
+
P.equalsEpsilon(e.east, e.west, P.EPSILON10)
|
|
237
|
+
)
|
|
238
|
+
return;
|
|
239
|
+
let a = t._surfaceHeight,
|
|
240
|
+
_ = t._extrudedHeight,
|
|
241
|
+
A = !P.equalsEpsilon(a, _, 0, P.EPSILON2),
|
|
242
|
+
o;
|
|
243
|
+
if (A) {
|
|
244
|
+
if (((s = X(t, m)), S(t._offsetAttribute))) {
|
|
245
|
+
let l = s.attributes.position.values.length / 3,
|
|
246
|
+
f = new Uint8Array(l);
|
|
247
|
+
(t._offsetAttribute === v.TOP
|
|
248
|
+
? (f = f.fill(1, 0, l / 2))
|
|
249
|
+
: ((o = t._offsetAttribute === v.NONE ? 0 : 1), (f = f.fill(o))),
|
|
250
|
+
(s.attributes.applyOffset = new y({
|
|
251
|
+
componentDatatype: T.UNSIGNED_BYTE,
|
|
252
|
+
componentsPerAttribute: 1,
|
|
253
|
+
values: f,
|
|
254
|
+
})));
|
|
255
|
+
}
|
|
256
|
+
let g = R.fromRectangle3D(e, i, a, K),
|
|
257
|
+
n = R.fromRectangle3D(e, i, _, j);
|
|
258
|
+
h = R.union(g, n);
|
|
259
|
+
} else {
|
|
260
|
+
if (
|
|
261
|
+
((s = F(t, m)),
|
|
262
|
+
(s.attributes.position.values = z.scaleToGeodeticHeight(
|
|
263
|
+
s.attributes.position.values,
|
|
264
|
+
a,
|
|
265
|
+
i,
|
|
266
|
+
!1,
|
|
267
|
+
)),
|
|
268
|
+
S(t._offsetAttribute))
|
|
269
|
+
) {
|
|
270
|
+
let g = s.attributes.position.values.length;
|
|
271
|
+
o = t._offsetAttribute === v.NONE ? 0 : 1;
|
|
272
|
+
let n = new Uint8Array(g / 3).fill(o);
|
|
273
|
+
s.attributes.applyOffset = new y({
|
|
274
|
+
componentDatatype: T.UNSIGNED_BYTE,
|
|
275
|
+
componentsPerAttribute: 1,
|
|
276
|
+
values: n,
|
|
277
|
+
});
|
|
278
|
+
}
|
|
279
|
+
h = R.fromRectangle3D(e, i, a);
|
|
280
|
+
}
|
|
281
|
+
return new q({
|
|
282
|
+
attributes: s.attributes,
|
|
283
|
+
indices: s.indices,
|
|
284
|
+
primitiveType: B.LINES,
|
|
285
|
+
boundingSphere: h,
|
|
286
|
+
offsetAttribute: t._offsetAttribute,
|
|
287
|
+
});
|
|
288
|
+
};
|
|
289
|
+
var x = L;
|
|
290
|
+
function $(t, e) {
|
|
291
|
+
return (
|
|
292
|
+
S(e) && (t = x.unpack(t, e)),
|
|
293
|
+
(t._ellipsoid = w.clone(t._ellipsoid)),
|
|
294
|
+
(t._rectangle = b.clone(t._rectangle)),
|
|
295
|
+
x.createGeometry(t)
|
|
296
|
+
);
|
|
297
|
+
}
|
|
298
|
+
var Et = $;
|
|
299
|
+
export { Et as default };
|
|
@@ -0,0 +1,294 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
+
* Version 1.119
|
|
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-V7JEDBOE.js";
|
|
27
|
+
import { a as S } from "./chunk-ATPDRNKI.js";
|
|
28
|
+
import { a as E } from "./chunk-AMQUWUD4.js";
|
|
29
|
+
import "./chunk-W23CU777.js";
|
|
30
|
+
import "./chunk-FYOYUPXG.js";
|
|
31
|
+
import "./chunk-TAMCUKAR.js";
|
|
32
|
+
import "./chunk-PDMQLSBL.js";
|
|
33
|
+
import { a as X } from "./chunk-P37AI2DW.js";
|
|
34
|
+
import { a as W } from "./chunk-T6BE4RZK.js";
|
|
35
|
+
import { b as K, c as Q, d as Y } from "./chunk-X5IHHI6X.js";
|
|
36
|
+
import { d as j } from "./chunk-TMSETF7M.js";
|
|
37
|
+
import "./chunk-7Z5IIKOJ.js";
|
|
38
|
+
import { a as H } from "./chunk-KZNJOCYU.js";
|
|
39
|
+
import { a as k, d as b } from "./chunk-POASMU2N.js";
|
|
40
|
+
import { a as q } from "./chunk-R6KGAEF6.js";
|
|
41
|
+
import "./chunk-3C7WC463.js";
|
|
42
|
+
import "./chunk-II4VNKYR.js";
|
|
43
|
+
import { a as w } from "./chunk-IUA6FAOZ.js";
|
|
44
|
+
import { a as L } from "./chunk-UH2WFNTA.js";
|
|
45
|
+
import { e as u } from "./chunk-PEYJTJPE.js";
|
|
46
|
+
function Z(t, e, o, i, s, l, p) {
|
|
47
|
+
let g = E.numberOfPoints(t, e, s),
|
|
48
|
+
f,
|
|
49
|
+
n = o.red,
|
|
50
|
+
m = o.green,
|
|
51
|
+
d = o.blue,
|
|
52
|
+
T = o.alpha,
|
|
53
|
+
c = i.red,
|
|
54
|
+
h = i.green,
|
|
55
|
+
y = i.blue,
|
|
56
|
+
V = i.alpha;
|
|
57
|
+
if (r.equals(o, i)) {
|
|
58
|
+
for (f = 0; f < g; f++)
|
|
59
|
+
((l[p++] = r.floatToByte(n)),
|
|
60
|
+
(l[p++] = r.floatToByte(m)),
|
|
61
|
+
(l[p++] = r.floatToByte(d)),
|
|
62
|
+
(l[p++] = r.floatToByte(T)));
|
|
63
|
+
return p;
|
|
64
|
+
}
|
|
65
|
+
let M = (c - n) / g,
|
|
66
|
+
C = (h - m) / g,
|
|
67
|
+
G = (y - d) / g,
|
|
68
|
+
_ = (V - T) / g,
|
|
69
|
+
a = p;
|
|
70
|
+
for (f = 0; f < g; f++)
|
|
71
|
+
((l[a++] = r.floatToByte(n + f * M)),
|
|
72
|
+
(l[a++] = r.floatToByte(m + f * C)),
|
|
73
|
+
(l[a++] = r.floatToByte(d + f * G)),
|
|
74
|
+
(l[a++] = r.floatToByte(T + f * _)));
|
|
75
|
+
return a;
|
|
76
|
+
}
|
|
77
|
+
function R(t) {
|
|
78
|
+
t = w(t, w.EMPTY_OBJECT);
|
|
79
|
+
let e = t.positions,
|
|
80
|
+
o = t.colors,
|
|
81
|
+
i = w(t.colorsPerVertex, !1);
|
|
82
|
+
if (!u(e) || e.length < 2)
|
|
83
|
+
throw new L("At least two positions are required.");
|
|
84
|
+
if (u(o) && ((i && o.length < e.length) || (!i && o.length < e.length - 1)))
|
|
85
|
+
throw new L("colors has an invalid length.");
|
|
86
|
+
((this._positions = e),
|
|
87
|
+
(this._colors = o),
|
|
88
|
+
(this._colorsPerVertex = i),
|
|
89
|
+
(this._arcType = w(t.arcType, S.GEODESIC)),
|
|
90
|
+
(this._granularity = w(t.granularity, q.RADIANS_PER_DEGREE)),
|
|
91
|
+
(this._ellipsoid = w(t.ellipsoid, b.default)),
|
|
92
|
+
(this._workerName = "createSimplePolylineGeometry"));
|
|
93
|
+
let s = 1 + e.length * k.packedLength;
|
|
94
|
+
((s += u(o) ? 1 + o.length * r.packedLength : 1),
|
|
95
|
+
(this.packedLength = s + b.packedLength + 3));
|
|
96
|
+
}
|
|
97
|
+
R.pack = function (t, e, o) {
|
|
98
|
+
if (!u(t)) throw new L("value is required");
|
|
99
|
+
if (!u(e)) throw new L("array is required");
|
|
100
|
+
o = w(o, 0);
|
|
101
|
+
let i,
|
|
102
|
+
s = t._positions,
|
|
103
|
+
l = s.length;
|
|
104
|
+
for (e[o++] = l, i = 0; i < l; ++i, o += k.packedLength) k.pack(s[i], e, o);
|
|
105
|
+
let p = t._colors;
|
|
106
|
+
for (
|
|
107
|
+
l = u(p) ? p.length : 0, e[o++] = l, i = 0;
|
|
108
|
+
i < l;
|
|
109
|
+
++i, o += r.packedLength
|
|
110
|
+
)
|
|
111
|
+
r.pack(p[i], e, o);
|
|
112
|
+
return (
|
|
113
|
+
b.pack(t._ellipsoid, e, o),
|
|
114
|
+
(o += b.packedLength),
|
|
115
|
+
(e[o++] = t._colorsPerVertex ? 1 : 0),
|
|
116
|
+
(e[o++] = t._arcType),
|
|
117
|
+
(e[o] = t._granularity),
|
|
118
|
+
e
|
|
119
|
+
);
|
|
120
|
+
};
|
|
121
|
+
R.unpack = function (t, e, o) {
|
|
122
|
+
if (!u(t)) throw new L("array is required");
|
|
123
|
+
e = w(e, 0);
|
|
124
|
+
let i,
|
|
125
|
+
s = t[e++],
|
|
126
|
+
l = new Array(s);
|
|
127
|
+
for (i = 0; i < s; ++i, e += k.packedLength) l[i] = k.unpack(t, e);
|
|
128
|
+
s = t[e++];
|
|
129
|
+
let p = s > 0 ? new Array(s) : void 0;
|
|
130
|
+
for (i = 0; i < s; ++i, e += r.packedLength) p[i] = r.unpack(t, e);
|
|
131
|
+
let g = b.unpack(t, e);
|
|
132
|
+
e += b.packedLength;
|
|
133
|
+
let f = t[e++] === 1,
|
|
134
|
+
n = t[e++],
|
|
135
|
+
m = t[e];
|
|
136
|
+
return u(o)
|
|
137
|
+
? ((o._positions = l),
|
|
138
|
+
(o._colors = p),
|
|
139
|
+
(o._ellipsoid = g),
|
|
140
|
+
(o._colorsPerVertex = f),
|
|
141
|
+
(o._arcType = n),
|
|
142
|
+
(o._granularity = m),
|
|
143
|
+
o)
|
|
144
|
+
: new R({
|
|
145
|
+
positions: l,
|
|
146
|
+
colors: p,
|
|
147
|
+
ellipsoid: g,
|
|
148
|
+
colorsPerVertex: f,
|
|
149
|
+
arcType: n,
|
|
150
|
+
granularity: m,
|
|
151
|
+
});
|
|
152
|
+
};
|
|
153
|
+
var F = new Array(2),
|
|
154
|
+
N = new Array(2),
|
|
155
|
+
$ = {
|
|
156
|
+
positions: F,
|
|
157
|
+
height: N,
|
|
158
|
+
ellipsoid: void 0,
|
|
159
|
+
minDistance: void 0,
|
|
160
|
+
granularity: void 0,
|
|
161
|
+
};
|
|
162
|
+
R.createGeometry = function (t) {
|
|
163
|
+
let e = t._positions,
|
|
164
|
+
o = t._colors,
|
|
165
|
+
i = t._colorsPerVertex,
|
|
166
|
+
s = t._arcType,
|
|
167
|
+
l = t._granularity,
|
|
168
|
+
p = t._ellipsoid,
|
|
169
|
+
g = q.chordLength(l, p.maximumRadius),
|
|
170
|
+
f = u(o) && !i,
|
|
171
|
+
n,
|
|
172
|
+
m = e.length,
|
|
173
|
+
d,
|
|
174
|
+
T,
|
|
175
|
+
c,
|
|
176
|
+
h,
|
|
177
|
+
y = 0;
|
|
178
|
+
if (s === S.GEODESIC || s === S.RHUMB) {
|
|
179
|
+
let _, a, P;
|
|
180
|
+
s === S.GEODESIC
|
|
181
|
+
? ((_ = q.chordLength(l, p.maximumRadius)),
|
|
182
|
+
(a = E.numberOfPoints),
|
|
183
|
+
(P = E.generateArc))
|
|
184
|
+
: ((_ = l), (a = E.numberOfPointsRhumbLine), (P = E.generateRhumbArc));
|
|
185
|
+
let v = E.extractHeights(e, p),
|
|
186
|
+
B = $;
|
|
187
|
+
if (
|
|
188
|
+
(s === S.GEODESIC ? (B.minDistance = g) : (B.granularity = l),
|
|
189
|
+
(B.ellipsoid = p),
|
|
190
|
+
f)
|
|
191
|
+
) {
|
|
192
|
+
let A = 0;
|
|
193
|
+
for (n = 0; n < m - 1; n++) A += a(e[n], e[n + 1], _) + 1;
|
|
194
|
+
((d = new Float64Array(A * 3)),
|
|
195
|
+
(c = new Uint8Array(A * 4)),
|
|
196
|
+
(B.positions = F),
|
|
197
|
+
(B.height = N));
|
|
198
|
+
let D = 0;
|
|
199
|
+
for (n = 0; n < m - 1; ++n) {
|
|
200
|
+
((F[0] = e[n]), (F[1] = e[n + 1]), (N[0] = v[n]), (N[1] = v[n + 1]));
|
|
201
|
+
let O = P(B);
|
|
202
|
+
if (u(o)) {
|
|
203
|
+
let z = O.length / 3;
|
|
204
|
+
h = o[n];
|
|
205
|
+
for (let U = 0; U < z; ++U)
|
|
206
|
+
((c[D++] = r.floatToByte(h.red)),
|
|
207
|
+
(c[D++] = r.floatToByte(h.green)),
|
|
208
|
+
(c[D++] = r.floatToByte(h.blue)),
|
|
209
|
+
(c[D++] = r.floatToByte(h.alpha)));
|
|
210
|
+
}
|
|
211
|
+
(d.set(O, y), (y += O.length));
|
|
212
|
+
}
|
|
213
|
+
} else if (
|
|
214
|
+
((B.positions = e), (B.height = v), (d = new Float64Array(P(B))), u(o))
|
|
215
|
+
) {
|
|
216
|
+
for (c = new Uint8Array((d.length / 3) * 4), n = 0; n < m - 1; ++n) {
|
|
217
|
+
let D = e[n],
|
|
218
|
+
O = e[n + 1],
|
|
219
|
+
z = o[n],
|
|
220
|
+
U = o[n + 1];
|
|
221
|
+
y = Z(D, O, z, U, g, c, y);
|
|
222
|
+
}
|
|
223
|
+
let A = o[m - 1];
|
|
224
|
+
((c[y++] = r.floatToByte(A.red)),
|
|
225
|
+
(c[y++] = r.floatToByte(A.green)),
|
|
226
|
+
(c[y++] = r.floatToByte(A.blue)),
|
|
227
|
+
(c[y++] = r.floatToByte(A.alpha)));
|
|
228
|
+
}
|
|
229
|
+
} else {
|
|
230
|
+
((T = f ? m * 2 - 2 : m),
|
|
231
|
+
(d = new Float64Array(T * 3)),
|
|
232
|
+
(c = u(o) ? new Uint8Array(T * 4) : void 0));
|
|
233
|
+
let _ = 0,
|
|
234
|
+
a = 0;
|
|
235
|
+
for (n = 0; n < m; ++n) {
|
|
236
|
+
let P = e[n];
|
|
237
|
+
if (
|
|
238
|
+
(f &&
|
|
239
|
+
n > 0 &&
|
|
240
|
+
(k.pack(P, d, _),
|
|
241
|
+
(_ += 3),
|
|
242
|
+
(h = o[n - 1]),
|
|
243
|
+
(c[a++] = r.floatToByte(h.red)),
|
|
244
|
+
(c[a++] = r.floatToByte(h.green)),
|
|
245
|
+
(c[a++] = r.floatToByte(h.blue)),
|
|
246
|
+
(c[a++] = r.floatToByte(h.alpha))),
|
|
247
|
+
f && n === m - 1)
|
|
248
|
+
)
|
|
249
|
+
break;
|
|
250
|
+
(k.pack(P, d, _),
|
|
251
|
+
(_ += 3),
|
|
252
|
+
u(o) &&
|
|
253
|
+
((h = o[n]),
|
|
254
|
+
(c[a++] = r.floatToByte(h.red)),
|
|
255
|
+
(c[a++] = r.floatToByte(h.green)),
|
|
256
|
+
(c[a++] = r.floatToByte(h.blue)),
|
|
257
|
+
(c[a++] = r.floatToByte(h.alpha))));
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
let V = new W();
|
|
261
|
+
((V.position = new Y({
|
|
262
|
+
componentDatatype: H.DOUBLE,
|
|
263
|
+
componentsPerAttribute: 3,
|
|
264
|
+
values: d,
|
|
265
|
+
})),
|
|
266
|
+
u(o) &&
|
|
267
|
+
(V.color = new Y({
|
|
268
|
+
componentDatatype: H.UNSIGNED_BYTE,
|
|
269
|
+
componentsPerAttribute: 4,
|
|
270
|
+
values: c,
|
|
271
|
+
normalize: !0,
|
|
272
|
+
})),
|
|
273
|
+
(T = d.length / 3));
|
|
274
|
+
let M = (T - 1) * 2,
|
|
275
|
+
C = X.createTypedArray(T, M),
|
|
276
|
+
G = 0;
|
|
277
|
+
for (n = 0; n < T - 1; ++n) ((C[G++] = n), (C[G++] = n + 1));
|
|
278
|
+
return new Q({
|
|
279
|
+
attributes: V,
|
|
280
|
+
indices: C,
|
|
281
|
+
primitiveType: K.LINES,
|
|
282
|
+
boundingSphere: j.fromPoints(e),
|
|
283
|
+
});
|
|
284
|
+
};
|
|
285
|
+
var J = R;
|
|
286
|
+
function x(t, e) {
|
|
287
|
+
return (
|
|
288
|
+
u(e) && (t = J.unpack(t, e)),
|
|
289
|
+
(t._ellipsoid = b.clone(t._ellipsoid)),
|
|
290
|
+
J.createGeometry(t)
|
|
291
|
+
);
|
|
292
|
+
}
|
|
293
|
+
var _e = x;
|
|
294
|
+
export { _e as default };
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
+
* Version 1.119
|
|
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-TOGHF3VN.js";
|
|
27
|
+
import "./chunk-ILGBPNP6.js";
|
|
28
|
+
import { a as m } from "./chunk-HEEMUCG6.js";
|
|
29
|
+
import "./chunk-P37AI2DW.js";
|
|
30
|
+
import "./chunk-T6BE4RZK.js";
|
|
31
|
+
import "./chunk-X5IHHI6X.js";
|
|
32
|
+
import "./chunk-TMSETF7M.js";
|
|
33
|
+
import "./chunk-7Z5IIKOJ.js";
|
|
34
|
+
import "./chunk-KZNJOCYU.js";
|
|
35
|
+
import { a as s } from "./chunk-POASMU2N.js";
|
|
36
|
+
import "./chunk-R6KGAEF6.js";
|
|
37
|
+
import "./chunk-3C7WC463.js";
|
|
38
|
+
import "./chunk-II4VNKYR.js";
|
|
39
|
+
import { a as l } from "./chunk-IUA6FAOZ.js";
|
|
40
|
+
import { b as p } from "./chunk-UH2WFNTA.js";
|
|
41
|
+
import { e as c } from "./chunk-PEYJTJPE.js";
|
|
42
|
+
function n(e) {
|
|
43
|
+
let t = l(e.radius, 1),
|
|
44
|
+
o = {
|
|
45
|
+
radii: new s(t, t, t),
|
|
46
|
+
stackPartitions: e.stackPartitions,
|
|
47
|
+
slicePartitions: e.slicePartitions,
|
|
48
|
+
vertexFormat: e.vertexFormat,
|
|
49
|
+
};
|
|
50
|
+
((this._ellipsoidGeometry = new r(o)),
|
|
51
|
+
(this._workerName = "createSphereGeometry"));
|
|
52
|
+
}
|
|
53
|
+
n.packedLength = r.packedLength;
|
|
54
|
+
n.pack = function (e, t, a) {
|
|
55
|
+
return (p.typeOf.object("value", e), r.pack(e._ellipsoidGeometry, t, a));
|
|
56
|
+
};
|
|
57
|
+
var f = new r(),
|
|
58
|
+
i = {
|
|
59
|
+
radius: void 0,
|
|
60
|
+
radii: new s(),
|
|
61
|
+
vertexFormat: new m(),
|
|
62
|
+
stackPartitions: void 0,
|
|
63
|
+
slicePartitions: void 0,
|
|
64
|
+
};
|
|
65
|
+
n.unpack = function (e, t, a) {
|
|
66
|
+
let o = r.unpack(e, t, f);
|
|
67
|
+
return (
|
|
68
|
+
(i.vertexFormat = m.clone(o._vertexFormat, i.vertexFormat)),
|
|
69
|
+
(i.stackPartitions = o._stackPartitions),
|
|
70
|
+
(i.slicePartitions = o._slicePartitions),
|
|
71
|
+
c(a)
|
|
72
|
+
? (s.clone(o._radii, i.radii), (a._ellipsoidGeometry = new r(i)), a)
|
|
73
|
+
: ((i.radius = o._radii.x), new n(i))
|
|
74
|
+
);
|
|
75
|
+
};
|
|
76
|
+
n.createGeometry = function (e) {
|
|
77
|
+
return r.createGeometry(e._ellipsoidGeometry);
|
|
78
|
+
};
|
|
79
|
+
var d = n;
|
|
80
|
+
function u(e, t) {
|
|
81
|
+
return (c(t) && (e = d.unpack(e, t)), d.createGeometry(e));
|
|
82
|
+
}
|
|
83
|
+
var v = u;
|
|
84
|
+
export { v as default };
|