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,375 @@
|
|
|
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 Gt, b as Xt } from "./chunk-CV7DLCWG.js";
|
|
27
|
+
import { a as kt } from "./chunk-PXCJYT2S.js";
|
|
28
|
+
import { a as lt } from "./chunk-SB224QGV.js";
|
|
29
|
+
import { a as Dt } from "./chunk-Q6L7X3LP.js";
|
|
30
|
+
import "./chunk-ABGXSJNX.js";
|
|
31
|
+
import "./chunk-KF5NF354.js";
|
|
32
|
+
import { a as qt } from "./chunk-4WRMLZA7.js";
|
|
33
|
+
import "./chunk-TAMCUKAR.js";
|
|
34
|
+
import "./chunk-PDMQLSBL.js";
|
|
35
|
+
import { d as Lt } from "./chunk-TMSETF7M.js";
|
|
36
|
+
import { b as $, g as Ot, h as zt } from "./chunk-7Z5IIKOJ.js";
|
|
37
|
+
import "./chunk-KZNJOCYU.js";
|
|
38
|
+
import { a as P, b as N, c as wt, d as Ht } from "./chunk-POASMU2N.js";
|
|
39
|
+
import { a as r } from "./chunk-R6KGAEF6.js";
|
|
40
|
+
import "./chunk-3C7WC463.js";
|
|
41
|
+
import { a as Vt } from "./chunk-II4VNKYR.js";
|
|
42
|
+
import { a as Ut } from "./chunk-IUA6FAOZ.js";
|
|
43
|
+
import "./chunk-UH2WFNTA.js";
|
|
44
|
+
import { e as ht } from "./chunk-PEYJTJPE.js";
|
|
45
|
+
var te = Uint16Array.BYTES_PER_ELEMENT,
|
|
46
|
+
mt = Int32Array.BYTES_PER_ELEMENT,
|
|
47
|
+
Pt = Uint32Array.BYTES_PER_ELEMENT,
|
|
48
|
+
ee = Float32Array.BYTES_PER_ELEMENT,
|
|
49
|
+
H = Float64Array.BYTES_PER_ELEMENT;
|
|
50
|
+
function tt(n, l, e) {
|
|
51
|
+
e = Ut(e, r);
|
|
52
|
+
let i = n.length;
|
|
53
|
+
for (let c = 0; c < i; ++c)
|
|
54
|
+
if (e.equalsEpsilon(n[c], l, r.EPSILON12)) return c;
|
|
55
|
+
return -1;
|
|
56
|
+
}
|
|
57
|
+
function oe(n, l) {
|
|
58
|
+
((n.ellipsoid = Ht.clone(n.ellipsoid)),
|
|
59
|
+
(n.rectangle = zt.clone(n.rectangle)));
|
|
60
|
+
let e = se(
|
|
61
|
+
n.buffer,
|
|
62
|
+
n.relativeToCenter,
|
|
63
|
+
n.ellipsoid,
|
|
64
|
+
n.rectangle,
|
|
65
|
+
n.nativeRectangle,
|
|
66
|
+
n.exaggeration,
|
|
67
|
+
n.exaggerationRelativeHeight,
|
|
68
|
+
n.skirtHeight,
|
|
69
|
+
n.includeWebMercatorT,
|
|
70
|
+
n.negativeAltitudeExponentBias,
|
|
71
|
+
n.negativeElevationThreshold,
|
|
72
|
+
),
|
|
73
|
+
i = e.vertices;
|
|
74
|
+
l.push(i.buffer);
|
|
75
|
+
let c = e.indices;
|
|
76
|
+
return (
|
|
77
|
+
l.push(c.buffer),
|
|
78
|
+
{
|
|
79
|
+
vertices: i.buffer,
|
|
80
|
+
indices: c.buffer,
|
|
81
|
+
numberOfAttributes: e.encoding.stride,
|
|
82
|
+
minimumHeight: e.minimumHeight,
|
|
83
|
+
maximumHeight: e.maximumHeight,
|
|
84
|
+
boundingSphere3D: e.boundingSphere3D,
|
|
85
|
+
orientedBoundingBox: e.orientedBoundingBox,
|
|
86
|
+
occludeePointInScaledSpace: e.occludeePointInScaledSpace,
|
|
87
|
+
encoding: e.encoding,
|
|
88
|
+
vertexCountWithoutSkirts: e.vertexCountWithoutSkirts,
|
|
89
|
+
indexCountWithoutSkirts: e.indexCountWithoutSkirts,
|
|
90
|
+
westIndicesSouthToNorth: e.westIndicesSouthToNorth,
|
|
91
|
+
southIndicesEastToWest: e.southIndicesEastToWest,
|
|
92
|
+
eastIndicesNorthToSouth: e.eastIndicesNorthToSouth,
|
|
93
|
+
northIndicesWestToEast: e.northIndicesWestToEast,
|
|
94
|
+
}
|
|
95
|
+
);
|
|
96
|
+
}
|
|
97
|
+
var u = new N(),
|
|
98
|
+
G = new P(),
|
|
99
|
+
ne = new P(),
|
|
100
|
+
ie = new P(),
|
|
101
|
+
re = new $();
|
|
102
|
+
function se(n, l, e, i, c, et, m, ot, T, nt, it) {
|
|
103
|
+
let I, h, E, f, x, p;
|
|
104
|
+
ht(i)
|
|
105
|
+
? ((I = i.west),
|
|
106
|
+
(h = i.south),
|
|
107
|
+
(E = i.east),
|
|
108
|
+
(f = i.north),
|
|
109
|
+
(x = i.width),
|
|
110
|
+
(p = i.height))
|
|
111
|
+
: ((I = r.toRadians(c.west)),
|
|
112
|
+
(h = r.toRadians(c.south)),
|
|
113
|
+
(E = r.toRadians(c.east)),
|
|
114
|
+
(f = r.toRadians(c.north)),
|
|
115
|
+
(x = r.toRadians(i.width)),
|
|
116
|
+
(p = r.toRadians(i.height)));
|
|
117
|
+
let X = [h, f],
|
|
118
|
+
A = [I, E],
|
|
119
|
+
V = Ot.eastNorthUpToFixedFrame(l, e),
|
|
120
|
+
j = $.inverseTransformation(V, re),
|
|
121
|
+
O,
|
|
122
|
+
Q;
|
|
123
|
+
T &&
|
|
124
|
+
((O = lt.geodeticLatitudeToMercatorAngle(h)),
|
|
125
|
+
(Q = 1 / (lt.geodeticLatitudeToMercatorAngle(f) - O)));
|
|
126
|
+
let y = et !== 1,
|
|
127
|
+
a = new DataView(n),
|
|
128
|
+
z = Number.POSITIVE_INFINITY,
|
|
129
|
+
J = Number.NEGATIVE_INFINITY,
|
|
130
|
+
b = ne;
|
|
131
|
+
((b.x = Number.POSITIVE_INFINITY),
|
|
132
|
+
(b.y = Number.POSITIVE_INFINITY),
|
|
133
|
+
(b.z = Number.POSITIVE_INFINITY));
|
|
134
|
+
let M = ie;
|
|
135
|
+
((M.x = Number.NEGATIVE_INFINITY),
|
|
136
|
+
(M.y = Number.NEGATIVE_INFINITY),
|
|
137
|
+
(M.z = Number.NEGATIVE_INFINITY));
|
|
138
|
+
let o = 0,
|
|
139
|
+
S = 0,
|
|
140
|
+
At = 0,
|
|
141
|
+
rt,
|
|
142
|
+
L;
|
|
143
|
+
for (L = 0; L < 4; ++L) {
|
|
144
|
+
let t = o;
|
|
145
|
+
((rt = a.getUint32(t, !0)), (t += Pt));
|
|
146
|
+
let d = r.toRadians(a.getFloat64(t, !0) * 180);
|
|
147
|
+
((t += H), tt(A, d) === -1 && A.push(d));
|
|
148
|
+
let Y = r.toRadians(a.getFloat64(t, !0) * 180);
|
|
149
|
+
((t += H), tt(X, Y) === -1 && X.push(Y), (t += 2 * H));
|
|
150
|
+
let B = a.getInt32(t, !0);
|
|
151
|
+
((t += mt),
|
|
152
|
+
(S += B),
|
|
153
|
+
(B = a.getInt32(t, !0)),
|
|
154
|
+
(At += B * 3),
|
|
155
|
+
(o += rt + Pt));
|
|
156
|
+
}
|
|
157
|
+
let yt = [],
|
|
158
|
+
bt = [],
|
|
159
|
+
g = new Array(S),
|
|
160
|
+
R = new Array(S),
|
|
161
|
+
_ = new Array(S),
|
|
162
|
+
C = T ? new Array(S) : [],
|
|
163
|
+
F = y ? new Array(S) : [],
|
|
164
|
+
v = new Array(At),
|
|
165
|
+
k = [],
|
|
166
|
+
st = [],
|
|
167
|
+
ct = [],
|
|
168
|
+
W = [],
|
|
169
|
+
s = 0,
|
|
170
|
+
pt = 0;
|
|
171
|
+
for (o = 0, L = 0; L < 4; ++L) {
|
|
172
|
+
((rt = a.getUint32(o, !0)), (o += Pt));
|
|
173
|
+
let t = o,
|
|
174
|
+
d = r.toRadians(a.getFloat64(o, !0) * 180);
|
|
175
|
+
o += H;
|
|
176
|
+
let Y = r.toRadians(a.getFloat64(o, !0) * 180);
|
|
177
|
+
o += H;
|
|
178
|
+
let B = r.toRadians(a.getFloat64(o, !0) * 180),
|
|
179
|
+
Ft = B * 0.5;
|
|
180
|
+
o += H;
|
|
181
|
+
let vt = r.toRadians(a.getFloat64(o, !0) * 180),
|
|
182
|
+
Wt = vt * 0.5;
|
|
183
|
+
o += H;
|
|
184
|
+
let Yt = a.getInt32(o, !0);
|
|
185
|
+
o += mt;
|
|
186
|
+
let Zt = a.getInt32(o, !0);
|
|
187
|
+
((o += mt), (o += mt));
|
|
188
|
+
let St = new Array(Yt);
|
|
189
|
+
for (let U = 0; U < Yt; ++U) {
|
|
190
|
+
let Z = d + a.getUint8(o++) * B;
|
|
191
|
+
u.longitude = Z;
|
|
192
|
+
let D = Y + a.getUint8(o++) * vt;
|
|
193
|
+
u.latitude = D;
|
|
194
|
+
let w = a.getFloat32(o, !0);
|
|
195
|
+
if (
|
|
196
|
+
((o += ee),
|
|
197
|
+
w !== 0 && w < it && (w *= -Math.pow(2, nt)),
|
|
198
|
+
(w *= 6371010),
|
|
199
|
+
(u.height = w),
|
|
200
|
+
tt(A, Z) !== -1 || tt(X, D) !== -1)
|
|
201
|
+
) {
|
|
202
|
+
let dt = tt(yt, u, N);
|
|
203
|
+
if (dt === -1) (yt.push(N.clone(u)), bt.push(s));
|
|
204
|
+
else {
|
|
205
|
+
St[U] = bt[dt];
|
|
206
|
+
continue;
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
((St[U] = s),
|
|
210
|
+
Math.abs(Z - I) < Ft
|
|
211
|
+
? k.push({ index: s, cartographic: N.clone(u) })
|
|
212
|
+
: Math.abs(Z - E) < Ft
|
|
213
|
+
? ct.push({ index: s, cartographic: N.clone(u) })
|
|
214
|
+
: Math.abs(D - h) < Wt
|
|
215
|
+
? st.push({ index: s, cartographic: N.clone(u) })
|
|
216
|
+
: Math.abs(D - f) < Wt &&
|
|
217
|
+
W.push({ index: s, cartographic: N.clone(u) }),
|
|
218
|
+
(z = Math.min(w, z)),
|
|
219
|
+
(J = Math.max(w, J)),
|
|
220
|
+
(_[s] = w));
|
|
221
|
+
let Nt = e.cartographicToCartesian(u);
|
|
222
|
+
if (
|
|
223
|
+
((g[s] = Nt),
|
|
224
|
+
T && (C[s] = (lt.geodeticLatitudeToMercatorAngle(D) - O) * Q),
|
|
225
|
+
y)
|
|
226
|
+
) {
|
|
227
|
+
let dt = e.geodeticSurfaceNormal(Nt);
|
|
228
|
+
F[s] = dt;
|
|
229
|
+
}
|
|
230
|
+
($.multiplyByPoint(j, Nt, G),
|
|
231
|
+
P.minimumByComponent(G, b, b),
|
|
232
|
+
P.maximumByComponent(G, M, M));
|
|
233
|
+
let Tt = (Z - I) / (E - I);
|
|
234
|
+
Tt = r.clamp(Tt, 0, 1);
|
|
235
|
+
let Bt = (D - h) / (f - h);
|
|
236
|
+
((Bt = r.clamp(Bt, 0, 1)), (R[s] = new wt(Tt, Bt)), ++s);
|
|
237
|
+
}
|
|
238
|
+
let $t = Zt * 3;
|
|
239
|
+
for (let U = 0; U < $t; ++U, ++pt)
|
|
240
|
+
((v[pt] = St[a.getUint16(o, !0)]), (o += te));
|
|
241
|
+
if (rt !== o - t) throw new Vt("Invalid terrain tile.");
|
|
242
|
+
}
|
|
243
|
+
((g.length = s),
|
|
244
|
+
(R.length = s),
|
|
245
|
+
(_.length = s),
|
|
246
|
+
T && (C.length = s),
|
|
247
|
+
y && (F.length = s));
|
|
248
|
+
let Mt = s,
|
|
249
|
+
jt = pt,
|
|
250
|
+
K = {
|
|
251
|
+
hMin: z,
|
|
252
|
+
lastBorderPoint: void 0,
|
|
253
|
+
skirtHeight: ot,
|
|
254
|
+
toENU: j,
|
|
255
|
+
ellipsoid: e,
|
|
256
|
+
minimum: b,
|
|
257
|
+
maximum: M,
|
|
258
|
+
};
|
|
259
|
+
(k.sort(function (t, d) {
|
|
260
|
+
return d.cartographic.latitude - t.cartographic.latitude;
|
|
261
|
+
}),
|
|
262
|
+
st.sort(function (t, d) {
|
|
263
|
+
return t.cartographic.longitude - d.cartographic.longitude;
|
|
264
|
+
}),
|
|
265
|
+
ct.sort(function (t, d) {
|
|
266
|
+
return t.cartographic.latitude - d.cartographic.latitude;
|
|
267
|
+
}),
|
|
268
|
+
W.sort(function (t, d) {
|
|
269
|
+
return d.cartographic.longitude - t.cartographic.longitude;
|
|
270
|
+
}));
|
|
271
|
+
let q = 1e-5;
|
|
272
|
+
if (
|
|
273
|
+
(gt(g, _, R, C, F, v, K, k, -q * x, !0, -q * p),
|
|
274
|
+
gt(g, _, R, C, F, v, K, st, -q * p, !1),
|
|
275
|
+
gt(g, _, R, C, F, v, K, ct, q * x, !0, q * p),
|
|
276
|
+
gt(g, _, R, C, F, v, K, W, q * p, !1),
|
|
277
|
+
k.length > 0 && W.length > 0)
|
|
278
|
+
) {
|
|
279
|
+
let t = k[0].index,
|
|
280
|
+
d = Mt,
|
|
281
|
+
Y = W[W.length - 1].index,
|
|
282
|
+
B = g.length - 1;
|
|
283
|
+
v.push(Y, B, d, d, t, Y);
|
|
284
|
+
}
|
|
285
|
+
S = g.length;
|
|
286
|
+
let Qt = Lt.fromPoints(g),
|
|
287
|
+
Rt;
|
|
288
|
+
ht(i) && (Rt = Dt.fromRectangle(i, z, J, e));
|
|
289
|
+
let Jt = new Gt(e).computeHorizonCullingPointPossiblyUnderEllipsoid(l, g, z),
|
|
290
|
+
Kt = new qt(b, M, l),
|
|
291
|
+
It = new Xt(l, Kt, K.hMin, J, V, !1, T, y, et, m),
|
|
292
|
+
_t = new Float32Array(S * It.stride),
|
|
293
|
+
Ct = 0;
|
|
294
|
+
for (let t = 0; t < S; ++t)
|
|
295
|
+
Ct = It.encode(_t, Ct, g[t], R[t], _[t], void 0, C[t], F[t]);
|
|
296
|
+
let at = k
|
|
297
|
+
.map(function (t) {
|
|
298
|
+
return t.index;
|
|
299
|
+
})
|
|
300
|
+
.reverse(),
|
|
301
|
+
Et = st
|
|
302
|
+
.map(function (t) {
|
|
303
|
+
return t.index;
|
|
304
|
+
})
|
|
305
|
+
.reverse(),
|
|
306
|
+
ut = ct
|
|
307
|
+
.map(function (t) {
|
|
308
|
+
return t.index;
|
|
309
|
+
})
|
|
310
|
+
.reverse(),
|
|
311
|
+
xt = W.map(function (t) {
|
|
312
|
+
return t.index;
|
|
313
|
+
}).reverse();
|
|
314
|
+
return (
|
|
315
|
+
Et.unshift(ut[ut.length - 1]),
|
|
316
|
+
Et.push(at[0]),
|
|
317
|
+
xt.unshift(at[at.length - 1]),
|
|
318
|
+
xt.push(ut[0]),
|
|
319
|
+
{
|
|
320
|
+
vertices: _t,
|
|
321
|
+
indices: new Uint16Array(v),
|
|
322
|
+
maximumHeight: J,
|
|
323
|
+
minimumHeight: z,
|
|
324
|
+
encoding: It,
|
|
325
|
+
boundingSphere3D: Qt,
|
|
326
|
+
orientedBoundingBox: Rt,
|
|
327
|
+
occludeePointInScaledSpace: Jt,
|
|
328
|
+
vertexCountWithoutSkirts: Mt,
|
|
329
|
+
indexCountWithoutSkirts: jt,
|
|
330
|
+
westIndicesSouthToNorth: at,
|
|
331
|
+
southIndicesEastToWest: Et,
|
|
332
|
+
eastIndicesNorthToSouth: ut,
|
|
333
|
+
northIndicesWestToEast: xt,
|
|
334
|
+
}
|
|
335
|
+
);
|
|
336
|
+
}
|
|
337
|
+
function gt(n, l, e, i, c, et, m, ot, T, nt, it) {
|
|
338
|
+
let I = ot.length;
|
|
339
|
+
for (let h = 0; h < I; ++h) {
|
|
340
|
+
let E = ot[h],
|
|
341
|
+
f = E.cartographic,
|
|
342
|
+
x = E.index,
|
|
343
|
+
p = n.length,
|
|
344
|
+
X = f.longitude,
|
|
345
|
+
A = f.latitude;
|
|
346
|
+
A = r.clamp(A, -r.PI_OVER_TWO, r.PI_OVER_TWO);
|
|
347
|
+
let V = f.height - m.skirtHeight;
|
|
348
|
+
((m.hMin = Math.min(m.hMin, V)),
|
|
349
|
+
N.fromRadians(X, A, V, u),
|
|
350
|
+
nt && (u.longitude += T),
|
|
351
|
+
nt
|
|
352
|
+
? h === I - 1
|
|
353
|
+
? (u.latitude += it)
|
|
354
|
+
: h === 0 && (u.latitude -= it)
|
|
355
|
+
: (u.latitude += T));
|
|
356
|
+
let j = m.ellipsoid.cartographicToCartesian(u);
|
|
357
|
+
(n.push(j),
|
|
358
|
+
l.push(V),
|
|
359
|
+
e.push(wt.clone(e[x])),
|
|
360
|
+
i.length > 0 && i.push(i[x]),
|
|
361
|
+
c.length > 0 && c.push(c[x]),
|
|
362
|
+
$.multiplyByPoint(m.toENU, j, G));
|
|
363
|
+
let O = m.minimum,
|
|
364
|
+
Q = m.maximum;
|
|
365
|
+
(P.minimumByComponent(G, O, O), P.maximumByComponent(G, Q, Q));
|
|
366
|
+
let ft = m.lastBorderPoint;
|
|
367
|
+
if (ht(ft)) {
|
|
368
|
+
let y = ft.index;
|
|
369
|
+
et.push(y, p - 1, p, p, x, y);
|
|
370
|
+
}
|
|
371
|
+
m.lastBorderPoint = E;
|
|
372
|
+
}
|
|
373
|
+
}
|
|
374
|
+
var Ae = kt(oe);
|
|
375
|
+
export { Ae as default };
|