@pggis/pg-sdk 3.2.9
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 +152 -0
- package/dist/index.cjs +43 -0
- package/dist/pggis.min.css +1 -0
- package/dist/pggis.min.js +42 -0
- package/dist/resources/Assets/IAU2006_XYS/IAU2006_XYS_0.json +1 -0
- package/dist/resources/Assets/IAU2006_XYS/IAU2006_XYS_1.json +1 -0
- package/dist/resources/Assets/IAU2006_XYS/IAU2006_XYS_10.json +1 -0
- package/dist/resources/Assets/IAU2006_XYS/IAU2006_XYS_11.json +1 -0
- package/dist/resources/Assets/IAU2006_XYS/IAU2006_XYS_12.json +1 -0
- package/dist/resources/Assets/IAU2006_XYS/IAU2006_XYS_13.json +1 -0
- package/dist/resources/Assets/IAU2006_XYS/IAU2006_XYS_14.json +1 -0
- package/dist/resources/Assets/IAU2006_XYS/IAU2006_XYS_15.json +1 -0
- package/dist/resources/Assets/IAU2006_XYS/IAU2006_XYS_16.json +1 -0
- package/dist/resources/Assets/IAU2006_XYS/IAU2006_XYS_17.json +1 -0
- package/dist/resources/Assets/IAU2006_XYS/IAU2006_XYS_18.json +1 -0
- package/dist/resources/Assets/IAU2006_XYS/IAU2006_XYS_19.json +1 -0
- package/dist/resources/Assets/IAU2006_XYS/IAU2006_XYS_2.json +1 -0
- package/dist/resources/Assets/IAU2006_XYS/IAU2006_XYS_20.json +1 -0
- package/dist/resources/Assets/IAU2006_XYS/IAU2006_XYS_21.json +1 -0
- package/dist/resources/Assets/IAU2006_XYS/IAU2006_XYS_22.json +1 -0
- package/dist/resources/Assets/IAU2006_XYS/IAU2006_XYS_23.json +1 -0
- package/dist/resources/Assets/IAU2006_XYS/IAU2006_XYS_24.json +1 -0
- package/dist/resources/Assets/IAU2006_XYS/IAU2006_XYS_25.json +1 -0
- package/dist/resources/Assets/IAU2006_XYS/IAU2006_XYS_26.json +1 -0
- package/dist/resources/Assets/IAU2006_XYS/IAU2006_XYS_27.json +1 -0
- package/dist/resources/Assets/IAU2006_XYS/IAU2006_XYS_3.json +1 -0
- package/dist/resources/Assets/IAU2006_XYS/IAU2006_XYS_4.json +1 -0
- package/dist/resources/Assets/IAU2006_XYS/IAU2006_XYS_5.json +1 -0
- package/dist/resources/Assets/IAU2006_XYS/IAU2006_XYS_6.json +1 -0
- package/dist/resources/Assets/IAU2006_XYS/IAU2006_XYS_7.json +1 -0
- package/dist/resources/Assets/IAU2006_XYS/IAU2006_XYS_8.json +1 -0
- package/dist/resources/Assets/IAU2006_XYS/IAU2006_XYS_9.json +1 -0
- package/dist/resources/Assets/Images/bing_maps_credit.png +0 -0
- package/dist/resources/Assets/Images/cesium_credit.png +0 -0
- package/dist/resources/Assets/Images/google_earth_credit.png +0 -0
- package/dist/resources/Assets/Images/ion-credit.png +0 -0
- package/dist/resources/Assets/Textures/LensFlare/DirtMask.jpg +0 -0
- package/dist/resources/Assets/Textures/LensFlare/StarBurst.jpg +0 -0
- package/dist/resources/Assets/Textures/NaturalEarthII/0/0/0.jpg +0 -0
- package/dist/resources/Assets/Textures/NaturalEarthII/0/1/0.jpg +0 -0
- package/dist/resources/Assets/Textures/NaturalEarthII/1/0/0.jpg +0 -0
- package/dist/resources/Assets/Textures/NaturalEarthII/1/0/1.jpg +0 -0
- package/dist/resources/Assets/Textures/NaturalEarthII/1/1/0.jpg +0 -0
- package/dist/resources/Assets/Textures/NaturalEarthII/1/1/1.jpg +0 -0
- package/dist/resources/Assets/Textures/NaturalEarthII/1/2/0.jpg +0 -0
- package/dist/resources/Assets/Textures/NaturalEarthII/1/2/1.jpg +0 -0
- package/dist/resources/Assets/Textures/NaturalEarthII/1/3/0.jpg +0 -0
- package/dist/resources/Assets/Textures/NaturalEarthII/1/3/1.jpg +0 -0
- package/dist/resources/Assets/Textures/NaturalEarthII/2/0/0.jpg +0 -0
- package/dist/resources/Assets/Textures/NaturalEarthII/2/0/1.jpg +0 -0
- package/dist/resources/Assets/Textures/NaturalEarthII/2/0/2.jpg +0 -0
- package/dist/resources/Assets/Textures/NaturalEarthII/2/0/3.jpg +0 -0
- package/dist/resources/Assets/Textures/NaturalEarthII/2/1/0.jpg +0 -0
- package/dist/resources/Assets/Textures/NaturalEarthII/2/1/1.jpg +0 -0
- package/dist/resources/Assets/Textures/NaturalEarthII/2/1/2.jpg +0 -0
- package/dist/resources/Assets/Textures/NaturalEarthII/2/1/3.jpg +0 -0
- package/dist/resources/Assets/Textures/NaturalEarthII/2/2/0.jpg +0 -0
- package/dist/resources/Assets/Textures/NaturalEarthII/2/2/1.jpg +0 -0
- package/dist/resources/Assets/Textures/NaturalEarthII/2/2/2.jpg +0 -0
- package/dist/resources/Assets/Textures/NaturalEarthII/2/2/3.jpg +0 -0
- package/dist/resources/Assets/Textures/NaturalEarthII/2/3/0.jpg +0 -0
- package/dist/resources/Assets/Textures/NaturalEarthII/2/3/1.jpg +0 -0
- package/dist/resources/Assets/Textures/NaturalEarthII/2/3/2.jpg +0 -0
- package/dist/resources/Assets/Textures/NaturalEarthII/2/3/3.jpg +0 -0
- package/dist/resources/Assets/Textures/NaturalEarthII/2/4/0.jpg +0 -0
- package/dist/resources/Assets/Textures/NaturalEarthII/2/4/1.jpg +0 -0
- package/dist/resources/Assets/Textures/NaturalEarthII/2/4/2.jpg +0 -0
- package/dist/resources/Assets/Textures/NaturalEarthII/2/4/3.jpg +0 -0
- package/dist/resources/Assets/Textures/NaturalEarthII/2/5/0.jpg +0 -0
- package/dist/resources/Assets/Textures/NaturalEarthII/2/5/1.jpg +0 -0
- package/dist/resources/Assets/Textures/NaturalEarthII/2/5/2.jpg +0 -0
- package/dist/resources/Assets/Textures/NaturalEarthII/2/5/3.jpg +0 -0
- package/dist/resources/Assets/Textures/NaturalEarthII/2/6/0.jpg +0 -0
- package/dist/resources/Assets/Textures/NaturalEarthII/2/6/1.jpg +0 -0
- package/dist/resources/Assets/Textures/NaturalEarthII/2/6/2.jpg +0 -0
- package/dist/resources/Assets/Textures/NaturalEarthII/2/6/3.jpg +0 -0
- package/dist/resources/Assets/Textures/NaturalEarthII/2/7/0.jpg +0 -0
- package/dist/resources/Assets/Textures/NaturalEarthII/2/7/1.jpg +0 -0
- package/dist/resources/Assets/Textures/NaturalEarthII/2/7/2.jpg +0 -0
- package/dist/resources/Assets/Textures/NaturalEarthII/2/7/3.jpg +0 -0
- package/dist/resources/Assets/Textures/NaturalEarthII/tilemapresource.xml +14 -0
- package/dist/resources/Assets/Textures/SkyBox/tycho2t3_80_mx.jpg +0 -0
- package/dist/resources/Assets/Textures/SkyBox/tycho2t3_80_my.jpg +0 -0
- package/dist/resources/Assets/Textures/SkyBox/tycho2t3_80_mz.jpg +0 -0
- package/dist/resources/Assets/Textures/SkyBox/tycho2t3_80_px.jpg +0 -0
- package/dist/resources/Assets/Textures/SkyBox/tycho2t3_80_py.jpg +0 -0
- package/dist/resources/Assets/Textures/SkyBox/tycho2t3_80_pz.jpg +0 -0
- package/dist/resources/Assets/Textures/maki/airfield.png +0 -0
- package/dist/resources/Assets/Textures/maki/airport.png +0 -0
- package/dist/resources/Assets/Textures/maki/alcohol-shop.png +0 -0
- package/dist/resources/Assets/Textures/maki/america-football.png +0 -0
- package/dist/resources/Assets/Textures/maki/art-gallery.png +0 -0
- package/dist/resources/Assets/Textures/maki/bakery.png +0 -0
- package/dist/resources/Assets/Textures/maki/bank.png +0 -0
- package/dist/resources/Assets/Textures/maki/bar.png +0 -0
- package/dist/resources/Assets/Textures/maki/baseball.png +0 -0
- package/dist/resources/Assets/Textures/maki/basketball.png +0 -0
- package/dist/resources/Assets/Textures/maki/beer.png +0 -0
- package/dist/resources/Assets/Textures/maki/bicycle.png +0 -0
- package/dist/resources/Assets/Textures/maki/building.png +0 -0
- package/dist/resources/Assets/Textures/maki/bus.png +0 -0
- package/dist/resources/Assets/Textures/maki/cafe.png +0 -0
- package/dist/resources/Assets/Textures/maki/camera.png +0 -0
- package/dist/resources/Assets/Textures/maki/campsite.png +0 -0
- package/dist/resources/Assets/Textures/maki/car.png +0 -0
- package/dist/resources/Assets/Textures/maki/cemetery.png +0 -0
- package/dist/resources/Assets/Textures/maki/cesium.png +0 -0
- package/dist/resources/Assets/Textures/maki/chemist.png +0 -0
- package/dist/resources/Assets/Textures/maki/cinema.png +0 -0
- package/dist/resources/Assets/Textures/maki/circle-stroked.png +0 -0
- package/dist/resources/Assets/Textures/maki/circle.png +0 -0
- package/dist/resources/Assets/Textures/maki/city.png +0 -0
- package/dist/resources/Assets/Textures/maki/clothing-store.png +0 -0
- package/dist/resources/Assets/Textures/maki/college.png +0 -0
- package/dist/resources/Assets/Textures/maki/commercial.png +0 -0
- package/dist/resources/Assets/Textures/maki/cricket.png +0 -0
- package/dist/resources/Assets/Textures/maki/cross.png +0 -0
- package/dist/resources/Assets/Textures/maki/dam.png +0 -0
- package/dist/resources/Assets/Textures/maki/danger.png +0 -0
- package/dist/resources/Assets/Textures/maki/disability.png +0 -0
- package/dist/resources/Assets/Textures/maki/dog-park.png +0 -0
- package/dist/resources/Assets/Textures/maki/embassy.png +0 -0
- package/dist/resources/Assets/Textures/maki/emergency-telephone.png +0 -0
- package/dist/resources/Assets/Textures/maki/entrance.png +0 -0
- package/dist/resources/Assets/Textures/maki/farm.png +0 -0
- package/dist/resources/Assets/Textures/maki/fast-food.png +0 -0
- package/dist/resources/Assets/Textures/maki/ferry.png +0 -0
- package/dist/resources/Assets/Textures/maki/fire-station.png +0 -0
- package/dist/resources/Assets/Textures/maki/fuel.png +0 -0
- package/dist/resources/Assets/Textures/maki/garden.png +0 -0
- package/dist/resources/Assets/Textures/maki/gift.png +0 -0
- package/dist/resources/Assets/Textures/maki/golf.png +0 -0
- package/dist/resources/Assets/Textures/maki/grocery.png +0 -0
- package/dist/resources/Assets/Textures/maki/hairdresser.png +0 -0
- package/dist/resources/Assets/Textures/maki/harbor.png +0 -0
- package/dist/resources/Assets/Textures/maki/heart.png +0 -0
- package/dist/resources/Assets/Textures/maki/heliport.png +0 -0
- package/dist/resources/Assets/Textures/maki/hospital.png +0 -0
- package/dist/resources/Assets/Textures/maki/ice-cream.png +0 -0
- package/dist/resources/Assets/Textures/maki/industrial.png +0 -0
- package/dist/resources/Assets/Textures/maki/land-use.png +0 -0
- package/dist/resources/Assets/Textures/maki/laundry.png +0 -0
- package/dist/resources/Assets/Textures/maki/library.png +0 -0
- package/dist/resources/Assets/Textures/maki/lighthouse.png +0 -0
- package/dist/resources/Assets/Textures/maki/lodging.png +0 -0
- package/dist/resources/Assets/Textures/maki/logging.png +0 -0
- package/dist/resources/Assets/Textures/maki/london-underground.png +0 -0
- package/dist/resources/Assets/Textures/maki/marker-stroked.png +0 -0
- package/dist/resources/Assets/Textures/maki/marker.png +0 -0
- package/dist/resources/Assets/Textures/maki/minefield.png +0 -0
- package/dist/resources/Assets/Textures/maki/mobilephone.png +0 -0
- package/dist/resources/Assets/Textures/maki/monument.png +0 -0
- package/dist/resources/Assets/Textures/maki/museum.png +0 -0
- package/dist/resources/Assets/Textures/maki/music.png +0 -0
- package/dist/resources/Assets/Textures/maki/oil-well.png +0 -0
- package/dist/resources/Assets/Textures/maki/park.png +0 -0
- package/dist/resources/Assets/Textures/maki/park2.png +0 -0
- package/dist/resources/Assets/Textures/maki/parking-garage.png +0 -0
- package/dist/resources/Assets/Textures/maki/parking.png +0 -0
- package/dist/resources/Assets/Textures/maki/pharmacy.png +0 -0
- package/dist/resources/Assets/Textures/maki/pitch.png +0 -0
- package/dist/resources/Assets/Textures/maki/place-of-worship.png +0 -0
- package/dist/resources/Assets/Textures/maki/playground.png +0 -0
- package/dist/resources/Assets/Textures/maki/police.png +0 -0
- package/dist/resources/Assets/Textures/maki/polling-place.png +0 -0
- package/dist/resources/Assets/Textures/maki/post.png +0 -0
- package/dist/resources/Assets/Textures/maki/prison.png +0 -0
- package/dist/resources/Assets/Textures/maki/rail-above.png +0 -0
- package/dist/resources/Assets/Textures/maki/rail-light.png +0 -0
- package/dist/resources/Assets/Textures/maki/rail-metro.png +0 -0
- package/dist/resources/Assets/Textures/maki/rail-underground.png +0 -0
- package/dist/resources/Assets/Textures/maki/rail.png +0 -0
- package/dist/resources/Assets/Textures/maki/religious-christian.png +0 -0
- package/dist/resources/Assets/Textures/maki/religious-jewish.png +0 -0
- package/dist/resources/Assets/Textures/maki/religious-muslim.png +0 -0
- package/dist/resources/Assets/Textures/maki/restaurant.png +0 -0
- package/dist/resources/Assets/Textures/maki/roadblock.png +0 -0
- package/dist/resources/Assets/Textures/maki/rocket.png +0 -0
- package/dist/resources/Assets/Textures/maki/school.png +0 -0
- package/dist/resources/Assets/Textures/maki/scooter.png +0 -0
- package/dist/resources/Assets/Textures/maki/shop.png +0 -0
- package/dist/resources/Assets/Textures/maki/skiing.png +0 -0
- package/dist/resources/Assets/Textures/maki/slaughterhouse.png +0 -0
- package/dist/resources/Assets/Textures/maki/soccer.png +0 -0
- package/dist/resources/Assets/Textures/maki/square-stroked.png +0 -0
- package/dist/resources/Assets/Textures/maki/square.png +0 -0
- package/dist/resources/Assets/Textures/maki/star-stroked.png +0 -0
- package/dist/resources/Assets/Textures/maki/star.png +0 -0
- package/dist/resources/Assets/Textures/maki/suitcase.png +0 -0
- package/dist/resources/Assets/Textures/maki/swimming.png +0 -0
- package/dist/resources/Assets/Textures/maki/telephone.png +0 -0
- package/dist/resources/Assets/Textures/maki/tennis.png +0 -0
- package/dist/resources/Assets/Textures/maki/theatre.png +0 -0
- package/dist/resources/Assets/Textures/maki/toilets.png +0 -0
- package/dist/resources/Assets/Textures/maki/town-hall.png +0 -0
- package/dist/resources/Assets/Textures/maki/town.png +0 -0
- package/dist/resources/Assets/Textures/maki/triangle-stroked.png +0 -0
- package/dist/resources/Assets/Textures/maki/triangle.png +0 -0
- package/dist/resources/Assets/Textures/maki/village.png +0 -0
- package/dist/resources/Assets/Textures/maki/warehouse.png +0 -0
- package/dist/resources/Assets/Textures/maki/waste-basket.png +0 -0
- package/dist/resources/Assets/Textures/maki/water.png +0 -0
- package/dist/resources/Assets/Textures/maki/wetland.png +0 -0
- package/dist/resources/Assets/Textures/maki/zoo.png +0 -0
- package/dist/resources/Assets/Textures/moonSmall.jpg +0 -0
- package/dist/resources/Assets/Textures/pin.svg +1 -0
- package/dist/resources/Assets/Textures/waterNormals.jpg +0 -0
- package/dist/resources/Assets/Textures/waterNormalsSmall.jpg +0 -0
- package/dist/resources/Assets/approximateTerrainHeights.json +1 -0
- package/dist/resources/ThirdParty/Workers/basis_transcoder.js +21 -0
- package/dist/resources/ThirdParty/Workers/package.json +1 -0
- package/dist/resources/ThirdParty/Workers/pako_deflate.min.js +2 -0
- package/dist/resources/ThirdParty/Workers/pako_inflate.min.js +2 -0
- package/dist/resources/ThirdParty/Workers/z-worker-pako.js +1 -0
- package/dist/resources/ThirdParty/basis_transcoder.wasm +0 -0
- package/dist/resources/ThirdParty/draco_decoder.wasm +0 -0
- package/dist/resources/ThirdParty/google-earth-dbroot-parser.js +8337 -0
- package/dist/resources/Workers/chunk-3PW6ZBN4.js +2977 -0
- package/dist/resources/Workers/chunk-434ZTTFX.js +73 -0
- package/dist/resources/Workers/chunk-4KP73B43.js +73 -0
- package/dist/resources/Workers/chunk-52VSIKEA.js +2716 -0
- package/dist/resources/Workers/chunk-5GDBZTHX.js +1075 -0
- package/dist/resources/Workers/chunk-5HLGKKG3.js +163 -0
- package/dist/resources/Workers/chunk-5IRLXUTA.js +1258 -0
- package/dist/resources/Workers/chunk-5SK36PU4.js +430 -0
- package/dist/resources/Workers/chunk-ARPTYYKS.js +258 -0
- package/dist/resources/Workers/chunk-ATB2I7OS.js +55 -0
- package/dist/resources/Workers/chunk-AXFRNOVC.js +368 -0
- package/dist/resources/Workers/chunk-BP467WX3.js +501 -0
- package/dist/resources/Workers/chunk-BUZDZBUH.js +1007 -0
- package/dist/resources/Workers/chunk-CDGHUKQ4.js +1477 -0
- package/dist/resources/Workers/chunk-CSIZ3BGT.js +398 -0
- package/dist/resources/Workers/chunk-CWJQGBWT.js +39 -0
- package/dist/resources/Workers/chunk-DMCSY5BU.js +100 -0
- package/dist/resources/Workers/chunk-DR5XZ6K5.js +390 -0
- package/dist/resources/Workers/chunk-FWGNCYP6.js +476 -0
- package/dist/resources/Workers/chunk-GF5TNNKP.js +353 -0
- package/dist/resources/Workers/chunk-GVL5I7TC.js +1052 -0
- package/dist/resources/Workers/chunk-H5DUXHCV.js +421 -0
- package/dist/resources/Workers/chunk-HFKSAB5K.js +511 -0
- package/dist/resources/Workers/chunk-HOT2SNXP.js +8639 -0
- package/dist/resources/Workers/chunk-HPH5HSFE.js +1860 -0
- package/dist/resources/Workers/chunk-HPP4JLNH.js +218 -0
- package/dist/resources/Workers/chunk-HUPNRBWW.js +196 -0
- package/dist/resources/Workers/chunk-JGG36SQV.js +102 -0
- package/dist/resources/Workers/chunk-LGJUI2CE.js +2361 -0
- package/dist/resources/Workers/chunk-LGL4P5KL.js +171 -0
- package/dist/resources/Workers/chunk-LX6XV4DK.js +138 -0
- package/dist/resources/Workers/chunk-MN34FIF5.js +37 -0
- package/dist/resources/Workers/chunk-MW3CJYLX.js +101 -0
- package/dist/resources/Workers/chunk-NE4JNU6H.js +767 -0
- package/dist/resources/Workers/chunk-O43GWBSF.js +55 -0
- package/dist/resources/Workers/chunk-PIXK6KHB.js +44 -0
- package/dist/resources/Workers/chunk-PZ2WJWUG.js +634 -0
- package/dist/resources/Workers/chunk-QRBRVGZC.js +305 -0
- package/dist/resources/Workers/chunk-QTZQZY2C.js +669 -0
- package/dist/resources/Workers/chunk-R3HUGXBH.js +302 -0
- package/dist/resources/Workers/chunk-R4OZKBXH.js +456 -0
- package/dist/resources/Workers/chunk-RH4N2ONY.js +236 -0
- package/dist/resources/Workers/chunk-RIDPF7PO.js +58 -0
- package/dist/resources/Workers/chunk-SNN7WOC2.js +781 -0
- package/dist/resources/Workers/chunk-SQVTYRZY.js +122 -0
- package/dist/resources/Workers/chunk-SV7DDPAC.js +629 -0
- package/dist/resources/Workers/chunk-TIXXVKUY.js +834 -0
- package/dist/resources/Workers/chunk-TMPVBFJQ.js +289 -0
- package/dist/resources/Workers/chunk-XUTVA4K5.js +684 -0
- package/dist/resources/Workers/chunk-Y4OJ4B23.js +59 -0
- package/dist/resources/Workers/chunk-YBKFS53K.js +77 -0
- package/dist/resources/Workers/chunk-Z2SIPUKB.js +117 -0
- package/dist/resources/Workers/chunk-Z4JUBRHP.js +157 -0
- package/dist/resources/Workers/chunk-ZQRZBHYI.js +138 -0
- package/dist/resources/Workers/combineGeometry.js +67 -0
- package/dist/resources/Workers/createBoxGeometry.js +57 -0
- package/dist/resources/Workers/createBoxOutlineGeometry.js +234 -0
- package/dist/resources/Workers/createCircleGeometry.js +196 -0
- package/dist/resources/Workers/createCircleOutlineGeometry.js +146 -0
- package/dist/resources/Workers/createCoplanarPolygonGeometry.js +505 -0
- package/dist/resources/Workers/createCoplanarPolygonOutlineGeometry.js +224 -0
- package/dist/resources/Workers/createCorridorGeometry.js +1263 -0
- package/dist/resources/Workers/createCorridorOutlineGeometry.js +568 -0
- package/dist/resources/Workers/createCylinderGeometry.js +59 -0
- package/dist/resources/Workers/createCylinderOutlineGeometry.js +230 -0
- package/dist/resources/Workers/createEllipseGeometry.js +70 -0
- package/dist/resources/Workers/createEllipseOutlineGeometry.js +63 -0
- package/dist/resources/Workers/createEllipsoidGeometry.js +58 -0
- package/dist/resources/Workers/createEllipsoidOutlineGeometry.js +60 -0
- package/dist/resources/Workers/createFrustumGeometry.js +57 -0
- package/dist/resources/Workers/createFrustumOutlineGeometry.js +234 -0
- package/dist/resources/Workers/createGeometry.js +150 -0
- package/dist/resources/Workers/createGroundPolylineGeometry.js +1607 -0
- package/dist/resources/Workers/createPlaneGeometry.js +223 -0
- package/dist/resources/Workers/createPlaneOutlineGeometry.js +123 -0
- package/dist/resources/Workers/createPolygonGeometry.js +1545 -0
- package/dist/resources/Workers/createPolygonOutlineGeometry.js +542 -0
- package/dist/resources/Workers/createPolylineGeometry.js +495 -0
- package/dist/resources/Workers/createPolylineVolumeGeometry.js +380 -0
- package/dist/resources/Workers/createPolylineVolumeOutlineGeometry.js +277 -0
- package/dist/resources/Workers/createRectangleGeometry.js +1273 -0
- package/dist/resources/Workers/createRectangleOutlineGeometry.js +478 -0
- package/dist/resources/Workers/createSimplePolylineGeometry.js +399 -0
- package/dist/resources/Workers/createSphereGeometry.js +117 -0
- package/dist/resources/Workers/createSphereOutlineGeometry.js +117 -0
- package/dist/resources/Workers/createTaskProcessorWorker.js +32 -0
- package/dist/resources/Workers/createVectorTileClampedPolylines.js +492 -0
- package/dist/resources/Workers/createVectorTileGeometries.js +386 -0
- package/dist/resources/Workers/createVectorTilePoints.js +112 -0
- package/dist/resources/Workers/createVectorTilePolygons.js +384 -0
- package/dist/resources/Workers/createVectorTilePolylines.js +262 -0
- package/dist/resources/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js +568 -0
- package/dist/resources/Workers/createVerticesFromHeightmap.js +2277 -0
- package/dist/resources/Workers/createVerticesFromQuantizedTerrainMesh.js +745 -0
- package/dist/resources/Workers/createWallGeometry.js +489 -0
- package/dist/resources/Workers/createWallOutlineGeometry.js +337 -0
- package/dist/resources/Workers/decodeDraco.js +369 -0
- package/dist/resources/Workers/decodeGoogleEarthEnterprisePacket.js +2650 -0
- package/dist/resources/Workers/decodeI3S.js +835 -0
- package/dist/resources/Workers/transcodeKTX2.js +3425 -0
- package/dist/resources/Workers/transferTypedArrayTest.js +41 -0
- package/dist/resources/Workers/upsampleQuantizedTerrainMesh.js +818 -0
- package/package.json +81 -0
|
@@ -0,0 +1,223 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
+
* Version 1.113
|
|
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 {
|
|
27
|
+
VertexFormat_default
|
|
28
|
+
} from "./chunk-ZQRZBHYI.js";
|
|
29
|
+
import {
|
|
30
|
+
GeometryAttributes_default
|
|
31
|
+
} from "./chunk-PIXK6KHB.js";
|
|
32
|
+
import {
|
|
33
|
+
GeometryAttribute_default,
|
|
34
|
+
Geometry_default,
|
|
35
|
+
PrimitiveType_default
|
|
36
|
+
} from "./chunk-R3HUGXBH.js";
|
|
37
|
+
import {
|
|
38
|
+
BoundingSphere_default
|
|
39
|
+
} from "./chunk-HOT2SNXP.js";
|
|
40
|
+
import "./chunk-4KP73B43.js";
|
|
41
|
+
import "./chunk-3PW6ZBN4.js";
|
|
42
|
+
import {
|
|
43
|
+
ComponentDatatype_default
|
|
44
|
+
} from "./chunk-ARPTYYKS.js";
|
|
45
|
+
import {
|
|
46
|
+
Cartesian3_default
|
|
47
|
+
} from "./chunk-LGJUI2CE.js";
|
|
48
|
+
import "./chunk-BP467WX3.js";
|
|
49
|
+
import "./chunk-SV7DDPAC.js";
|
|
50
|
+
import "./chunk-RIDPF7PO.js";
|
|
51
|
+
import {
|
|
52
|
+
defaultValue_default
|
|
53
|
+
} from "./chunk-CWJQGBWT.js";
|
|
54
|
+
import {
|
|
55
|
+
Check_default
|
|
56
|
+
} from "./chunk-5HLGKKG3.js";
|
|
57
|
+
import {
|
|
58
|
+
defined_default
|
|
59
|
+
} from "./chunk-YBKFS53K.js";
|
|
60
|
+
|
|
61
|
+
// packages/engine/Source/Core/PlaneGeometry.js
|
|
62
|
+
function PlaneGeometry(options) {
|
|
63
|
+
options = defaultValue_default(options, defaultValue_default.EMPTY_OBJECT);
|
|
64
|
+
const vertexFormat = defaultValue_default(options.vertexFormat, VertexFormat_default.DEFAULT);
|
|
65
|
+
this._vertexFormat = vertexFormat;
|
|
66
|
+
this._workerName = "createPlaneGeometry";
|
|
67
|
+
}
|
|
68
|
+
PlaneGeometry.packedLength = VertexFormat_default.packedLength;
|
|
69
|
+
PlaneGeometry.pack = function(value, array, startingIndex) {
|
|
70
|
+
Check_default.typeOf.object("value", value);
|
|
71
|
+
Check_default.defined("array", array);
|
|
72
|
+
startingIndex = defaultValue_default(startingIndex, 0);
|
|
73
|
+
VertexFormat_default.pack(value._vertexFormat, array, startingIndex);
|
|
74
|
+
return array;
|
|
75
|
+
};
|
|
76
|
+
var scratchVertexFormat = new VertexFormat_default();
|
|
77
|
+
var scratchOptions = {
|
|
78
|
+
vertexFormat: scratchVertexFormat
|
|
79
|
+
};
|
|
80
|
+
PlaneGeometry.unpack = function(array, startingIndex, result) {
|
|
81
|
+
Check_default.defined("array", array);
|
|
82
|
+
startingIndex = defaultValue_default(startingIndex, 0);
|
|
83
|
+
const vertexFormat = VertexFormat_default.unpack(
|
|
84
|
+
array,
|
|
85
|
+
startingIndex,
|
|
86
|
+
scratchVertexFormat
|
|
87
|
+
);
|
|
88
|
+
if (!defined_default(result)) {
|
|
89
|
+
return new PlaneGeometry(scratchOptions);
|
|
90
|
+
}
|
|
91
|
+
result._vertexFormat = VertexFormat_default.clone(vertexFormat, result._vertexFormat);
|
|
92
|
+
return result;
|
|
93
|
+
};
|
|
94
|
+
var min = new Cartesian3_default(-0.5, -0.5, 0);
|
|
95
|
+
var max = new Cartesian3_default(0.5, 0.5, 0);
|
|
96
|
+
PlaneGeometry.createGeometry = function(planeGeometry) {
|
|
97
|
+
const vertexFormat = planeGeometry._vertexFormat;
|
|
98
|
+
const attributes = new GeometryAttributes_default();
|
|
99
|
+
let indices;
|
|
100
|
+
let positions;
|
|
101
|
+
if (vertexFormat.position) {
|
|
102
|
+
positions = new Float64Array(4 * 3);
|
|
103
|
+
positions[0] = min.x;
|
|
104
|
+
positions[1] = min.y;
|
|
105
|
+
positions[2] = 0;
|
|
106
|
+
positions[3] = max.x;
|
|
107
|
+
positions[4] = min.y;
|
|
108
|
+
positions[5] = 0;
|
|
109
|
+
positions[6] = max.x;
|
|
110
|
+
positions[7] = max.y;
|
|
111
|
+
positions[8] = 0;
|
|
112
|
+
positions[9] = min.x;
|
|
113
|
+
positions[10] = max.y;
|
|
114
|
+
positions[11] = 0;
|
|
115
|
+
attributes.position = new GeometryAttribute_default({
|
|
116
|
+
componentDatatype: ComponentDatatype_default.DOUBLE,
|
|
117
|
+
componentsPerAttribute: 3,
|
|
118
|
+
values: positions
|
|
119
|
+
});
|
|
120
|
+
if (vertexFormat.normal) {
|
|
121
|
+
const normals = new Float32Array(4 * 3);
|
|
122
|
+
normals[0] = 0;
|
|
123
|
+
normals[1] = 0;
|
|
124
|
+
normals[2] = 1;
|
|
125
|
+
normals[3] = 0;
|
|
126
|
+
normals[4] = 0;
|
|
127
|
+
normals[5] = 1;
|
|
128
|
+
normals[6] = 0;
|
|
129
|
+
normals[7] = 0;
|
|
130
|
+
normals[8] = 1;
|
|
131
|
+
normals[9] = 0;
|
|
132
|
+
normals[10] = 0;
|
|
133
|
+
normals[11] = 1;
|
|
134
|
+
attributes.normal = new GeometryAttribute_default({
|
|
135
|
+
componentDatatype: ComponentDatatype_default.FLOAT,
|
|
136
|
+
componentsPerAttribute: 3,
|
|
137
|
+
values: normals
|
|
138
|
+
});
|
|
139
|
+
}
|
|
140
|
+
if (vertexFormat.st) {
|
|
141
|
+
const texCoords = new Float32Array(4 * 2);
|
|
142
|
+
texCoords[0] = 0;
|
|
143
|
+
texCoords[1] = 0;
|
|
144
|
+
texCoords[2] = 1;
|
|
145
|
+
texCoords[3] = 0;
|
|
146
|
+
texCoords[4] = 1;
|
|
147
|
+
texCoords[5] = 1;
|
|
148
|
+
texCoords[6] = 0;
|
|
149
|
+
texCoords[7] = 1;
|
|
150
|
+
attributes.st = new GeometryAttribute_default({
|
|
151
|
+
componentDatatype: ComponentDatatype_default.FLOAT,
|
|
152
|
+
componentsPerAttribute: 2,
|
|
153
|
+
values: texCoords
|
|
154
|
+
});
|
|
155
|
+
}
|
|
156
|
+
if (vertexFormat.tangent) {
|
|
157
|
+
const tangents = new Float32Array(4 * 3);
|
|
158
|
+
tangents[0] = 1;
|
|
159
|
+
tangents[1] = 0;
|
|
160
|
+
tangents[2] = 0;
|
|
161
|
+
tangents[3] = 1;
|
|
162
|
+
tangents[4] = 0;
|
|
163
|
+
tangents[5] = 0;
|
|
164
|
+
tangents[6] = 1;
|
|
165
|
+
tangents[7] = 0;
|
|
166
|
+
tangents[8] = 0;
|
|
167
|
+
tangents[9] = 1;
|
|
168
|
+
tangents[10] = 0;
|
|
169
|
+
tangents[11] = 0;
|
|
170
|
+
attributes.tangent = new GeometryAttribute_default({
|
|
171
|
+
componentDatatype: ComponentDatatype_default.FLOAT,
|
|
172
|
+
componentsPerAttribute: 3,
|
|
173
|
+
values: tangents
|
|
174
|
+
});
|
|
175
|
+
}
|
|
176
|
+
if (vertexFormat.bitangent) {
|
|
177
|
+
const bitangents = new Float32Array(4 * 3);
|
|
178
|
+
bitangents[0] = 0;
|
|
179
|
+
bitangents[1] = 1;
|
|
180
|
+
bitangents[2] = 0;
|
|
181
|
+
bitangents[3] = 0;
|
|
182
|
+
bitangents[4] = 1;
|
|
183
|
+
bitangents[5] = 0;
|
|
184
|
+
bitangents[6] = 0;
|
|
185
|
+
bitangents[7] = 1;
|
|
186
|
+
bitangents[8] = 0;
|
|
187
|
+
bitangents[9] = 0;
|
|
188
|
+
bitangents[10] = 1;
|
|
189
|
+
bitangents[11] = 0;
|
|
190
|
+
attributes.bitangent = new GeometryAttribute_default({
|
|
191
|
+
componentDatatype: ComponentDatatype_default.FLOAT,
|
|
192
|
+
componentsPerAttribute: 3,
|
|
193
|
+
values: bitangents
|
|
194
|
+
});
|
|
195
|
+
}
|
|
196
|
+
indices = new Uint16Array(2 * 3);
|
|
197
|
+
indices[0] = 0;
|
|
198
|
+
indices[1] = 1;
|
|
199
|
+
indices[2] = 2;
|
|
200
|
+
indices[3] = 0;
|
|
201
|
+
indices[4] = 2;
|
|
202
|
+
indices[5] = 3;
|
|
203
|
+
}
|
|
204
|
+
return new Geometry_default({
|
|
205
|
+
attributes,
|
|
206
|
+
indices,
|
|
207
|
+
primitiveType: PrimitiveType_default.TRIANGLES,
|
|
208
|
+
boundingSphere: new BoundingSphere_default(Cartesian3_default.ZERO, Math.sqrt(2))
|
|
209
|
+
});
|
|
210
|
+
};
|
|
211
|
+
var PlaneGeometry_default = PlaneGeometry;
|
|
212
|
+
|
|
213
|
+
// packages/engine/Source/Workers/createPlaneGeometry.js
|
|
214
|
+
function createPlaneGeometry(planeGeometry, offset) {
|
|
215
|
+
if (defined_default(offset)) {
|
|
216
|
+
planeGeometry = PlaneGeometry_default.unpack(planeGeometry, offset);
|
|
217
|
+
}
|
|
218
|
+
return PlaneGeometry_default.createGeometry(planeGeometry);
|
|
219
|
+
}
|
|
220
|
+
var createPlaneGeometry_default = createPlaneGeometry;
|
|
221
|
+
export {
|
|
222
|
+
createPlaneGeometry_default as default
|
|
223
|
+
};
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
+
* Version 1.113
|
|
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 {
|
|
27
|
+
GeometryAttributes_default
|
|
28
|
+
} from "./chunk-PIXK6KHB.js";
|
|
29
|
+
import {
|
|
30
|
+
GeometryAttribute_default,
|
|
31
|
+
Geometry_default,
|
|
32
|
+
PrimitiveType_default
|
|
33
|
+
} from "./chunk-R3HUGXBH.js";
|
|
34
|
+
import {
|
|
35
|
+
BoundingSphere_default
|
|
36
|
+
} from "./chunk-HOT2SNXP.js";
|
|
37
|
+
import "./chunk-4KP73B43.js";
|
|
38
|
+
import "./chunk-3PW6ZBN4.js";
|
|
39
|
+
import {
|
|
40
|
+
ComponentDatatype_default
|
|
41
|
+
} from "./chunk-ARPTYYKS.js";
|
|
42
|
+
import {
|
|
43
|
+
Cartesian3_default
|
|
44
|
+
} from "./chunk-LGJUI2CE.js";
|
|
45
|
+
import "./chunk-BP467WX3.js";
|
|
46
|
+
import "./chunk-SV7DDPAC.js";
|
|
47
|
+
import "./chunk-RIDPF7PO.js";
|
|
48
|
+
import "./chunk-CWJQGBWT.js";
|
|
49
|
+
import {
|
|
50
|
+
Check_default
|
|
51
|
+
} from "./chunk-5HLGKKG3.js";
|
|
52
|
+
import {
|
|
53
|
+
defined_default
|
|
54
|
+
} from "./chunk-YBKFS53K.js";
|
|
55
|
+
|
|
56
|
+
// packages/engine/Source/Core/PlaneOutlineGeometry.js
|
|
57
|
+
function PlaneOutlineGeometry() {
|
|
58
|
+
this._workerName = "createPlaneOutlineGeometry";
|
|
59
|
+
}
|
|
60
|
+
PlaneOutlineGeometry.packedLength = 0;
|
|
61
|
+
PlaneOutlineGeometry.pack = function(value, array) {
|
|
62
|
+
Check_default.defined("value", value);
|
|
63
|
+
Check_default.defined("array", array);
|
|
64
|
+
return array;
|
|
65
|
+
};
|
|
66
|
+
PlaneOutlineGeometry.unpack = function(array, startingIndex, result) {
|
|
67
|
+
Check_default.defined("array", array);
|
|
68
|
+
if (!defined_default(result)) {
|
|
69
|
+
return new PlaneOutlineGeometry();
|
|
70
|
+
}
|
|
71
|
+
return result;
|
|
72
|
+
};
|
|
73
|
+
var min = new Cartesian3_default(-0.5, -0.5, 0);
|
|
74
|
+
var max = new Cartesian3_default(0.5, 0.5, 0);
|
|
75
|
+
PlaneOutlineGeometry.createGeometry = function() {
|
|
76
|
+
const attributes = new GeometryAttributes_default();
|
|
77
|
+
const indices = new Uint16Array(4 * 2);
|
|
78
|
+
const positions = new Float64Array(4 * 3);
|
|
79
|
+
positions[0] = min.x;
|
|
80
|
+
positions[1] = min.y;
|
|
81
|
+
positions[2] = min.z;
|
|
82
|
+
positions[3] = max.x;
|
|
83
|
+
positions[4] = min.y;
|
|
84
|
+
positions[5] = min.z;
|
|
85
|
+
positions[6] = max.x;
|
|
86
|
+
positions[7] = max.y;
|
|
87
|
+
positions[8] = min.z;
|
|
88
|
+
positions[9] = min.x;
|
|
89
|
+
positions[10] = max.y;
|
|
90
|
+
positions[11] = min.z;
|
|
91
|
+
attributes.position = new GeometryAttribute_default({
|
|
92
|
+
componentDatatype: ComponentDatatype_default.DOUBLE,
|
|
93
|
+
componentsPerAttribute: 3,
|
|
94
|
+
values: positions
|
|
95
|
+
});
|
|
96
|
+
indices[0] = 0;
|
|
97
|
+
indices[1] = 1;
|
|
98
|
+
indices[2] = 1;
|
|
99
|
+
indices[3] = 2;
|
|
100
|
+
indices[4] = 2;
|
|
101
|
+
indices[5] = 3;
|
|
102
|
+
indices[6] = 3;
|
|
103
|
+
indices[7] = 0;
|
|
104
|
+
return new Geometry_default({
|
|
105
|
+
attributes,
|
|
106
|
+
indices,
|
|
107
|
+
primitiveType: PrimitiveType_default.LINES,
|
|
108
|
+
boundingSphere: new BoundingSphere_default(Cartesian3_default.ZERO, Math.sqrt(2))
|
|
109
|
+
});
|
|
110
|
+
};
|
|
111
|
+
var PlaneOutlineGeometry_default = PlaneOutlineGeometry;
|
|
112
|
+
|
|
113
|
+
// packages/engine/Source/Workers/createPlaneOutlineGeometry.js
|
|
114
|
+
function createPlaneOutlineGeometry(planeGeometry, offset) {
|
|
115
|
+
if (defined_default(offset)) {
|
|
116
|
+
planeGeometry = PlaneOutlineGeometry_default.unpack(planeGeometry, offset);
|
|
117
|
+
}
|
|
118
|
+
return PlaneOutlineGeometry_default.createGeometry(planeGeometry);
|
|
119
|
+
}
|
|
120
|
+
var createPlaneOutlineGeometry_default = createPlaneOutlineGeometry;
|
|
121
|
+
export {
|
|
122
|
+
createPlaneOutlineGeometry_default as default
|
|
123
|
+
};
|