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,376 @@
|
|
|
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 wt } from "./chunk-ILGBPNP6.js";
|
|
27
|
+
import { a as k } from "./chunk-HEEMUCG6.js";
|
|
28
|
+
import { a as kt } from "./chunk-P37AI2DW.js";
|
|
29
|
+
import { a as Ct } from "./chunk-T6BE4RZK.js";
|
|
30
|
+
import { b as dt, c as _t, d as R } from "./chunk-X5IHHI6X.js";
|
|
31
|
+
import { d as ht } from "./chunk-TMSETF7M.js";
|
|
32
|
+
import { a as N } from "./chunk-KZNJOCYU.js";
|
|
33
|
+
import { a as s, c as pt, d as ot } from "./chunk-POASMU2N.js";
|
|
34
|
+
import { a as M } from "./chunk-R6KGAEF6.js";
|
|
35
|
+
import { a as p } from "./chunk-IUA6FAOZ.js";
|
|
36
|
+
import { a as z } from "./chunk-UH2WFNTA.js";
|
|
37
|
+
import { e as E } from "./chunk-PEYJTJPE.js";
|
|
38
|
+
var yt = new s(),
|
|
39
|
+
vt = new s(),
|
|
40
|
+
Et = new s(),
|
|
41
|
+
Mt = new s(),
|
|
42
|
+
Nt = new s(),
|
|
43
|
+
Rt = new s(1, 1, 1),
|
|
44
|
+
Pt = Math.cos,
|
|
45
|
+
At = Math.sin;
|
|
46
|
+
function O(n) {
|
|
47
|
+
n = p(n, p.EMPTY_OBJECT);
|
|
48
|
+
let m = p(n.radii, Rt),
|
|
49
|
+
i = p(n.innerRadii, m),
|
|
50
|
+
P = p(n.minimumClock, 0),
|
|
51
|
+
T = p(n.maximumClock, M.TWO_PI),
|
|
52
|
+
A = p(n.minimumCone, 0),
|
|
53
|
+
b = p(n.maximumCone, M.PI),
|
|
54
|
+
a = Math.round(p(n.stackPartitions, 64)),
|
|
55
|
+
u = Math.round(p(n.slicePartitions, 64)),
|
|
56
|
+
h = p(n.vertexFormat, k.DEFAULT);
|
|
57
|
+
if (u < 3) throw new z("options.slicePartitions cannot be less than three.");
|
|
58
|
+
if (a < 3) throw new z("options.stackPartitions cannot be less than three.");
|
|
59
|
+
((this._radii = s.clone(m)),
|
|
60
|
+
(this._innerRadii = s.clone(i)),
|
|
61
|
+
(this._minimumClock = P),
|
|
62
|
+
(this._maximumClock = T),
|
|
63
|
+
(this._minimumCone = A),
|
|
64
|
+
(this._maximumCone = b),
|
|
65
|
+
(this._stackPartitions = a),
|
|
66
|
+
(this._slicePartitions = u),
|
|
67
|
+
(this._vertexFormat = k.clone(h)),
|
|
68
|
+
(this._offsetAttribute = n.offsetAttribute),
|
|
69
|
+
(this._workerName = "createEllipsoidGeometry"));
|
|
70
|
+
}
|
|
71
|
+
O.packedLength = 2 * s.packedLength + k.packedLength + 7;
|
|
72
|
+
O.pack = function (n, m, i) {
|
|
73
|
+
if (!E(n)) throw new z("value is required");
|
|
74
|
+
if (!E(m)) throw new z("array is required");
|
|
75
|
+
return (
|
|
76
|
+
(i = p(i, 0)),
|
|
77
|
+
s.pack(n._radii, m, i),
|
|
78
|
+
(i += s.packedLength),
|
|
79
|
+
s.pack(n._innerRadii, m, i),
|
|
80
|
+
(i += s.packedLength),
|
|
81
|
+
k.pack(n._vertexFormat, m, i),
|
|
82
|
+
(i += k.packedLength),
|
|
83
|
+
(m[i++] = n._minimumClock),
|
|
84
|
+
(m[i++] = n._maximumClock),
|
|
85
|
+
(m[i++] = n._minimumCone),
|
|
86
|
+
(m[i++] = n._maximumCone),
|
|
87
|
+
(m[i++] = n._stackPartitions),
|
|
88
|
+
(m[i++] = n._slicePartitions),
|
|
89
|
+
(m[i] = p(n._offsetAttribute, -1)),
|
|
90
|
+
m
|
|
91
|
+
);
|
|
92
|
+
};
|
|
93
|
+
var bt = new s(),
|
|
94
|
+
xt = new s(),
|
|
95
|
+
Ot = new k(),
|
|
96
|
+
y = {
|
|
97
|
+
radii: bt,
|
|
98
|
+
innerRadii: xt,
|
|
99
|
+
vertexFormat: Ot,
|
|
100
|
+
minimumClock: void 0,
|
|
101
|
+
maximumClock: void 0,
|
|
102
|
+
minimumCone: void 0,
|
|
103
|
+
maximumCone: void 0,
|
|
104
|
+
stackPartitions: void 0,
|
|
105
|
+
slicePartitions: void 0,
|
|
106
|
+
offsetAttribute: void 0,
|
|
107
|
+
};
|
|
108
|
+
O.unpack = function (n, m, i) {
|
|
109
|
+
if (!E(n)) throw new z("array is required");
|
|
110
|
+
m = p(m, 0);
|
|
111
|
+
let P = s.unpack(n, m, bt);
|
|
112
|
+
m += s.packedLength;
|
|
113
|
+
let T = s.unpack(n, m, xt);
|
|
114
|
+
m += s.packedLength;
|
|
115
|
+
let A = k.unpack(n, m, Ot);
|
|
116
|
+
m += k.packedLength;
|
|
117
|
+
let b = n[m++],
|
|
118
|
+
a = n[m++],
|
|
119
|
+
u = n[m++],
|
|
120
|
+
h = n[m++],
|
|
121
|
+
t = n[m++],
|
|
122
|
+
o = n[m++],
|
|
123
|
+
e = n[m];
|
|
124
|
+
return E(i)
|
|
125
|
+
? ((i._radii = s.clone(P, i._radii)),
|
|
126
|
+
(i._innerRadii = s.clone(T, i._innerRadii)),
|
|
127
|
+
(i._vertexFormat = k.clone(A, i._vertexFormat)),
|
|
128
|
+
(i._minimumClock = b),
|
|
129
|
+
(i._maximumClock = a),
|
|
130
|
+
(i._minimumCone = u),
|
|
131
|
+
(i._maximumCone = h),
|
|
132
|
+
(i._stackPartitions = t),
|
|
133
|
+
(i._slicePartitions = o),
|
|
134
|
+
(i._offsetAttribute = e === -1 ? void 0 : e),
|
|
135
|
+
i)
|
|
136
|
+
: ((y.minimumClock = b),
|
|
137
|
+
(y.maximumClock = a),
|
|
138
|
+
(y.minimumCone = u),
|
|
139
|
+
(y.maximumCone = h),
|
|
140
|
+
(y.stackPartitions = t),
|
|
141
|
+
(y.slicePartitions = o),
|
|
142
|
+
(y.offsetAttribute = e === -1 ? void 0 : e),
|
|
143
|
+
new O(y));
|
|
144
|
+
};
|
|
145
|
+
O.createGeometry = function (n) {
|
|
146
|
+
let m = n._radii;
|
|
147
|
+
if (m.x <= 0 || m.y <= 0 || m.z <= 0) return;
|
|
148
|
+
let i = n._innerRadii;
|
|
149
|
+
if (i.x <= 0 || i.y <= 0 || i.z <= 0) return;
|
|
150
|
+
let P = n._minimumClock,
|
|
151
|
+
T = n._maximumClock,
|
|
152
|
+
A = n._minimumCone,
|
|
153
|
+
b = n._maximumCone,
|
|
154
|
+
a = n._vertexFormat,
|
|
155
|
+
u = n._slicePartitions + 1,
|
|
156
|
+
h = n._stackPartitions + 1;
|
|
157
|
+
((u = Math.round((u * Math.abs(T - P)) / M.TWO_PI)),
|
|
158
|
+
(h = Math.round((h * Math.abs(b - A)) / M.PI)),
|
|
159
|
+
u < 2 && (u = 2),
|
|
160
|
+
h < 2 && (h = 2));
|
|
161
|
+
let t,
|
|
162
|
+
o,
|
|
163
|
+
e = 0,
|
|
164
|
+
D = [A],
|
|
165
|
+
S = [P];
|
|
166
|
+
for (t = 0; t < h; t++) D.push(A + (t * (b - A)) / (h - 1));
|
|
167
|
+
for (D.push(b), o = 0; o < u; o++) S.push(P + (o * (T - P)) / (u - 1));
|
|
168
|
+
S.push(T);
|
|
169
|
+
let f = D.length,
|
|
170
|
+
c = S.length,
|
|
171
|
+
U = 0,
|
|
172
|
+
B = 1,
|
|
173
|
+
q = i.x !== m.x || i.y !== m.y || i.z !== m.z,
|
|
174
|
+
J = !1,
|
|
175
|
+
rt = !1,
|
|
176
|
+
ct = !1;
|
|
177
|
+
q &&
|
|
178
|
+
((B = 2),
|
|
179
|
+
A > 0 && ((J = !0), (U += u - 1)),
|
|
180
|
+
b < Math.PI && ((rt = !0), (U += u - 1)),
|
|
181
|
+
(T - P) % M.TWO_PI ? ((ct = !0), (U += (h - 1) * 2 + 1)) : (U += 1));
|
|
182
|
+
let w = c * f * B,
|
|
183
|
+
x = new Float64Array(w * 3),
|
|
184
|
+
X = new Array(w).fill(!1),
|
|
185
|
+
st = new Array(w).fill(!1),
|
|
186
|
+
at = u * h * B,
|
|
187
|
+
Tt = 6 * (at + U + 1 - (u + h) * B),
|
|
188
|
+
r = kt.createTypedArray(at, Tt),
|
|
189
|
+
Y = a.normal ? new Float32Array(w * 3) : void 0,
|
|
190
|
+
j = a.tangent ? new Float32Array(w * 3) : void 0,
|
|
191
|
+
H = a.bitangent ? new Float32Array(w * 3) : void 0,
|
|
192
|
+
Z = a.st ? new Float32Array(w * 2) : void 0,
|
|
193
|
+
V = new Array(f),
|
|
194
|
+
G = new Array(f);
|
|
195
|
+
for (t = 0; t < f; t++) ((V[t] = At(D[t])), (G[t] = Pt(D[t])));
|
|
196
|
+
let K = new Array(c),
|
|
197
|
+
Q = new Array(c);
|
|
198
|
+
for (o = 0; o < c; o++) ((Q[o] = Pt(S[o])), (K[o] = At(S[o])));
|
|
199
|
+
for (t = 0; t < f; t++)
|
|
200
|
+
for (o = 0; o < c; o++)
|
|
201
|
+
((x[e++] = m.x * V[t] * Q[o]),
|
|
202
|
+
(x[e++] = m.y * V[t] * K[o]),
|
|
203
|
+
(x[e++] = m.z * G[t]));
|
|
204
|
+
let $ = w / 2;
|
|
205
|
+
if (q)
|
|
206
|
+
for (t = 0; t < f; t++)
|
|
207
|
+
for (o = 0; o < c; o++)
|
|
208
|
+
((x[e++] = i.x * V[t] * Q[o]),
|
|
209
|
+
(x[e++] = i.y * V[t] * K[o]),
|
|
210
|
+
(x[e++] = i.z * G[t]),
|
|
211
|
+
(X[$] = !0),
|
|
212
|
+
t > 0 && t !== f - 1 && o !== 0 && o !== c - 1 && (st[$] = !0),
|
|
213
|
+
$++);
|
|
214
|
+
e = 0;
|
|
215
|
+
let F, L;
|
|
216
|
+
for (t = 1; t < f - 2; t++)
|
|
217
|
+
for (F = t * c, L = (t + 1) * c, o = 1; o < c - 2; o++)
|
|
218
|
+
((r[e++] = L + o),
|
|
219
|
+
(r[e++] = L + o + 1),
|
|
220
|
+
(r[e++] = F + o + 1),
|
|
221
|
+
(r[e++] = L + o),
|
|
222
|
+
(r[e++] = F + o + 1),
|
|
223
|
+
(r[e++] = F + o));
|
|
224
|
+
if (q) {
|
|
225
|
+
let g = f * c;
|
|
226
|
+
for (t = 1; t < f - 2; t++)
|
|
227
|
+
for (F = g + t * c, L = g + (t + 1) * c, o = 1; o < c - 2; o++)
|
|
228
|
+
((r[e++] = L + o),
|
|
229
|
+
(r[e++] = F + o),
|
|
230
|
+
(r[e++] = F + o + 1),
|
|
231
|
+
(r[e++] = L + o),
|
|
232
|
+
(r[e++] = F + o + 1),
|
|
233
|
+
(r[e++] = L + o + 1));
|
|
234
|
+
}
|
|
235
|
+
let d, l;
|
|
236
|
+
if (q) {
|
|
237
|
+
if (J)
|
|
238
|
+
for (l = f * c, t = 1; t < c - 2; t++)
|
|
239
|
+
((r[e++] = t),
|
|
240
|
+
(r[e++] = t + 1),
|
|
241
|
+
(r[e++] = l + t + 1),
|
|
242
|
+
(r[e++] = t),
|
|
243
|
+
(r[e++] = l + t + 1),
|
|
244
|
+
(r[e++] = l + t));
|
|
245
|
+
if (rt)
|
|
246
|
+
for (d = f * c - c, l = f * c * B - c, t = 1; t < c - 2; t++)
|
|
247
|
+
((r[e++] = d + t + 1),
|
|
248
|
+
(r[e++] = d + t),
|
|
249
|
+
(r[e++] = l + t),
|
|
250
|
+
(r[e++] = d + t + 1),
|
|
251
|
+
(r[e++] = l + t),
|
|
252
|
+
(r[e++] = l + t + 1));
|
|
253
|
+
}
|
|
254
|
+
if (ct) {
|
|
255
|
+
for (t = 1; t < f - 2; t++)
|
|
256
|
+
((l = c * f + c * t),
|
|
257
|
+
(d = c * t),
|
|
258
|
+
(r[e++] = l),
|
|
259
|
+
(r[e++] = d + c),
|
|
260
|
+
(r[e++] = d),
|
|
261
|
+
(r[e++] = l),
|
|
262
|
+
(r[e++] = l + c),
|
|
263
|
+
(r[e++] = d + c));
|
|
264
|
+
for (t = 1; t < f - 2; t++)
|
|
265
|
+
((l = c * f + c * (t + 1) - 1),
|
|
266
|
+
(d = c * (t + 1) - 1),
|
|
267
|
+
(r[e++] = d + c),
|
|
268
|
+
(r[e++] = l),
|
|
269
|
+
(r[e++] = d),
|
|
270
|
+
(r[e++] = d + c),
|
|
271
|
+
(r[e++] = l + c),
|
|
272
|
+
(r[e++] = l));
|
|
273
|
+
}
|
|
274
|
+
let v = new Ct();
|
|
275
|
+
a.position &&
|
|
276
|
+
(v.position = new R({
|
|
277
|
+
componentDatatype: N.DOUBLE,
|
|
278
|
+
componentsPerAttribute: 3,
|
|
279
|
+
values: x,
|
|
280
|
+
}));
|
|
281
|
+
let ft = 0,
|
|
282
|
+
I = 0,
|
|
283
|
+
tt = 0,
|
|
284
|
+
nt = 0,
|
|
285
|
+
Ft = w / 2,
|
|
286
|
+
ut,
|
|
287
|
+
lt = ot.fromCartesian3(m),
|
|
288
|
+
Lt = ot.fromCartesian3(i);
|
|
289
|
+
if (a.st || a.normal || a.tangent || a.bitangent) {
|
|
290
|
+
for (t = 0; t < w; t++) {
|
|
291
|
+
ut = X[t] ? Lt : lt;
|
|
292
|
+
let g = s.fromArray(x, t * 3, yt),
|
|
293
|
+
C = ut.geodeticSurfaceNormal(g, vt);
|
|
294
|
+
if ((st[t] && s.negate(C, C), a.st)) {
|
|
295
|
+
let _ = pt.negate(C, Nt);
|
|
296
|
+
((Z[ft++] = Math.atan2(_.y, _.x) / M.TWO_PI + 0.5),
|
|
297
|
+
(Z[ft++] = Math.asin(C.z) / Math.PI + 0.5));
|
|
298
|
+
}
|
|
299
|
+
if (
|
|
300
|
+
(a.normal && ((Y[I++] = C.x), (Y[I++] = C.y), (Y[I++] = C.z)),
|
|
301
|
+
a.tangent || a.bitangent)
|
|
302
|
+
) {
|
|
303
|
+
let _ = Et,
|
|
304
|
+
et = 0,
|
|
305
|
+
it;
|
|
306
|
+
if (
|
|
307
|
+
(X[t] && (et = Ft),
|
|
308
|
+
!J && t >= et && t < et + c * 2 ? (it = s.UNIT_X) : (it = s.UNIT_Z),
|
|
309
|
+
s.cross(it, C, _),
|
|
310
|
+
s.normalize(_, _),
|
|
311
|
+
a.tangent && ((j[tt++] = _.x), (j[tt++] = _.y), (j[tt++] = _.z)),
|
|
312
|
+
a.bitangent)
|
|
313
|
+
) {
|
|
314
|
+
let W = s.cross(C, _, Mt);
|
|
315
|
+
(s.normalize(W, W),
|
|
316
|
+
(H[nt++] = W.x),
|
|
317
|
+
(H[nt++] = W.y),
|
|
318
|
+
(H[nt++] = W.z));
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
(a.st &&
|
|
323
|
+
(v.st = new R({
|
|
324
|
+
componentDatatype: N.FLOAT,
|
|
325
|
+
componentsPerAttribute: 2,
|
|
326
|
+
values: Z,
|
|
327
|
+
})),
|
|
328
|
+
a.normal &&
|
|
329
|
+
(v.normal = new R({
|
|
330
|
+
componentDatatype: N.FLOAT,
|
|
331
|
+
componentsPerAttribute: 3,
|
|
332
|
+
values: Y,
|
|
333
|
+
})),
|
|
334
|
+
a.tangent &&
|
|
335
|
+
(v.tangent = new R({
|
|
336
|
+
componentDatatype: N.FLOAT,
|
|
337
|
+
componentsPerAttribute: 3,
|
|
338
|
+
values: j,
|
|
339
|
+
})),
|
|
340
|
+
a.bitangent &&
|
|
341
|
+
(v.bitangent = new R({
|
|
342
|
+
componentDatatype: N.FLOAT,
|
|
343
|
+
componentsPerAttribute: 3,
|
|
344
|
+
values: H,
|
|
345
|
+
})));
|
|
346
|
+
}
|
|
347
|
+
if (E(n._offsetAttribute)) {
|
|
348
|
+
let g = x.length,
|
|
349
|
+
C = n._offsetAttribute === wt.NONE ? 0 : 1,
|
|
350
|
+
_ = new Uint8Array(g / 3).fill(C);
|
|
351
|
+
v.applyOffset = new R({
|
|
352
|
+
componentDatatype: N.UNSIGNED_BYTE,
|
|
353
|
+
componentsPerAttribute: 1,
|
|
354
|
+
values: _,
|
|
355
|
+
});
|
|
356
|
+
}
|
|
357
|
+
return new _t({
|
|
358
|
+
attributes: v,
|
|
359
|
+
indices: r,
|
|
360
|
+
primitiveType: dt.TRIANGLES,
|
|
361
|
+
boundingSphere: ht.fromEllipsoid(lt),
|
|
362
|
+
offsetAttribute: n._offsetAttribute,
|
|
363
|
+
});
|
|
364
|
+
};
|
|
365
|
+
var mt;
|
|
366
|
+
O.getUnitEllipsoid = function () {
|
|
367
|
+
return (
|
|
368
|
+
E(mt) ||
|
|
369
|
+
(mt = O.createGeometry(
|
|
370
|
+
new O({ radii: new s(1, 1, 1), vertexFormat: k.POSITION_ONLY }),
|
|
371
|
+
)),
|
|
372
|
+
mt
|
|
373
|
+
);
|
|
374
|
+
};
|
|
375
|
+
var Kt = O;
|
|
376
|
+
export { Kt as a };
|
|
@@ -0,0 +1,111 @@
|
|
|
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 { e as u } from "./chunk-PEYJTJPE.js";
|
|
27
|
+
function f(t) {
|
|
28
|
+
((this.name = "DeveloperError"), (this.message = t));
|
|
29
|
+
let e;
|
|
30
|
+
try {
|
|
31
|
+
throw new Error();
|
|
32
|
+
} catch (o) {
|
|
33
|
+
e = o.stack;
|
|
34
|
+
}
|
|
35
|
+
this.stack = e;
|
|
36
|
+
}
|
|
37
|
+
u(Object.create) &&
|
|
38
|
+
((f.prototype = Object.create(Error.prototype)),
|
|
39
|
+
(f.prototype.constructor = f));
|
|
40
|
+
f.prototype.toString = function () {
|
|
41
|
+
let t = `${this.name}: ${this.message}`;
|
|
42
|
+
return (
|
|
43
|
+
u(this.stack) &&
|
|
44
|
+
(t += `
|
|
45
|
+
${this.stack.toString()}`),
|
|
46
|
+
t
|
|
47
|
+
);
|
|
48
|
+
};
|
|
49
|
+
f.throwInstantiationError = function () {
|
|
50
|
+
throw new f(
|
|
51
|
+
"This function defines an interface and should not be called directly.",
|
|
52
|
+
);
|
|
53
|
+
};
|
|
54
|
+
var r = f;
|
|
55
|
+
var n = {};
|
|
56
|
+
n.typeOf = {};
|
|
57
|
+
function c(t) {
|
|
58
|
+
return `${t} is required, actual value was undefined`;
|
|
59
|
+
}
|
|
60
|
+
function a(t, e, o) {
|
|
61
|
+
return `Expected ${o} to be typeof ${e}, actual typeof was ${t}`;
|
|
62
|
+
}
|
|
63
|
+
n.defined = function (t, e) {
|
|
64
|
+
if (!u(e)) throw new r(c(t));
|
|
65
|
+
};
|
|
66
|
+
n.typeOf.func = function (t, e) {
|
|
67
|
+
if (typeof e != "function") throw new r(a(typeof e, "function", t));
|
|
68
|
+
};
|
|
69
|
+
n.typeOf.string = function (t, e) {
|
|
70
|
+
if (typeof e != "string") throw new r(a(typeof e, "string", t));
|
|
71
|
+
};
|
|
72
|
+
n.typeOf.number = function (t, e) {
|
|
73
|
+
if (typeof e != "number") throw new r(a(typeof e, "number", t));
|
|
74
|
+
};
|
|
75
|
+
n.typeOf.number.lessThan = function (t, e, o) {
|
|
76
|
+
if ((n.typeOf.number(t, e), e >= o))
|
|
77
|
+
throw new r(`Expected ${t} to be less than ${o}, actual value was ${e}`);
|
|
78
|
+
};
|
|
79
|
+
n.typeOf.number.lessThanOrEquals = function (t, e, o) {
|
|
80
|
+
if ((n.typeOf.number(t, e), e > o))
|
|
81
|
+
throw new r(
|
|
82
|
+
`Expected ${t} to be less than or equal to ${o}, actual value was ${e}`,
|
|
83
|
+
);
|
|
84
|
+
};
|
|
85
|
+
n.typeOf.number.greaterThan = function (t, e, o) {
|
|
86
|
+
if ((n.typeOf.number(t, e), e <= o))
|
|
87
|
+
throw new r(`Expected ${t} to be greater than ${o}, actual value was ${e}`);
|
|
88
|
+
};
|
|
89
|
+
n.typeOf.number.greaterThanOrEquals = function (t, e, o) {
|
|
90
|
+
if ((n.typeOf.number(t, e), e < o))
|
|
91
|
+
throw new r(
|
|
92
|
+
`Expected ${t} to be greater than or equal to ${o}, actual value was ${e}`,
|
|
93
|
+
);
|
|
94
|
+
};
|
|
95
|
+
n.typeOf.object = function (t, e) {
|
|
96
|
+
if (typeof e != "object") throw new r(a(typeof e, "object", t));
|
|
97
|
+
};
|
|
98
|
+
n.typeOf.bool = function (t, e) {
|
|
99
|
+
if (typeof e != "boolean") throw new r(a(typeof e, "boolean", t));
|
|
100
|
+
};
|
|
101
|
+
n.typeOf.bigint = function (t, e) {
|
|
102
|
+
if (typeof e != "bigint") throw new r(a(typeof e, "bigint", t));
|
|
103
|
+
};
|
|
104
|
+
n.typeOf.number.equals = function (t, e, o, i) {
|
|
105
|
+
if ((n.typeOf.number(t, o), n.typeOf.number(e, i), o !== i))
|
|
106
|
+
throw new r(
|
|
107
|
+
`${t} must be equal to ${e}, the actual values are ${o} and ${i}`,
|
|
108
|
+
);
|
|
109
|
+
};
|
|
110
|
+
var l = n;
|
|
111
|
+
export { r as a, l as b };
|