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,262 @@
|
|
|
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 M } from "./chunk-3JW36LZF.js";
|
|
27
|
+
import { a as W } from "./chunk-QB3MDM4J.js";
|
|
28
|
+
import "./chunk-ABGXSJNX.js";
|
|
29
|
+
import "./chunk-DQO6B4EQ.js";
|
|
30
|
+
import { a as x, b as I, c as j } from "./chunk-K4ASOM65.js";
|
|
31
|
+
import "./chunk-AMQUWUD4.js";
|
|
32
|
+
import "./chunk-W23CU777.js";
|
|
33
|
+
import { a as g } from "./chunk-HEEMUCG6.js";
|
|
34
|
+
import "./chunk-KF5NF354.js";
|
|
35
|
+
import "./chunk-4WRMLZA7.js";
|
|
36
|
+
import { a as $, b as V } from "./chunk-O5IJ3OGP.js";
|
|
37
|
+
import { a as Z } from "./chunk-RXTBM4OI.js";
|
|
38
|
+
import "./chunk-FYOYUPXG.js";
|
|
39
|
+
import "./chunk-TAMCUKAR.js";
|
|
40
|
+
import "./chunk-PDMQLSBL.js";
|
|
41
|
+
import { a as X } from "./chunk-P37AI2DW.js";
|
|
42
|
+
import { a as Q } from "./chunk-T6BE4RZK.js";
|
|
43
|
+
import { b as Y, c as z, d as U } from "./chunk-X5IHHI6X.js";
|
|
44
|
+
import { d as K } from "./chunk-TMSETF7M.js";
|
|
45
|
+
import "./chunk-7Z5IIKOJ.js";
|
|
46
|
+
import { a as B } from "./chunk-KZNJOCYU.js";
|
|
47
|
+
import { a as T, c as C, d as f } from "./chunk-POASMU2N.js";
|
|
48
|
+
import { a as J } from "./chunk-R6KGAEF6.js";
|
|
49
|
+
import "./chunk-3C7WC463.js";
|
|
50
|
+
import "./chunk-II4VNKYR.js";
|
|
51
|
+
import { a as k } from "./chunk-IUA6FAOZ.js";
|
|
52
|
+
import { a as D } from "./chunk-UH2WFNTA.js";
|
|
53
|
+
import { e as _ } from "./chunk-PEYJTJPE.js";
|
|
54
|
+
function oe(t, e, n, o) {
|
|
55
|
+
let l = new Q();
|
|
56
|
+
o.position &&
|
|
57
|
+
(l.position = new U({
|
|
58
|
+
componentDatatype: B.DOUBLE,
|
|
59
|
+
componentsPerAttribute: 3,
|
|
60
|
+
values: t,
|
|
61
|
+
}));
|
|
62
|
+
let i = e.length,
|
|
63
|
+
u = t.length / 3,
|
|
64
|
+
L = (u - i * 2) / (i * 2),
|
|
65
|
+
E = V.triangulate(e),
|
|
66
|
+
q = (L - 1) * i * 6 + E.length * 2,
|
|
67
|
+
r = X.createTypedArray(u, q),
|
|
68
|
+
m,
|
|
69
|
+
s,
|
|
70
|
+
d,
|
|
71
|
+
b,
|
|
72
|
+
A,
|
|
73
|
+
F,
|
|
74
|
+
G = i * 2,
|
|
75
|
+
p = 0;
|
|
76
|
+
for (m = 0; m < L - 1; m++) {
|
|
77
|
+
for (s = 0; s < i - 1; s++)
|
|
78
|
+
((d = s * 2 + m * i * 2),
|
|
79
|
+
(F = d + G),
|
|
80
|
+
(b = d + 1),
|
|
81
|
+
(A = b + G),
|
|
82
|
+
(r[p++] = b),
|
|
83
|
+
(r[p++] = d),
|
|
84
|
+
(r[p++] = A),
|
|
85
|
+
(r[p++] = A),
|
|
86
|
+
(r[p++] = d),
|
|
87
|
+
(r[p++] = F));
|
|
88
|
+
((d = i * 2 - 2 + m * i * 2),
|
|
89
|
+
(b = d + 1),
|
|
90
|
+
(A = b + G),
|
|
91
|
+
(F = d + G),
|
|
92
|
+
(r[p++] = b),
|
|
93
|
+
(r[p++] = d),
|
|
94
|
+
(r[p++] = A),
|
|
95
|
+
(r[p++] = A),
|
|
96
|
+
(r[p++] = d),
|
|
97
|
+
(r[p++] = F));
|
|
98
|
+
}
|
|
99
|
+
if (o.st || o.tangent || o.bitangent) {
|
|
100
|
+
let c = new Float32Array(u * 2),
|
|
101
|
+
O = 1 / (L - 1),
|
|
102
|
+
w = 1 / n.height,
|
|
103
|
+
S = n.height / 2,
|
|
104
|
+
y,
|
|
105
|
+
a,
|
|
106
|
+
h = 0;
|
|
107
|
+
for (m = 0; m < L; m++) {
|
|
108
|
+
for (
|
|
109
|
+
y = m * O, a = w * (e[0].y + S), c[h++] = y, c[h++] = a, s = 1;
|
|
110
|
+
s < i;
|
|
111
|
+
s++
|
|
112
|
+
)
|
|
113
|
+
((a = w * (e[s].y + S)),
|
|
114
|
+
(c[h++] = y),
|
|
115
|
+
(c[h++] = a),
|
|
116
|
+
(c[h++] = y),
|
|
117
|
+
(c[h++] = a));
|
|
118
|
+
((a = w * (e[0].y + S)), (c[h++] = y), (c[h++] = a));
|
|
119
|
+
}
|
|
120
|
+
for (s = 0; s < i; s++)
|
|
121
|
+
((y = 0), (a = w * (e[s].y + S)), (c[h++] = y), (c[h++] = a));
|
|
122
|
+
for (s = 0; s < i; s++)
|
|
123
|
+
((y = (L - 1) * O), (a = w * (e[s].y + S)), (c[h++] = y), (c[h++] = a));
|
|
124
|
+
l.st = new U({
|
|
125
|
+
componentDatatype: B.FLOAT,
|
|
126
|
+
componentsPerAttribute: 2,
|
|
127
|
+
values: new Float32Array(c),
|
|
128
|
+
});
|
|
129
|
+
}
|
|
130
|
+
let N = u - i * 2;
|
|
131
|
+
for (m = 0; m < E.length; m += 3) {
|
|
132
|
+
let c = E[m] + N,
|
|
133
|
+
O = E[m + 1] + N,
|
|
134
|
+
w = E[m + 2] + N;
|
|
135
|
+
((r[p++] = c),
|
|
136
|
+
(r[p++] = O),
|
|
137
|
+
(r[p++] = w),
|
|
138
|
+
(r[p++] = w + i),
|
|
139
|
+
(r[p++] = O + i),
|
|
140
|
+
(r[p++] = c + i));
|
|
141
|
+
}
|
|
142
|
+
let P = new z({
|
|
143
|
+
attributes: l,
|
|
144
|
+
indices: r,
|
|
145
|
+
boundingSphere: K.fromVertices(t),
|
|
146
|
+
primitiveType: Y.TRIANGLES,
|
|
147
|
+
});
|
|
148
|
+
if ((o.normal && (P = W.computeNormal(P)), o.tangent || o.bitangent)) {
|
|
149
|
+
try {
|
|
150
|
+
P = W.computeTangentAndBitangent(P);
|
|
151
|
+
} catch {
|
|
152
|
+
I(
|
|
153
|
+
"polyline-volume-tangent-bitangent",
|
|
154
|
+
"Unable to compute tangents and bitangents for polyline volume geometry",
|
|
155
|
+
);
|
|
156
|
+
}
|
|
157
|
+
(o.tangent || (P.attributes.tangent = void 0),
|
|
158
|
+
o.bitangent || (P.attributes.bitangent = void 0),
|
|
159
|
+
o.st || (P.attributes.st = void 0));
|
|
160
|
+
}
|
|
161
|
+
return P;
|
|
162
|
+
}
|
|
163
|
+
function R(t) {
|
|
164
|
+
t = k(t, k.EMPTY_OBJECT);
|
|
165
|
+
let e = t.polylinePositions,
|
|
166
|
+
n = t.shapePositions;
|
|
167
|
+
if (!_(e)) throw new D("options.polylinePositions is required.");
|
|
168
|
+
if (!_(n)) throw new D("options.shapePositions is required.");
|
|
169
|
+
((this._positions = e),
|
|
170
|
+
(this._shape = n),
|
|
171
|
+
(this._ellipsoid = f.clone(k(t.ellipsoid, f.default))),
|
|
172
|
+
(this._cornerType = k(t.cornerType, x.ROUNDED)),
|
|
173
|
+
(this._vertexFormat = g.clone(k(t.vertexFormat, g.DEFAULT))),
|
|
174
|
+
(this._granularity = k(t.granularity, J.RADIANS_PER_DEGREE)),
|
|
175
|
+
(this._workerName = "createPolylineVolumeGeometry"));
|
|
176
|
+
let o = 1 + e.length * T.packedLength;
|
|
177
|
+
((o += 1 + n.length * C.packedLength),
|
|
178
|
+
(this.packedLength = o + f.packedLength + g.packedLength + 2));
|
|
179
|
+
}
|
|
180
|
+
R.pack = function (t, e, n) {
|
|
181
|
+
if (!_(t)) throw new D("value is required");
|
|
182
|
+
if (!_(e)) throw new D("array is required");
|
|
183
|
+
n = k(n, 0);
|
|
184
|
+
let o,
|
|
185
|
+
l = t._positions,
|
|
186
|
+
i = l.length;
|
|
187
|
+
for (e[n++] = i, o = 0; o < i; ++o, n += T.packedLength) T.pack(l[o], e, n);
|
|
188
|
+
let u = t._shape;
|
|
189
|
+
for (i = u.length, e[n++] = i, o = 0; o < i; ++o, n += C.packedLength)
|
|
190
|
+
C.pack(u[o], e, n);
|
|
191
|
+
return (
|
|
192
|
+
f.pack(t._ellipsoid, e, n),
|
|
193
|
+
(n += f.packedLength),
|
|
194
|
+
g.pack(t._vertexFormat, e, n),
|
|
195
|
+
(n += g.packedLength),
|
|
196
|
+
(e[n++] = t._cornerType),
|
|
197
|
+
(e[n] = t._granularity),
|
|
198
|
+
e
|
|
199
|
+
);
|
|
200
|
+
};
|
|
201
|
+
var ee = f.clone(f.UNIT_SPHERE),
|
|
202
|
+
te = new g(),
|
|
203
|
+
v = {
|
|
204
|
+
polylinePositions: void 0,
|
|
205
|
+
shapePositions: void 0,
|
|
206
|
+
ellipsoid: ee,
|
|
207
|
+
vertexFormat: te,
|
|
208
|
+
cornerType: void 0,
|
|
209
|
+
granularity: void 0,
|
|
210
|
+
};
|
|
211
|
+
R.unpack = function (t, e, n) {
|
|
212
|
+
if (!_(t)) throw new D("array is required");
|
|
213
|
+
e = k(e, 0);
|
|
214
|
+
let o,
|
|
215
|
+
l = t[e++],
|
|
216
|
+
i = new Array(l);
|
|
217
|
+
for (o = 0; o < l; ++o, e += T.packedLength) i[o] = T.unpack(t, e);
|
|
218
|
+
l = t[e++];
|
|
219
|
+
let u = new Array(l);
|
|
220
|
+
for (o = 0; o < l; ++o, e += C.packedLength) u[o] = C.unpack(t, e);
|
|
221
|
+
let L = f.unpack(t, e, ee);
|
|
222
|
+
e += f.packedLength;
|
|
223
|
+
let E = g.unpack(t, e, te);
|
|
224
|
+
e += g.packedLength;
|
|
225
|
+
let q = t[e++],
|
|
226
|
+
r = t[e];
|
|
227
|
+
return _(n)
|
|
228
|
+
? ((n._positions = i),
|
|
229
|
+
(n._shape = u),
|
|
230
|
+
(n._ellipsoid = f.clone(L, n._ellipsoid)),
|
|
231
|
+
(n._vertexFormat = g.clone(E, n._vertexFormat)),
|
|
232
|
+
(n._cornerType = q),
|
|
233
|
+
(n._granularity = r),
|
|
234
|
+
n)
|
|
235
|
+
: ((v.polylinePositions = i),
|
|
236
|
+
(v.shapePositions = u),
|
|
237
|
+
(v.cornerType = q),
|
|
238
|
+
(v.granularity = r),
|
|
239
|
+
new R(v));
|
|
240
|
+
};
|
|
241
|
+
var ne = new M();
|
|
242
|
+
R.createGeometry = function (t) {
|
|
243
|
+
let e = t._positions,
|
|
244
|
+
n = Z(e, T.equalsEpsilon),
|
|
245
|
+
o = t._shape;
|
|
246
|
+
if (((o = j.removeDuplicatesFromShape(o)), n.length < 2 || o.length < 3))
|
|
247
|
+
return;
|
|
248
|
+
V.computeWindingOrder2D(o) === $.CLOCKWISE && o.reverse();
|
|
249
|
+
let l = M.fromPoints(o, ne),
|
|
250
|
+
i = j.computePositions(n, o, l, t, !0);
|
|
251
|
+
return oe(i, o, l, t._vertexFormat);
|
|
252
|
+
};
|
|
253
|
+
var H = R;
|
|
254
|
+
function ie(t, e) {
|
|
255
|
+
return (
|
|
256
|
+
_(e) && (t = H.unpack(t, e)),
|
|
257
|
+
(t._ellipsoid = f.clone(t._ellipsoid)),
|
|
258
|
+
H.createGeometry(t)
|
|
259
|
+
);
|
|
260
|
+
}
|
|
261
|
+
var Re = ie;
|
|
262
|
+
export { Re as default };
|
|
@@ -0,0 +1,177 @@
|
|
|
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 w } from "./chunk-3JW36LZF.js";
|
|
27
|
+
import { a as N, c as E } from "./chunk-K4ASOM65.js";
|
|
28
|
+
import "./chunk-AMQUWUD4.js";
|
|
29
|
+
import "./chunk-W23CU777.js";
|
|
30
|
+
import "./chunk-KF5NF354.js";
|
|
31
|
+
import "./chunk-4WRMLZA7.js";
|
|
32
|
+
import { a as v, b as G } from "./chunk-O5IJ3OGP.js";
|
|
33
|
+
import { a as q } from "./chunk-RXTBM4OI.js";
|
|
34
|
+
import "./chunk-FYOYUPXG.js";
|
|
35
|
+
import "./chunk-TAMCUKAR.js";
|
|
36
|
+
import "./chunk-PDMQLSBL.js";
|
|
37
|
+
import { a as k } from "./chunk-P37AI2DW.js";
|
|
38
|
+
import { a as O } from "./chunk-T6BE4RZK.js";
|
|
39
|
+
import { b as A, c as R, d as S } from "./chunk-X5IHHI6X.js";
|
|
40
|
+
import { d as C } from "./chunk-TMSETF7M.js";
|
|
41
|
+
import "./chunk-7Z5IIKOJ.js";
|
|
42
|
+
import { a as b } from "./chunk-KZNJOCYU.js";
|
|
43
|
+
import { a, c as _, d as s } from "./chunk-POASMU2N.js";
|
|
44
|
+
import { a as D } from "./chunk-R6KGAEF6.js";
|
|
45
|
+
import "./chunk-3C7WC463.js";
|
|
46
|
+
import "./chunk-II4VNKYR.js";
|
|
47
|
+
import { a as d } from "./chunk-IUA6FAOZ.js";
|
|
48
|
+
import { a as y } from "./chunk-UH2WFNTA.js";
|
|
49
|
+
import { e as u } from "./chunk-PEYJTJPE.js";
|
|
50
|
+
function W(o, i) {
|
|
51
|
+
let t = new O();
|
|
52
|
+
t.position = new S({
|
|
53
|
+
componentDatatype: b.DOUBLE,
|
|
54
|
+
componentsPerAttribute: 3,
|
|
55
|
+
values: o,
|
|
56
|
+
});
|
|
57
|
+
let e = i.length,
|
|
58
|
+
r = t.position.values.length / 3,
|
|
59
|
+
f = o.length / 3 / e,
|
|
60
|
+
p = k.createTypedArray(r, 2 * e * (f + 1)),
|
|
61
|
+
m,
|
|
62
|
+
n,
|
|
63
|
+
l = 0;
|
|
64
|
+
m = 0;
|
|
65
|
+
let h = m * e;
|
|
66
|
+
for (n = 0; n < e - 1; n++) ((p[l++] = n + h), (p[l++] = n + h + 1));
|
|
67
|
+
for (
|
|
68
|
+
p[l++] = e - 1 + h, p[l++] = h, m = f - 1, h = m * e, n = 0;
|
|
69
|
+
n < e - 1;
|
|
70
|
+
n++
|
|
71
|
+
)
|
|
72
|
+
((p[l++] = n + h), (p[l++] = n + h + 1));
|
|
73
|
+
for (p[l++] = e - 1 + h, p[l++] = h, m = 0; m < f - 1; m++) {
|
|
74
|
+
let T = e * m,
|
|
75
|
+
U = T + e;
|
|
76
|
+
for (n = 0; n < e; n++) ((p[l++] = n + T), (p[l++] = n + U));
|
|
77
|
+
}
|
|
78
|
+
return new R({
|
|
79
|
+
attributes: t,
|
|
80
|
+
indices: k.createTypedArray(r, p),
|
|
81
|
+
boundingSphere: C.fromVertices(o),
|
|
82
|
+
primitiveType: A.LINES,
|
|
83
|
+
});
|
|
84
|
+
}
|
|
85
|
+
function g(o) {
|
|
86
|
+
o = d(o, d.EMPTY_OBJECT);
|
|
87
|
+
let i = o.polylinePositions,
|
|
88
|
+
t = o.shapePositions;
|
|
89
|
+
if (!u(i)) throw new y("options.polylinePositions is required.");
|
|
90
|
+
if (!u(t)) throw new y("options.shapePositions is required.");
|
|
91
|
+
((this._positions = i),
|
|
92
|
+
(this._shape = t),
|
|
93
|
+
(this._ellipsoid = s.clone(d(o.ellipsoid, s.default))),
|
|
94
|
+
(this._cornerType = d(o.cornerType, N.ROUNDED)),
|
|
95
|
+
(this._granularity = d(o.granularity, D.RADIANS_PER_DEGREE)),
|
|
96
|
+
(this._workerName = "createPolylineVolumeOutlineGeometry"));
|
|
97
|
+
let e = 1 + i.length * a.packedLength;
|
|
98
|
+
((e += 1 + t.length * _.packedLength),
|
|
99
|
+
(this.packedLength = e + s.packedLength + 2));
|
|
100
|
+
}
|
|
101
|
+
g.pack = function (o, i, t) {
|
|
102
|
+
if (!u(o)) throw new y("value is required");
|
|
103
|
+
if (!u(i)) throw new y("array is required");
|
|
104
|
+
t = d(t, 0);
|
|
105
|
+
let e,
|
|
106
|
+
r = o._positions,
|
|
107
|
+
c = r.length;
|
|
108
|
+
for (i[t++] = c, e = 0; e < c; ++e, t += a.packedLength) a.pack(r[e], i, t);
|
|
109
|
+
let f = o._shape;
|
|
110
|
+
for (c = f.length, i[t++] = c, e = 0; e < c; ++e, t += _.packedLength)
|
|
111
|
+
_.pack(f[e], i, t);
|
|
112
|
+
return (
|
|
113
|
+
s.pack(o._ellipsoid, i, t),
|
|
114
|
+
(t += s.packedLength),
|
|
115
|
+
(i[t++] = o._cornerType),
|
|
116
|
+
(i[t] = o._granularity),
|
|
117
|
+
i
|
|
118
|
+
);
|
|
119
|
+
};
|
|
120
|
+
var B = s.clone(s.UNIT_SPHERE),
|
|
121
|
+
P = {
|
|
122
|
+
polylinePositions: void 0,
|
|
123
|
+
shapePositions: void 0,
|
|
124
|
+
ellipsoid: B,
|
|
125
|
+
height: void 0,
|
|
126
|
+
cornerType: void 0,
|
|
127
|
+
granularity: void 0,
|
|
128
|
+
};
|
|
129
|
+
g.unpack = function (o, i, t) {
|
|
130
|
+
if (!u(o)) throw new y("array is required");
|
|
131
|
+
i = d(i, 0);
|
|
132
|
+
let e,
|
|
133
|
+
r = o[i++],
|
|
134
|
+
c = new Array(r);
|
|
135
|
+
for (e = 0; e < r; ++e, i += a.packedLength) c[e] = a.unpack(o, i);
|
|
136
|
+
r = o[i++];
|
|
137
|
+
let f = new Array(r);
|
|
138
|
+
for (e = 0; e < r; ++e, i += _.packedLength) f[e] = _.unpack(o, i);
|
|
139
|
+
let p = s.unpack(o, i, B);
|
|
140
|
+
i += s.packedLength;
|
|
141
|
+
let m = o[i++],
|
|
142
|
+
n = o[i];
|
|
143
|
+
return u(t)
|
|
144
|
+
? ((t._positions = c),
|
|
145
|
+
(t._shape = f),
|
|
146
|
+
(t._ellipsoid = s.clone(p, t._ellipsoid)),
|
|
147
|
+
(t._cornerType = m),
|
|
148
|
+
(t._granularity = n),
|
|
149
|
+
t)
|
|
150
|
+
: ((P.polylinePositions = c),
|
|
151
|
+
(P.shapePositions = f),
|
|
152
|
+
(P.cornerType = m),
|
|
153
|
+
(P.granularity = n),
|
|
154
|
+
new g(P));
|
|
155
|
+
};
|
|
156
|
+
var M = new w();
|
|
157
|
+
g.createGeometry = function (o) {
|
|
158
|
+
let i = o._positions,
|
|
159
|
+
t = q(i, a.equalsEpsilon),
|
|
160
|
+
e = o._shape;
|
|
161
|
+
if (((e = E.removeDuplicatesFromShape(e)), t.length < 2 || e.length < 3))
|
|
162
|
+
return;
|
|
163
|
+
G.computeWindingOrder2D(e) === v.CLOCKWISE && e.reverse();
|
|
164
|
+
let r = w.fromPoints(e, M),
|
|
165
|
+
c = E.computePositions(t, e, r, o, !1);
|
|
166
|
+
return W(c, e);
|
|
167
|
+
};
|
|
168
|
+
var L = g;
|
|
169
|
+
function j(o, i) {
|
|
170
|
+
return (
|
|
171
|
+
u(i) && (o = L.unpack(o, i)),
|
|
172
|
+
(o._ellipsoid = s.clone(o._ellipsoid)),
|
|
173
|
+
L.createGeometry(o)
|
|
174
|
+
);
|
|
175
|
+
}
|
|
176
|
+
var he = j;
|
|
177
|
+
export { he as default };
|