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,425 @@
|
|
|
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 Ct, b as vt } from "./chunk-CV7DLCWG.js";
|
|
27
|
+
import { a as Mt } from "./chunk-PXCJYT2S.js";
|
|
28
|
+
import { a as z } from "./chunk-SB224QGV.js";
|
|
29
|
+
import "./chunk-ABGXSJNX.js";
|
|
30
|
+
import { a as Wt } from "./chunk-4WRMLZA7.js";
|
|
31
|
+
import { a as X } from "./chunk-P37AI2DW.js";
|
|
32
|
+
import "./chunk-TMSETF7M.js";
|
|
33
|
+
import { b as U, g as bt, h as At } from "./chunk-7Z5IIKOJ.js";
|
|
34
|
+
import "./chunk-KZNJOCYU.js";
|
|
35
|
+
import { a as P, b as wt, c as lt, d as pt } from "./chunk-POASMU2N.js";
|
|
36
|
+
import { a as f } from "./chunk-R6KGAEF6.js";
|
|
37
|
+
import "./chunk-3C7WC463.js";
|
|
38
|
+
import "./chunk-II4VNKYR.js";
|
|
39
|
+
import "./chunk-IUA6FAOZ.js";
|
|
40
|
+
import { a as m } from "./chunk-UH2WFNTA.js";
|
|
41
|
+
import { e as w } from "./chunk-PEYJTJPE.js";
|
|
42
|
+
function T() {
|
|
43
|
+
m.throwInstantiationError();
|
|
44
|
+
}
|
|
45
|
+
Object.defineProperties(T.prototype, {
|
|
46
|
+
errorEvent: { get: m.throwInstantiationError },
|
|
47
|
+
credit: { get: m.throwInstantiationError },
|
|
48
|
+
tilingScheme: { get: m.throwInstantiationError },
|
|
49
|
+
hasWaterMask: { get: m.throwInstantiationError },
|
|
50
|
+
hasVertexNormals: { get: m.throwInstantiationError },
|
|
51
|
+
availability: { get: m.throwInstantiationError },
|
|
52
|
+
});
|
|
53
|
+
var Ot = [];
|
|
54
|
+
T.getRegularGridIndices = function (t, n) {
|
|
55
|
+
if (t * n >= f.FOUR_GIGABYTES)
|
|
56
|
+
throw new m(
|
|
57
|
+
"The total number of vertices (width * height) must be less than 4,294,967,296.",
|
|
58
|
+
);
|
|
59
|
+
let o = Ot[t];
|
|
60
|
+
w(o) || (Ot[t] = o = []);
|
|
61
|
+
let e = o[n];
|
|
62
|
+
return (
|
|
63
|
+
w(e) ||
|
|
64
|
+
(t * n < f.SIXTY_FOUR_KILOBYTES
|
|
65
|
+
? (e = o[n] = new Uint16Array((t - 1) * (n - 1) * 6))
|
|
66
|
+
: (e = o[n] = new Uint32Array((t - 1) * (n - 1) * 6)),
|
|
67
|
+
Pt(t, n, e, 0)),
|
|
68
|
+
e
|
|
69
|
+
);
|
|
70
|
+
};
|
|
71
|
+
var Gt = [];
|
|
72
|
+
T.getRegularGridIndicesAndEdgeIndices = function (t, n) {
|
|
73
|
+
if (t * n >= f.FOUR_GIGABYTES)
|
|
74
|
+
throw new m(
|
|
75
|
+
"The total number of vertices (width * height) must be less than 4,294,967,296.",
|
|
76
|
+
);
|
|
77
|
+
let o = Gt[t];
|
|
78
|
+
w(o) || (Gt[t] = o = []);
|
|
79
|
+
let e = o[n];
|
|
80
|
+
if (!w(e)) {
|
|
81
|
+
let r = T.getRegularGridIndices(t, n),
|
|
82
|
+
s = Lt(t, n),
|
|
83
|
+
i = s.westIndicesSouthToNorth,
|
|
84
|
+
c = s.southIndicesEastToWest,
|
|
85
|
+
h = s.eastIndicesNorthToSouth,
|
|
86
|
+
E = s.northIndicesWestToEast;
|
|
87
|
+
e = o[n] = {
|
|
88
|
+
indices: r,
|
|
89
|
+
westIndicesSouthToNorth: i,
|
|
90
|
+
southIndicesEastToWest: c,
|
|
91
|
+
eastIndicesNorthToSouth: h,
|
|
92
|
+
northIndicesWestToEast: E,
|
|
93
|
+
};
|
|
94
|
+
}
|
|
95
|
+
return e;
|
|
96
|
+
};
|
|
97
|
+
var kt = [];
|
|
98
|
+
T.getRegularGridAndSkirtIndicesAndEdgeIndices = function (t, n) {
|
|
99
|
+
if (t * n >= f.FOUR_GIGABYTES)
|
|
100
|
+
throw new m(
|
|
101
|
+
"The total number of vertices (width * height) must be less than 4,294,967,296.",
|
|
102
|
+
);
|
|
103
|
+
let o = kt[t];
|
|
104
|
+
w(o) || (kt[t] = o = []);
|
|
105
|
+
let e = o[n];
|
|
106
|
+
if (!w(e)) {
|
|
107
|
+
let r = t * n,
|
|
108
|
+
s = (t - 1) * (n - 1) * 6,
|
|
109
|
+
i = t * 2 + n * 2,
|
|
110
|
+
c = Math.max(0, i - 4) * 6,
|
|
111
|
+
h = r + i,
|
|
112
|
+
E = s + c,
|
|
113
|
+
g = Lt(t, n),
|
|
114
|
+
d = g.westIndicesSouthToNorth,
|
|
115
|
+
p = g.southIndicesEastToWest,
|
|
116
|
+
b = g.eastIndicesNorthToSouth,
|
|
117
|
+
L = g.northIndicesWestToEast,
|
|
118
|
+
N = X.createTypedArray(h, E);
|
|
119
|
+
(Pt(t, n, N, 0),
|
|
120
|
+
T.addSkirtIndices(d, p, b, L, r, N, s),
|
|
121
|
+
(e = o[n] =
|
|
122
|
+
{
|
|
123
|
+
indices: N,
|
|
124
|
+
westIndicesSouthToNorth: d,
|
|
125
|
+
southIndicesEastToWest: p,
|
|
126
|
+
eastIndicesNorthToSouth: b,
|
|
127
|
+
northIndicesWestToEast: L,
|
|
128
|
+
indexCountWithoutSkirts: s,
|
|
129
|
+
}));
|
|
130
|
+
}
|
|
131
|
+
return e;
|
|
132
|
+
};
|
|
133
|
+
T.addSkirtIndices = function (t, n, o, e, r, s, i) {
|
|
134
|
+
let c = r;
|
|
135
|
+
((i = Z(t, c, s, i)),
|
|
136
|
+
(c += t.length),
|
|
137
|
+
(i = Z(n, c, s, i)),
|
|
138
|
+
(c += n.length),
|
|
139
|
+
(i = Z(o, c, s, i)),
|
|
140
|
+
(c += o.length),
|
|
141
|
+
Z(e, c, s, i));
|
|
142
|
+
};
|
|
143
|
+
function Lt(t, n) {
|
|
144
|
+
let o = new Array(n),
|
|
145
|
+
e = new Array(t),
|
|
146
|
+
r = new Array(n),
|
|
147
|
+
s = new Array(t),
|
|
148
|
+
i;
|
|
149
|
+
for (i = 0; i < t; ++i) ((s[i] = i), (e[i] = t * n - 1 - i));
|
|
150
|
+
for (i = 0; i < n; ++i) ((r[i] = (i + 1) * t - 1), (o[i] = (n - i - 1) * t));
|
|
151
|
+
return {
|
|
152
|
+
westIndicesSouthToNorth: o,
|
|
153
|
+
southIndicesEastToWest: e,
|
|
154
|
+
eastIndicesNorthToSouth: r,
|
|
155
|
+
northIndicesWestToEast: s,
|
|
156
|
+
};
|
|
157
|
+
}
|
|
158
|
+
function Pt(t, n, o, e) {
|
|
159
|
+
let r = 0;
|
|
160
|
+
for (let s = 0; s < n - 1; ++s) {
|
|
161
|
+
for (let i = 0; i < t - 1; ++i) {
|
|
162
|
+
let c = r,
|
|
163
|
+
h = c + t,
|
|
164
|
+
E = h + 1,
|
|
165
|
+
g = c + 1;
|
|
166
|
+
((o[e++] = c),
|
|
167
|
+
(o[e++] = h),
|
|
168
|
+
(o[e++] = g),
|
|
169
|
+
(o[e++] = g),
|
|
170
|
+
(o[e++] = h),
|
|
171
|
+
(o[e++] = E),
|
|
172
|
+
++r);
|
|
173
|
+
}
|
|
174
|
+
++r;
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
function Z(t, n, o, e) {
|
|
178
|
+
let r = t[0],
|
|
179
|
+
s = t.length;
|
|
180
|
+
for (let i = 1; i < s; ++i) {
|
|
181
|
+
let c = t[i];
|
|
182
|
+
((o[e++] = r),
|
|
183
|
+
(o[e++] = c),
|
|
184
|
+
(o[e++] = n),
|
|
185
|
+
(o[e++] = n),
|
|
186
|
+
(o[e++] = c),
|
|
187
|
+
(o[e++] = n + 1),
|
|
188
|
+
(r = c),
|
|
189
|
+
++n);
|
|
190
|
+
}
|
|
191
|
+
return e;
|
|
192
|
+
}
|
|
193
|
+
T.heightmapTerrainQuality = 0.25;
|
|
194
|
+
T.getEstimatedLevelZeroGeometricErrorForAHeightmap = function (t, n, o) {
|
|
195
|
+
return (t.maximumRadius * 2 * Math.PI * T.heightmapTerrainQuality) / (n * o);
|
|
196
|
+
};
|
|
197
|
+
T.prototype.requestTileGeometry = m.throwInstantiationError;
|
|
198
|
+
T.prototype.getLevelMaximumGeometricError = m.throwInstantiationError;
|
|
199
|
+
T.prototype.getTileDataAvailable = m.throwInstantiationError;
|
|
200
|
+
T.prototype.loadTileDataAvailability = m.throwInstantiationError;
|
|
201
|
+
var Vt = T;
|
|
202
|
+
var ht = 32767,
|
|
203
|
+
D = new P(),
|
|
204
|
+
Xt = new P(),
|
|
205
|
+
Zt = new P(),
|
|
206
|
+
u = new wt(),
|
|
207
|
+
Y = new lt();
|
|
208
|
+
function Jt(t, n) {
|
|
209
|
+
let o = t.quantizedVertices,
|
|
210
|
+
e = o.length / 3,
|
|
211
|
+
r = t.octEncodedNormals,
|
|
212
|
+
s =
|
|
213
|
+
t.westIndices.length +
|
|
214
|
+
t.eastIndices.length +
|
|
215
|
+
t.southIndices.length +
|
|
216
|
+
t.northIndices.length,
|
|
217
|
+
i = t.includeWebMercatorT,
|
|
218
|
+
c = t.exaggeration,
|
|
219
|
+
h = t.exaggerationRelativeHeight,
|
|
220
|
+
g = c !== 1,
|
|
221
|
+
d = At.clone(t.rectangle),
|
|
222
|
+
p = d.west,
|
|
223
|
+
b = d.south,
|
|
224
|
+
L = d.east,
|
|
225
|
+
N = d.north,
|
|
226
|
+
I = pt.clone(t.ellipsoid),
|
|
227
|
+
y = t.minimumHeight,
|
|
228
|
+
v = t.maximumHeight,
|
|
229
|
+
S = t.relativeToCenter,
|
|
230
|
+
_ = bt.eastNorthUpToFixedFrame(S, I),
|
|
231
|
+
O = U.inverseTransformation(_, new U()),
|
|
232
|
+
G,
|
|
233
|
+
A;
|
|
234
|
+
i &&
|
|
235
|
+
((G = z.geodeticLatitudeToMercatorAngle(b)),
|
|
236
|
+
(A = 1 / (z.geodeticLatitudeToMercatorAngle(N) - G)));
|
|
237
|
+
let j = o.subarray(0, e),
|
|
238
|
+
q = o.subarray(e, 2 * e),
|
|
239
|
+
Q = o.subarray(e * 2, 3 * e),
|
|
240
|
+
R = w(r),
|
|
241
|
+
l = new Array(e),
|
|
242
|
+
M = new Array(e),
|
|
243
|
+
et = new Array(e),
|
|
244
|
+
It = i ? new Array(e) : [],
|
|
245
|
+
gt = g ? new Array(e) : [],
|
|
246
|
+
W = Xt;
|
|
247
|
+
((W.x = Number.POSITIVE_INFINITY),
|
|
248
|
+
(W.y = Number.POSITIVE_INFINITY),
|
|
249
|
+
(W.z = Number.POSITIVE_INFINITY));
|
|
250
|
+
let C = Zt;
|
|
251
|
+
((C.x = Number.NEGATIVE_INFINITY),
|
|
252
|
+
(C.y = Number.NEGATIVE_INFINITY),
|
|
253
|
+
(C.z = Number.NEGATIVE_INFINITY));
|
|
254
|
+
let ot = Number.POSITIVE_INFINITY,
|
|
255
|
+
nt = Number.NEGATIVE_INFINITY,
|
|
256
|
+
it = Number.POSITIVE_INFINITY,
|
|
257
|
+
rt = Number.NEGATIVE_INFINITY;
|
|
258
|
+
for (let a = 0; a < e; ++a) {
|
|
259
|
+
let x = j[a],
|
|
260
|
+
Kt = q[a],
|
|
261
|
+
St = x / ht,
|
|
262
|
+
xt = Kt / ht,
|
|
263
|
+
yt = f.lerp(y, v, Q[a] / ht);
|
|
264
|
+
((u.longitude = f.lerp(p, L, St)),
|
|
265
|
+
(u.latitude = f.lerp(b, N, xt)),
|
|
266
|
+
(u.height = yt),
|
|
267
|
+
(ot = Math.min(u.longitude, ot)),
|
|
268
|
+
(nt = Math.max(u.longitude, nt)),
|
|
269
|
+
(it = Math.min(u.latitude, it)),
|
|
270
|
+
(rt = Math.max(u.latitude, rt)));
|
|
271
|
+
let dt = I.cartographicToCartesian(u);
|
|
272
|
+
((l[a] = new lt(St, xt)),
|
|
273
|
+
(M[a] = yt),
|
|
274
|
+
(et[a] = dt),
|
|
275
|
+
i && (It[a] = (z.geodeticLatitudeToMercatorAngle(u.latitude) - G) * A),
|
|
276
|
+
g && (gt[a] = I.geodeticSurfaceNormal(dt)),
|
|
277
|
+
U.multiplyByPoint(O, dt, D),
|
|
278
|
+
P.minimumByComponent(D, W, W),
|
|
279
|
+
P.maximumByComponent(D, C, C));
|
|
280
|
+
}
|
|
281
|
+
let st = tt(t.westIndices, function (a, x) {
|
|
282
|
+
return l[a].y - l[x].y;
|
|
283
|
+
}),
|
|
284
|
+
ct = tt(t.eastIndices, function (a, x) {
|
|
285
|
+
return l[x].y - l[a].y;
|
|
286
|
+
}),
|
|
287
|
+
at = tt(t.southIndices, function (a, x) {
|
|
288
|
+
return l[x].x - l[a].x;
|
|
289
|
+
}),
|
|
290
|
+
ut = tt(t.northIndices, function (a, x) {
|
|
291
|
+
return l[a].x - l[x].x;
|
|
292
|
+
}),
|
|
293
|
+
mt;
|
|
294
|
+
y < 0 &&
|
|
295
|
+
(mt = new Ct(I).computeHorizonCullingPointPossiblyUnderEllipsoid(S, et, y));
|
|
296
|
+
let k = y;
|
|
297
|
+
((k = Math.min(k, J(t.westIndices, t.westSkirtHeight, M, l, d, I, O, W, C))),
|
|
298
|
+
(k = Math.min(
|
|
299
|
+
k,
|
|
300
|
+
J(t.southIndices, t.southSkirtHeight, M, l, d, I, O, W, C),
|
|
301
|
+
)),
|
|
302
|
+
(k = Math.min(k, J(t.eastIndices, t.eastSkirtHeight, M, l, d, I, O, W, C))),
|
|
303
|
+
(k = Math.min(
|
|
304
|
+
k,
|
|
305
|
+
J(t.northIndices, t.northSkirtHeight, M, l, d, I, O, W, C),
|
|
306
|
+
)));
|
|
307
|
+
let Ft = new Wt(W, C, S),
|
|
308
|
+
V = new vt(S, Ft, k, v, _, R, i, g, c, h),
|
|
309
|
+
F = V.stride,
|
|
310
|
+
Bt = e * F + s * F,
|
|
311
|
+
B = new Float32Array(Bt),
|
|
312
|
+
ft = 0;
|
|
313
|
+
for (let a = 0; a < e; ++a) {
|
|
314
|
+
if (R) {
|
|
315
|
+
let x = a * 2;
|
|
316
|
+
((Y.x = r[x]), (Y.y = r[x + 1]));
|
|
317
|
+
}
|
|
318
|
+
ft = V.encode(B, ft, et[a], l[a], M[a], Y, It[a], gt[a]);
|
|
319
|
+
}
|
|
320
|
+
let Ht = Math.max(0, (s - 4) * 2),
|
|
321
|
+
_t = t.indices.length + Ht * 3,
|
|
322
|
+
K = X.createTypedArray(e + s, _t);
|
|
323
|
+
K.set(t.indices, 0);
|
|
324
|
+
let Tt = 1e-4,
|
|
325
|
+
Et = (nt - ot) * Tt,
|
|
326
|
+
Nt = (rt - it) * Tt,
|
|
327
|
+
Yt = -Et,
|
|
328
|
+
Rt = 0,
|
|
329
|
+
Ut = Et,
|
|
330
|
+
zt = 0,
|
|
331
|
+
Dt = 0,
|
|
332
|
+
jt = Nt,
|
|
333
|
+
qt = 0,
|
|
334
|
+
Qt = -Nt,
|
|
335
|
+
H = e * F;
|
|
336
|
+
return (
|
|
337
|
+
$(B, H, st, V, M, l, r, I, d, t.westSkirtHeight, G, A, Yt, Rt),
|
|
338
|
+
(H += t.westIndices.length * F),
|
|
339
|
+
$(B, H, at, V, M, l, r, I, d, t.southSkirtHeight, G, A, qt, Qt),
|
|
340
|
+
(H += t.southIndices.length * F),
|
|
341
|
+
$(B, H, ct, V, M, l, r, I, d, t.eastSkirtHeight, G, A, Ut, zt),
|
|
342
|
+
(H += t.eastIndices.length * F),
|
|
343
|
+
$(B, H, ut, V, M, l, r, I, d, t.northSkirtHeight, G, A, Dt, jt),
|
|
344
|
+
Vt.addSkirtIndices(st, at, ct, ut, e, K, t.indices.length),
|
|
345
|
+
n.push(B.buffer, K.buffer),
|
|
346
|
+
{
|
|
347
|
+
vertices: B.buffer,
|
|
348
|
+
indices: K.buffer,
|
|
349
|
+
westIndicesSouthToNorth: st,
|
|
350
|
+
southIndicesEastToWest: at,
|
|
351
|
+
eastIndicesNorthToSouth: ct,
|
|
352
|
+
northIndicesWestToEast: ut,
|
|
353
|
+
vertexStride: F,
|
|
354
|
+
center: S,
|
|
355
|
+
minimumHeight: y,
|
|
356
|
+
maximumHeight: v,
|
|
357
|
+
occludeePointInScaledSpace: mt,
|
|
358
|
+
encoding: V,
|
|
359
|
+
indexCountWithoutSkirts: t.indices.length,
|
|
360
|
+
}
|
|
361
|
+
);
|
|
362
|
+
}
|
|
363
|
+
function J(t, n, o, e, r, s, i, c, h) {
|
|
364
|
+
let E = Number.POSITIVE_INFINITY,
|
|
365
|
+
g = r.north,
|
|
366
|
+
d = r.south,
|
|
367
|
+
p = r.east,
|
|
368
|
+
b = r.west;
|
|
369
|
+
p < b && (p += f.TWO_PI);
|
|
370
|
+
let L = t.length;
|
|
371
|
+
for (let N = 0; N < L; ++N) {
|
|
372
|
+
let I = t[N],
|
|
373
|
+
y = o[I],
|
|
374
|
+
v = e[I];
|
|
375
|
+
((u.longitude = f.lerp(b, p, v.x)),
|
|
376
|
+
(u.latitude = f.lerp(d, g, v.y)),
|
|
377
|
+
(u.height = y - n));
|
|
378
|
+
let S = s.cartographicToCartesian(u, D);
|
|
379
|
+
(U.multiplyByPoint(i, S, S),
|
|
380
|
+
P.minimumByComponent(S, c, c),
|
|
381
|
+
P.maximumByComponent(S, h, h),
|
|
382
|
+
(E = Math.min(E, u.height)));
|
|
383
|
+
}
|
|
384
|
+
return E;
|
|
385
|
+
}
|
|
386
|
+
function $(t, n, o, e, r, s, i, c, h, E, g, d, p, b) {
|
|
387
|
+
let L = w(i),
|
|
388
|
+
N = h.north,
|
|
389
|
+
I = h.south,
|
|
390
|
+
y = h.east,
|
|
391
|
+
v = h.west;
|
|
392
|
+
y < v && (y += f.TWO_PI);
|
|
393
|
+
let S = o.length;
|
|
394
|
+
for (let _ = 0; _ < S; ++_) {
|
|
395
|
+
let O = o[_],
|
|
396
|
+
G = r[O],
|
|
397
|
+
A = s[O];
|
|
398
|
+
((u.longitude = f.lerp(v, y, A.x) + p),
|
|
399
|
+
(u.latitude = f.lerp(I, N, A.y) + b),
|
|
400
|
+
(u.height = G - E));
|
|
401
|
+
let j = c.cartographicToCartesian(u, D);
|
|
402
|
+
if (L) {
|
|
403
|
+
let R = O * 2;
|
|
404
|
+
((Y.x = i[R]), (Y.y = i[R + 1]));
|
|
405
|
+
}
|
|
406
|
+
let q;
|
|
407
|
+
e.hasWebMercatorT &&
|
|
408
|
+
(q = (z.geodeticLatitudeToMercatorAngle(u.latitude) - g) * d);
|
|
409
|
+
let Q;
|
|
410
|
+
(e.hasGeodeticSurfaceNormals && (Q = c.geodeticSurfaceNormal(j)),
|
|
411
|
+
(n = e.encode(t, n, j, A, u.height, Y, q, Q)));
|
|
412
|
+
}
|
|
413
|
+
}
|
|
414
|
+
function tt(t, n) {
|
|
415
|
+
let o;
|
|
416
|
+
return (
|
|
417
|
+
typeof t.slice == "function" &&
|
|
418
|
+
((o = t.slice()), typeof o.sort != "function" && (o = void 0)),
|
|
419
|
+
w(o) || (o = Array.prototype.slice.call(t)),
|
|
420
|
+
o.sort(n),
|
|
421
|
+
o
|
|
422
|
+
);
|
|
423
|
+
}
|
|
424
|
+
var Se = Mt(Jt);
|
|
425
|
+
export { Se as default };
|