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,73 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
+
* Version 1.119
|
|
5
|
+
*
|
|
6
|
+
* Copyright 2011-2022 Cesium Contributors
|
|
7
|
+
*
|
|
8
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
9
|
+
* you may not use this file except in compliance with the License.
|
|
10
|
+
* You may obtain a copy of the License at
|
|
11
|
+
*
|
|
12
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
13
|
+
*
|
|
14
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
15
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
16
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
17
|
+
* See the License for the specific language governing permissions and
|
|
18
|
+
* limitations under the License.
|
|
19
|
+
*
|
|
20
|
+
* Columbus View (Pat. Pend.)
|
|
21
|
+
*
|
|
22
|
+
* Portions licensed separately.
|
|
23
|
+
* See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
|
|
24
|
+
*/
|
|
25
|
+
|
|
26
|
+
import { e as f } from "./chunk-PEYJTJPE.js";
|
|
27
|
+
function c(t) {
|
|
28
|
+
let n,
|
|
29
|
+
a = t.name,
|
|
30
|
+
e = t.message;
|
|
31
|
+
f(a) && f(e) ? (n = `${a}: ${e}`) : (n = t.toString());
|
|
32
|
+
let o = t.stack;
|
|
33
|
+
return (
|
|
34
|
+
f(o) &&
|
|
35
|
+
(n += `
|
|
36
|
+
${o}`),
|
|
37
|
+
n
|
|
38
|
+
);
|
|
39
|
+
}
|
|
40
|
+
var i = c;
|
|
41
|
+
function l(t) {
|
|
42
|
+
async function n({ data: e }) {
|
|
43
|
+
let o = [],
|
|
44
|
+
s = { id: e.id, result: void 0, error: void 0 };
|
|
45
|
+
self.CESIUM_BASE_URL = e.baseUrl;
|
|
46
|
+
try {
|
|
47
|
+
let r = await t(e.parameters, o);
|
|
48
|
+
s.result = r;
|
|
49
|
+
} catch (r) {
|
|
50
|
+
r instanceof Error
|
|
51
|
+
? (s.error = { name: r.name, message: r.message, stack: r.stack })
|
|
52
|
+
: (s.error = r);
|
|
53
|
+
}
|
|
54
|
+
e.canTransferArrayBuffer || (o.length = 0);
|
|
55
|
+
try {
|
|
56
|
+
postMessage(s, o);
|
|
57
|
+
} catch (r) {
|
|
58
|
+
((s.result = void 0),
|
|
59
|
+
(s.error = `postMessage failed with error: ${i(r)}
|
|
60
|
+
with responseMessage: ${JSON.stringify(s)}`),
|
|
61
|
+
postMessage(s));
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
function a(e) {
|
|
65
|
+
postMessage({
|
|
66
|
+
id: e.data?.id,
|
|
67
|
+
error: `postMessage failed with error: ${JSON.stringify(e)}`,
|
|
68
|
+
});
|
|
69
|
+
}
|
|
70
|
+
return ((self.onmessage = n), (self.onmessageerror = a), self);
|
|
71
|
+
}
|
|
72
|
+
var d = l;
|
|
73
|
+
export { d as a };
|
|
@@ -0,0 +1,538 @@
|
|
|
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 K } from "./chunk-KF5NF354.js";
|
|
27
|
+
import { a as L } from "./chunk-PDMQLSBL.js";
|
|
28
|
+
import { b as v, c as J, d as Z } from "./chunk-TMSETF7M.js";
|
|
29
|
+
import { b as B, h as k } from "./chunk-7Z5IIKOJ.js";
|
|
30
|
+
import { a as t, b as S, c as I, d as G, e as d } from "./chunk-POASMU2N.js";
|
|
31
|
+
import { a as g } from "./chunk-R6KGAEF6.js";
|
|
32
|
+
import { a as W } from "./chunk-IUA6FAOZ.js";
|
|
33
|
+
import { a as b, b as z } from "./chunk-UH2WFNTA.js";
|
|
34
|
+
import { e as p } from "./chunk-PEYJTJPE.js";
|
|
35
|
+
function m(n, e) {
|
|
36
|
+
((this.center = t.clone(W(n, t.ZERO))),
|
|
37
|
+
(this.halfAxes = d.clone(W(e, d.ZERO))));
|
|
38
|
+
}
|
|
39
|
+
m.packedLength = t.packedLength + d.packedLength;
|
|
40
|
+
m.pack = function (n, e, c) {
|
|
41
|
+
return (
|
|
42
|
+
z.typeOf.object("value", n),
|
|
43
|
+
z.defined("array", e),
|
|
44
|
+
(c = W(c, 0)),
|
|
45
|
+
t.pack(n.center, e, c),
|
|
46
|
+
d.pack(n.halfAxes, e, c + t.packedLength),
|
|
47
|
+
e
|
|
48
|
+
);
|
|
49
|
+
};
|
|
50
|
+
m.unpack = function (n, e, c) {
|
|
51
|
+
return (
|
|
52
|
+
z.defined("array", n),
|
|
53
|
+
(e = W(e, 0)),
|
|
54
|
+
p(c) || (c = new m()),
|
|
55
|
+
t.unpack(n, e, c.center),
|
|
56
|
+
d.unpack(n, e + t.packedLength, c.halfAxes),
|
|
57
|
+
c
|
|
58
|
+
);
|
|
59
|
+
};
|
|
60
|
+
var Ct = new t(),
|
|
61
|
+
ut = new t(),
|
|
62
|
+
Pt = new t(),
|
|
63
|
+
xt = new t(),
|
|
64
|
+
yt = new t(),
|
|
65
|
+
At = new t(),
|
|
66
|
+
Nt = new d(),
|
|
67
|
+
Mt = { unitary: new d(), diagonal: new d() };
|
|
68
|
+
m.fromPoints = function (n, e) {
|
|
69
|
+
if ((p(e) || (e = new m()), !p(n) || n.length === 0))
|
|
70
|
+
return ((e.halfAxes = d.ZERO), (e.center = t.ZERO), e);
|
|
71
|
+
let c,
|
|
72
|
+
h = n.length,
|
|
73
|
+
r = t.clone(n[0], Ct);
|
|
74
|
+
for (c = 1; c < h; c++) t.add(r, n[c], r);
|
|
75
|
+
let o = 1 / h;
|
|
76
|
+
t.multiplyByScalar(r, o, r);
|
|
77
|
+
let i = 0,
|
|
78
|
+
C = 0,
|
|
79
|
+
w = 0,
|
|
80
|
+
l = 0,
|
|
81
|
+
u = 0,
|
|
82
|
+
a = 0,
|
|
83
|
+
s;
|
|
84
|
+
for (c = 0; c < h; c++)
|
|
85
|
+
((s = t.subtract(n[c], r, ut)),
|
|
86
|
+
(i += s.x * s.x),
|
|
87
|
+
(C += s.x * s.y),
|
|
88
|
+
(w += s.x * s.z),
|
|
89
|
+
(l += s.y * s.y),
|
|
90
|
+
(u += s.y * s.z),
|
|
91
|
+
(a += s.z * s.z));
|
|
92
|
+
((i *= o), (C *= o), (w *= o), (l *= o), (u *= o), (a *= o));
|
|
93
|
+
let f = Nt;
|
|
94
|
+
((f[0] = i),
|
|
95
|
+
(f[1] = C),
|
|
96
|
+
(f[2] = w),
|
|
97
|
+
(f[3] = C),
|
|
98
|
+
(f[4] = l),
|
|
99
|
+
(f[5] = u),
|
|
100
|
+
(f[6] = w),
|
|
101
|
+
(f[7] = u),
|
|
102
|
+
(f[8] = a));
|
|
103
|
+
let A = d.computeEigenDecomposition(f, Mt),
|
|
104
|
+
M = d.clone(A.unitary, e.halfAxes),
|
|
105
|
+
x = d.getColumn(M, 0, xt),
|
|
106
|
+
y = d.getColumn(M, 1, yt),
|
|
107
|
+
N = d.getColumn(M, 2, At),
|
|
108
|
+
P = -Number.MAX_VALUE,
|
|
109
|
+
O = -Number.MAX_VALUE,
|
|
110
|
+
U = -Number.MAX_VALUE,
|
|
111
|
+
q = Number.MAX_VALUE,
|
|
112
|
+
R = Number.MAX_VALUE,
|
|
113
|
+
j = Number.MAX_VALUE;
|
|
114
|
+
for (c = 0; c < h; c++)
|
|
115
|
+
((s = n[c]),
|
|
116
|
+
(P = Math.max(t.dot(x, s), P)),
|
|
117
|
+
(O = Math.max(t.dot(y, s), O)),
|
|
118
|
+
(U = Math.max(t.dot(N, s), U)),
|
|
119
|
+
(q = Math.min(t.dot(x, s), q)),
|
|
120
|
+
(R = Math.min(t.dot(y, s), R)),
|
|
121
|
+
(j = Math.min(t.dot(N, s), j)));
|
|
122
|
+
((x = t.multiplyByScalar(x, 0.5 * (q + P), x)),
|
|
123
|
+
(y = t.multiplyByScalar(y, 0.5 * (R + O), y)),
|
|
124
|
+
(N = t.multiplyByScalar(N, 0.5 * (j + U), N)));
|
|
125
|
+
let T = t.add(x, y, e.center);
|
|
126
|
+
t.add(T, N, T);
|
|
127
|
+
let E = Pt;
|
|
128
|
+
return (
|
|
129
|
+
(E.x = P - q),
|
|
130
|
+
(E.y = O - R),
|
|
131
|
+
(E.z = U - j),
|
|
132
|
+
t.multiplyByScalar(E, 0.5, E),
|
|
133
|
+
d.multiplyByScale(e.halfAxes, E, e.halfAxes),
|
|
134
|
+
e
|
|
135
|
+
);
|
|
136
|
+
};
|
|
137
|
+
var nt = new t(),
|
|
138
|
+
Ot = new t();
|
|
139
|
+
function Q(n, e, c, h, r, o, i, C, w, l, u) {
|
|
140
|
+
if (!p(r) || !p(o) || !p(i) || !p(C) || !p(w) || !p(l))
|
|
141
|
+
throw new b("all extents (minimum/maximum X/Y/Z) are required.");
|
|
142
|
+
p(u) || (u = new m());
|
|
143
|
+
let a = u.halfAxes;
|
|
144
|
+
(d.setColumn(a, 0, e, a), d.setColumn(a, 1, c, a), d.setColumn(a, 2, h, a));
|
|
145
|
+
let s = nt;
|
|
146
|
+
((s.x = (r + o) / 2), (s.y = (i + C) / 2), (s.z = (w + l) / 2));
|
|
147
|
+
let f = Ot;
|
|
148
|
+
((f.x = (o - r) / 2), (f.y = (C - i) / 2), (f.z = (l - w) / 2));
|
|
149
|
+
let A = u.center;
|
|
150
|
+
return (
|
|
151
|
+
(s = d.multiplyByVector(a, s, s)),
|
|
152
|
+
t.add(n, s, A),
|
|
153
|
+
d.multiplyByScale(a, f, a),
|
|
154
|
+
u
|
|
155
|
+
);
|
|
156
|
+
}
|
|
157
|
+
var $ = new S(),
|
|
158
|
+
bt = new t(),
|
|
159
|
+
Tt = new S(),
|
|
160
|
+
St = new S(),
|
|
161
|
+
gt = new S(),
|
|
162
|
+
Et = new S(),
|
|
163
|
+
Rt = new S(),
|
|
164
|
+
Wt = new t(),
|
|
165
|
+
H = new t(),
|
|
166
|
+
zt = new t(),
|
|
167
|
+
tt = new t(),
|
|
168
|
+
It = new t(),
|
|
169
|
+
Lt = new I(),
|
|
170
|
+
Ut = new I(),
|
|
171
|
+
qt = new I(),
|
|
172
|
+
jt = new I(),
|
|
173
|
+
Bt = new I(),
|
|
174
|
+
vt = new t(),
|
|
175
|
+
Vt = new t(),
|
|
176
|
+
_t = new t(),
|
|
177
|
+
Dt = new t(),
|
|
178
|
+
Xt = new I(),
|
|
179
|
+
kt = new t(),
|
|
180
|
+
Zt = new t(),
|
|
181
|
+
Yt = new t(),
|
|
182
|
+
Ft = new L(t.UNIT_X, 0);
|
|
183
|
+
m.fromRectangle = function (n, e, c, h, r) {
|
|
184
|
+
if (!p(n)) throw new b("rectangle is required");
|
|
185
|
+
if (n.width < 0 || n.width > g.TWO_PI)
|
|
186
|
+
throw new b("Rectangle width must be between 0 and 2 * pi");
|
|
187
|
+
if (n.height < 0 || n.height > g.PI)
|
|
188
|
+
throw new b("Rectangle height must be between 0 and pi");
|
|
189
|
+
if (p(h) && !g.equalsEpsilon(h.radii.x, h.radii.y, g.EPSILON15))
|
|
190
|
+
throw new b(
|
|
191
|
+
"Ellipsoid must be an ellipsoid of revolution (radii.x == radii.y)",
|
|
192
|
+
);
|
|
193
|
+
((e = W(e, 0)), (c = W(c, 0)), (h = W(h, G.default)));
|
|
194
|
+
let o, i, C, w, l, u, a;
|
|
195
|
+
if (n.width <= g.PI) {
|
|
196
|
+
let R = k.center(n, $),
|
|
197
|
+
j = h.cartographicToCartesian(R, bt),
|
|
198
|
+
T = new K(j, h);
|
|
199
|
+
a = T.plane;
|
|
200
|
+
let E = R.longitude,
|
|
201
|
+
ot = n.south < 0 && n.north > 0 ? 0 : R.latitude,
|
|
202
|
+
st = S.fromRadians(E, n.north, c, Tt),
|
|
203
|
+
V = S.fromRadians(n.west, n.north, c, St),
|
|
204
|
+
it = S.fromRadians(n.west, ot, c, gt),
|
|
205
|
+
_ = S.fromRadians(n.west, n.south, c, Et),
|
|
206
|
+
ht = S.fromRadians(E, n.south, c, Rt),
|
|
207
|
+
ft = h.cartographicToCartesian(st, Wt),
|
|
208
|
+
D = h.cartographicToCartesian(V, H),
|
|
209
|
+
dt = h.cartographicToCartesian(it, zt),
|
|
210
|
+
X = h.cartographicToCartesian(_, tt),
|
|
211
|
+
mt = h.cartographicToCartesian(ht, It),
|
|
212
|
+
wt = T.projectPointToNearestOnPlane(ft, Lt),
|
|
213
|
+
Y = T.projectPointToNearestOnPlane(D, Ut),
|
|
214
|
+
lt = T.projectPointToNearestOnPlane(dt, qt),
|
|
215
|
+
F = T.projectPointToNearestOnPlane(X, jt),
|
|
216
|
+
pt = T.projectPointToNearestOnPlane(mt, Bt);
|
|
217
|
+
return (
|
|
218
|
+
(o = Math.min(Y.x, lt.x, F.x)),
|
|
219
|
+
(i = -o),
|
|
220
|
+
(w = Math.max(Y.y, wt.y)),
|
|
221
|
+
(C = Math.min(F.y, pt.y)),
|
|
222
|
+
(V.height = _.height = e),
|
|
223
|
+
(D = h.cartographicToCartesian(V, H)),
|
|
224
|
+
(X = h.cartographicToCartesian(_, tt)),
|
|
225
|
+
(l = Math.min(L.getPointDistance(a, D), L.getPointDistance(a, X))),
|
|
226
|
+
(u = c),
|
|
227
|
+
Q(T.origin, T.xAxis, T.yAxis, T.zAxis, o, i, C, w, l, u, r)
|
|
228
|
+
);
|
|
229
|
+
}
|
|
230
|
+
let s = n.south > 0,
|
|
231
|
+
f = n.north < 0,
|
|
232
|
+
A = s ? n.south : f ? n.north : 0,
|
|
233
|
+
M = k.center(n, $).longitude,
|
|
234
|
+
x = t.fromRadians(M, A, c, h, vt);
|
|
235
|
+
x.z = 0;
|
|
236
|
+
let N =
|
|
237
|
+
Math.abs(x.x) < g.EPSILON10 && Math.abs(x.y) < g.EPSILON10
|
|
238
|
+
? t.UNIT_X
|
|
239
|
+
: t.normalize(x, Vt),
|
|
240
|
+
P = t.UNIT_Z,
|
|
241
|
+
O = t.cross(N, P, _t);
|
|
242
|
+
a = L.fromPointNormal(x, N, Ft);
|
|
243
|
+
let U = t.fromRadians(M + g.PI_OVER_TWO, A, c, h, Dt);
|
|
244
|
+
((i = t.dot(L.projectPointOntoPlane(a, U, Xt), O)),
|
|
245
|
+
(o = -i),
|
|
246
|
+
(w = t.fromRadians(0, n.north, f ? e : c, h, kt).z),
|
|
247
|
+
(C = t.fromRadians(0, n.south, s ? e : c, h, Zt).z));
|
|
248
|
+
let q = t.fromRadians(n.east, A, c, h, Yt);
|
|
249
|
+
return (
|
|
250
|
+
(l = L.getPointDistance(a, q)),
|
|
251
|
+
(u = 0),
|
|
252
|
+
Q(x, O, P, N, o, i, C, w, l, u, r)
|
|
253
|
+
);
|
|
254
|
+
};
|
|
255
|
+
m.fromTransformation = function (n, e) {
|
|
256
|
+
return (
|
|
257
|
+
z.typeOf.object("transformation", n),
|
|
258
|
+
p(e) || (e = new m()),
|
|
259
|
+
(e.center = B.getTranslation(n, e.center)),
|
|
260
|
+
(e.halfAxes = B.getMatrix3(n, e.halfAxes)),
|
|
261
|
+
(e.halfAxes = d.multiplyByScalar(e.halfAxes, 0.5, e.halfAxes)),
|
|
262
|
+
e
|
|
263
|
+
);
|
|
264
|
+
};
|
|
265
|
+
m.clone = function (n, e) {
|
|
266
|
+
if (p(n))
|
|
267
|
+
return p(e)
|
|
268
|
+
? (t.clone(n.center, e.center), d.clone(n.halfAxes, e.halfAxes), e)
|
|
269
|
+
: new m(n.center, n.halfAxes);
|
|
270
|
+
};
|
|
271
|
+
m.intersectPlane = function (n, e) {
|
|
272
|
+
if (!p(n)) throw new b("box is required.");
|
|
273
|
+
if (!p(e)) throw new b("plane is required.");
|
|
274
|
+
let c = n.center,
|
|
275
|
+
h = e.normal,
|
|
276
|
+
r = n.halfAxes,
|
|
277
|
+
o = h.x,
|
|
278
|
+
i = h.y,
|
|
279
|
+
C = h.z,
|
|
280
|
+
w =
|
|
281
|
+
Math.abs(
|
|
282
|
+
o * r[d.COLUMN0ROW0] + i * r[d.COLUMN0ROW1] + C * r[d.COLUMN0ROW2],
|
|
283
|
+
) +
|
|
284
|
+
Math.abs(
|
|
285
|
+
o * r[d.COLUMN1ROW0] + i * r[d.COLUMN1ROW1] + C * r[d.COLUMN1ROW2],
|
|
286
|
+
) +
|
|
287
|
+
Math.abs(
|
|
288
|
+
o * r[d.COLUMN2ROW0] + i * r[d.COLUMN2ROW1] + C * r[d.COLUMN2ROW2],
|
|
289
|
+
),
|
|
290
|
+
l = t.dot(h, c) + e.distance;
|
|
291
|
+
return l <= -w ? v.OUTSIDE : l >= w ? v.INSIDE : v.INTERSECTING;
|
|
292
|
+
};
|
|
293
|
+
var at = new t(),
|
|
294
|
+
ct = new t(),
|
|
295
|
+
rt = new t(),
|
|
296
|
+
Gt = new t(),
|
|
297
|
+
et = new t(),
|
|
298
|
+
Jt = new t();
|
|
299
|
+
m.distanceSquaredTo = function (n, e) {
|
|
300
|
+
if (!p(n)) throw new b("box is required.");
|
|
301
|
+
if (!p(e)) throw new b("cartesian is required.");
|
|
302
|
+
let c = t.subtract(e, n.center, nt),
|
|
303
|
+
h = n.halfAxes,
|
|
304
|
+
r = d.getColumn(h, 0, at),
|
|
305
|
+
o = d.getColumn(h, 1, ct),
|
|
306
|
+
i = d.getColumn(h, 2, rt),
|
|
307
|
+
C = t.magnitude(r),
|
|
308
|
+
w = t.magnitude(o),
|
|
309
|
+
l = t.magnitude(i),
|
|
310
|
+
u = !0,
|
|
311
|
+
a = !0,
|
|
312
|
+
s = !0;
|
|
313
|
+
(C > 0 ? t.divideByScalar(r, C, r) : (u = !1),
|
|
314
|
+
w > 0 ? t.divideByScalar(o, w, o) : (a = !1),
|
|
315
|
+
l > 0 ? t.divideByScalar(i, l, i) : (s = !1));
|
|
316
|
+
let f = !u + !a + !s,
|
|
317
|
+
A,
|
|
318
|
+
M,
|
|
319
|
+
x;
|
|
320
|
+
if (f === 1) {
|
|
321
|
+
let O = r;
|
|
322
|
+
((A = o),
|
|
323
|
+
(M = i),
|
|
324
|
+
a ? s || ((O = i), (M = r)) : ((O = o), (A = r)),
|
|
325
|
+
(x = t.cross(A, M, et)),
|
|
326
|
+
O === r ? (r = x) : O === o ? (o = x) : O === i && (i = x));
|
|
327
|
+
} else if (f === 2) {
|
|
328
|
+
((A = r), a ? (A = o) : s && (A = i));
|
|
329
|
+
let O = t.UNIT_Y;
|
|
330
|
+
(O.equalsEpsilon(A, g.EPSILON3) && (O = t.UNIT_X),
|
|
331
|
+
(M = t.cross(A, O, Gt)),
|
|
332
|
+
t.normalize(M, M),
|
|
333
|
+
(x = t.cross(A, M, et)),
|
|
334
|
+
t.normalize(x, x),
|
|
335
|
+
A === r
|
|
336
|
+
? ((o = M), (i = x))
|
|
337
|
+
: A === o
|
|
338
|
+
? ((i = M), (r = x))
|
|
339
|
+
: A === i && ((r = M), (o = x)));
|
|
340
|
+
} else f === 3 && ((r = t.UNIT_X), (o = t.UNIT_Y), (i = t.UNIT_Z));
|
|
341
|
+
let y = Jt;
|
|
342
|
+
((y.x = t.dot(c, r)), (y.y = t.dot(c, o)), (y.z = t.dot(c, i)));
|
|
343
|
+
let N = 0,
|
|
344
|
+
P;
|
|
345
|
+
return (
|
|
346
|
+
y.x < -C
|
|
347
|
+
? ((P = y.x + C), (N += P * P))
|
|
348
|
+
: y.x > C && ((P = y.x - C), (N += P * P)),
|
|
349
|
+
y.y < -w
|
|
350
|
+
? ((P = y.y + w), (N += P * P))
|
|
351
|
+
: y.y > w && ((P = y.y - w), (N += P * P)),
|
|
352
|
+
y.z < -l
|
|
353
|
+
? ((P = y.z + l), (N += P * P))
|
|
354
|
+
: y.z > l && ((P = y.z - l), (N += P * P)),
|
|
355
|
+
N
|
|
356
|
+
);
|
|
357
|
+
};
|
|
358
|
+
var Kt = new t(),
|
|
359
|
+
Qt = new t();
|
|
360
|
+
m.computePlaneDistances = function (n, e, c, h) {
|
|
361
|
+
if (!p(n)) throw new b("box is required.");
|
|
362
|
+
if (!p(e)) throw new b("position is required.");
|
|
363
|
+
if (!p(c)) throw new b("direction is required.");
|
|
364
|
+
p(h) || (h = new J());
|
|
365
|
+
let r = Number.POSITIVE_INFINITY,
|
|
366
|
+
o = Number.NEGATIVE_INFINITY,
|
|
367
|
+
i = n.center,
|
|
368
|
+
C = n.halfAxes,
|
|
369
|
+
w = d.getColumn(C, 0, at),
|
|
370
|
+
l = d.getColumn(C, 1, ct),
|
|
371
|
+
u = d.getColumn(C, 2, rt),
|
|
372
|
+
a = t.add(w, l, Kt);
|
|
373
|
+
(t.add(a, u, a), t.add(a, i, a));
|
|
374
|
+
let s = t.subtract(a, e, Qt),
|
|
375
|
+
f = t.dot(c, s);
|
|
376
|
+
return (
|
|
377
|
+
(r = Math.min(f, r)),
|
|
378
|
+
(o = Math.max(f, o)),
|
|
379
|
+
t.add(i, w, a),
|
|
380
|
+
t.add(a, l, a),
|
|
381
|
+
t.subtract(a, u, a),
|
|
382
|
+
t.subtract(a, e, s),
|
|
383
|
+
(f = t.dot(c, s)),
|
|
384
|
+
(r = Math.min(f, r)),
|
|
385
|
+
(o = Math.max(f, o)),
|
|
386
|
+
t.add(i, w, a),
|
|
387
|
+
t.subtract(a, l, a),
|
|
388
|
+
t.add(a, u, a),
|
|
389
|
+
t.subtract(a, e, s),
|
|
390
|
+
(f = t.dot(c, s)),
|
|
391
|
+
(r = Math.min(f, r)),
|
|
392
|
+
(o = Math.max(f, o)),
|
|
393
|
+
t.add(i, w, a),
|
|
394
|
+
t.subtract(a, l, a),
|
|
395
|
+
t.subtract(a, u, a),
|
|
396
|
+
t.subtract(a, e, s),
|
|
397
|
+
(f = t.dot(c, s)),
|
|
398
|
+
(r = Math.min(f, r)),
|
|
399
|
+
(o = Math.max(f, o)),
|
|
400
|
+
t.subtract(i, w, a),
|
|
401
|
+
t.add(a, l, a),
|
|
402
|
+
t.add(a, u, a),
|
|
403
|
+
t.subtract(a, e, s),
|
|
404
|
+
(f = t.dot(c, s)),
|
|
405
|
+
(r = Math.min(f, r)),
|
|
406
|
+
(o = Math.max(f, o)),
|
|
407
|
+
t.subtract(i, w, a),
|
|
408
|
+
t.add(a, l, a),
|
|
409
|
+
t.subtract(a, u, a),
|
|
410
|
+
t.subtract(a, e, s),
|
|
411
|
+
(f = t.dot(c, s)),
|
|
412
|
+
(r = Math.min(f, r)),
|
|
413
|
+
(o = Math.max(f, o)),
|
|
414
|
+
t.subtract(i, w, a),
|
|
415
|
+
t.subtract(a, l, a),
|
|
416
|
+
t.add(a, u, a),
|
|
417
|
+
t.subtract(a, e, s),
|
|
418
|
+
(f = t.dot(c, s)),
|
|
419
|
+
(r = Math.min(f, r)),
|
|
420
|
+
(o = Math.max(f, o)),
|
|
421
|
+
t.subtract(i, w, a),
|
|
422
|
+
t.subtract(a, l, a),
|
|
423
|
+
t.subtract(a, u, a),
|
|
424
|
+
t.subtract(a, e, s),
|
|
425
|
+
(f = t.dot(c, s)),
|
|
426
|
+
(r = Math.min(f, r)),
|
|
427
|
+
(o = Math.max(f, o)),
|
|
428
|
+
(h.start = r),
|
|
429
|
+
(h.stop = o),
|
|
430
|
+
h
|
|
431
|
+
);
|
|
432
|
+
};
|
|
433
|
+
var $t = new t(),
|
|
434
|
+
Ht = new t(),
|
|
435
|
+
te = new t();
|
|
436
|
+
m.computeCorners = function (n, e) {
|
|
437
|
+
(z.typeOf.object("box", n),
|
|
438
|
+
p(e) ||
|
|
439
|
+
(e = [
|
|
440
|
+
new t(),
|
|
441
|
+
new t(),
|
|
442
|
+
new t(),
|
|
443
|
+
new t(),
|
|
444
|
+
new t(),
|
|
445
|
+
new t(),
|
|
446
|
+
new t(),
|
|
447
|
+
new t(),
|
|
448
|
+
]));
|
|
449
|
+
let c = n.center,
|
|
450
|
+
h = n.halfAxes,
|
|
451
|
+
r = d.getColumn(h, 0, $t),
|
|
452
|
+
o = d.getColumn(h, 1, Ht),
|
|
453
|
+
i = d.getColumn(h, 2, te);
|
|
454
|
+
return (
|
|
455
|
+
t.clone(c, e[0]),
|
|
456
|
+
t.subtract(e[0], r, e[0]),
|
|
457
|
+
t.subtract(e[0], o, e[0]),
|
|
458
|
+
t.subtract(e[0], i, e[0]),
|
|
459
|
+
t.clone(c, e[1]),
|
|
460
|
+
t.subtract(e[1], r, e[1]),
|
|
461
|
+
t.subtract(e[1], o, e[1]),
|
|
462
|
+
t.add(e[1], i, e[1]),
|
|
463
|
+
t.clone(c, e[2]),
|
|
464
|
+
t.subtract(e[2], r, e[2]),
|
|
465
|
+
t.add(e[2], o, e[2]),
|
|
466
|
+
t.subtract(e[2], i, e[2]),
|
|
467
|
+
t.clone(c, e[3]),
|
|
468
|
+
t.subtract(e[3], r, e[3]),
|
|
469
|
+
t.add(e[3], o, e[3]),
|
|
470
|
+
t.add(e[3], i, e[3]),
|
|
471
|
+
t.clone(c, e[4]),
|
|
472
|
+
t.add(e[4], r, e[4]),
|
|
473
|
+
t.subtract(e[4], o, e[4]),
|
|
474
|
+
t.subtract(e[4], i, e[4]),
|
|
475
|
+
t.clone(c, e[5]),
|
|
476
|
+
t.add(e[5], r, e[5]),
|
|
477
|
+
t.subtract(e[5], o, e[5]),
|
|
478
|
+
t.add(e[5], i, e[5]),
|
|
479
|
+
t.clone(c, e[6]),
|
|
480
|
+
t.add(e[6], r, e[6]),
|
|
481
|
+
t.add(e[6], o, e[6]),
|
|
482
|
+
t.subtract(e[6], i, e[6]),
|
|
483
|
+
t.clone(c, e[7]),
|
|
484
|
+
t.add(e[7], r, e[7]),
|
|
485
|
+
t.add(e[7], o, e[7]),
|
|
486
|
+
t.add(e[7], i, e[7]),
|
|
487
|
+
e
|
|
488
|
+
);
|
|
489
|
+
};
|
|
490
|
+
var ee = new d();
|
|
491
|
+
m.computeTransformation = function (n, e) {
|
|
492
|
+
(z.typeOf.object("box", n), p(e) || (e = new B()));
|
|
493
|
+
let c = n.center,
|
|
494
|
+
h = d.multiplyByUniformScale(n.halfAxes, 2, ee);
|
|
495
|
+
return B.fromRotationTranslation(h, c, e);
|
|
496
|
+
};
|
|
497
|
+
var ne = new Z();
|
|
498
|
+
m.isOccluded = function (n, e) {
|
|
499
|
+
if (!p(n)) throw new b("box is required.");
|
|
500
|
+
if (!p(e)) throw new b("occluder is required.");
|
|
501
|
+
let c = Z.fromOrientedBoundingBox(n, ne);
|
|
502
|
+
return !e.isBoundingSphereVisible(c);
|
|
503
|
+
};
|
|
504
|
+
m.prototype.intersectPlane = function (n) {
|
|
505
|
+
return m.intersectPlane(this, n);
|
|
506
|
+
};
|
|
507
|
+
m.prototype.distanceSquaredTo = function (n) {
|
|
508
|
+
return m.distanceSquaredTo(this, n);
|
|
509
|
+
};
|
|
510
|
+
m.prototype.computePlaneDistances = function (n, e, c) {
|
|
511
|
+
return m.computePlaneDistances(this, n, e, c);
|
|
512
|
+
};
|
|
513
|
+
m.prototype.computeCorners = function (n) {
|
|
514
|
+
return m.computeCorners(this, n);
|
|
515
|
+
};
|
|
516
|
+
m.prototype.computeTransformation = function (n) {
|
|
517
|
+
return m.computeTransformation(this, n);
|
|
518
|
+
};
|
|
519
|
+
m.prototype.isOccluded = function (n) {
|
|
520
|
+
return m.isOccluded(this, n);
|
|
521
|
+
};
|
|
522
|
+
m.equals = function (n, e) {
|
|
523
|
+
return (
|
|
524
|
+
n === e ||
|
|
525
|
+
(p(n) &&
|
|
526
|
+
p(e) &&
|
|
527
|
+
t.equals(n.center, e.center) &&
|
|
528
|
+
d.equals(n.halfAxes, e.halfAxes))
|
|
529
|
+
);
|
|
530
|
+
};
|
|
531
|
+
m.prototype.clone = function (n) {
|
|
532
|
+
return m.clone(this, n);
|
|
533
|
+
};
|
|
534
|
+
m.prototype.equals = function (n) {
|
|
535
|
+
return m.equals(this, n);
|
|
536
|
+
};
|
|
537
|
+
var ye = m;
|
|
538
|
+
export { ye as a };
|