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,293 @@
|
|
|
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 et } from "./chunk-3JW36LZF.js";
|
|
27
|
+
import { a as U } from "./chunk-ED3TLP6D.js";
|
|
28
|
+
import "./chunk-Q6L7X3LP.js";
|
|
29
|
+
import { a as y } from "./chunk-HSWA4OEL.js";
|
|
30
|
+
import "./chunk-ATPDRNKI.js";
|
|
31
|
+
import { a as I } from "./chunk-EFZKO5RU.js";
|
|
32
|
+
import { a as $ } from "./chunk-QB3MDM4J.js";
|
|
33
|
+
import "./chunk-ABGXSJNX.js";
|
|
34
|
+
import "./chunk-DQO6B4EQ.js";
|
|
35
|
+
import { a as u } from "./chunk-HEEMUCG6.js";
|
|
36
|
+
import "./chunk-KF5NF354.js";
|
|
37
|
+
import "./chunk-4WRMLZA7.js";
|
|
38
|
+
import { b as ot } from "./chunk-O5IJ3OGP.js";
|
|
39
|
+
import { a as tt } from "./chunk-RXTBM4OI.js";
|
|
40
|
+
import "./chunk-FYOYUPXG.js";
|
|
41
|
+
import "./chunk-TAMCUKAR.js";
|
|
42
|
+
import "./chunk-PDMQLSBL.js";
|
|
43
|
+
import { a as J } from "./chunk-P37AI2DW.js";
|
|
44
|
+
import { a as X } from "./chunk-T6BE4RZK.js";
|
|
45
|
+
import { b as W, c as Y, d as z } from "./chunk-X5IHHI6X.js";
|
|
46
|
+
import { d as K } from "./chunk-TMSETF7M.js";
|
|
47
|
+
import { f as Q } from "./chunk-7Z5IIKOJ.js";
|
|
48
|
+
import { a as N } from "./chunk-KZNJOCYU.js";
|
|
49
|
+
import { a as i, c as x, d as m, e as P } from "./chunk-POASMU2N.js";
|
|
50
|
+
import { a as q } from "./chunk-R6KGAEF6.js";
|
|
51
|
+
import "./chunk-3C7WC463.js";
|
|
52
|
+
import "./chunk-II4VNKYR.js";
|
|
53
|
+
import { a as f } from "./chunk-IUA6FAOZ.js";
|
|
54
|
+
import { b as B } from "./chunk-UH2WFNTA.js";
|
|
55
|
+
import { e as g } from "./chunk-PEYJTJPE.js";
|
|
56
|
+
var st = new i(),
|
|
57
|
+
at = new et(),
|
|
58
|
+
pt = new x(),
|
|
59
|
+
lt = new x(),
|
|
60
|
+
mt = new i(),
|
|
61
|
+
ft = new i(),
|
|
62
|
+
ut = new i(),
|
|
63
|
+
V = new i(),
|
|
64
|
+
yt = new i(),
|
|
65
|
+
ht = new i(),
|
|
66
|
+
nt = new Q(),
|
|
67
|
+
dt = new P(),
|
|
68
|
+
gt = new P(),
|
|
69
|
+
Pt = new i();
|
|
70
|
+
function wt(e, t, o, a, h, A, r, n, p) {
|
|
71
|
+
let b = e.positions,
|
|
72
|
+
c = ot.triangulate(e.positions2D, e.holes);
|
|
73
|
+
c.length < 3 && (c = [0, 1, 2]);
|
|
74
|
+
let w = J.createTypedArray(b.length, c.length);
|
|
75
|
+
w.set(c);
|
|
76
|
+
let D = dt;
|
|
77
|
+
if (a !== 0) {
|
|
78
|
+
let d = Q.fromAxisAngle(r, a, nt);
|
|
79
|
+
if (((D = P.fromQuaternion(d, D)), t.tangent || t.bitangent)) {
|
|
80
|
+
d = Q.fromAxisAngle(r, -a, nt);
|
|
81
|
+
let G = P.fromQuaternion(d, gt);
|
|
82
|
+
((n = i.normalize(P.multiplyByVector(G, n, n), n)),
|
|
83
|
+
t.bitangent && (p = i.normalize(i.cross(r, n, p), p)));
|
|
84
|
+
}
|
|
85
|
+
} else D = P.clone(P.IDENTITY, D);
|
|
86
|
+
let j = lt;
|
|
87
|
+
t.st && ((j.x = o.x), (j.y = o.y));
|
|
88
|
+
let k = b.length,
|
|
89
|
+
C = k * 3,
|
|
90
|
+
L = new Float64Array(C),
|
|
91
|
+
T = t.normal ? new Float32Array(C) : void 0,
|
|
92
|
+
R = t.tangent ? new Float32Array(C) : void 0,
|
|
93
|
+
S = t.bitangent ? new Float32Array(C) : void 0,
|
|
94
|
+
H = t.st ? new Float32Array(k * 2) : void 0,
|
|
95
|
+
M = 0,
|
|
96
|
+
F = 0,
|
|
97
|
+
l = 0,
|
|
98
|
+
O = 0,
|
|
99
|
+
s = 0;
|
|
100
|
+
for (let d = 0; d < k; d++) {
|
|
101
|
+
let G = b[d];
|
|
102
|
+
if (((L[M++] = G.x), (L[M++] = G.y), (L[M++] = G.z), t.st))
|
|
103
|
+
if (g(h) && h.positions.length === k)
|
|
104
|
+
((H[s++] = h.positions[d].x), (H[s++] = h.positions[d].y));
|
|
105
|
+
else {
|
|
106
|
+
let it = P.multiplyByVector(D, G, st),
|
|
107
|
+
v = A(it, pt);
|
|
108
|
+
x.subtract(v, j, v);
|
|
109
|
+
let rt = q.clamp(v.x / o.width, 0, 1),
|
|
110
|
+
ct = q.clamp(v.y / o.height, 0, 1);
|
|
111
|
+
((H[s++] = rt), (H[s++] = ct));
|
|
112
|
+
}
|
|
113
|
+
(t.normal && ((T[F++] = r.x), (T[F++] = r.y), (T[F++] = r.z)),
|
|
114
|
+
t.tangent && ((R[O++] = n.x), (R[O++] = n.y), (R[O++] = n.z)),
|
|
115
|
+
t.bitangent && ((S[l++] = p.x), (S[l++] = p.y), (S[l++] = p.z)));
|
|
116
|
+
}
|
|
117
|
+
let _ = new X();
|
|
118
|
+
return (
|
|
119
|
+
t.position &&
|
|
120
|
+
(_.position = new z({
|
|
121
|
+
componentDatatype: N.DOUBLE,
|
|
122
|
+
componentsPerAttribute: 3,
|
|
123
|
+
values: L,
|
|
124
|
+
})),
|
|
125
|
+
t.normal &&
|
|
126
|
+
(_.normal = new z({
|
|
127
|
+
componentDatatype: N.FLOAT,
|
|
128
|
+
componentsPerAttribute: 3,
|
|
129
|
+
values: T,
|
|
130
|
+
})),
|
|
131
|
+
t.tangent &&
|
|
132
|
+
(_.tangent = new z({
|
|
133
|
+
componentDatatype: N.FLOAT,
|
|
134
|
+
componentsPerAttribute: 3,
|
|
135
|
+
values: R,
|
|
136
|
+
})),
|
|
137
|
+
t.bitangent &&
|
|
138
|
+
(_.bitangent = new z({
|
|
139
|
+
componentDatatype: N.FLOAT,
|
|
140
|
+
componentsPerAttribute: 3,
|
|
141
|
+
values: S,
|
|
142
|
+
})),
|
|
143
|
+
t.st &&
|
|
144
|
+
(_.st = new z({
|
|
145
|
+
componentDatatype: N.FLOAT,
|
|
146
|
+
componentsPerAttribute: 2,
|
|
147
|
+
values: H,
|
|
148
|
+
})),
|
|
149
|
+
new Y({ attributes: _, indices: w, primitiveType: W.TRIANGLES })
|
|
150
|
+
);
|
|
151
|
+
}
|
|
152
|
+
function E(e) {
|
|
153
|
+
e = f(e, f.EMPTY_OBJECT);
|
|
154
|
+
let t = e.polygonHierarchy,
|
|
155
|
+
o = e.textureCoordinates;
|
|
156
|
+
B.defined("options.polygonHierarchy", t);
|
|
157
|
+
let a = f(e.vertexFormat, u.DEFAULT);
|
|
158
|
+
((this._vertexFormat = u.clone(a)),
|
|
159
|
+
(this._polygonHierarchy = t),
|
|
160
|
+
(this._stRotation = f(e.stRotation, 0)),
|
|
161
|
+
(this._ellipsoid = m.clone(f(e.ellipsoid, m.default))),
|
|
162
|
+
(this._workerName = "createCoplanarPolygonGeometry"),
|
|
163
|
+
(this._textureCoordinates = o),
|
|
164
|
+
(this.packedLength =
|
|
165
|
+
y.computeHierarchyPackedLength(t, i) +
|
|
166
|
+
u.packedLength +
|
|
167
|
+
m.packedLength +
|
|
168
|
+
(g(o) ? y.computeHierarchyPackedLength(o, x) : 1) +
|
|
169
|
+
2));
|
|
170
|
+
}
|
|
171
|
+
E.fromPositions = function (e) {
|
|
172
|
+
((e = f(e, f.EMPTY_OBJECT)), B.defined("options.positions", e.positions));
|
|
173
|
+
let t = {
|
|
174
|
+
polygonHierarchy: { positions: e.positions },
|
|
175
|
+
vertexFormat: e.vertexFormat,
|
|
176
|
+
stRotation: e.stRotation,
|
|
177
|
+
ellipsoid: e.ellipsoid,
|
|
178
|
+
textureCoordinates: e.textureCoordinates,
|
|
179
|
+
};
|
|
180
|
+
return new E(t);
|
|
181
|
+
};
|
|
182
|
+
E.pack = function (e, t, o) {
|
|
183
|
+
return (
|
|
184
|
+
B.typeOf.object("value", e),
|
|
185
|
+
B.defined("array", t),
|
|
186
|
+
(o = f(o, 0)),
|
|
187
|
+
(o = y.packPolygonHierarchy(e._polygonHierarchy, t, o, i)),
|
|
188
|
+
m.pack(e._ellipsoid, t, o),
|
|
189
|
+
(o += m.packedLength),
|
|
190
|
+
u.pack(e._vertexFormat, t, o),
|
|
191
|
+
(o += u.packedLength),
|
|
192
|
+
(t[o++] = e._stRotation),
|
|
193
|
+
g(e._textureCoordinates)
|
|
194
|
+
? (o = y.packPolygonHierarchy(e._textureCoordinates, t, o, x))
|
|
195
|
+
: (t[o++] = -1),
|
|
196
|
+
(t[o++] = e.packedLength),
|
|
197
|
+
t
|
|
198
|
+
);
|
|
199
|
+
};
|
|
200
|
+
var _t = m.clone(m.UNIT_SPHERE),
|
|
201
|
+
At = new u(),
|
|
202
|
+
bt = { polygonHierarchy: {} };
|
|
203
|
+
E.unpack = function (e, t, o) {
|
|
204
|
+
(B.defined("array", e), (t = f(t, 0)));
|
|
205
|
+
let a = y.unpackPolygonHierarchy(e, t, i);
|
|
206
|
+
((t = a.startingIndex), delete a.startingIndex);
|
|
207
|
+
let h = m.unpack(e, t, _t);
|
|
208
|
+
t += m.packedLength;
|
|
209
|
+
let A = u.unpack(e, t, At);
|
|
210
|
+
t += u.packedLength;
|
|
211
|
+
let r = e[t++],
|
|
212
|
+
n = e[t] === -1 ? void 0 : y.unpackPolygonHierarchy(e, t, x);
|
|
213
|
+
g(n) ? ((t = n.startingIndex), delete n.startingIndex) : t++;
|
|
214
|
+
let p = e[t++];
|
|
215
|
+
return (
|
|
216
|
+
g(o) || (o = new E(bt)),
|
|
217
|
+
(o._polygonHierarchy = a),
|
|
218
|
+
(o._ellipsoid = m.clone(h, o._ellipsoid)),
|
|
219
|
+
(o._vertexFormat = u.clone(A, o._vertexFormat)),
|
|
220
|
+
(o._stRotation = r),
|
|
221
|
+
(o._textureCoordinates = n),
|
|
222
|
+
(o.packedLength = p),
|
|
223
|
+
o
|
|
224
|
+
);
|
|
225
|
+
};
|
|
226
|
+
E.createGeometry = function (e) {
|
|
227
|
+
let t = e._vertexFormat,
|
|
228
|
+
o = e._polygonHierarchy,
|
|
229
|
+
a = e._stRotation,
|
|
230
|
+
h = e._textureCoordinates,
|
|
231
|
+
A = g(h),
|
|
232
|
+
r = o.positions;
|
|
233
|
+
if (((r = tt(r, i.equalsEpsilon, !0)), r.length < 3)) return;
|
|
234
|
+
let n = mt,
|
|
235
|
+
p = ft,
|
|
236
|
+
b = ut,
|
|
237
|
+
c = yt,
|
|
238
|
+
w = ht;
|
|
239
|
+
if (!U.computeProjectTo2DArguments(r, V, c, w)) return;
|
|
240
|
+
if (
|
|
241
|
+
((n = i.cross(c, w, n)),
|
|
242
|
+
(n = i.normalize(n, n)),
|
|
243
|
+
!i.equalsEpsilon(V, i.ZERO, q.EPSILON6))
|
|
244
|
+
) {
|
|
245
|
+
let s = e._ellipsoid.geodeticSurfaceNormal(V, Pt);
|
|
246
|
+
i.dot(n, s) < 0 && ((n = i.negate(n, n)), (c = i.negate(c, c)));
|
|
247
|
+
}
|
|
248
|
+
let j = U.createProjectPointsTo2DFunction(V, c, w),
|
|
249
|
+
k = U.createProjectPointTo2DFunction(V, c, w);
|
|
250
|
+
(t.tangent && (p = i.clone(c, p)), t.bitangent && (b = i.clone(w, b)));
|
|
251
|
+
let C = y.polygonsFromHierarchy(o, A, j, !1),
|
|
252
|
+
L = C.hierarchy,
|
|
253
|
+
T = C.polygons,
|
|
254
|
+
R = function (s) {
|
|
255
|
+
return s;
|
|
256
|
+
},
|
|
257
|
+
S = A ? y.polygonsFromHierarchy(h, !0, R, !1).polygons : void 0;
|
|
258
|
+
if (L.length === 0) return;
|
|
259
|
+
r = L[0].outerRing;
|
|
260
|
+
let H = K.fromPoints(r),
|
|
261
|
+
M = y.computeBoundingRectangle(n, k, r, a, at),
|
|
262
|
+
F = [];
|
|
263
|
+
for (let s = 0; s < T.length; s++) {
|
|
264
|
+
let _ = new I({
|
|
265
|
+
geometry: wt(T[s], t, M, a, A ? S[s] : void 0, k, n, p, b),
|
|
266
|
+
});
|
|
267
|
+
F.push(_);
|
|
268
|
+
}
|
|
269
|
+
let l = $.combineInstances(F)[0];
|
|
270
|
+
((l.attributes.position.values = new Float64Array(
|
|
271
|
+
l.attributes.position.values,
|
|
272
|
+
)),
|
|
273
|
+
(l.indices = J.createTypedArray(
|
|
274
|
+
l.attributes.position.values.length / 3,
|
|
275
|
+
l.indices,
|
|
276
|
+
)));
|
|
277
|
+
let O = l.attributes;
|
|
278
|
+
return (
|
|
279
|
+
t.position || delete O.position,
|
|
280
|
+
new Y({
|
|
281
|
+
attributes: O,
|
|
282
|
+
indices: l.indices,
|
|
283
|
+
primitiveType: l.primitiveType,
|
|
284
|
+
boundingSphere: H,
|
|
285
|
+
})
|
|
286
|
+
);
|
|
287
|
+
};
|
|
288
|
+
var Z = E;
|
|
289
|
+
function kt(e, t) {
|
|
290
|
+
return (g(t) && (e = Z.unpack(e, t)), Z.createGeometry(e));
|
|
291
|
+
}
|
|
292
|
+
var Xt = kt;
|
|
293
|
+
export { Xt as default };
|
|
@@ -0,0 +1,143 @@
|
|
|
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 T } from "./chunk-ED3TLP6D.js";
|
|
27
|
+
import "./chunk-Q6L7X3LP.js";
|
|
28
|
+
import { a as f } from "./chunk-HSWA4OEL.js";
|
|
29
|
+
import "./chunk-ATPDRNKI.js";
|
|
30
|
+
import { a as G } from "./chunk-EFZKO5RU.js";
|
|
31
|
+
import { a as C } from "./chunk-QB3MDM4J.js";
|
|
32
|
+
import "./chunk-ABGXSJNX.js";
|
|
33
|
+
import "./chunk-DQO6B4EQ.js";
|
|
34
|
+
import "./chunk-KF5NF354.js";
|
|
35
|
+
import "./chunk-4WRMLZA7.js";
|
|
36
|
+
import "./chunk-O5IJ3OGP.js";
|
|
37
|
+
import { a as L } from "./chunk-RXTBM4OI.js";
|
|
38
|
+
import "./chunk-FYOYUPXG.js";
|
|
39
|
+
import "./chunk-TAMCUKAR.js";
|
|
40
|
+
import "./chunk-PDMQLSBL.js";
|
|
41
|
+
import { a as w } from "./chunk-P37AI2DW.js";
|
|
42
|
+
import { a as O } from "./chunk-T6BE4RZK.js";
|
|
43
|
+
import { b, c as d, d as k } from "./chunk-X5IHHI6X.js";
|
|
44
|
+
import { d as P } from "./chunk-TMSETF7M.js";
|
|
45
|
+
import "./chunk-7Z5IIKOJ.js";
|
|
46
|
+
import { a as H } from "./chunk-KZNJOCYU.js";
|
|
47
|
+
import { a as l, d as g } from "./chunk-POASMU2N.js";
|
|
48
|
+
import "./chunk-R6KGAEF6.js";
|
|
49
|
+
import "./chunk-3C7WC463.js";
|
|
50
|
+
import "./chunk-II4VNKYR.js";
|
|
51
|
+
import { a as c } from "./chunk-IUA6FAOZ.js";
|
|
52
|
+
import { b as a } from "./chunk-UH2WFNTA.js";
|
|
53
|
+
import { e as u } from "./chunk-PEYJTJPE.js";
|
|
54
|
+
function E(o) {
|
|
55
|
+
let e = o.length,
|
|
56
|
+
t = new Float64Array(e * 3),
|
|
57
|
+
r = w.createTypedArray(e, e * 2),
|
|
58
|
+
i = 0,
|
|
59
|
+
s = 0;
|
|
60
|
+
for (let n = 0; n < e; n++) {
|
|
61
|
+
let p = o[n];
|
|
62
|
+
((t[i++] = p.x),
|
|
63
|
+
(t[i++] = p.y),
|
|
64
|
+
(t[i++] = p.z),
|
|
65
|
+
(r[s++] = n),
|
|
66
|
+
(r[s++] = (n + 1) % e));
|
|
67
|
+
}
|
|
68
|
+
let y = new O({
|
|
69
|
+
position: new k({
|
|
70
|
+
componentDatatype: H.DOUBLE,
|
|
71
|
+
componentsPerAttribute: 3,
|
|
72
|
+
values: t,
|
|
73
|
+
}),
|
|
74
|
+
});
|
|
75
|
+
return new d({ attributes: y, indices: r, primitiveType: b.LINES });
|
|
76
|
+
}
|
|
77
|
+
function m(o) {
|
|
78
|
+
o = c(o, c.EMPTY_OBJECT);
|
|
79
|
+
let e = o.polygonHierarchy;
|
|
80
|
+
(a.defined("options.polygonHierarchy", e),
|
|
81
|
+
(this._polygonHierarchy = e),
|
|
82
|
+
(this._workerName = "createCoplanarPolygonOutlineGeometry"),
|
|
83
|
+
(this.packedLength = f.computeHierarchyPackedLength(e, l) + 1));
|
|
84
|
+
}
|
|
85
|
+
m.fromPositions = function (o) {
|
|
86
|
+
((o = c(o, c.EMPTY_OBJECT)), a.defined("options.positions", o.positions));
|
|
87
|
+
let e = { polygonHierarchy: { positions: o.positions } };
|
|
88
|
+
return new m(e);
|
|
89
|
+
};
|
|
90
|
+
m.pack = function (o, e, t) {
|
|
91
|
+
return (
|
|
92
|
+
a.typeOf.object("value", o),
|
|
93
|
+
a.defined("array", e),
|
|
94
|
+
(t = c(t, 0)),
|
|
95
|
+
(t = f.packPolygonHierarchy(o._polygonHierarchy, e, t, l)),
|
|
96
|
+
(e[t] = o.packedLength),
|
|
97
|
+
e
|
|
98
|
+
);
|
|
99
|
+
};
|
|
100
|
+
var v = { polygonHierarchy: {} };
|
|
101
|
+
m.unpack = function (o, e, t) {
|
|
102
|
+
(a.defined("array", o), (e = c(e, 0)));
|
|
103
|
+
let r = f.unpackPolygonHierarchy(o, e, l);
|
|
104
|
+
((e = r.startingIndex), delete r.startingIndex);
|
|
105
|
+
let i = o[e];
|
|
106
|
+
return (
|
|
107
|
+
u(t) || (t = new m(v)),
|
|
108
|
+
(t._polygonHierarchy = r),
|
|
109
|
+
(t.packedLength = i),
|
|
110
|
+
t
|
|
111
|
+
);
|
|
112
|
+
};
|
|
113
|
+
m.createGeometry = function (o) {
|
|
114
|
+
let e = o._polygonHierarchy,
|
|
115
|
+
t = e.positions;
|
|
116
|
+
if (((t = L(t, l.equalsEpsilon, !0)), t.length < 3 || !T.validOutline(t)))
|
|
117
|
+
return;
|
|
118
|
+
let i = f.polygonOutlinesFromHierarchy(e, !1);
|
|
119
|
+
if (i.length === 0) return;
|
|
120
|
+
let s = [];
|
|
121
|
+
for (let p = 0; p < i.length; p++) {
|
|
122
|
+
let _ = new G({ geometry: E(i[p]) });
|
|
123
|
+
s.push(_);
|
|
124
|
+
}
|
|
125
|
+
let y = C.combineInstances(s)[0],
|
|
126
|
+
n = P.fromPoints(e.positions);
|
|
127
|
+
return new d({
|
|
128
|
+
attributes: y.attributes,
|
|
129
|
+
indices: y.indices,
|
|
130
|
+
primitiveType: y.primitiveType,
|
|
131
|
+
boundingSphere: n,
|
|
132
|
+
});
|
|
133
|
+
};
|
|
134
|
+
var h = m;
|
|
135
|
+
function A(o, e) {
|
|
136
|
+
return (
|
|
137
|
+
u(e) && (o = h.unpack(o, e)),
|
|
138
|
+
(o._ellipsoid = g.clone(o._ellipsoid)),
|
|
139
|
+
h.createGeometry(o)
|
|
140
|
+
);
|
|
141
|
+
}
|
|
142
|
+
var Z = A;
|
|
143
|
+
export { Z as default };
|