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,166 @@
|
|
|
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 L, b as x } from "./chunk-TMSETF7M.js";
|
|
27
|
+
import { h as R } from "./chunk-7Z5IIKOJ.js";
|
|
28
|
+
import { b as d, c as O, d as g } from "./chunk-POASMU2N.js";
|
|
29
|
+
import { a as w } from "./chunk-IUA6FAOZ.js";
|
|
30
|
+
import { b as m } from "./chunk-UH2WFNTA.js";
|
|
31
|
+
import { e as f } from "./chunk-PEYJTJPE.js";
|
|
32
|
+
function t(i, h, o, n) {
|
|
33
|
+
((this.x = w(i, 0)),
|
|
34
|
+
(this.y = w(h, 0)),
|
|
35
|
+
(this.width = w(o, 0)),
|
|
36
|
+
(this.height = w(n, 0)));
|
|
37
|
+
}
|
|
38
|
+
t.packedLength = 4;
|
|
39
|
+
t.pack = function (i, h, o) {
|
|
40
|
+
return (
|
|
41
|
+
m.typeOf.object("value", i),
|
|
42
|
+
m.defined("array", h),
|
|
43
|
+
(o = w(o, 0)),
|
|
44
|
+
(h[o++] = i.x),
|
|
45
|
+
(h[o++] = i.y),
|
|
46
|
+
(h[o++] = i.width),
|
|
47
|
+
(h[o] = i.height),
|
|
48
|
+
h
|
|
49
|
+
);
|
|
50
|
+
};
|
|
51
|
+
t.unpack = function (i, h, o) {
|
|
52
|
+
return (
|
|
53
|
+
m.defined("array", i),
|
|
54
|
+
(h = w(h, 0)),
|
|
55
|
+
f(o) || (o = new t()),
|
|
56
|
+
(o.x = i[h++]),
|
|
57
|
+
(o.y = i[h++]),
|
|
58
|
+
(o.width = i[h++]),
|
|
59
|
+
(o.height = i[h]),
|
|
60
|
+
o
|
|
61
|
+
);
|
|
62
|
+
};
|
|
63
|
+
t.fromPoints = function (i, h) {
|
|
64
|
+
if ((f(h) || (h = new t()), !f(i) || i.length === 0))
|
|
65
|
+
return ((h.x = 0), (h.y = 0), (h.width = 0), (h.height = 0), h);
|
|
66
|
+
let o = i.length,
|
|
67
|
+
n = i[0].x,
|
|
68
|
+
c = i[0].y,
|
|
69
|
+
e = i[0].x,
|
|
70
|
+
y = i[0].y;
|
|
71
|
+
for (let p = 1; p < o; p++) {
|
|
72
|
+
let b = i[p],
|
|
73
|
+
j = b.x,
|
|
74
|
+
M = b.y;
|
|
75
|
+
((n = Math.min(j, n)),
|
|
76
|
+
(e = Math.max(j, e)),
|
|
77
|
+
(c = Math.min(M, c)),
|
|
78
|
+
(y = Math.max(M, y)));
|
|
79
|
+
}
|
|
80
|
+
return ((h.x = n), (h.y = c), (h.width = e - n), (h.height = y - c), h);
|
|
81
|
+
};
|
|
82
|
+
var X = new L(),
|
|
83
|
+
Y = new d(),
|
|
84
|
+
k = new d();
|
|
85
|
+
t.fromRectangle = function (i, h, o) {
|
|
86
|
+
if ((f(o) || (o = new t()), !f(i)))
|
|
87
|
+
return ((o.x = 0), (o.y = 0), (o.width = 0), (o.height = 0), o);
|
|
88
|
+
((X._ellipsoid = g.default), (h = w(h, X)));
|
|
89
|
+
let n = h.project(R.southwest(i, Y)),
|
|
90
|
+
c = h.project(R.northeast(i, k));
|
|
91
|
+
return (
|
|
92
|
+
O.subtract(c, n, c),
|
|
93
|
+
(o.x = n.x),
|
|
94
|
+
(o.y = n.y),
|
|
95
|
+
(o.width = c.x),
|
|
96
|
+
(o.height = c.y),
|
|
97
|
+
o
|
|
98
|
+
);
|
|
99
|
+
};
|
|
100
|
+
t.clone = function (i, h) {
|
|
101
|
+
if (f(i))
|
|
102
|
+
return f(h)
|
|
103
|
+
? ((h.x = i.x),
|
|
104
|
+
(h.y = i.y),
|
|
105
|
+
(h.width = i.width),
|
|
106
|
+
(h.height = i.height),
|
|
107
|
+
h)
|
|
108
|
+
: new t(i.x, i.y, i.width, i.height);
|
|
109
|
+
};
|
|
110
|
+
t.union = function (i, h, o) {
|
|
111
|
+
(m.typeOf.object("left", i),
|
|
112
|
+
m.typeOf.object("right", h),
|
|
113
|
+
f(o) || (o = new t()));
|
|
114
|
+
let n = Math.min(i.x, h.x),
|
|
115
|
+
c = Math.min(i.y, h.y),
|
|
116
|
+
e = Math.max(i.x + i.width, h.x + h.width),
|
|
117
|
+
y = Math.max(i.y + i.height, h.y + h.height);
|
|
118
|
+
return ((o.x = n), (o.y = c), (o.width = e - n), (o.height = y - c), o);
|
|
119
|
+
};
|
|
120
|
+
t.expand = function (i, h, o) {
|
|
121
|
+
(m.typeOf.object("rectangle", i),
|
|
122
|
+
m.typeOf.object("point", h),
|
|
123
|
+
(o = t.clone(i, o)));
|
|
124
|
+
let n = h.x - o.x,
|
|
125
|
+
c = h.y - o.y;
|
|
126
|
+
return (
|
|
127
|
+
n > o.width ? (o.width = n) : n < 0 && ((o.width -= n), (o.x = h.x)),
|
|
128
|
+
c > o.height ? (o.height = c) : c < 0 && ((o.height -= c), (o.y = h.y)),
|
|
129
|
+
o
|
|
130
|
+
);
|
|
131
|
+
};
|
|
132
|
+
t.intersect = function (i, h) {
|
|
133
|
+
(m.typeOf.object("left", i), m.typeOf.object("right", h));
|
|
134
|
+
let o = i.x,
|
|
135
|
+
n = i.y,
|
|
136
|
+
c = h.x,
|
|
137
|
+
e = h.y;
|
|
138
|
+
return o > c + h.width ||
|
|
139
|
+
o + i.width < c ||
|
|
140
|
+
n + i.height < e ||
|
|
141
|
+
n > e + h.height
|
|
142
|
+
? x.OUTSIDE
|
|
143
|
+
: x.INTERSECTING;
|
|
144
|
+
};
|
|
145
|
+
t.equals = function (i, h) {
|
|
146
|
+
return (
|
|
147
|
+
i === h ||
|
|
148
|
+
(f(i) &&
|
|
149
|
+
f(h) &&
|
|
150
|
+
i.x === h.x &&
|
|
151
|
+
i.y === h.y &&
|
|
152
|
+
i.width === h.width &&
|
|
153
|
+
i.height === h.height)
|
|
154
|
+
);
|
|
155
|
+
};
|
|
156
|
+
t.prototype.clone = function (i) {
|
|
157
|
+
return t.clone(this, i);
|
|
158
|
+
};
|
|
159
|
+
t.prototype.intersect = function (i) {
|
|
160
|
+
return t.intersect(this, i);
|
|
161
|
+
};
|
|
162
|
+
t.prototype.equals = function (i) {
|
|
163
|
+
return t.equals(this, i);
|
|
164
|
+
};
|
|
165
|
+
var a = t;
|
|
166
|
+
export { a };
|
|
@@ -0,0 +1,264 @@
|
|
|
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 S } from "./chunk-BMHPVZ4H.js";
|
|
27
|
+
import { a as j } from "./chunk-ILGBPNP6.js";
|
|
28
|
+
import { a as D } from "./chunk-P37AI2DW.js";
|
|
29
|
+
import { a as V } from "./chunk-T6BE4RZK.js";
|
|
30
|
+
import { b as T, c as B, d as L } from "./chunk-X5IHHI6X.js";
|
|
31
|
+
import { d as O } from "./chunk-TMSETF7M.js";
|
|
32
|
+
import { a as x } from "./chunk-KZNJOCYU.js";
|
|
33
|
+
import { a as c, d as l } from "./chunk-POASMU2N.js";
|
|
34
|
+
import { a as E } from "./chunk-R6KGAEF6.js";
|
|
35
|
+
import { a as m } from "./chunk-IUA6FAOZ.js";
|
|
36
|
+
import { a as _ } from "./chunk-UH2WFNTA.js";
|
|
37
|
+
import { e as d } from "./chunk-PEYJTJPE.js";
|
|
38
|
+
var q = new c(),
|
|
39
|
+
M = new c();
|
|
40
|
+
function U(e) {
|
|
41
|
+
let t = e.center;
|
|
42
|
+
((M = c.multiplyByScalar(
|
|
43
|
+
e.ellipsoid.geodeticSurfaceNormal(t, M),
|
|
44
|
+
e.height,
|
|
45
|
+
M,
|
|
46
|
+
)),
|
|
47
|
+
(M = c.add(t, M, M)));
|
|
48
|
+
let i = new O(M, e.semiMajorAxis),
|
|
49
|
+
f = S.computeEllipsePositions(e, !1, !0).outerPositions,
|
|
50
|
+
o = new V({
|
|
51
|
+
position: new L({
|
|
52
|
+
componentDatatype: x.DOUBLE,
|
|
53
|
+
componentsPerAttribute: 3,
|
|
54
|
+
values: S.raisePositionsToHeight(f, e, !1),
|
|
55
|
+
}),
|
|
56
|
+
}),
|
|
57
|
+
r = f.length / 3,
|
|
58
|
+
u = D.createTypedArray(r, r * 2),
|
|
59
|
+
h = 0;
|
|
60
|
+
for (let n = 0; n < r; ++n) ((u[h++] = n), (u[h++] = (n + 1) % r));
|
|
61
|
+
return { boundingSphere: i, attributes: o, indices: u };
|
|
62
|
+
}
|
|
63
|
+
var N = new O(),
|
|
64
|
+
P = new O();
|
|
65
|
+
function R(e) {
|
|
66
|
+
let t = e.center,
|
|
67
|
+
i = e.ellipsoid,
|
|
68
|
+
f = e.semiMajorAxis,
|
|
69
|
+
o = c.multiplyByScalar(i.geodeticSurfaceNormal(t, q), e.height, q);
|
|
70
|
+
((N.center = c.add(t, o, N.center)),
|
|
71
|
+
(N.radius = f),
|
|
72
|
+
(o = c.multiplyByScalar(
|
|
73
|
+
i.geodeticSurfaceNormal(t, o),
|
|
74
|
+
e.extrudedHeight,
|
|
75
|
+
o,
|
|
76
|
+
)),
|
|
77
|
+
(P.center = c.add(t, o, P.center)),
|
|
78
|
+
(P.radius = f));
|
|
79
|
+
let r = S.computeEllipsePositions(e, !1, !0).outerPositions,
|
|
80
|
+
u = new V({
|
|
81
|
+
position: new L({
|
|
82
|
+
componentDatatype: x.DOUBLE,
|
|
83
|
+
componentsPerAttribute: 3,
|
|
84
|
+
values: S.raisePositionsToHeight(r, e, !0),
|
|
85
|
+
}),
|
|
86
|
+
});
|
|
87
|
+
r = u.position.values;
|
|
88
|
+
let h = O.union(N, P),
|
|
89
|
+
n = r.length / 3;
|
|
90
|
+
if (d(e.offsetAttribute)) {
|
|
91
|
+
let g = new Uint8Array(n);
|
|
92
|
+
if (e.offsetAttribute === j.TOP) g = g.fill(1, 0, n / 2);
|
|
93
|
+
else {
|
|
94
|
+
let H = e.offsetAttribute === j.NONE ? 0 : 1;
|
|
95
|
+
g = g.fill(H);
|
|
96
|
+
}
|
|
97
|
+
u.applyOffset = new L({
|
|
98
|
+
componentDatatype: x.UNSIGNED_BYTE,
|
|
99
|
+
componentsPerAttribute: 1,
|
|
100
|
+
values: g,
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
let p = m(e.numberOfVerticalLines, 16);
|
|
104
|
+
p = E.clamp(p, 0, n / 2);
|
|
105
|
+
let a = D.createTypedArray(n, n * 2 + p * 2);
|
|
106
|
+
n /= 2;
|
|
107
|
+
let A = 0,
|
|
108
|
+
s;
|
|
109
|
+
for (s = 0; s < n; ++s)
|
|
110
|
+
((a[A++] = s),
|
|
111
|
+
(a[A++] = (s + 1) % n),
|
|
112
|
+
(a[A++] = s + n),
|
|
113
|
+
(a[A++] = ((s + 1) % n) + n));
|
|
114
|
+
let k;
|
|
115
|
+
if (p > 0) {
|
|
116
|
+
let g = Math.min(p, n);
|
|
117
|
+
k = Math.round(n / g);
|
|
118
|
+
let H = Math.min(k * p, n);
|
|
119
|
+
for (s = 0; s < H; s += k) ((a[A++] = s), (a[A++] = s + n));
|
|
120
|
+
}
|
|
121
|
+
return { boundingSphere: h, attributes: u, indices: a };
|
|
122
|
+
}
|
|
123
|
+
function w(e) {
|
|
124
|
+
e = m(e, m.EMPTY_OBJECT);
|
|
125
|
+
let t = e.center,
|
|
126
|
+
i = m(e.ellipsoid, l.default),
|
|
127
|
+
f = e.semiMajorAxis,
|
|
128
|
+
o = e.semiMinorAxis,
|
|
129
|
+
r = m(e.granularity, E.RADIANS_PER_DEGREE);
|
|
130
|
+
if (!d(t)) throw new _("center is required.");
|
|
131
|
+
if (!d(f)) throw new _("semiMajorAxis is required.");
|
|
132
|
+
if (!d(o)) throw new _("semiMinorAxis is required.");
|
|
133
|
+
if (f < o)
|
|
134
|
+
throw new _(
|
|
135
|
+
"semiMajorAxis must be greater than or equal to the semiMinorAxis.",
|
|
136
|
+
);
|
|
137
|
+
if (r <= 0) throw new _("granularity must be greater than zero.");
|
|
138
|
+
let u = m(e.height, 0),
|
|
139
|
+
h = m(e.extrudedHeight, u);
|
|
140
|
+
((this._center = c.clone(t)),
|
|
141
|
+
(this._semiMajorAxis = f),
|
|
142
|
+
(this._semiMinorAxis = o),
|
|
143
|
+
(this._ellipsoid = l.clone(i)),
|
|
144
|
+
(this._rotation = m(e.rotation, 0)),
|
|
145
|
+
(this._height = Math.max(h, u)),
|
|
146
|
+
(this._granularity = r),
|
|
147
|
+
(this._extrudedHeight = Math.min(h, u)),
|
|
148
|
+
(this._numberOfVerticalLines = Math.max(m(e.numberOfVerticalLines, 16), 0)),
|
|
149
|
+
(this._offsetAttribute = e.offsetAttribute),
|
|
150
|
+
(this._workerName = "createEllipseOutlineGeometry"));
|
|
151
|
+
}
|
|
152
|
+
w.packedLength = c.packedLength + l.packedLength + 8;
|
|
153
|
+
w.pack = function (e, t, i) {
|
|
154
|
+
if (!d(e)) throw new _("value is required");
|
|
155
|
+
if (!d(t)) throw new _("array is required");
|
|
156
|
+
return (
|
|
157
|
+
(i = m(i, 0)),
|
|
158
|
+
c.pack(e._center, t, i),
|
|
159
|
+
(i += c.packedLength),
|
|
160
|
+
l.pack(e._ellipsoid, t, i),
|
|
161
|
+
(i += l.packedLength),
|
|
162
|
+
(t[i++] = e._semiMajorAxis),
|
|
163
|
+
(t[i++] = e._semiMinorAxis),
|
|
164
|
+
(t[i++] = e._rotation),
|
|
165
|
+
(t[i++] = e._height),
|
|
166
|
+
(t[i++] = e._granularity),
|
|
167
|
+
(t[i++] = e._extrudedHeight),
|
|
168
|
+
(t[i++] = e._numberOfVerticalLines),
|
|
169
|
+
(t[i] = m(e._offsetAttribute, -1)),
|
|
170
|
+
t
|
|
171
|
+
);
|
|
172
|
+
};
|
|
173
|
+
var y = new c(),
|
|
174
|
+
C = new l(),
|
|
175
|
+
b = {
|
|
176
|
+
center: y,
|
|
177
|
+
ellipsoid: C,
|
|
178
|
+
semiMajorAxis: void 0,
|
|
179
|
+
semiMinorAxis: void 0,
|
|
180
|
+
rotation: void 0,
|
|
181
|
+
height: void 0,
|
|
182
|
+
granularity: void 0,
|
|
183
|
+
extrudedHeight: void 0,
|
|
184
|
+
numberOfVerticalLines: void 0,
|
|
185
|
+
offsetAttribute: void 0,
|
|
186
|
+
};
|
|
187
|
+
w.unpack = function (e, t, i) {
|
|
188
|
+
if (!d(e)) throw new _("array is required");
|
|
189
|
+
t = m(t, 0);
|
|
190
|
+
let f = c.unpack(e, t, y);
|
|
191
|
+
t += c.packedLength;
|
|
192
|
+
let o = l.unpack(e, t, C);
|
|
193
|
+
t += l.packedLength;
|
|
194
|
+
let r = e[t++],
|
|
195
|
+
u = e[t++],
|
|
196
|
+
h = e[t++],
|
|
197
|
+
n = e[t++],
|
|
198
|
+
p = e[t++],
|
|
199
|
+
a = e[t++],
|
|
200
|
+
A = e[t++],
|
|
201
|
+
s = e[t];
|
|
202
|
+
return d(i)
|
|
203
|
+
? ((i._center = c.clone(f, i._center)),
|
|
204
|
+
(i._ellipsoid = l.clone(o, i._ellipsoid)),
|
|
205
|
+
(i._semiMajorAxis = r),
|
|
206
|
+
(i._semiMinorAxis = u),
|
|
207
|
+
(i._rotation = h),
|
|
208
|
+
(i._height = n),
|
|
209
|
+
(i._granularity = p),
|
|
210
|
+
(i._extrudedHeight = a),
|
|
211
|
+
(i._numberOfVerticalLines = A),
|
|
212
|
+
(i._offsetAttribute = s === -1 ? void 0 : s),
|
|
213
|
+
i)
|
|
214
|
+
: ((b.height = n),
|
|
215
|
+
(b.extrudedHeight = a),
|
|
216
|
+
(b.granularity = p),
|
|
217
|
+
(b.rotation = h),
|
|
218
|
+
(b.semiMajorAxis = r),
|
|
219
|
+
(b.semiMinorAxis = u),
|
|
220
|
+
(b.numberOfVerticalLines = A),
|
|
221
|
+
(b.offsetAttribute = s === -1 ? void 0 : s),
|
|
222
|
+
new w(b));
|
|
223
|
+
};
|
|
224
|
+
w.createGeometry = function (e) {
|
|
225
|
+
if (e._semiMajorAxis <= 0 || e._semiMinorAxis <= 0) return;
|
|
226
|
+
let t = e._height,
|
|
227
|
+
i = e._extrudedHeight,
|
|
228
|
+
f = !E.equalsEpsilon(t, i, 0, E.EPSILON2);
|
|
229
|
+
e._center = e._ellipsoid.scaleToGeodeticSurface(e._center, e._center);
|
|
230
|
+
let o = {
|
|
231
|
+
center: e._center,
|
|
232
|
+
semiMajorAxis: e._semiMajorAxis,
|
|
233
|
+
semiMinorAxis: e._semiMinorAxis,
|
|
234
|
+
ellipsoid: e._ellipsoid,
|
|
235
|
+
rotation: e._rotation,
|
|
236
|
+
height: t,
|
|
237
|
+
granularity: e._granularity,
|
|
238
|
+
numberOfVerticalLines: e._numberOfVerticalLines,
|
|
239
|
+
},
|
|
240
|
+
r;
|
|
241
|
+
if (f)
|
|
242
|
+
((o.extrudedHeight = i),
|
|
243
|
+
(o.offsetAttribute = e._offsetAttribute),
|
|
244
|
+
(r = R(o)));
|
|
245
|
+
else if (((r = U(o)), d(e._offsetAttribute))) {
|
|
246
|
+
let u = r.attributes.position.values.length,
|
|
247
|
+
h = e._offsetAttribute === j.NONE ? 0 : 1,
|
|
248
|
+
n = new Uint8Array(u / 3).fill(h);
|
|
249
|
+
r.attributes.applyOffset = new L({
|
|
250
|
+
componentDatatype: x.UNSIGNED_BYTE,
|
|
251
|
+
componentsPerAttribute: 1,
|
|
252
|
+
values: n,
|
|
253
|
+
});
|
|
254
|
+
}
|
|
255
|
+
return new B({
|
|
256
|
+
attributes: r.attributes,
|
|
257
|
+
indices: r.indices,
|
|
258
|
+
primitiveType: T.LINES,
|
|
259
|
+
boundingSphere: r.boundingSphere,
|
|
260
|
+
offsetAttribute: e._offsetAttribute,
|
|
261
|
+
});
|
|
262
|
+
};
|
|
263
|
+
var ie = w;
|
|
264
|
+
export { ie as a };
|
|
@@ -0,0 +1,128 @@
|
|
|
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 { b as d } from "./chunk-TMSETF7M.js";
|
|
27
|
+
import { a as i } from "./chunk-POASMU2N.js";
|
|
28
|
+
import { a as z } from "./chunk-IUA6FAOZ.js";
|
|
29
|
+
import { b as r } from "./chunk-UH2WFNTA.js";
|
|
30
|
+
import { e as c } from "./chunk-PEYJTJPE.js";
|
|
31
|
+
function t(m, n, e) {
|
|
32
|
+
((this.minimum = i.clone(z(m, i.ZERO))),
|
|
33
|
+
(this.maximum = i.clone(z(n, i.ZERO))),
|
|
34
|
+
c(e)
|
|
35
|
+
? (e = i.clone(e))
|
|
36
|
+
: (e = i.midpoint(this.minimum, this.maximum, new i())),
|
|
37
|
+
(this.center = e));
|
|
38
|
+
}
|
|
39
|
+
t.fromCorners = function (m, n, e) {
|
|
40
|
+
return (
|
|
41
|
+
r.defined("minimum", m),
|
|
42
|
+
r.defined("maximum", n),
|
|
43
|
+
c(e) || (e = new t()),
|
|
44
|
+
(e.minimum = i.clone(m, e.minimum)),
|
|
45
|
+
(e.maximum = i.clone(n, e.maximum)),
|
|
46
|
+
(e.center = i.midpoint(m, n, e.center)),
|
|
47
|
+
e
|
|
48
|
+
);
|
|
49
|
+
};
|
|
50
|
+
t.fromPoints = function (m, n) {
|
|
51
|
+
if ((c(n) || (n = new t()), !c(m) || m.length === 0))
|
|
52
|
+
return (
|
|
53
|
+
(n.minimum = i.clone(i.ZERO, n.minimum)),
|
|
54
|
+
(n.maximum = i.clone(i.ZERO, n.maximum)),
|
|
55
|
+
(n.center = i.clone(i.ZERO, n.center)),
|
|
56
|
+
n
|
|
57
|
+
);
|
|
58
|
+
let e = m[0].x,
|
|
59
|
+
a = m[0].y,
|
|
60
|
+
u = m[0].z,
|
|
61
|
+
o = m[0].x,
|
|
62
|
+
y = m[0].y,
|
|
63
|
+
l = m[0].z,
|
|
64
|
+
I = m.length;
|
|
65
|
+
for (let E = 1; E < I; E++) {
|
|
66
|
+
let M = m[E],
|
|
67
|
+
p = M.x,
|
|
68
|
+
Z = M.y,
|
|
69
|
+
q = M.z;
|
|
70
|
+
((e = Math.min(p, e)),
|
|
71
|
+
(o = Math.max(p, o)),
|
|
72
|
+
(a = Math.min(Z, a)),
|
|
73
|
+
(y = Math.max(Z, y)),
|
|
74
|
+
(u = Math.min(q, u)),
|
|
75
|
+
(l = Math.max(q, l)));
|
|
76
|
+
}
|
|
77
|
+
let f = n.minimum;
|
|
78
|
+
((f.x = e), (f.y = a), (f.z = u));
|
|
79
|
+
let x = n.maximum;
|
|
80
|
+
return (
|
|
81
|
+
(x.x = o),
|
|
82
|
+
(x.y = y),
|
|
83
|
+
(x.z = l),
|
|
84
|
+
(n.center = i.midpoint(f, x, n.center)),
|
|
85
|
+
n
|
|
86
|
+
);
|
|
87
|
+
};
|
|
88
|
+
t.clone = function (m, n) {
|
|
89
|
+
if (c(m))
|
|
90
|
+
return c(n)
|
|
91
|
+
? ((n.minimum = i.clone(m.minimum, n.minimum)),
|
|
92
|
+
(n.maximum = i.clone(m.maximum, n.maximum)),
|
|
93
|
+
(n.center = i.clone(m.center, n.center)),
|
|
94
|
+
n)
|
|
95
|
+
: new t(m.minimum, m.maximum, m.center);
|
|
96
|
+
};
|
|
97
|
+
t.equals = function (m, n) {
|
|
98
|
+
return (
|
|
99
|
+
m === n ||
|
|
100
|
+
(c(m) &&
|
|
101
|
+
c(n) &&
|
|
102
|
+
i.equals(m.center, n.center) &&
|
|
103
|
+
i.equals(m.minimum, n.minimum) &&
|
|
104
|
+
i.equals(m.maximum, n.maximum))
|
|
105
|
+
);
|
|
106
|
+
};
|
|
107
|
+
var h = new i();
|
|
108
|
+
t.intersectPlane = function (m, n) {
|
|
109
|
+
(r.defined("box", m),
|
|
110
|
+
r.defined("plane", n),
|
|
111
|
+
(h = i.subtract(m.maximum, m.minimum, h)));
|
|
112
|
+
let e = i.multiplyByScalar(h, 0.5, h),
|
|
113
|
+
a = n.normal,
|
|
114
|
+
u = e.x * Math.abs(a.x) + e.y * Math.abs(a.y) + e.z * Math.abs(a.z),
|
|
115
|
+
o = i.dot(m.center, a) + n.distance;
|
|
116
|
+
return o - u > 0 ? d.INSIDE : o + u < 0 ? d.OUTSIDE : d.INTERSECTING;
|
|
117
|
+
};
|
|
118
|
+
t.prototype.clone = function (m) {
|
|
119
|
+
return t.clone(this, m);
|
|
120
|
+
};
|
|
121
|
+
t.prototype.intersectPlane = function (m) {
|
|
122
|
+
return t.intersectPlane(this, m);
|
|
123
|
+
};
|
|
124
|
+
t.prototype.equals = function (m) {
|
|
125
|
+
return t.equals(this, m);
|
|
126
|
+
};
|
|
127
|
+
var P = t;
|
|
128
|
+
export { P as a };
|