drone_view 3.0.63 → 3.0.64

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.
Files changed (494) hide show
  1. package/dist/droneView.js +1 -1
  2. package/package.json +1 -1
  3. package/serviceV2/3d/Assets/IAU2006_XYS/IAU2006_XYS_0.json +1 -0
  4. package/serviceV2/3d/Assets/IAU2006_XYS/IAU2006_XYS_1.json +1 -0
  5. package/serviceV2/3d/Assets/IAU2006_XYS/IAU2006_XYS_10.json +1 -0
  6. package/serviceV2/3d/Assets/IAU2006_XYS/IAU2006_XYS_11.json +1 -0
  7. package/serviceV2/3d/Assets/IAU2006_XYS/IAU2006_XYS_12.json +1 -0
  8. package/serviceV2/3d/Assets/IAU2006_XYS/IAU2006_XYS_13.json +1 -0
  9. package/serviceV2/3d/Assets/IAU2006_XYS/IAU2006_XYS_14.json +1 -0
  10. package/serviceV2/3d/Assets/IAU2006_XYS/IAU2006_XYS_15.json +1 -0
  11. package/serviceV2/3d/Assets/IAU2006_XYS/IAU2006_XYS_16.json +1 -0
  12. package/serviceV2/3d/Assets/IAU2006_XYS/IAU2006_XYS_17.json +1 -0
  13. package/serviceV2/3d/Assets/IAU2006_XYS/IAU2006_XYS_18.json +1 -0
  14. package/serviceV2/3d/Assets/IAU2006_XYS/IAU2006_XYS_19.json +1 -0
  15. package/serviceV2/3d/Assets/IAU2006_XYS/IAU2006_XYS_2.json +1 -0
  16. package/serviceV2/3d/Assets/IAU2006_XYS/IAU2006_XYS_20.json +1 -0
  17. package/serviceV2/3d/Assets/IAU2006_XYS/IAU2006_XYS_21.json +1 -0
  18. package/serviceV2/3d/Assets/IAU2006_XYS/IAU2006_XYS_22.json +1 -0
  19. package/serviceV2/3d/Assets/IAU2006_XYS/IAU2006_XYS_23.json +1 -0
  20. package/serviceV2/3d/Assets/IAU2006_XYS/IAU2006_XYS_24.json +1 -0
  21. package/serviceV2/3d/Assets/IAU2006_XYS/IAU2006_XYS_25.json +1 -0
  22. package/serviceV2/3d/Assets/IAU2006_XYS/IAU2006_XYS_26.json +1 -0
  23. package/serviceV2/3d/Assets/IAU2006_XYS/IAU2006_XYS_27.json +1 -0
  24. package/serviceV2/3d/Assets/IAU2006_XYS/IAU2006_XYS_3.json +1 -0
  25. package/serviceV2/3d/Assets/IAU2006_XYS/IAU2006_XYS_4.json +1 -0
  26. package/serviceV2/3d/Assets/IAU2006_XYS/IAU2006_XYS_5.json +1 -0
  27. package/serviceV2/3d/Assets/IAU2006_XYS/IAU2006_XYS_6.json +1 -0
  28. package/serviceV2/3d/Assets/IAU2006_XYS/IAU2006_XYS_7.json +1 -0
  29. package/serviceV2/3d/Assets/IAU2006_XYS/IAU2006_XYS_8.json +1 -0
  30. package/serviceV2/3d/Assets/IAU2006_XYS/IAU2006_XYS_9.json +1 -0
  31. package/serviceV2/3d/Assets/Images/bing_maps_credit.png +0 -0
  32. package/serviceV2/3d/Assets/Images/cesium_credit.png +0 -0
  33. package/serviceV2/3d/Assets/Images/google_earth_credit.png +0 -0
  34. package/serviceV2/3d/Assets/Images/ion-credit.png +0 -0
  35. package/serviceV2/3d/Assets/Textures/LensFlare/DirtMask.jpg +0 -0
  36. package/serviceV2/3d/Assets/Textures/LensFlare/StarBurst.jpg +0 -0
  37. package/serviceV2/3d/Assets/Textures/NaturalEarthII/0/0/0.jpg +0 -0
  38. package/serviceV2/3d/Assets/Textures/NaturalEarthII/0/1/0.jpg +0 -0
  39. package/serviceV2/3d/Assets/Textures/NaturalEarthII/1/0/0.jpg +0 -0
  40. package/serviceV2/3d/Assets/Textures/NaturalEarthII/1/0/1.jpg +0 -0
  41. package/serviceV2/3d/Assets/Textures/NaturalEarthII/1/1/0.jpg +0 -0
  42. package/serviceV2/3d/Assets/Textures/NaturalEarthII/1/1/1.jpg +0 -0
  43. package/serviceV2/3d/Assets/Textures/NaturalEarthII/1/2/0.jpg +0 -0
  44. package/serviceV2/3d/Assets/Textures/NaturalEarthII/1/2/1.jpg +0 -0
  45. package/serviceV2/3d/Assets/Textures/NaturalEarthII/1/3/0.jpg +0 -0
  46. package/serviceV2/3d/Assets/Textures/NaturalEarthII/1/3/1.jpg +0 -0
  47. package/serviceV2/3d/Assets/Textures/NaturalEarthII/2/0/0.jpg +0 -0
  48. package/serviceV2/3d/Assets/Textures/NaturalEarthII/2/0/1.jpg +0 -0
  49. package/serviceV2/3d/Assets/Textures/NaturalEarthII/2/0/2.jpg +0 -0
  50. package/serviceV2/3d/Assets/Textures/NaturalEarthII/2/0/3.jpg +0 -0
  51. package/serviceV2/3d/Assets/Textures/NaturalEarthII/2/1/0.jpg +0 -0
  52. package/serviceV2/3d/Assets/Textures/NaturalEarthII/2/1/1.jpg +0 -0
  53. package/serviceV2/3d/Assets/Textures/NaturalEarthII/2/1/2.jpg +0 -0
  54. package/serviceV2/3d/Assets/Textures/NaturalEarthII/2/1/3.jpg +0 -0
  55. package/serviceV2/3d/Assets/Textures/NaturalEarthII/2/2/0.jpg +0 -0
  56. package/serviceV2/3d/Assets/Textures/NaturalEarthII/2/2/1.jpg +0 -0
  57. package/serviceV2/3d/Assets/Textures/NaturalEarthII/2/2/2.jpg +0 -0
  58. package/serviceV2/3d/Assets/Textures/NaturalEarthII/2/2/3.jpg +0 -0
  59. package/serviceV2/3d/Assets/Textures/NaturalEarthII/2/3/0.jpg +0 -0
  60. package/serviceV2/3d/Assets/Textures/NaturalEarthII/2/3/1.jpg +0 -0
  61. package/serviceV2/3d/Assets/Textures/NaturalEarthII/2/3/2.jpg +0 -0
  62. package/serviceV2/3d/Assets/Textures/NaturalEarthII/2/3/3.jpg +0 -0
  63. package/serviceV2/3d/Assets/Textures/NaturalEarthII/2/4/0.jpg +0 -0
  64. package/serviceV2/3d/Assets/Textures/NaturalEarthII/2/4/1.jpg +0 -0
  65. package/serviceV2/3d/Assets/Textures/NaturalEarthII/2/4/2.jpg +0 -0
  66. package/serviceV2/3d/Assets/Textures/NaturalEarthII/2/4/3.jpg +0 -0
  67. package/serviceV2/3d/Assets/Textures/NaturalEarthII/2/5/0.jpg +0 -0
  68. package/serviceV2/3d/Assets/Textures/NaturalEarthII/2/5/1.jpg +0 -0
  69. package/serviceV2/3d/Assets/Textures/NaturalEarthII/2/5/2.jpg +0 -0
  70. package/serviceV2/3d/Assets/Textures/NaturalEarthII/2/5/3.jpg +0 -0
  71. package/serviceV2/3d/Assets/Textures/NaturalEarthII/2/6/0.jpg +0 -0
  72. package/serviceV2/3d/Assets/Textures/NaturalEarthII/2/6/1.jpg +0 -0
  73. package/serviceV2/3d/Assets/Textures/NaturalEarthII/2/6/2.jpg +0 -0
  74. package/serviceV2/3d/Assets/Textures/NaturalEarthII/2/6/3.jpg +0 -0
  75. package/serviceV2/3d/Assets/Textures/NaturalEarthII/2/7/0.jpg +0 -0
  76. package/serviceV2/3d/Assets/Textures/NaturalEarthII/2/7/1.jpg +0 -0
  77. package/serviceV2/3d/Assets/Textures/NaturalEarthII/2/7/2.jpg +0 -0
  78. package/serviceV2/3d/Assets/Textures/NaturalEarthII/2/7/3.jpg +0 -0
  79. package/serviceV2/3d/Assets/Textures/NaturalEarthII/tilemapresource.xml +14 -0
  80. package/serviceV2/3d/Assets/Textures/SkyBox/tycho2t3_80_mx.jpg +0 -0
  81. package/serviceV2/3d/Assets/Textures/SkyBox/tycho2t3_80_my.jpg +0 -0
  82. package/serviceV2/3d/Assets/Textures/SkyBox/tycho2t3_80_mz.jpg +0 -0
  83. package/serviceV2/3d/Assets/Textures/SkyBox/tycho2t3_80_px.jpg +0 -0
  84. package/serviceV2/3d/Assets/Textures/SkyBox/tycho2t3_80_py.jpg +0 -0
  85. package/serviceV2/3d/Assets/Textures/SkyBox/tycho2t3_80_pz.jpg +0 -0
  86. package/serviceV2/3d/Assets/Textures/maki/airfield.png +0 -0
  87. package/serviceV2/3d/Assets/Textures/maki/airport.png +0 -0
  88. package/serviceV2/3d/Assets/Textures/maki/alcohol-shop.png +0 -0
  89. package/serviceV2/3d/Assets/Textures/maki/america-football.png +0 -0
  90. package/serviceV2/3d/Assets/Textures/maki/art-gallery.png +0 -0
  91. package/serviceV2/3d/Assets/Textures/maki/bakery.png +0 -0
  92. package/serviceV2/3d/Assets/Textures/maki/bank.png +0 -0
  93. package/serviceV2/3d/Assets/Textures/maki/bar.png +0 -0
  94. package/serviceV2/3d/Assets/Textures/maki/baseball.png +0 -0
  95. package/serviceV2/3d/Assets/Textures/maki/basketball.png +0 -0
  96. package/serviceV2/3d/Assets/Textures/maki/beer.png +0 -0
  97. package/serviceV2/3d/Assets/Textures/maki/bicycle.png +0 -0
  98. package/serviceV2/3d/Assets/Textures/maki/building.png +0 -0
  99. package/serviceV2/3d/Assets/Textures/maki/bus.png +0 -0
  100. package/serviceV2/3d/Assets/Textures/maki/cafe.png +0 -0
  101. package/serviceV2/3d/Assets/Textures/maki/camera.png +0 -0
  102. package/serviceV2/3d/Assets/Textures/maki/campsite.png +0 -0
  103. package/serviceV2/3d/Assets/Textures/maki/car.png +0 -0
  104. package/serviceV2/3d/Assets/Textures/maki/cemetery.png +0 -0
  105. package/serviceV2/3d/Assets/Textures/maki/cesium.png +0 -0
  106. package/serviceV2/3d/Assets/Textures/maki/chemist.png +0 -0
  107. package/serviceV2/3d/Assets/Textures/maki/cinema.png +0 -0
  108. package/serviceV2/3d/Assets/Textures/maki/circle-stroked.png +0 -0
  109. package/serviceV2/3d/Assets/Textures/maki/circle.png +0 -0
  110. package/serviceV2/3d/Assets/Textures/maki/city.png +0 -0
  111. package/serviceV2/3d/Assets/Textures/maki/clothing-store.png +0 -0
  112. package/serviceV2/3d/Assets/Textures/maki/college.png +0 -0
  113. package/serviceV2/3d/Assets/Textures/maki/commercial.png +0 -0
  114. package/serviceV2/3d/Assets/Textures/maki/cricket.png +0 -0
  115. package/serviceV2/3d/Assets/Textures/maki/cross.png +0 -0
  116. package/serviceV2/3d/Assets/Textures/maki/dam.png +0 -0
  117. package/serviceV2/3d/Assets/Textures/maki/danger.png +0 -0
  118. package/serviceV2/3d/Assets/Textures/maki/disability.png +0 -0
  119. package/serviceV2/3d/Assets/Textures/maki/dog-park.png +0 -0
  120. package/serviceV2/3d/Assets/Textures/maki/embassy.png +0 -0
  121. package/serviceV2/3d/Assets/Textures/maki/emergency-telephone.png +0 -0
  122. package/serviceV2/3d/Assets/Textures/maki/entrance.png +0 -0
  123. package/serviceV2/3d/Assets/Textures/maki/farm.png +0 -0
  124. package/serviceV2/3d/Assets/Textures/maki/fast-food.png +0 -0
  125. package/serviceV2/3d/Assets/Textures/maki/ferry.png +0 -0
  126. package/serviceV2/3d/Assets/Textures/maki/fire-station.png +0 -0
  127. package/serviceV2/3d/Assets/Textures/maki/fuel.png +0 -0
  128. package/serviceV2/3d/Assets/Textures/maki/garden.png +0 -0
  129. package/serviceV2/3d/Assets/Textures/maki/gift.png +0 -0
  130. package/serviceV2/3d/Assets/Textures/maki/golf.png +0 -0
  131. package/serviceV2/3d/Assets/Textures/maki/grocery.png +0 -0
  132. package/serviceV2/3d/Assets/Textures/maki/hairdresser.png +0 -0
  133. package/serviceV2/3d/Assets/Textures/maki/harbor.png +0 -0
  134. package/serviceV2/3d/Assets/Textures/maki/heart.png +0 -0
  135. package/serviceV2/3d/Assets/Textures/maki/heliport.png +0 -0
  136. package/serviceV2/3d/Assets/Textures/maki/hospital.png +0 -0
  137. package/serviceV2/3d/Assets/Textures/maki/ice-cream.png +0 -0
  138. package/serviceV2/3d/Assets/Textures/maki/industrial.png +0 -0
  139. package/serviceV2/3d/Assets/Textures/maki/land-use.png +0 -0
  140. package/serviceV2/3d/Assets/Textures/maki/laundry.png +0 -0
  141. package/serviceV2/3d/Assets/Textures/maki/library.png +0 -0
  142. package/serviceV2/3d/Assets/Textures/maki/lighthouse.png +0 -0
  143. package/serviceV2/3d/Assets/Textures/maki/lodging.png +0 -0
  144. package/serviceV2/3d/Assets/Textures/maki/logging.png +0 -0
  145. package/serviceV2/3d/Assets/Textures/maki/london-underground.png +0 -0
  146. package/serviceV2/3d/Assets/Textures/maki/marker-stroked.png +0 -0
  147. package/serviceV2/3d/Assets/Textures/maki/marker.png +0 -0
  148. package/serviceV2/3d/Assets/Textures/maki/minefield.png +0 -0
  149. package/serviceV2/3d/Assets/Textures/maki/mobilephone.png +0 -0
  150. package/serviceV2/3d/Assets/Textures/maki/monument.png +0 -0
  151. package/serviceV2/3d/Assets/Textures/maki/museum.png +0 -0
  152. package/serviceV2/3d/Assets/Textures/maki/music.png +0 -0
  153. package/serviceV2/3d/Assets/Textures/maki/oil-well.png +0 -0
  154. package/serviceV2/3d/Assets/Textures/maki/park.png +0 -0
  155. package/serviceV2/3d/Assets/Textures/maki/park2.png +0 -0
  156. package/serviceV2/3d/Assets/Textures/maki/parking-garage.png +0 -0
  157. package/serviceV2/3d/Assets/Textures/maki/parking.png +0 -0
  158. package/serviceV2/3d/Assets/Textures/maki/pharmacy.png +0 -0
  159. package/serviceV2/3d/Assets/Textures/maki/pitch.png +0 -0
  160. package/serviceV2/3d/Assets/Textures/maki/place-of-worship.png +0 -0
  161. package/serviceV2/3d/Assets/Textures/maki/playground.png +0 -0
  162. package/serviceV2/3d/Assets/Textures/maki/police.png +0 -0
  163. package/serviceV2/3d/Assets/Textures/maki/polling-place.png +0 -0
  164. package/serviceV2/3d/Assets/Textures/maki/post.png +0 -0
  165. package/serviceV2/3d/Assets/Textures/maki/prison.png +0 -0
  166. package/serviceV2/3d/Assets/Textures/maki/rail-above.png +0 -0
  167. package/serviceV2/3d/Assets/Textures/maki/rail-light.png +0 -0
  168. package/serviceV2/3d/Assets/Textures/maki/rail-metro.png +0 -0
  169. package/serviceV2/3d/Assets/Textures/maki/rail-underground.png +0 -0
  170. package/serviceV2/3d/Assets/Textures/maki/rail.png +0 -0
  171. package/serviceV2/3d/Assets/Textures/maki/religious-christian.png +0 -0
  172. package/serviceV2/3d/Assets/Textures/maki/religious-jewish.png +0 -0
  173. package/serviceV2/3d/Assets/Textures/maki/religious-muslim.png +0 -0
  174. package/serviceV2/3d/Assets/Textures/maki/restaurant.png +0 -0
  175. package/serviceV2/3d/Assets/Textures/maki/roadblock.png +0 -0
  176. package/serviceV2/3d/Assets/Textures/maki/rocket.png +0 -0
  177. package/serviceV2/3d/Assets/Textures/maki/school.png +0 -0
  178. package/serviceV2/3d/Assets/Textures/maki/scooter.png +0 -0
  179. package/serviceV2/3d/Assets/Textures/maki/shop.png +0 -0
  180. package/serviceV2/3d/Assets/Textures/maki/skiing.png +0 -0
  181. package/serviceV2/3d/Assets/Textures/maki/slaughterhouse.png +0 -0
  182. package/serviceV2/3d/Assets/Textures/maki/soccer.png +0 -0
  183. package/serviceV2/3d/Assets/Textures/maki/square-stroked.png +0 -0
  184. package/serviceV2/3d/Assets/Textures/maki/square.png +0 -0
  185. package/serviceV2/3d/Assets/Textures/maki/star-stroked.png +0 -0
  186. package/serviceV2/3d/Assets/Textures/maki/star.png +0 -0
  187. package/serviceV2/3d/Assets/Textures/maki/suitcase.png +0 -0
  188. package/serviceV2/3d/Assets/Textures/maki/swimming.png +0 -0
  189. package/serviceV2/3d/Assets/Textures/maki/telephone.png +0 -0
  190. package/serviceV2/3d/Assets/Textures/maki/tennis.png +0 -0
  191. package/serviceV2/3d/Assets/Textures/maki/theatre.png +0 -0
  192. package/serviceV2/3d/Assets/Textures/maki/toilets.png +0 -0
  193. package/serviceV2/3d/Assets/Textures/maki/town-hall.png +0 -0
  194. package/serviceV2/3d/Assets/Textures/maki/town.png +0 -0
  195. package/serviceV2/3d/Assets/Textures/maki/triangle-stroked.png +0 -0
  196. package/serviceV2/3d/Assets/Textures/maki/triangle.png +0 -0
  197. package/serviceV2/3d/Assets/Textures/maki/village.png +0 -0
  198. package/serviceV2/3d/Assets/Textures/maki/warehouse.png +0 -0
  199. package/serviceV2/3d/Assets/Textures/maki/waste-basket.png +0 -0
  200. package/serviceV2/3d/Assets/Textures/maki/water.png +0 -0
  201. package/serviceV2/3d/Assets/Textures/maki/wetland.png +0 -0
  202. package/serviceV2/3d/Assets/Textures/maki/zoo.png +0 -0
  203. package/serviceV2/3d/Assets/Textures/moonSmall.jpg +0 -0
  204. package/serviceV2/3d/Assets/Textures/pin.svg +1 -0
  205. package/serviceV2/3d/Assets/Textures/waterNormals.jpg +0 -0
  206. package/serviceV2/3d/Assets/Textures/waterNormalsSmall.jpg +0 -0
  207. package/serviceV2/3d/Assets/approximateTerrainHeights.json +1 -0
  208. package/serviceV2/3d/ThirdParty/Workers/package.json +1 -0
  209. package/serviceV2/3d/ThirdParty/Workers/zip-web-worker.js +1 -0
  210. package/serviceV2/3d/ThirdParty/basis_transcoder.wasm +0 -0
  211. package/serviceV2/3d/ThirdParty/draco_decoder.wasm +0 -0
  212. package/serviceV2/3d/ThirdParty/google-earth-dbroot-parser.js +1 -0
  213. package/serviceV2/3d/ThirdParty/wasm_splats_bg.wasm +0 -0
  214. package/serviceV2/3d/ThirdParty/zip-module.wasm +0 -0
  215. package/serviceV2/3d/Widgets/Animation/Animation.css +127 -0
  216. package/serviceV2/3d/Widgets/Animation/lighter.css +70 -0
  217. package/serviceV2/3d/Widgets/BaseLayerPicker/BaseLayerPicker.css +108 -0
  218. package/serviceV2/3d/Widgets/BaseLayerPicker/lighter.css +22 -0
  219. package/serviceV2/3d/Widgets/Cesium3DTilesInspector/Cesium3DTilesInspector.css +102 -0
  220. package/serviceV2/3d/Widgets/CesiumInspector/CesiumInspector.css +113 -0
  221. package/serviceV2/3d/Widgets/CesiumWidget/CesiumWidget.css +119 -0
  222. package/serviceV2/3d/Widgets/CesiumWidget/lighter.css +14 -0
  223. package/serviceV2/3d/Widgets/FullscreenButton/FullscreenButton.css +8 -0
  224. package/serviceV2/3d/Widgets/Geocoder/Geocoder.css +70 -0
  225. package/serviceV2/3d/Widgets/Geocoder/lighter.css +17 -0
  226. package/serviceV2/3d/Widgets/I3SBuildingSceneLayerExplorer/I3SBuildingSceneLayerExplorer.css +27 -0
  227. package/serviceV2/3d/Widgets/Images/ImageryProviders/ArcGisMapServiceWorldHillshade.png +0 -0
  228. package/serviceV2/3d/Widgets/Images/ImageryProviders/ArcGisMapServiceWorldImagery.png +0 -0
  229. package/serviceV2/3d/Widgets/Images/ImageryProviders/ArcGisMapServiceWorldOcean.png +0 -0
  230. package/serviceV2/3d/Widgets/Images/ImageryProviders/bingAerial.png +0 -0
  231. package/serviceV2/3d/Widgets/Images/ImageryProviders/bingAerialLabels.png +0 -0
  232. package/serviceV2/3d/Widgets/Images/ImageryProviders/bingRoads.png +0 -0
  233. package/serviceV2/3d/Widgets/Images/ImageryProviders/blueMarble.png +0 -0
  234. package/serviceV2/3d/Widgets/Images/ImageryProviders/earthAtNight.png +0 -0
  235. package/serviceV2/3d/Widgets/Images/ImageryProviders/googleContour.png +0 -0
  236. package/serviceV2/3d/Widgets/Images/ImageryProviders/googleLabels.png +0 -0
  237. package/serviceV2/3d/Widgets/Images/ImageryProviders/googleRoadmap.png +0 -0
  238. package/serviceV2/3d/Widgets/Images/ImageryProviders/googleSatellite.png +0 -0
  239. package/serviceV2/3d/Widgets/Images/ImageryProviders/googleSatelliteLabels.png +0 -0
  240. package/serviceV2/3d/Widgets/Images/ImageryProviders/mapQuestOpenStreetMap.png +0 -0
  241. package/serviceV2/3d/Widgets/Images/ImageryProviders/mapboxSatellite.png +0 -0
  242. package/serviceV2/3d/Widgets/Images/ImageryProviders/mapboxStreets.png +0 -0
  243. package/serviceV2/3d/Widgets/Images/ImageryProviders/mapboxTerrain.png +0 -0
  244. package/serviceV2/3d/Widgets/Images/ImageryProviders/naturalEarthII.png +0 -0
  245. package/serviceV2/3d/Widgets/Images/ImageryProviders/openStreetMap.png +0 -0
  246. package/serviceV2/3d/Widgets/Images/ImageryProviders/sentinel-2.png +0 -0
  247. package/serviceV2/3d/Widgets/Images/ImageryProviders/stadiaAlidadeSmooth.png +0 -0
  248. package/serviceV2/3d/Widgets/Images/ImageryProviders/stadiaAlidadeSmoothDark.png +0 -0
  249. package/serviceV2/3d/Widgets/Images/ImageryProviders/stamenToner.png +0 -0
  250. package/serviceV2/3d/Widgets/Images/ImageryProviders/stamenWatercolor.png +0 -0
  251. package/serviceV2/3d/Widgets/Images/NavigationHelp/Mouse.svg +84 -0
  252. package/serviceV2/3d/Widgets/Images/NavigationHelp/MouseLeft.svg +76 -0
  253. package/serviceV2/3d/Widgets/Images/NavigationHelp/MouseMiddle.svg +76 -0
  254. package/serviceV2/3d/Widgets/Images/NavigationHelp/MouseRight.svg +76 -0
  255. package/serviceV2/3d/Widgets/Images/NavigationHelp/Touch.svg +120 -0
  256. package/serviceV2/3d/Widgets/Images/NavigationHelp/TouchDrag.svg +129 -0
  257. package/serviceV2/3d/Widgets/Images/NavigationHelp/TouchRotate.svg +76 -0
  258. package/serviceV2/3d/Widgets/Images/NavigationHelp/TouchTilt.svg +135 -0
  259. package/serviceV2/3d/Widgets/Images/NavigationHelp/TouchZoom.svg +74 -0
  260. package/serviceV2/3d/Widgets/Images/TerrainProviders/CesiumWorldTerrain.png +0 -0
  261. package/serviceV2/3d/Widgets/Images/TerrainProviders/Ellipsoid.png +0 -0
  262. package/serviceV2/3d/Widgets/Images/TimelineIcons.png +0 -0
  263. package/serviceV2/3d/Widgets/Images/info-loading.gif +0 -0
  264. package/serviceV2/3d/Widgets/InfoBox/InfoBox.css +92 -0
  265. package/serviceV2/3d/Widgets/InfoBox/InfoBoxDescription.css +178 -0
  266. package/serviceV2/3d/Widgets/NavigationHelpButton/NavigationHelpButton.css +93 -0
  267. package/serviceV2/3d/Widgets/NavigationHelpButton/lighter.css +38 -0
  268. package/serviceV2/3d/Widgets/PerformanceWatchdog/PerformanceWatchdog.css +15 -0
  269. package/serviceV2/3d/Widgets/ProjectionPicker/ProjectionPicker.css +38 -0
  270. package/serviceV2/3d/Widgets/SceneModePicker/SceneModePicker.css +56 -0
  271. package/serviceV2/3d/Widgets/SelectionIndicator/SelectionIndicator.css +20 -0
  272. package/serviceV2/3d/Widgets/Timeline/Timeline.css +103 -0
  273. package/serviceV2/3d/Widgets/Timeline/lighter.css +23 -0
  274. package/serviceV2/3d/Widgets/VRButton/VRButton.css +8 -0
  275. package/serviceV2/3d/Widgets/Viewer/Viewer.css +107 -0
  276. package/serviceV2/3d/Widgets/VoxelInspector/VoxelInspector.css +16 -0
  277. package/serviceV2/3d/Widgets/lighter.css +237 -0
  278. package/serviceV2/3d/Widgets/lighterShared.css +46 -0
  279. package/serviceV2/3d/Widgets/shared.css +103 -0
  280. package/serviceV2/3d/Widgets/widgets.css +1342 -0
  281. package/serviceV2/3d/Workers/chunk-2ZPEMRCT.js +2 -0
  282. package/serviceV2/3d/Workers/chunk-2ZPEMRCT.js.LICENSE.txt +24 -0
  283. package/serviceV2/3d/Workers/chunk-3BSRJTW3.js +2 -0
  284. package/serviceV2/3d/Workers/chunk-3BSRJTW3.js.LICENSE.txt +24 -0
  285. package/serviceV2/3d/Workers/chunk-3WSHJXU2.js +2 -0
  286. package/serviceV2/3d/Workers/chunk-3WSHJXU2.js.LICENSE.txt +24 -0
  287. package/serviceV2/3d/Workers/chunk-42MGKNSS.js +2 -0
  288. package/serviceV2/3d/Workers/chunk-42MGKNSS.js.LICENSE.txt +24 -0
  289. package/serviceV2/3d/Workers/chunk-4MJDNHOT.js +2 -0
  290. package/serviceV2/3d/Workers/chunk-4MJDNHOT.js.LICENSE.txt +24 -0
  291. package/serviceV2/3d/Workers/chunk-4WJUWBRK.js +2 -0
  292. package/serviceV2/3d/Workers/chunk-4WJUWBRK.js.LICENSE.txt +24 -0
  293. package/serviceV2/3d/Workers/chunk-5G23AKP3.js +2 -0
  294. package/serviceV2/3d/Workers/chunk-5G23AKP3.js.LICENSE.txt +24 -0
  295. package/serviceV2/3d/Workers/chunk-5HPISDSZ.js +2 -0
  296. package/serviceV2/3d/Workers/chunk-5HPISDSZ.js.LICENSE.txt +24 -0
  297. package/serviceV2/3d/Workers/chunk-APG2S62J.js +2 -0
  298. package/serviceV2/3d/Workers/chunk-APG2S62J.js.LICENSE.txt +24 -0
  299. package/serviceV2/3d/Workers/chunk-AZLP5742.js +2 -0
  300. package/serviceV2/3d/Workers/chunk-AZLP5742.js.LICENSE.txt +24 -0
  301. package/serviceV2/3d/Workers/chunk-BJAB7QAF.js +2 -0
  302. package/serviceV2/3d/Workers/chunk-BJAB7QAF.js.LICENSE.txt +24 -0
  303. package/serviceV2/3d/Workers/chunk-BTDQB5Q4.js +2 -0
  304. package/serviceV2/3d/Workers/chunk-BTDQB5Q4.js.LICENSE.txt +24 -0
  305. package/serviceV2/3d/Workers/chunk-CJRI54BI.js +2 -0
  306. package/serviceV2/3d/Workers/chunk-CJRI54BI.js.LICENSE.txt +24 -0
  307. package/serviceV2/3d/Workers/chunk-CUP6SILZ.js +2 -0
  308. package/serviceV2/3d/Workers/chunk-CUP6SILZ.js.LICENSE.txt +24 -0
  309. package/serviceV2/3d/Workers/chunk-D2NFCOGE.js +2 -0
  310. package/serviceV2/3d/Workers/chunk-D2NFCOGE.js.LICENSE.txt +24 -0
  311. package/serviceV2/3d/Workers/chunk-DK73HV33.js +2 -0
  312. package/serviceV2/3d/Workers/chunk-DK73HV33.js.LICENSE.txt +24 -0
  313. package/serviceV2/3d/Workers/chunk-EDF5FKWJ.js +2 -0
  314. package/serviceV2/3d/Workers/chunk-EDF5FKWJ.js.LICENSE.txt +24 -0
  315. package/serviceV2/3d/Workers/chunk-ET7KY3BS.js +2 -0
  316. package/serviceV2/3d/Workers/chunk-ET7KY3BS.js.LICENSE.txt +24 -0
  317. package/serviceV2/3d/Workers/chunk-FIHQI7E3.js +2 -0
  318. package/serviceV2/3d/Workers/chunk-FIHQI7E3.js.LICENSE.txt +24 -0
  319. package/serviceV2/3d/Workers/chunk-FVGSQINW.js +2 -0
  320. package/serviceV2/3d/Workers/chunk-FVGSQINW.js.LICENSE.txt +24 -0
  321. package/serviceV2/3d/Workers/chunk-FWF3VNA2.js +2 -0
  322. package/serviceV2/3d/Workers/chunk-FWF3VNA2.js.LICENSE.txt +24 -0
  323. package/serviceV2/3d/Workers/chunk-GTQ3WXPT.js +2 -0
  324. package/serviceV2/3d/Workers/chunk-GTQ3WXPT.js.LICENSE.txt +24 -0
  325. package/serviceV2/3d/Workers/chunk-HSJ6GSLC.js +2 -0
  326. package/serviceV2/3d/Workers/chunk-HSJ6GSLC.js.LICENSE.txt +24 -0
  327. package/serviceV2/3d/Workers/chunk-IOTBNCMN.js +2 -0
  328. package/serviceV2/3d/Workers/chunk-IOTBNCMN.js.LICENSE.txt +24 -0
  329. package/serviceV2/3d/Workers/chunk-IYO6TYGP.js +2 -0
  330. package/serviceV2/3d/Workers/chunk-IYO6TYGP.js.LICENSE.txt +24 -0
  331. package/serviceV2/3d/Workers/chunk-J7MBSSYW.js +2 -0
  332. package/serviceV2/3d/Workers/chunk-J7MBSSYW.js.LICENSE.txt +24 -0
  333. package/serviceV2/3d/Workers/chunk-KWAHJ72S.js +2 -0
  334. package/serviceV2/3d/Workers/chunk-KWAHJ72S.js.LICENSE.txt +24 -0
  335. package/serviceV2/3d/Workers/chunk-KX5PR5Q3.js +2 -0
  336. package/serviceV2/3d/Workers/chunk-KX5PR5Q3.js.LICENSE.txt +24 -0
  337. package/serviceV2/3d/Workers/chunk-LJBMXZ6U.js +2 -0
  338. package/serviceV2/3d/Workers/chunk-LJBMXZ6U.js.LICENSE.txt +24 -0
  339. package/serviceV2/3d/Workers/chunk-LPJEXZWM.js +2 -0
  340. package/serviceV2/3d/Workers/chunk-LPJEXZWM.js.LICENSE.txt +24 -0
  341. package/serviceV2/3d/Workers/chunk-MKDADUG3.js +2 -0
  342. package/serviceV2/3d/Workers/chunk-MKDADUG3.js.LICENSE.txt +24 -0
  343. package/serviceV2/3d/Workers/chunk-NOIUI5SY.js +2 -0
  344. package/serviceV2/3d/Workers/chunk-NOIUI5SY.js.LICENSE.txt +24 -0
  345. package/serviceV2/3d/Workers/chunk-OFCC6BNI.js +2 -0
  346. package/serviceV2/3d/Workers/chunk-OFCC6BNI.js.LICENSE.txt +24 -0
  347. package/serviceV2/3d/Workers/chunk-OXJ2LJUE.js +2 -0
  348. package/serviceV2/3d/Workers/chunk-OXJ2LJUE.js.LICENSE.txt +24 -0
  349. package/serviceV2/3d/Workers/chunk-Q4W25C4L.js +2 -0
  350. package/serviceV2/3d/Workers/chunk-Q4W25C4L.js.LICENSE.txt +24 -0
  351. package/serviceV2/3d/Workers/chunk-QORMFUM4.js +2 -0
  352. package/serviceV2/3d/Workers/chunk-QORMFUM4.js.LICENSE.txt +24 -0
  353. package/serviceV2/3d/Workers/chunk-RCHWDG3R.js +2 -0
  354. package/serviceV2/3d/Workers/chunk-RCHWDG3R.js.LICENSE.txt +24 -0
  355. package/serviceV2/3d/Workers/chunk-RYOF6QSA.js +2 -0
  356. package/serviceV2/3d/Workers/chunk-RYOF6QSA.js.LICENSE.txt +24 -0
  357. package/serviceV2/3d/Workers/chunk-SCO7TMKT.js +2 -0
  358. package/serviceV2/3d/Workers/chunk-SCO7TMKT.js.LICENSE.txt +24 -0
  359. package/serviceV2/3d/Workers/chunk-SNSHUVCZ.js +2 -0
  360. package/serviceV2/3d/Workers/chunk-SNSHUVCZ.js.LICENSE.txt +24 -0
  361. package/serviceV2/3d/Workers/chunk-SXKYZMEL.js +2 -0
  362. package/serviceV2/3d/Workers/chunk-SXKYZMEL.js.LICENSE.txt +24 -0
  363. package/serviceV2/3d/Workers/chunk-T6Q6HX5J.js +2 -0
  364. package/serviceV2/3d/Workers/chunk-T6Q6HX5J.js.LICENSE.txt +24 -0
  365. package/serviceV2/3d/Workers/chunk-T77EB7BE.js +2 -0
  366. package/serviceV2/3d/Workers/chunk-T77EB7BE.js.LICENSE.txt +24 -0
  367. package/serviceV2/3d/Workers/chunk-TGKHFJV6.js +2 -0
  368. package/serviceV2/3d/Workers/chunk-TGKHFJV6.js.LICENSE.txt +24 -0
  369. package/serviceV2/3d/Workers/chunk-U6GWZBRL.js +2 -0
  370. package/serviceV2/3d/Workers/chunk-U6GWZBRL.js.LICENSE.txt +24 -0
  371. package/serviceV2/3d/Workers/chunk-UTYWXSQT.js +2 -0
  372. package/serviceV2/3d/Workers/chunk-UTYWXSQT.js.LICENSE.txt +67 -0
  373. package/serviceV2/3d/Workers/chunk-VHZAK4GN.js +2 -0
  374. package/serviceV2/3d/Workers/chunk-VHZAK4GN.js.LICENSE.txt +24 -0
  375. package/serviceV2/3d/Workers/chunk-VTK7G5BX.js +2 -0
  376. package/serviceV2/3d/Workers/chunk-VTK7G5BX.js.LICENSE.txt +24 -0
  377. package/serviceV2/3d/Workers/chunk-XBWRWNYZ.js +2 -0
  378. package/serviceV2/3d/Workers/chunk-XBWRWNYZ.js.LICENSE.txt +24 -0
  379. package/serviceV2/3d/Workers/chunk-XQDTMI7Q.js +2 -0
  380. package/serviceV2/3d/Workers/chunk-XQDTMI7Q.js.LICENSE.txt +24 -0
  381. package/serviceV2/3d/Workers/chunk-XQIJGAVD.js +2 -0
  382. package/serviceV2/3d/Workers/chunk-XQIJGAVD.js.LICENSE.txt +24 -0
  383. package/serviceV2/3d/Workers/chunk-XRRBRTKL.js +2 -0
  384. package/serviceV2/3d/Workers/chunk-XRRBRTKL.js.LICENSE.txt +24 -0
  385. package/serviceV2/3d/Workers/chunk-YHWHVNY2.js +2 -0
  386. package/serviceV2/3d/Workers/chunk-YHWHVNY2.js.LICENSE.txt +24 -0
  387. package/serviceV2/3d/Workers/chunk-YY6GMQGO.js +2 -0
  388. package/serviceV2/3d/Workers/chunk-YY6GMQGO.js.LICENSE.txt +24 -0
  389. package/serviceV2/3d/Workers/combineGeometry.js +2 -0
  390. package/serviceV2/3d/Workers/combineGeometry.js.LICENSE.txt +24 -0
  391. package/serviceV2/3d/Workers/createBoxGeometry.js +2 -0
  392. package/serviceV2/3d/Workers/createBoxGeometry.js.LICENSE.txt +24 -0
  393. package/serviceV2/3d/Workers/createBoxOutlineGeometry.js +2 -0
  394. package/serviceV2/3d/Workers/createBoxOutlineGeometry.js.LICENSE.txt +24 -0
  395. package/serviceV2/3d/Workers/createCircleGeometry.js +2 -0
  396. package/serviceV2/3d/Workers/createCircleGeometry.js.LICENSE.txt +24 -0
  397. package/serviceV2/3d/Workers/createCircleOutlineGeometry.js +2 -0
  398. package/serviceV2/3d/Workers/createCircleOutlineGeometry.js.LICENSE.txt +24 -0
  399. package/serviceV2/3d/Workers/createCoplanarPolygonGeometry.js +2 -0
  400. package/serviceV2/3d/Workers/createCoplanarPolygonGeometry.js.LICENSE.txt +24 -0
  401. package/serviceV2/3d/Workers/createCoplanarPolygonOutlineGeometry.js +2 -0
  402. package/serviceV2/3d/Workers/createCoplanarPolygonOutlineGeometry.js.LICENSE.txt +24 -0
  403. package/serviceV2/3d/Workers/createCorridorGeometry.js +2 -0
  404. package/serviceV2/3d/Workers/createCorridorGeometry.js.LICENSE.txt +24 -0
  405. package/serviceV2/3d/Workers/createCorridorOutlineGeometry.js +2 -0
  406. package/serviceV2/3d/Workers/createCorridorOutlineGeometry.js.LICENSE.txt +24 -0
  407. package/serviceV2/3d/Workers/createCylinderGeometry.js +2 -0
  408. package/serviceV2/3d/Workers/createCylinderGeometry.js.LICENSE.txt +24 -0
  409. package/serviceV2/3d/Workers/createCylinderOutlineGeometry.js +2 -0
  410. package/serviceV2/3d/Workers/createCylinderOutlineGeometry.js.LICENSE.txt +24 -0
  411. package/serviceV2/3d/Workers/createEllipseGeometry.js +2 -0
  412. package/serviceV2/3d/Workers/createEllipseGeometry.js.LICENSE.txt +24 -0
  413. package/serviceV2/3d/Workers/createEllipseOutlineGeometry.js +2 -0
  414. package/serviceV2/3d/Workers/createEllipseOutlineGeometry.js.LICENSE.txt +24 -0
  415. package/serviceV2/3d/Workers/createEllipsoidGeometry.js +2 -0
  416. package/serviceV2/3d/Workers/createEllipsoidGeometry.js.LICENSE.txt +24 -0
  417. package/serviceV2/3d/Workers/createEllipsoidOutlineGeometry.js +2 -0
  418. package/serviceV2/3d/Workers/createEllipsoidOutlineGeometry.js.LICENSE.txt +24 -0
  419. package/serviceV2/3d/Workers/createFrustumGeometry.js +2 -0
  420. package/serviceV2/3d/Workers/createFrustumGeometry.js.LICENSE.txt +24 -0
  421. package/serviceV2/3d/Workers/createFrustumOutlineGeometry.js +2 -0
  422. package/serviceV2/3d/Workers/createFrustumOutlineGeometry.js.LICENSE.txt +24 -0
  423. package/serviceV2/3d/Workers/createGeometry.js +2 -0
  424. package/serviceV2/3d/Workers/createGeometry.js.LICENSE.txt +24 -0
  425. package/serviceV2/3d/Workers/createGroundPolylineGeometry.js +2 -0
  426. package/serviceV2/3d/Workers/createGroundPolylineGeometry.js.LICENSE.txt +24 -0
  427. package/serviceV2/3d/Workers/createPlaneGeometry.js +2 -0
  428. package/serviceV2/3d/Workers/createPlaneGeometry.js.LICENSE.txt +24 -0
  429. package/serviceV2/3d/Workers/createPlaneOutlineGeometry.js +2 -0
  430. package/serviceV2/3d/Workers/createPlaneOutlineGeometry.js.LICENSE.txt +24 -0
  431. package/serviceV2/3d/Workers/createPolygonGeometry.js +2 -0
  432. package/serviceV2/3d/Workers/createPolygonGeometry.js.LICENSE.txt +24 -0
  433. package/serviceV2/3d/Workers/createPolygonOutlineGeometry.js +2 -0
  434. package/serviceV2/3d/Workers/createPolygonOutlineGeometry.js.LICENSE.txt +24 -0
  435. package/serviceV2/3d/Workers/createPolylineGeometry.js +2 -0
  436. package/serviceV2/3d/Workers/createPolylineGeometry.js.LICENSE.txt +24 -0
  437. package/serviceV2/3d/Workers/createPolylineVolumeGeometry.js +2 -0
  438. package/serviceV2/3d/Workers/createPolylineVolumeGeometry.js.LICENSE.txt +24 -0
  439. package/serviceV2/3d/Workers/createPolylineVolumeOutlineGeometry.js +2 -0
  440. package/serviceV2/3d/Workers/createPolylineVolumeOutlineGeometry.js.LICENSE.txt +24 -0
  441. package/serviceV2/3d/Workers/createRectangleGeometry.js +2 -0
  442. package/serviceV2/3d/Workers/createRectangleGeometry.js.LICENSE.txt +24 -0
  443. package/serviceV2/3d/Workers/createRectangleOutlineGeometry.js +2 -0
  444. package/serviceV2/3d/Workers/createRectangleOutlineGeometry.js.LICENSE.txt +24 -0
  445. package/serviceV2/3d/Workers/createSimplePolylineGeometry.js +2 -0
  446. package/serviceV2/3d/Workers/createSimplePolylineGeometry.js.LICENSE.txt +24 -0
  447. package/serviceV2/3d/Workers/createSphereGeometry.js +2 -0
  448. package/serviceV2/3d/Workers/createSphereGeometry.js.LICENSE.txt +24 -0
  449. package/serviceV2/3d/Workers/createSphereOutlineGeometry.js +2 -0
  450. package/serviceV2/3d/Workers/createSphereOutlineGeometry.js.LICENSE.txt +24 -0
  451. package/serviceV2/3d/Workers/createTaskProcessorWorker.js +2 -0
  452. package/serviceV2/3d/Workers/createTaskProcessorWorker.js.LICENSE.txt +24 -0
  453. package/serviceV2/3d/Workers/createVectorTileClampedPolylines.js +2 -0
  454. package/serviceV2/3d/Workers/createVectorTileClampedPolylines.js.LICENSE.txt +24 -0
  455. package/serviceV2/3d/Workers/createVectorTileGeometries.js +2 -0
  456. package/serviceV2/3d/Workers/createVectorTileGeometries.js.LICENSE.txt +24 -0
  457. package/serviceV2/3d/Workers/createVectorTilePoints.js +2 -0
  458. package/serviceV2/3d/Workers/createVectorTilePoints.js.LICENSE.txt +24 -0
  459. package/serviceV2/3d/Workers/createVectorTilePolygons.js +2 -0
  460. package/serviceV2/3d/Workers/createVectorTilePolygons.js.LICENSE.txt +24 -0
  461. package/serviceV2/3d/Workers/createVectorTilePolylines.js +2 -0
  462. package/serviceV2/3d/Workers/createVectorTilePolylines.js.LICENSE.txt +24 -0
  463. package/serviceV2/3d/Workers/createVerticesFromCesium3DTilesTerrain.js +2 -0
  464. package/serviceV2/3d/Workers/createVerticesFromCesium3DTilesTerrain.js.LICENSE.txt +24 -0
  465. package/serviceV2/3d/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js +2 -0
  466. package/serviceV2/3d/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js.LICENSE.txt +24 -0
  467. package/serviceV2/3d/Workers/createVerticesFromHeightmap.js +2 -0
  468. package/serviceV2/3d/Workers/createVerticesFromHeightmap.js.LICENSE.txt +26 -0
  469. package/serviceV2/3d/Workers/createVerticesFromQuantizedTerrainMesh.js +2 -0
  470. package/serviceV2/3d/Workers/createVerticesFromQuantizedTerrainMesh.js.LICENSE.txt +24 -0
  471. package/serviceV2/3d/Workers/createWallGeometry.js +2 -0
  472. package/serviceV2/3d/Workers/createWallGeometry.js.LICENSE.txt +24 -0
  473. package/serviceV2/3d/Workers/createWallOutlineGeometry.js +2 -0
  474. package/serviceV2/3d/Workers/createWallOutlineGeometry.js.LICENSE.txt +24 -0
  475. package/serviceV2/3d/Workers/decodeDraco.js +2 -0
  476. package/serviceV2/3d/Workers/decodeDraco.js.LICENSE.txt +24 -0
  477. package/serviceV2/3d/Workers/decodeGoogleEarthEnterprisePacket.js +2 -0
  478. package/serviceV2/3d/Workers/decodeGoogleEarthEnterprisePacket.js.LICENSE.txt +24 -0
  479. package/serviceV2/3d/Workers/decodeI3S.js +2 -0
  480. package/serviceV2/3d/Workers/decodeI3S.js.LICENSE.txt +24 -0
  481. package/serviceV2/3d/Workers/gaussianSplatSorter.js +2 -0
  482. package/serviceV2/3d/Workers/gaussianSplatSorter.js.LICENSE.txt +24 -0
  483. package/serviceV2/3d/Workers/gaussianSplatTextureGenerator.js +2 -0
  484. package/serviceV2/3d/Workers/gaussianSplatTextureGenerator.js.LICENSE.txt +24 -0
  485. package/serviceV2/3d/Workers/transcodeKTX2.js +2 -0
  486. package/serviceV2/3d/Workers/transcodeKTX2.js.LICENSE.txt +24 -0
  487. package/serviceV2/3d/Workers/transferTypedArrayTest.js +2 -0
  488. package/serviceV2/3d/Workers/transferTypedArrayTest.js.LICENSE.txt +24 -0
  489. package/serviceV2/3d/Workers/upsampleQuantizedTerrainMesh.js +2 -0
  490. package/serviceV2/3d/Workers/upsampleQuantizedTerrainMesh.js.LICENSE.txt +24 -0
  491. package/serviceV2/3d/Workers/upsampleVerticesFromCesium3DTilesTerrain.js +2 -0
  492. package/serviceV2/3d/Workers/upsampleVerticesFromCesium3DTilesTerrain.js.LICENSE.txt +24 -0
  493. package/webpack.config.dev.js +5 -5
  494. package/webpack.config.prod.js +5 -5
@@ -0,0 +1,24 @@
1
+ /**
2
+ * @license
3
+ * Cesium - https://github.com/CesiumGS/cesium
4
+ * Version 1.135.0
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
+ */
@@ -0,0 +1,2 @@
1
+ /*! For license information please see createEllipsoidGeometry.js.LICENSE.txt */
2
+ import{a as e}from"./chunk-CJRI54BI.js";import"./chunk-T77EB7BE.js";import"./chunk-APG2S62J.js";import"./chunk-T6Q6HX5J.js";import"./chunk-4MJDNHOT.js";import"./chunk-EDF5FKWJ.js";import"./chunk-XQIJGAVD.js";import"./chunk-UTYWXSQT.js";import"./chunk-RCHWDG3R.js";import"./chunk-4WJUWBRK.js";import"./chunk-5G23AKP3.js";import"./chunk-KWAHJ72S.js";import"./chunk-MKDADUG3.js";import"./chunk-NOIUI5SY.js";import{e as o}from"./chunk-XRRBRTKL.js";function i(r,t){return o(t)&&(r=e.unpack(r,t)),e.createGeometry(r)}var a=i;export{a as default};
@@ -0,0 +1,24 @@
1
+ /**
2
+ * @license
3
+ * Cesium - https://github.com/CesiumGS/cesium
4
+ * Version 1.135.0
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
+ */
@@ -0,0 +1,2 @@
1
+ /*! For license information please see createEllipsoidOutlineGeometry.js.LICENSE.txt */
2
+ import{a as t}from"./chunk-J7MBSSYW.js";import"./chunk-T77EB7BE.js";import"./chunk-T6Q6HX5J.js";import"./chunk-4MJDNHOT.js";import"./chunk-EDF5FKWJ.js";import"./chunk-XQIJGAVD.js";import"./chunk-UTYWXSQT.js";import"./chunk-RCHWDG3R.js";import"./chunk-4WJUWBRK.js";import"./chunk-5G23AKP3.js";import"./chunk-KWAHJ72S.js";import"./chunk-MKDADUG3.js";import"./chunk-NOIUI5SY.js";import{e as n}from"./chunk-XRRBRTKL.js";function u(r,u){return n(r.buffer,u)&&(r=t.unpack(r,u)),t.createGeometry(r)}var a=u;export{a as default};
@@ -0,0 +1,24 @@
1
+ /**
2
+ * @license
3
+ * Cesium - https://github.com/CesiumGS/cesium
4
+ * Version 1.135.0
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
+ */
@@ -0,0 +1,2 @@
1
+ /*! For license information please see createFrustumGeometry.js.LICENSE.txt */
2
+ import{c as r}from"./chunk-SNSHUVCZ.js";import"./chunk-APG2S62J.js";import"./chunk-SXKYZMEL.js";import"./chunk-4MJDNHOT.js";import"./chunk-EDF5FKWJ.js";import"./chunk-XQIJGAVD.js";import"./chunk-UTYWXSQT.js";import"./chunk-RCHWDG3R.js";import"./chunk-4WJUWBRK.js";import"./chunk-5G23AKP3.js";import"./chunk-KWAHJ72S.js";import"./chunk-MKDADUG3.js";import"./chunk-NOIUI5SY.js";import{e as o}from"./chunk-XRRBRTKL.js";function i(t,c){return o(c)&&(t=r.unpack(t,c)),r.createGeometry(t)}var a=i;export{a as default};
@@ -0,0 +1,24 @@
1
+ /**
2
+ * @license
3
+ * Cesium - https://github.com/CesiumGS/cesium
4
+ * Version 1.135.0
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
+ */
@@ -0,0 +1,2 @@
1
+ /*! For license information please see createFrustumOutlineGeometry.js.LICENSE.txt */
2
+ import{a as k,b as _,c as A}from"./chunk-SNSHUVCZ.js";import"./chunk-APG2S62J.js";import"./chunk-SXKYZMEL.js";import{a as F}from"./chunk-4MJDNHOT.js";import{b,c as N,d as g}from"./chunk-EDF5FKWJ.js";import{d as y}from"./chunk-XQIJGAVD.js";import{g as s}from"./chunk-UTYWXSQT.js";import{a as T}from"./chunk-RCHWDG3R.js";import"./chunk-4WJUWBRK.js";import"./chunk-5G23AKP3.js";import{a}from"./chunk-KWAHJ72S.js";import"./chunk-MKDADUG3.js";import{b as h}from"./chunk-NOIUI5SY.js";import{e as w}from"./chunk-XRRBRTKL.js";var d=0,j=1;function P(e){h.typeOf.object("options",e),h.typeOf.object("options.frustum",e.frustum),h.typeOf.object("options.origin",e.origin),h.typeOf.object("options.orientation",e.orientation);let t,n,r=e.frustum,o=e.orientation,i=e.origin,u=e._drawNearPlane??!0;r instanceof _?(t=d,n=_.packedLength):r instanceof k&&(t=j,n=k.packedLength),this._frustumType=t,this._frustum=r.clone(),this._origin=a.clone(i),this._orientation=s.clone(o),this._drawNearPlane=u,this._workerName="createFrustumOutlineGeometry",this.packedLength=2+n+a.packedLength+s.packedLength}P.pack=function(e,t,n){h.typeOf.object("value",e),h.defined("array",t),n=n??0;let r=e._frustumType,o=e._frustum;return t[n++]=r,r===d?(_.pack(o,t,n),n+=_.packedLength):(k.pack(o,t,n),n+=k.packedLength),a.pack(e._origin,t,n),n+=a.packedLength,s.pack(e._orientation,t,n),t[n+=s.packedLength]=e._drawNearPlane?1:0,t};var C=new _,E=new k,G=new s,R=new a;P.unpack=function(e,t,n){h.defined("array",e),t=t??0;let r,o=e[t++];o===d?(r=_.unpack(e,t,C),t+=_.packedLength):(r=k.unpack(e,t,E),t+=k.packedLength);let i=a.unpack(e,t,R);t+=a.packedLength;let u=s.unpack(e,t,G),c=1===e[t+=s.packedLength];if(!w(n))return new P({frustum:r,origin:i,orientation:u,_drawNearPlane:c});let p=o===n._frustumType?n._frustum:void 0;return n._frustum=r.clone(p),n._frustumType=o,n._origin=a.clone(i,n._origin),n._orientation=s.clone(u,n._orientation),n._drawNearPlane=c,n},P.createGeometry=function(e){let t=e._frustumType,n=e._frustum,r=e._origin,a=e._orientation,o=e._drawNearPlane,i=new Float64Array(24);A._computeNearFarPlanes(r,a,t,n,i);let s,u,c=new F({position:new g({componentDatatype:T.DOUBLE,componentsPerAttribute:3,values:i})}),p=o?2:1,k=new Uint16Array(8*(p+1)),m=o?0:1;for(;m<2;++m)s=o?8*m:0,u=4*m,k[s]=u,k[s+1]=u+1,k[s+2]=u+1,k[s+3]=u+2,k[s+4]=u+2,k[s+5]=u+3,k[s+6]=u+3,k[s+7]=u;for(m=0;m<2;++m)s=8*(p+m),u=4*m,k[s]=u,k[s+1]=u+4,k[s+2]=u+1,k[s+3]=u+5,k[s+4]=u+2,k[s+5]=u+6,k[s+6]=u+3,k[s+7]=u+7;return new N({attributes:c,indices:k,primitiveType:b.LINES,boundingSphere:y.fromVertices(i)})};var L=P;function S(e,t){return w(t)&&(e=L.unpack(e,t)),L.createGeometry(e)}var $=S;export{$ as default};
@@ -0,0 +1,24 @@
1
+ /**
2
+ * @license
3
+ * Cesium - https://github.com/CesiumGS/cesium
4
+ * Version 1.135.0
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
+ */
@@ -0,0 +1,2 @@
1
+ /*! For license information please see createGeometry.js.LICENSE.txt */
2
+ import{a as k}from"./chunk-LJBMXZ6U.js";import{a as w}from"./chunk-D2NFCOGE.js";import"./chunk-XBWRWNYZ.js";import"./chunk-3BSRJTW3.js";import"./chunk-VHZAK4GN.js";import"./chunk-OFCC6BNI.js";import"./chunk-HSJ6GSLC.js";import"./chunk-SXKYZMEL.js";import"./chunk-T6Q6HX5J.js";import"./chunk-4MJDNHOT.js";import"./chunk-EDF5FKWJ.js";import"./chunk-XQIJGAVD.js";import"./chunk-UTYWXSQT.js";import"./chunk-RCHWDG3R.js";import"./chunk-4WJUWBRK.js";import"./chunk-5G23AKP3.js";import"./chunk-KWAHJ72S.js";import"./chunk-MKDADUG3.js";import{a as y}from"./chunk-NOIUI5SY.js";import{a,b as p,e as r}from"./chunk-XRRBRTKL.js";var g=p({"./combineGeometry.js":()=>import("./combineGeometry.js"),"./createBoxGeometry.js":()=>import("./createBoxGeometry.js"),"./createBoxOutlineGeometry.js":()=>import("./createBoxOutlineGeometry.js"),"./createCircleGeometry.js":()=>import("./createCircleGeometry.js"),"./createCircleOutlineGeometry.js":()=>import("./createCircleOutlineGeometry.js"),"./createCoplanarPolygonGeometry.js":()=>import("./createCoplanarPolygonGeometry.js"),"./createCoplanarPolygonOutlineGeometry.js":()=>import("./createCoplanarPolygonOutlineGeometry.js"),"./createCorridorGeometry.js":()=>import("./createCorridorGeometry.js"),"./createCorridorOutlineGeometry.js":()=>import("./createCorridorOutlineGeometry.js"),"./createCylinderGeometry.js":()=>import("./createCylinderGeometry.js"),"./createCylinderOutlineGeometry.js":()=>import("./createCylinderOutlineGeometry.js"),"./createEllipseGeometry.js":()=>import("./createEllipseGeometry.js"),"./createEllipseOutlineGeometry.js":()=>import("./createEllipseOutlineGeometry.js"),"./createEllipsoidGeometry.js":()=>import("./createEllipsoidGeometry.js"),"./createEllipsoidOutlineGeometry.js":()=>import("./createEllipsoidOutlineGeometry.js"),"./createFrustumGeometry.js":()=>import("./createFrustumGeometry.js"),"./createFrustumOutlineGeometry.js":()=>import("./createFrustumOutlineGeometry.js"),"./createGeometry.js":()=>import("./createGeometry.js"),"./createGroundPolylineGeometry.js":()=>import("./createGroundPolylineGeometry.js"),"./createPlaneGeometry.js":()=>import("./createPlaneGeometry.js"),"./createPlaneOutlineGeometry.js":()=>import("./createPlaneOutlineGeometry.js"),"./createPolygonGeometry.js":()=>import("./createPolygonGeometry.js"),"./createPolygonOutlineGeometry.js":()=>import("./createPolygonOutlineGeometry.js"),"./createPolylineGeometry.js":()=>import("./createPolylineGeometry.js"),"./createPolylineVolumeGeometry.js":()=>import("./createPolylineVolumeGeometry.js"),"./createPolylineVolumeOutlineGeometry.js":()=>import("./createPolylineVolumeOutlineGeometry.js"),"./createRectangleGeometry.js":()=>import("./createRectangleGeometry.js"),"./createRectangleOutlineGeometry.js":()=>import("./createRectangleOutlineGeometry.js"),"./createSimplePolylineGeometry.js":()=>import("./createSimplePolylineGeometry.js"),"./createSphereGeometry.js":()=>import("./createSphereGeometry.js"),"./createSphereOutlineGeometry.js":()=>import("./createSphereOutlineGeometry.js"),"./createTaskProcessorWorker.js":()=>import("./createTaskProcessorWorker.js"),"./createVectorTileClampedPolylines.js":()=>import("./createVectorTileClampedPolylines.js"),"./createVectorTileGeometries.js":()=>import("./createVectorTileGeometries.js"),"./createVectorTilePoints.js":()=>import("./createVectorTilePoints.js"),"./createVectorTilePolygons.js":()=>import("./createVectorTilePolygons.js"),"./createVectorTilePolylines.js":()=>import("./createVectorTilePolylines.js"),"./createVerticesFromCesium3DTilesTerrain.js":()=>import("./createVerticesFromCesium3DTilesTerrain.js"),"./createVerticesFromGoogleEarthEnterpriseBuffer.js":()=>import("./createVerticesFromGoogleEarthEnterpriseBuffer.js"),"./createVerticesFromHeightmap.js":()=>import("./createVerticesFromHeightmap.js"),"./createVerticesFromQuantizedTerrainMesh.js":()=>import("./createVerticesFromQuantizedTerrainMesh.js"),"./createWallGeometry.js":()=>import("./createWallGeometry.js"),"./createWallOutlineGeometry.js":()=>import("./createWallOutlineGeometry.js"),"./decodeDraco.js":()=>import("./decodeDraco.js"),"./decodeGoogleEarthEnterprisePacket.js":()=>import("./decodeGoogleEarthEnterprisePacket.js"),"./decodeI3S.js":()=>import("./decodeI3S.js"),"./gaussianSplatSorter.js":()=>import("./gaussianSplatSorter.js"),"./gaussianSplatTextureGenerator.js":()=>import("./gaussianSplatTextureGenerator.js"),"./transcodeKTX2.js":()=>import("./transcodeKTX2.js"),"./transferTypedArrayTest.js":()=>import("./transferTypedArrayTest.js"),"./upsampleQuantizedTerrainMesh.js":()=>import("./upsampleQuantizedTerrainMesh.js"),"./upsampleVerticesFromCesium3DTilesTerrain.js":()=>import("./upsampleVerticesFromCesium3DTilesTerrain.js")}),c={};async function b(e,t){let o=c[t]??c[e];return r(o)?o:r(t)?(o="object"==typeof exports?a(t):(await import(t)).default,c[t]=o,o):(o="object"==typeof exports?a(`Workers/${e}`):(r(t)?await import(t):await g(`./${e}.js`)).default,c[e]=o,o)}async function h(e,t){let o=e.subTasks,s=o.length,i=new Array(s);for(let e=0;e<s;e++){let t=o[e],s=t.geometry,m=t.moduleName,a=t.modulePath;if(r(m)&&r(a))throw new y("Must only set moduleName or modulePath");r(m)||r(a)?i[e]=b(m,a).then((e=>e(s,t.offset))):i[e]=s}return Promise.all(i).then((function(e){return k.packCreateGeometryResults(e,t)}))}var G=w(h);export{G as default};
@@ -0,0 +1,24 @@
1
+ /**
2
+ * @license
3
+ * Cesium - https://github.com/CesiumGS/cesium
4
+ * Version 1.135.0
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
+ */
@@ -0,0 +1,2 @@
1
+ /*! For license information please see createGroundPolylineGeometry.js.LICENSE.txt */
2
+ import{a as _e}from"./chunk-XBWRWNYZ.js";import{a as W}from"./chunk-OXJ2LJUE.js";import{a as Ct}from"./chunk-OFCC6BNI.js";import{a as Oe}from"./chunk-FWF3VNA2.js";import{a as Le}from"./chunk-AZLP5742.js";import{a as te}from"./chunk-5HPISDSZ.js";import{b as Qt}from"./chunk-HSJ6GSLC.js";import{a as jt}from"./chunk-SXKYZMEL.js";import{c as Ce,d as zt}from"./chunk-EDF5FKWJ.js";import{a as Pt,d as U}from"./chunk-XQIJGAVD.js";import{e as xe,f as Ne,g as Kt,i as Y}from"./chunk-UTYWXSQT.js";import{a as Bt}from"./chunk-RCHWDG3R.js";import"./chunk-4WJUWBRK.js";import"./chunk-5G23AKP3.js";import{a as t,b as u,c as Rt,d as B,e as bt,f as vt}from"./chunk-KWAHJ72S.js";import{a as p}from"./chunk-MKDADUG3.js";import{a as wt,b as tt}from"./chunk-NOIUI5SY.js";import{e as g}from"./chunk-XRRBRTKL.js";function it(t){t=t??vt.EMPTY_OBJECT,this._ellipsoid=t.ellipsoid??B.default,this._rectangle=t.rectangle??Y.MAX_VALUE,this._projection=new Pt(this._ellipsoid),this._numberOfLevelZeroTilesX=t.numberOfLevelZeroTilesX??2,this._numberOfLevelZeroTilesY=t.numberOfLevelZeroTilesY??1}Object.defineProperties(it.prototype,{ellipsoid:{get:function(){return this._ellipsoid}},rectangle:{get:function(){return this._rectangle}},projection:{get:function(){return this._projection}}}),it.prototype.getNumberOfXTilesAtLevel=function(t){return this._numberOfLevelZeroTilesX<<t},it.prototype.getNumberOfYTilesAtLevel=function(t){return this._numberOfLevelZeroTilesY<<t},it.prototype.rectangleToNativeRectangle=function(t,e){tt.defined("rectangle",t);let n=p.toDegrees(t.west),i=p.toDegrees(t.south),r=p.toDegrees(t.east),a=p.toDegrees(t.north);return g(e)?(e.west=n,e.south=i,e.east=r,e.north=a,e):new Y(n,i,r,a)},it.prototype.tileXYToNativeRectangle=function(t,e,n,i){let r=this.tileXYToRectangle(t,e,n,i);return r.west=p.toDegrees(r.west),r.south=p.toDegrees(r.south),r.east=p.toDegrees(r.east),r.north=p.toDegrees(r.north),r},it.prototype.tileXYToRectangle=function(t,e,n,i){let r=this._rectangle,a=this.getNumberOfXTilesAtLevel(n),o=this.getNumberOfYTilesAtLevel(n),l=r.width/a,s=t*l+r.west,u=(t+1)*l+r.west,p=r.height/o,c=r.north-e*p,h=r.north-(e+1)*p;return g(i)||(i=new Y(s,h,u,c)),i.west=s,i.south=h,i.east=u,i.north=c,i},it.prototype.positionToTileXY=function(t,e,n){let i=this._rectangle;if(!Y.contains(i,t))return;let r=this.getNumberOfXTilesAtLevel(e),a=this.getNumberOfYTilesAtLevel(e),o=i.width/r,l=i.height/a,s=t.longitude;i.east<i.west&&(s+=p.TWO_PI);let u=(s-i.west)/o|0;u>=r&&(u=r-1);let c=(i.north-t.latitude)/l|0;return c>=a&&(c=a-1),g(n)?(n.x=u,n.y=c,n):new Rt(u,c)};var De=it,Ie=new t,He=new t,ke=new u,ee=new t,hn=new t,ye=new U,pn=new De,_t=[new u,new u,new u,new u],Lt=new Rt,w={};function Ae(t){u.fromRadians(t.east,t.north,0,_t[0]),u.fromRadians(t.west,t.north,0,_t[1]),u.fromRadians(t.east,t.south,0,_t[2]),u.fromRadians(t.west,t.south,0,_t[3]);let e,n=0,i=0,r=0,a=0,o=w._terrainHeightsMaxLevel;for(e=0;e<=o;++e){let t=!1;for(let n=0;n<4;++n){let i=_t[n];if(pn.positionToTileXY(i,e,Lt),0===n)r=Lt.x,a=Lt.y;else if(r!==Lt.x||a!==Lt.y){t=!0;break}}if(t)break;n=r,i=a}if(0!==e)return{x:n,y:i,level:e>o?o:e-1}}w.initialize=function(){let t=w._initPromise;return g(t)||(t=xe.fetchJson(Ne("Assets/approximateTerrainHeights.json")).then((function(t){w._terrainHeights=t})),w._initPromise=t),t},w.getMinimumMaximumHeights=function(e,n){if(tt.defined("rectangle",e),!g(w._terrainHeights))throw new wt("You must call ApproximateTerrainHeights.initialize and wait for the promise to resolve before using this function");n=n??B.default;let i=Ae(e),r=w._defaultMinTerrainHeight,a=w._defaultMaxTerrainHeight;if(g(i)){let o=`${i.level}-${i.x}-${i.y}`,l=w._terrainHeights[o];g(l)&&(r=l[0],a=l[1]),n.cartographicToCartesian(Y.northeast(e,ke),Ie),n.cartographicToCartesian(Y.southwest(e,ke),He),t.midpoint(He,Ie,ee);let s=n.scaleToGeodeticSurface(ee,hn);if(g(s)){let e=t.distance(ee,s);r=Math.min(r,-e)}else r=w._defaultMinTerrainHeight}return r=Math.max(w._defaultMinTerrainHeight,r),{minimumTerrainHeight:r,maximumTerrainHeight:a}},w.getBoundingSphere=function(t,e){if(tt.defined("rectangle",t),!g(w._terrainHeights))throw new wt("You must call ApproximateTerrainHeights.initialize and wait for the promise to resolve before using this function");e=e??B.default;let n=Ae(t),i=w._defaultMaxTerrainHeight;if(g(n)){let t=`${n.level}-${n.x}-${n.y}`,e=w._terrainHeights[t];g(e)&&(i=e[1])}let r=U.fromRectangle3D(t,e,0);return U.fromRectangle3D(t,e,i,ye),U.union(r,ye,r)},w._terrainHeightsMaxLevel=6,w._defaultMaxTerrainHeight=9e3,w._defaultMinTerrainHeight=-1e5,w._terrainHeights=void 0,w._initPromise=void 0,Object.defineProperties(w,{initialized:{get:function(){return g(w._terrainHeights)}}});var Ft=w,le=[Pt,_e],dn=le.length,Ke=Math.cos(p.toRadians(30)),Me=Math.cos(p.toRadians(150)),Qe=0,tn=1e3;function at(t){let e=(t=t??vt.EMPTY_OBJECT).positions;if(!g(e)||e.length<2)throw new wt("At least two positions are required.");if(g(t.arcType)&&t.arcType!==W.GEODESIC&&t.arcType!==W.RHUMB)throw new wt("Valid options for arcType are ArcType.GEODESIC and ArcType.RHUMB.");this.width=t.width??1,this._positions=e,this.granularity=t.granularity??9999,this.loop=t.loop??!1,this.arcType=t.arcType??W.GEODESIC,this._ellipsoid=B.default,this._projectionIndex=0,this._workerName="createGroundPolylineGeometry",this._scene3DOnly=!1}Object.defineProperties(at.prototype,{packedLength:{get:function(){return 1+3*this._positions.length+1+1+1+B.packedLength+1+1}}}),at.setProjectionAndEllipsoid=function(t,e){let n=0;for(let t=0;t<dn;t++)if(e instanceof le[t]){n=t;break}t._projectionIndex=n,t._ellipsoid=e.ellipsoid};var fn=new t,Re=new t,Pe=new t;function se(e,n,i,r,a){let o=R(r,e,0,fn),l=R(r,e,i,Re),s=R(r,n,0,Pe),u=et(l,o,Re),p=et(s,o,Pe);return t.cross(p,u,a),t.normalize(a,a)}var mn=new u,gn=new t,un=new t,wn=new t;function ne(e,n,i,r,a,o,l,s,u,p,c){if(0===a)return;let h;o===W.GEODESIC?h=new Oe(e,n,l):o===W.RHUMB&&(h=new te(e,n,l));let g=h.surfaceDistance;if(g<a)return;let d=se(e,n,r,l,wn),f=Math.ceil(g/a),w=g/f,m=w,y=f-1,T=s.length;for(let e=0;e<y;e++){let e=h.interpolateUsingSurfaceDistance(m,mn),n=R(l,e,i,gn),a=R(l,e,r,un);t.pack(d,s,T),t.pack(n,u,T),t.pack(a,p,T),c.push(e.latitude),c.push(e.longitude),T+=3,m+=w}}var oe=new u;function R(t,e,n,i){return u.clone(e,oe),oe.height=n,u.toCartesian(oe,t,i)}function et(e,n,i){return t.subtract(e,n,i),t.normalize(i,i),i}function be(e,n,i,r){return r=et(e,n,r),r=t.cross(r,i,r),r=t.normalize(r,r),t.cross(i,r,r)}at.pack=function(e,n,i){tt.typeOf.object("value",e),tt.defined("array",n);let r=i??0,a=e._positions,o=a.length;n[r++]=o;for(let e=0;e<o;++e){let i=a[e];t.pack(i,n,r),r+=3}return n[r++]=e.granularity,n[r++]=e.loop?1:0,n[r++]=e.arcType,B.pack(e._ellipsoid,n,r),r+=B.packedLength,n[r++]=e._projectionIndex,n[r++]=e._scene3DOnly?1:0,n},at.unpack=function(e,n,i){tt.defined("array",e);let r=n??0,a=e[r++],o=new Array(a);for(let n=0;n<a;n++)o[n]=t.unpack(e,r),r+=3;let l=e[r++],s=1===e[r++],u=e[r++],p=B.unpack(e,r);r+=B.packedLength;let c=e[r++],h=1===e[r++];return g(i)||(i=new at({positions:o})),i._positions=o,i.granularity=l,i.loop=s,i.arcType=u,i._ellipsoid=p,i._projectionIndex=c,i._scene3DOnly=h,i};var Sn=new t,Tn=new t,En=new t,en=new t,xn=0,Nn=-1;function ie(e,n,i,r,a){let o=et(i,n,en),l=be(e,n,o,Sn),s=be(r,n,o,Tn);if(p.equalsEpsilon(t.dot(l,s),Nn,p.EPSILON5))return a=t.cross(o,l,a),t.normalize(a,a);a=t.add(s,l,a),a=t.normalize(a,a);let u=t.cross(o,a,En);return t.dot(s,u)<xn&&(a=t.negate(a,a)),a}var Gt=jt.fromPointNormal(t.ZERO,t.UNIT_Y),Cn=new t,_n=new t,Ln=new t,On=new t,Dn=new t,Xt=new t,Yt=new u,ve=new u,Be=new u;at.createGeometry=function(e){let n,i,r=!e._scene3DOnly,a=e.loop,o=e._ellipsoid,l=e.granularity,s=e.arcType,c=new le[e._projectionIndex](o),h=Qe,d=tn,f=e._positions,w=f.length;2===w&&(a=!1);let m,y,T,_,O,k,E,L=new te(void 0,void 0,o),P=[f[0]];for(i=0;i<w-1;i++)m=f[i],y=f[i+1],O=Qt.lineSegmentPlane(m,y,Gt,Xt),g(O)&&!t.equalsEpsilon(O,m,p.EPSILON7)&&!t.equalsEpsilon(O,y,p.EPSILON7)&&(e.arcType===W.GEODESIC?P.push(t.clone(O)):e.arcType===W.RHUMB&&(E=o.cartesianToCartographic(O,Yt).longitude,T=o.cartesianToCartographic(m,Yt),_=o.cartesianToCartographic(y,ve),L.setEndPoints(T,_),k=L.findIntersectionWithLongitude(E,Be),O=o.cartographicToCartesian(k,Xt),g(O)&&!t.equalsEpsilon(O,m,p.EPSILON7)&&!t.equalsEpsilon(O,y,p.EPSILON7)&&P.push(t.clone(O)))),P.push(y);a&&(m=f[w-1],y=f[0],O=Qt.lineSegmentPlane(m,y,Gt,Xt),g(O)&&!t.equalsEpsilon(O,m,p.EPSILON7)&&!t.equalsEpsilon(O,y,p.EPSILON7)&&(e.arcType===W.GEODESIC?P.push(t.clone(O)):e.arcType===W.RHUMB&&(E=o.cartesianToCartographic(O,Yt).longitude,T=o.cartesianToCartographic(m,Yt),_=o.cartesianToCartographic(y,ve),L.setEndPoints(T,_),k=L.findIntersectionWithLongitude(E,Be),O=o.cartographicToCartesian(k,Xt),g(O)&&!t.equalsEpsilon(O,m,p.EPSILON7)&&!t.equalsEpsilon(O,y,p.EPSILON7)&&P.push(t.clone(O)))));let A=P.length,b=new Array(A);for(i=0;i<A;i++){let t=u.fromCartesian(P[i],o);t.height=0,b[i]=t}if(b=Le(b,u.equalsEpsilon),A=b.length,A<2)return;let v=[],I=[],S=[],j=[],N=Cn,x=_n,D=Ln,Y=On,C=Dn,H=b[0],B=b[1];for(N=R(o,b[A-1],h,N),Y=R(o,B,h,Y),x=R(o,H,h,x),D=R(o,H,d,D),C=a?ie(N,x,D,Y,C):se(H,B,d,o,C),t.pack(C,I,0),t.pack(x,S,0),t.pack(D,j,0),v.push(H.latitude),v.push(H.longitude),ne(H,B,h,d,l,s,o,I,S,j,v),i=1;i<A-1;++i){N=t.clone(x,N),x=t.clone(Y,x);let e=b[i];R(o,e,d,D),R(o,b[i+1],h,Y),ie(N,x,D,Y,C),n=I.length,t.pack(C,I,n),t.pack(x,S,n),t.pack(D,j,n),v.push(e.latitude),v.push(e.longitude),ne(b[i],b[i+1],h,d,l,s,o,I,S,j,v)}let M=b[A-1],z=b[A-2];if(x=R(o,M,h,x),D=R(o,M,d,D),a){let t=b[0];N=R(o,z,h,N),Y=R(o,t,h,Y),C=ie(N,x,D,Y,C)}else C=se(z,M,d,o,C);if(n=I.length,t.pack(C,I,n),t.pack(x,S,n),t.pack(D,j,n),v.push(M.latitude),v.push(M.longitude),a){for(ne(M,H,h,d,l,s,o,I,S,j,v),n=I.length,i=0;i<3;++i)I[n+i]=I[i],S[n+i]=S[i],j[n+i]=j[i];v.push(H.latitude),v.push(H.longitude)}return Qn(a,c,S,j,I,v,r)};var In=new t,Hn=new bt,kn=new Kt;function ze(e,n,i,r){let a=et(i,n,In),o=t.dot(a,e);if(o>Ke||o<Me){let t=et(r,i,en),n=o<Me?p.PI_OVER_TWO:-p.PI_OVER_TWO,a=Kt.fromAxisAngle(t,n,kn),l=bt.fromQuaternion(a,Hn);return bt.multiplyByVector(l,e,e),!0}return!1}var je=new u,yn=new t,Fe=new t;function Ot(e,n,i,r,a){let o=u.toCartesian(n,e._ellipsoid,yn),l=t.add(o,i,Fe),s=!1,c=e._ellipsoid,h=c.cartesianToCartographic(l,je);Math.abs(n.longitude-h.longitude)>p.PI_OVER_TWO&&(s=!0,l=t.subtract(o,i,Fe),h=c.cartesianToCartographic(l,je)),h.height=0;let g=e.project(h,a);return(a=t.subtract(g,r,a)).z=0,a=t.normalize(a,a),s&&t.negate(a,a),a}var An=new t,Xe=new t;function Ye(e,n,i,r,a,o){let l=t.subtract(n,e,An);t.normalize(l,l);let s=i-Qe,u=t.multiplyByScalar(l,s,Xe);t.add(e,u,a);let p=r-tn;u=t.multiplyByScalar(l,p,Xe),t.add(n,u,o)}var Mn=new t;function Ut(e,n){let i=jt.getPointDistance(Gt,e),r=jt.getPointDistance(Gt,n),a=Mn;p.equalsEpsilon(i,0,p.EPSILON2)?(a=et(n,e,a),t.multiplyByScalar(a,p.EPSILON2,a),t.add(e,a,e)):p.equalsEpsilon(r,0,p.EPSILON2)&&(a=et(e,n,a),t.multiplyByScalar(a,p.EPSILON2,a),t.add(n,a,n))}function Rn(t,e){let n=Math.abs(t.longitude),i=Math.abs(e.longitude);if(p.equalsEpsilon(n,p.PI,p.EPSILON11)){let i=p.sign(e.longitude);return t.longitude=i*(n-p.EPSILON11),1}if(p.equalsEpsilon(i,p.PI,p.EPSILON11)){let n=p.sign(t.longitude);return e.longitude=n*(i-p.EPSILON11),2}return 0}var nn=new u,on=new u,Ue=new t,re=new t,Ge=new t,qe=new t,Pn=new t,We=new t,bn=[nn,on],vn=new Y,Bn=new t,zn=new t,jn=new t,Fn=new t,Xn=new t,Yn=new t,ae=new t,ce=new t,Un=new t,Gn=new t,qn=new t,Ze=new t,Wn=new t,Zn=new t,Vn=new Ct,$n=new Ct,Ve=new t,Jn=new t,$e=new t,Kn=[new U,new U],rn=[0,2,1,0,3,2,0,7,3,0,4,7,0,5,4,0,1,5,5,7,4,5,6,7,5,2,6,5,1,2,3,6,2,3,7,6],Je=rn.length;function Qn(e,n,i,r,a,o,l){let s,u,c,h,g,d,f=n._ellipsoid,w=i.length/3-1,m=8*w,y=4*m,T=36*w,_=m>65535?new Uint32Array(T):new Uint16Array(T),O=new Float64Array(3*m),k=new Float32Array(y),E=new Float32Array(y),L=new Float32Array(y),P=new Float32Array(y),R=new Float32Array(y);l&&(c=new Float32Array(y),h=new Float32Array(y),g=new Float32Array(y),d=new Float32Array(2*m));let A=o.length/2,b=0,v=nn;v.height=0;let I=on;I.height=0;let S=Ue,j=re;if(l)for(u=0,s=1;s<A;s++)v.latitude=o[u],v.longitude=o[u+1],I.latitude=o[u+2],I.longitude=o[u+3],S=n.project(v,S),j=n.project(I,j),b+=t.distance(S,j),u+=2;let N=r.length/3;j=t.unpack(r,0,j);let x,D=0;for(u=3,s=1;s<N;s++)S=t.clone(j,S),j=t.unpack(r,u,j),D+=t.distance(S,j),u+=3;u=3;let C=0,H=0,B=0,M=0,z=!1,W=t.unpack(i,0,qe),X=t.unpack(r,0,re),F=t.unpack(a,0,We);e&&ze(F,t.unpack(i,i.length-6,Ge),W,X)&&(F=t.negate(F,F));let G=0,q=0,Z=0;for(s=0;s<w;s++){let e,s,w,m,y=t.clone(W,Ge),T=t.clone(X,Ue),_=t.clone(F,Pn);if(z&&(_=t.negate(_,_)),W=t.unpack(i,u,qe),X=t.unpack(r,u,re),F=t.unpack(a,u,We),z=ze(F,y,W,X),v.latitude=o[C],v.longitude=o[C+1],I.latitude=o[C+2],I.longitude=o[C+3],l){let i=Rn(v,I);e=n.project(v,Xn),s=n.project(I,Yn);let r=et(s,e,Ve);r.y=Math.abs(r.y),w=ae,m=ce,0===i||t.dot(r,t.UNIT_Y)>Ke?(w=Ot(n,v,_,e,ae),m=Ot(n,I,F,s,ce)):1===i?(m=Ot(n,I,F,s,ce),w.x=0,w.y=p.sign(v.longitude-Math.abs(I.longitude)),w.z=0):(w=Ot(n,v,_,e,ae),m.x=0,m.y=p.sign(v.longitude-I.longitude),m.z=0)}let A=t.distance(T,X),S=Ct.fromCartesian(y,Vn),j=t.subtract(W,y,Un),N=t.normalize(j,Ze),U=t.subtract(T,y,Gn);U=t.normalize(U,U);let J=t.cross(N,U,Ze);J=t.normalize(J,J);let K=t.cross(U,_,Wn);K=t.normalize(K,K);let V=t.subtract(X,W,qn);V=t.normalize(V,V);let Q=t.cross(F,V,Zn);Q=t.normalize(Q,Q);let $,tt,nt,it=A/D,rt=G/D,at=0,ot=0,lt=0;if(l){at=t.distance(e,s),$=Ct.fromCartesian(e,$n),tt=t.subtract(s,e,Ve),nt=t.normalize(tt,Jn);let n=nt.x;nt.x=nt.y,nt.y=-n,ot=at/b,lt=q/b}for(x=0;x<8;x++){let e=M+4*x,n=H+2*x,i=e+3,r=x<4?1:-1,a=2===x||3===x||6===x||7===x?1:-1;t.pack(S.high,k,e),k[i]=j.x,t.pack(S.low,E,e),E[i]=j.y,t.pack(K,L,e),L[i]=j.z,t.pack(Q,P,e),P[i]=it*r,t.pack(J,R,e);let o=rt*a;0===o&&a<0&&(o=9),R[i]=o,l&&(c[e]=$.high.x,c[e+1]=$.high.y,c[e+2]=$.low.x,c[e+3]=$.low.y,g[e]=-w.y,g[e+1]=w.x,g[e+2]=m.y,g[e+3]=-m.x,h[e]=tt.x,h[e+1]=tt.y,h[e+2]=nt.x,h[e+3]=nt.y,d[n]=ot*r,o=lt*a,0===o&&a<0&&(o=9),d[n+1]=o)}let st=jn,ut=Fn,pt=Bn,ct=zn,ht=Y.fromCartographicArray(bn,vn),gt=Ft.getMinimumMaximumHeights(ht,f),dt=gt.minimumTerrainHeight,ft=gt.maximumTerrainHeight;Z+=Math.abs(dt),Z+=Math.abs(ft),Ye(y,T,dt,ft,st,pt),Ye(W,X,dt,ft,ut,ct);let wt=t.multiplyByScalar(J,p.EPSILON5,$e);t.add(st,wt,st),t.add(ut,wt,ut),t.add(pt,wt,pt),t.add(ct,wt,ct),Ut(st,ut),Ut(pt,ct),t.pack(st,O,B),t.pack(ut,O,B+3),t.pack(ct,O,B+6),t.pack(pt,O,B+9),wt=t.multiplyByScalar(J,-2*p.EPSILON5,$e),t.add(st,wt,st),t.add(ut,wt,ut),t.add(pt,wt,pt),t.add(ct,wt,ct),Ut(st,ut),Ut(pt,ct),t.pack(st,O,B+12),t.pack(ut,O,B+15),t.pack(ct,O,B+18),t.pack(pt,O,B+21),C+=2,u+=3,H+=16,B+=24,M+=32,G+=A,q+=at}u=0;let J=0;for(s=0;s<w;s++){for(x=0;x<Je;x++)_[u+x]=rn[x]+J;J+=8,u+=Je}let K=Kn;U.fromVertices(i,t.ZERO,3,K[0]),U.fromVertices(r,t.ZERO,3,K[1]);let V=U.fromBoundingSpheres(K);V.radius+=Z/(2*w);let Q={position:new zt({componentDatatype:Bt.DOUBLE,componentsPerAttribute:3,normalize:!1,values:O}),startHiAndForwardOffsetX:rt(k),startLoAndForwardOffsetY:rt(E),startNormalAndForwardOffsetZ:rt(L),endNormalAndTextureCoordinateNormalizationX:rt(P),rightNormalAndTextureCoordinateNormalizationY:rt(R)};return l&&(Q.startHiLo2D=rt(c),Q.offsetAndRight2D=rt(h),Q.startEndNormals2D=rt(g),Q.texcoordNormalization2D=new zt({componentDatatype:Bt.FLOAT,componentsPerAttribute:2,normalize:!1,values:d})),new Ce({attributes:Q,indices:_,boundingSphere:V})}function rt(t){return new zt({componentDatatype:Bt.FLOAT,componentsPerAttribute:4,normalize:!1,values:t})}at._projectNormal=Ot;var he=at;function to(t,e){return Ft.initialize().then((function(){return g(e)&&(t=he.unpack(t,e)),he.createGeometry(t)}))}var Qo=to;export{Qo as default};
@@ -0,0 +1,24 @@
1
+ /**
2
+ * @license
3
+ * Cesium - https://github.com/CesiumGS/cesium
4
+ * Version 1.135.0
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
+ */
@@ -0,0 +1,2 @@
1
+ /*! For license information please see createPlaneGeometry.js.LICENSE.txt */
2
+ import{a as m}from"./chunk-APG2S62J.js";import{a as b}from"./chunk-4MJDNHOT.js";import{b as v,c as x,d as c}from"./chunk-EDF5FKWJ.js";import{d as l}from"./chunk-XQIJGAVD.js";import"./chunk-UTYWXSQT.js";import{a as i}from"./chunk-RCHWDG3R.js";import"./chunk-4WJUWBRK.js";import"./chunk-5G23AKP3.js";import{a as u,f as A}from"./chunk-KWAHJ72S.js";import"./chunk-MKDADUG3.js";import{b as f}from"./chunk-NOIUI5SY.js";import{e as s}from"./chunk-XRRBRTKL.js";function p(t){let e=(t=t??A.EMPTY_OBJECT).vertexFormat??m.DEFAULT;this._vertexFormat=e,this._workerName="createPlaneGeometry"}p.packedLength=m.packedLength,p.pack=function(t,e,n){return f.typeOf.object("value",t),f.defined("array",e),n=n??0,m.pack(t._vertexFormat,e,n),e};var d=new m,P={vertexFormat:d};p.unpack=function(t,e,n){f.defined("array",t),e=e??0;let r=m.unpack(t,e,d);return s(n)?(n._vertexFormat=m.clone(r,n._vertexFormat),n):new p(P)};var y=new u(-.5,-.5,0),F=new u(.5,.5,0);p.createGeometry=function(t){let e,n,r=t._vertexFormat,a=new b;if(r.position){if(n=new Float64Array(12),n[0]=y.x,n[1]=y.y,n[2]=0,n[3]=F.x,n[4]=y.y,n[5]=0,n[6]=F.x,n[7]=F.y,n[8]=0,n[9]=y.x,n[10]=F.y,n[11]=0,a.position=new c({componentDatatype:i.DOUBLE,componentsPerAttribute:3,values:n}),r.normal){let t=new Float32Array(12);t[0]=0,t[1]=0,t[2]=1,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=1,t[9]=0,t[10]=0,t[11]=1,a.normal=new c({componentDatatype:i.FLOAT,componentsPerAttribute:3,values:t})}if(r.st){let t=new Float32Array(8);t[0]=0,t[1]=0,t[2]=1,t[3]=0,t[4]=1,t[5]=1,t[6]=0,t[7]=1,a.st=new c({componentDatatype:i.FLOAT,componentsPerAttribute:2,values:t})}if(r.tangent){let t=new Float32Array(12);t[0]=1,t[1]=0,t[2]=0,t[3]=1,t[4]=0,t[5]=0,t[6]=1,t[7]=0,t[8]=0,t[9]=1,t[10]=0,t[11]=0,a.tangent=new c({componentDatatype:i.FLOAT,componentsPerAttribute:3,values:t})}if(r.bitangent){let t=new Float32Array(12);t[0]=0,t[1]=1,t[2]=0,t[3]=0,t[4]=1,t[5]=0,t[6]=0,t[7]=1,t[8]=0,t[9]=0,t[10]=1,t[11]=0,a.bitangent=new c({componentDatatype:i.FLOAT,componentsPerAttribute:3,values:t})}e=new Uint16Array(6),e[0]=0,e[1]=1,e[2]=2,e[3]=0,e[4]=2,e[5]=3}return new x({attributes:a,indices:e,primitiveType:v.TRIANGLES,boundingSphere:new l(u.ZERO,Math.sqrt(2))})};var w=p;function h(t,e){return s(e)&&(t=w.unpack(t,e)),w.createGeometry(t)}var N=h;export{N as default};
@@ -0,0 +1,24 @@
1
+ /**
2
+ * @license
3
+ * Cesium - https://github.com/CesiumGS/cesium
4
+ * Version 1.135.0
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
+ */
@@ -0,0 +1,2 @@
1
+ /*! For license information please see createPlaneOutlineGeometry.js.LICENSE.txt */
2
+ import{a as l}from"./chunk-4MJDNHOT.js";import{b as d,c as y,d as s}from"./chunk-EDF5FKWJ.js";import{d as c}from"./chunk-XQIJGAVD.js";import"./chunk-UTYWXSQT.js";import{a as f}from"./chunk-RCHWDG3R.js";import"./chunk-4WJUWBRK.js";import"./chunk-5G23AKP3.js";import{a}from"./chunk-KWAHJ72S.js";import"./chunk-MKDADUG3.js";import{b as m}from"./chunk-NOIUI5SY.js";import{e as i}from"./chunk-XRRBRTKL.js";function o(){this._workerName="createPlaneOutlineGeometry"}o.packedLength=0,o.pack=function(n,e){return m.defined("value",n),m.defined("array",e),e},o.unpack=function(n,e,r){return m.defined("array",n),i(r)?r:new o};var n=new a(-.5,-.5,0),p=new a(.5,.5,0);o.createGeometry=function(){let e=new l,r=new Uint16Array(8),t=new Float64Array(12);return t[0]=n.x,t[1]=n.y,t[2]=n.z,t[3]=p.x,t[4]=n.y,t[5]=n.z,t[6]=p.x,t[7]=p.y,t[8]=n.z,t[9]=n.x,t[10]=p.y,t[11]=n.z,e.position=new s({componentDatatype:f.DOUBLE,componentsPerAttribute:3,values:t}),r[0]=0,r[1]=1,r[2]=1,r[3]=2,r[4]=2,r[5]=3,r[6]=3,r[7]=0,new y({attributes:e,indices:r,primitiveType:d.LINES,boundingSphere:new c(a.ZERO,Math.sqrt(2))})};var u=o;function w(n,e){return i(e)&&(n=u.unpack(n,e)),u.createGeometry(n)}var D=w;export{D as default};
@@ -0,0 +1,24 @@
1
+ /**
2
+ * @license
3
+ * Cesium - https://github.com/CesiumGS/cesium
4
+ * Version 1.135.0
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
+ */
@@ -0,0 +1,2 @@
1
+ /*! For license information please see createPolygonGeometry.js.LICENSE.txt */
2
+ import{a as mt}from"./chunk-U6GWZBRL.js";import{a as L}from"./chunk-3WSHJXU2.js";import{a as st}from"./chunk-OXJ2LJUE.js";import{a as rt}from"./chunk-2ZPEMRCT.js";import{a as bt}from"./chunk-3BSRJTW3.js";import"./chunk-VHZAK4GN.js";import"./chunk-OFCC6BNI.js";import{a as lt}from"./chunk-T77EB7BE.js";import{a as q}from"./chunk-APG2S62J.js";import{a as Z}from"./chunk-ET7KY3BS.js";import"./chunk-CUP6SILZ.js";import{a as dt,b as ot}from"./chunk-IYO6TYGP.js";import"./chunk-AZLP5742.js";import"./chunk-5HPISDSZ.js";import{a as wt,b as yt}from"./chunk-HSJ6GSLC.js";import"./chunk-SXKYZMEL.js";import{a as ct}from"./chunk-T6Q6HX5J.js";import"./chunk-4MJDNHOT.js";import{c as ut,d as $}from"./chunk-EDF5FKWJ.js";import{d as Tt}from"./chunk-XQIJGAVD.js";import{g as at,i as _t}from"./chunk-UTYWXSQT.js";import{a as X}from"./chunk-RCHWDG3R.js";import"./chunk-4WJUWBRK.js";import"./chunk-5G23AKP3.js";import{a as c,b as et,c as O,d as S,e as D,f as Pt}from"./chunk-KWAHJ72S.js";import{a as l}from"./chunk-MKDADUG3.js";import{a as ft,b as Y}from"./chunk-NOIUI5SY.js";import{e as P}from"./chunk-XRRBRTKL.js";function b(t,e){this.position=t,P(this.position)||(this.position=new O),this.tangentPlane=e,P(this.tangentPlane)||(this.tangentPlane=b.NORTH_POLE_TANGENT_PLANE)}Object.defineProperties(b.prototype,{ellipsoid:{get:function(){return this.tangentPlane.ellipsoid}},x:{get:function(){return this.position.x}},y:{get:function(){return this.position.y}},conformalLatitude:{get:function(){let t=O.magnitude(this.position),e=2*this.ellipsoid.maximumRadius;return this.tangentPlane.plane.normal.z*(l.PI_OVER_TWO-2*Math.atan2(t,e))}},longitude:{get:function(){let t=l.PI_OVER_TWO+Math.atan2(this.y,this.x);return t>Math.PI&&(t-=l.TWO_PI),t}}});var nt=new et,Rt=new c;b.prototype.getLatitude=function(t){P(t)||(t=S.default),nt.latitude=this.conformalLatitude,nt.longitude=this.longitude,nt.height=0;let e=this.ellipsoid.cartographicToCartesian(nt,Rt);return t.cartesianToCartographic(e,nt),nt.latitude};var It=new wt,Lt=new c,Ft=new c;b.fromCartesian=function(t,e){Y.defined("cartesian",t);let o=l.signNotZero(t.z),i=b.NORTH_POLE_TANGENT_PLANE,n=b.SOUTH_POLE;o<0&&(i=b.SOUTH_POLE_TANGENT_PLANE,n=b.NORTH_POLE);let r=It;r.origin=i.ellipsoid.scaleToGeocentricSurface(t,r.origin),r.direction=c.subtract(r.origin,n,Lt),c.normalize(r.direction,r.direction);let a=yt.rayPlane(r,i.plane,Ft),s=c.subtract(a,n,a),u=c.dot(i.xAxis,s),h=o*c.dot(i.yAxis,s);return P(e)?(e.position=new O(u,h),e.tangentPlane=i,e):new b(new O(u,h),i)},b.fromCartesianArray=function(t,e){Y.defined("cartesians",t);let o=t.length;P(e)?e.length=o:e=new Array(o);for(let i=0;i<o;i++)e[i]=b.fromCartesian(t[i],e[i]);return e},b.clone=function(t,e){if(P(t))return P(e)?(e.position=t.position,e.tangentPlane=t.tangentPlane,e):new b(t.position,t.tangentPlane)},b.HALF_UNIT_SPHERE=Object.freeze(new S(.5,.5,.5)),b.NORTH_POLE=Object.freeze(new c(0,0,.5)),b.SOUTH_POLE=Object.freeze(new c(0,0,-.5)),b.NORTH_POLE_TANGENT_PLANE=Object.freeze(new Z(b.NORTH_POLE,b.HALF_UNIT_SPHERE)),b.SOUTH_POLE_TANGENT_PLANE=Object.freeze(new Z(b.SOUTH_POLE,b.HALF_UNIT_SPHERE));var z=b,vt=new et,Ot=new et;function St(t,e,o,i){let n=i.cartesianToCartographic(t,vt).height,r=i.cartesianToCartographic(e,Ot);r.height=n,i.cartographicToCartesian(r,e);let a=i.cartesianToCartographic(o,Ot);a.height=n-100,i.cartographicToCartesian(a,o)}var Et=new mt,Vt=new c,Bt=new c,Mt=new c,jt=new c,kt=new c,zt=new c,ht=new c,Q=new c,it=new c,Dt=new O,Ut=new O,Wt=new c,At=new at,Gt=new D,Yt=new D;function gt(t){let e=t.vertexFormat,o=t.geometry,i=t.shadowVolume,n=o.attributes.position.values,r=P(o.attributes.st)?o.attributes.st.values:void 0,a=n.length,s=t.wall,u=t.top||s,h=t.bottom||s;if(e.st||e.normal||e.tangent||e.bitangent||i){let p=t.boundingRectangle,g=t.rotationAxis,m=t.projectTo2d,d=t.ellipsoid,f=t.stRotation,y=t.perPositionHeight,_=Dt;_.x=p.x,_.y=p.y;let T,b=e.st?new Float32Array(a/3*2):void 0;e.normal&&(T=y&&u&&!s?o.attributes.normal.values:new Float32Array(a));let w=e.tangent?new Float32Array(a):void 0,I=e.bitangent?new Float32Array(a):void 0,A=i?new Float32Array(a):void 0,E=0,v=0,x=Bt,H=Mt,N=jt,L=!0,R=Gt,S=Yt;if(0!==f){let t=at.fromAxisAngle(g,f,At);R=D.fromQuaternion(t,R),t=at.fromAxisAngle(g,-f,At),S=D.fromQuaternion(t,S)}else R=D.clone(D.IDENTITY,R),S=D.clone(D.IDENTITY,S);let k=0,C=0;u&&h&&(k=a/2,C=a/3,a/=2);for(let o=0;o<a;o+=3){let g=c.fromArray(n,o,Wt);if(e.st&&!P(r)){let t=D.multiplyByVector(R,g,Vt);t=d.scaleToGeodeticSurface(t,t);let e=m([t],Ut)[0];O.subtract(e,_,e);let o=l.clamp(e.x/p.width,0,1),i=l.clamp(e.y/p.height,0,1);h&&(b[E+C]=o,b[E+1+C]=i),u&&(b[E]=o,b[E+1]=i),E+=2}if(e.normal||e.tangent||e.bitangent||i){let r=v+1,p=v+2;if(s){if(o+3<a){let t=c.fromArray(n,o+3,kt);if(L){let e=c.fromArray(n,o+a,zt);y&&St(g,t,e,d),c.subtract(t,g,t),c.subtract(e,g,e),x=c.normalize(c.cross(e,t,x),x),L=!1}c.equalsEpsilon(t,g,l.EPSILON10)&&(L=!0)}(e.tangent||e.bitangent)&&(N=d.geodeticSurfaceNormal(g,N),e.tangent&&(H=c.normalize(c.cross(N,x,H),H)))}else x=d.geodeticSurfaceNormal(g,x),(e.tangent||e.bitangent)&&(y&&(ht=c.fromArray(T,v,ht),Q=c.cross(c.UNIT_Z,ht,Q),Q=c.normalize(D.multiplyByVector(S,Q,Q),Q),e.bitangent&&(it=c.normalize(c.cross(ht,Q,it),it))),H=c.cross(c.UNIT_Z,x,H),H=c.normalize(D.multiplyByVector(S,H,H),H),e.bitangent&&(N=c.normalize(c.cross(x,H,N),N)));e.normal&&(t.wall?(T[v+k]=x.x,T[r+k]=x.y,T[p+k]=x.z):h&&(T[v+k]=-x.x,T[r+k]=-x.y,T[p+k]=-x.z),(u&&!y||s)&&(T[v]=x.x,T[r]=x.y,T[p]=x.z)),i&&(s&&(x=d.geodeticSurfaceNormal(g,x)),A[v+k]=-x.x,A[r+k]=-x.y,A[p+k]=-x.z),e.tangent&&(t.wall?(w[v+k]=H.x,w[r+k]=H.y,w[p+k]=H.z):h&&(w[v+k]=-H.x,w[r+k]=-H.y,w[p+k]=-H.z),u&&(y?(w[v]=Q.x,w[r]=Q.y,w[p]=Q.z):(w[v]=H.x,w[r]=H.y,w[p]=H.z))),e.bitangent&&(h&&(I[v+k]=N.x,I[r+k]=N.y,I[p+k]=N.z),u&&(y?(I[v]=it.x,I[r]=it.y,I[p]=it.z):(I[v]=N.x,I[r]=N.y,I[p]=N.z))),v+=3}}e.st&&!P(r)&&(o.attributes.st=new $({componentDatatype:X.FLOAT,componentsPerAttribute:2,values:b})),e.normal&&(o.attributes.normal=new $({componentDatatype:X.FLOAT,componentsPerAttribute:3,values:T})),e.tangent&&(o.attributes.tangent=new $({componentDatatype:X.FLOAT,componentsPerAttribute:3,values:w})),e.bitangent&&(o.attributes.bitangent=new $({componentDatatype:X.FLOAT,componentsPerAttribute:3,values:I})),i&&(o.attributes.extrudeDirection=new $({componentDatatype:X.FLOAT,componentsPerAttribute:3,values:A}))}if(t.extrude&&P(t.offsetAttribute)){let e=n.length/3,i=new Uint8Array(e);if(t.offsetAttribute===lt.TOP)u&&h||s?i=i.fill(1,0,e/2):u&&(i=i.fill(1));else{let e=t.offsetAttribute===lt.NONE?0:1;i=i.fill(e)}o.attributes.applyOffset=new $({componentDatatype:X.UNSIGNED_BYTE,componentsPerAttribute:1,values:i})}return o}var Ht=[];function qt(t,e,o,i,n,r,a,s,l,c){let u,h={walls:[]};if(a||s){let n,p,g=L.createGeometryFromPositions(t,e,o,i,r,l,c),m=g.attributes.position.values,d=g.indices;if(a&&s){let t=m.concat(m);n=t.length/3,p=ct.createTypedArray(n,2*d.length),p.set(d);let e=d.length,i=n/2;for(u=0;u<e;u+=3){let t=p[u]+i,o=p[u+1]+i,n=p[u+2]+i;p[u+e]=n,p[u+1+e]=o,p[u+2+e]=t}if(g.attributes.position.values=t,r&&l.normal){let e=g.attributes.normal.values;g.attributes.normal.values=new Float32Array(t.length),g.attributes.normal.values.set(e)}if(l.st&&P(o)){let t=g.attributes.st.values;g.attributes.st.values=new Float32Array(2*n),g.attributes.st.values=t.concat(t)}g.indices=p}else if(s){for(n=m.length/3,p=ct.createTypedArray(n,d.length),u=0;u<d.length;u+=3)p[u]=d[u+2],p[u+1]=d[u+1],p[u+2]=d[u];g.indices=p}h.topAndBottom=new rt({geometry:g})}let p=n.outerRing,g=Z.fromPoints(p,t),m=g.projectPointsOntoPlane(p,Ht),d=ot.computeWindingOrder2D(m);d===dt.CLOCKWISE&&(p=p.slice().reverse());let f=L.computeWallGeometry(p,o,t,i,r,c);h.walls.push(new rt({geometry:f}));let y=n.holes;for(u=0;u<y.length;u++){let e=y[u];m=g.projectPointsOntoPlane(e,Ht),d=ot.computeWindingOrder2D(m),d===dt.COUNTER_CLOCKWISE&&(e=e.slice().reverse()),f=L.computeWallGeometry(e,o,t,i,r,c),h.walls.push(new rt({geometry:f}))}return h}function W(t){if(Y.typeOf.object("options",t),Y.typeOf.object("options.polygonHierarchy",t.polygonHierarchy),P(t.perPositionHeight)&&t.perPositionHeight&&P(t.height))throw new ft("Cannot use both options.perPositionHeight and options.height");if(P(t.arcType)&&t.arcType!==st.GEODESIC&&t.arcType!==st.RHUMB)throw new ft("Invalid arcType. Valid options are ArcType.GEODESIC and ArcType.RHUMB.");let e=t.polygonHierarchy,o=t.vertexFormat??q.DEFAULT,i=t.ellipsoid??S.default,n=t.granularity??l.RADIANS_PER_DEGREE,r=t.stRotation??0,a=t.textureCoordinates,s=t.perPositionHeight??!1,u=s&&P(t.extrudedHeight),h=t.height??0,p=t.extrudedHeight??h;if(!u){let t=Math.max(h,p);p=Math.min(h,p),h=t}this._vertexFormat=q.clone(o),this._ellipsoid=S.clone(i),this._granularity=n,this._stRotation=r,this._height=h,this._extrudedHeight=p,this._closeTop=t.closeTop??!0,this._closeBottom=t.closeBottom??!0,this._polygonHierarchy=e,this._perPositionHeight=s,this._perPositionHeightExtrude=u,this._shadowVolume=t.shadowVolume??!1,this._workerName="createPolygonGeometry",this._offsetAttribute=t.offsetAttribute,this._arcType=t.arcType??st.GEODESIC,this._rectangle=void 0,this._textureCoordinateRotationPoints=void 0,this._textureCoordinates=a,this.packedLength=L.computeHierarchyPackedLength(e,c)+S.packedLength+q.packedLength+(a?L.computeHierarchyPackedLength(a,O):1)+12}W.fromPositions=function(t){return t=t??Pt.EMPTY_OBJECT,Y.defined("options.positions",t.positions),new W({polygonHierarchy:{positions:t.positions},height:t.height,extrudedHeight:t.extrudedHeight,vertexFormat:t.vertexFormat,stRotation:t.stRotation,ellipsoid:t.ellipsoid,granularity:t.granularity,perPositionHeight:t.perPositionHeight,closeTop:t.closeTop,closeBottom:t.closeBottom,offsetAttribute:t.offsetAttribute,arcType:t.arcType,textureCoordinates:t.textureCoordinates})},W.pack=function(t,e,o){return Y.typeOf.object("value",t),Y.defined("array",e),o=o??0,o=L.packPolygonHierarchy(t._polygonHierarchy,e,o,c),S.pack(t._ellipsoid,e,o),o+=S.packedLength,q.pack(t._vertexFormat,e,o),o+=q.packedLength,e[o++]=t._height,e[o++]=t._extrudedHeight,e[o++]=t._granularity,e[o++]=t._stRotation,e[o++]=t._perPositionHeightExtrude?1:0,e[o++]=t._perPositionHeight?1:0,e[o++]=t._closeTop?1:0,e[o++]=t._closeBottom?1:0,e[o++]=t._shadowVolume?1:0,e[o++]=t._offsetAttribute??-1,e[o++]=t._arcType,P(t._textureCoordinates)?o=L.packPolygonHierarchy(t._textureCoordinates,e,o,O):e[o++]=-1,e[o++]=t.packedLength,e};var Qt=S.clone(S.UNIT_SPHERE),Zt=new q,Kt={polygonHierarchy:{}};W.unpack=function(t,e,o){Y.defined("array",t),e=e??0;let i=L.unpackPolygonHierarchy(t,e,c);e=i.startingIndex,delete i.startingIndex;let n=S.unpack(t,e,Qt);e+=S.packedLength;let r=q.unpack(t,e,Zt);e+=q.packedLength;let a=t[e++],s=t[e++],l=t[e++],u=t[e++],h=1===t[e++],p=1===t[e++],g=1===t[e++],m=1===t[e++],d=1===t[e++],f=t[e++],y=t[e++],_=-1===t[e]?void 0:L.unpackPolygonHierarchy(t,e,O);P(_)?(e=_.startingIndex,delete _.startingIndex):e++;let T=t[e++];return P(o)||(o=new W(Kt)),o._polygonHierarchy=i,o._ellipsoid=S.clone(n,o._ellipsoid),o._vertexFormat=q.clone(r,o._vertexFormat),o._height=a,o._extrudedHeight=s,o._granularity=l,o._stRotation=u,o._perPositionHeightExtrude=h,o._perPositionHeight=p,o._closeTop=g,o._closeBottom=m,o._shadowVolume=d,o._offsetAttribute=-1===f?void 0:f,o._arcType=y,o._textureCoordinates=_,o.packedLength=T,o};var Jt=new O,Xt=new O,$t=new z;function xt(t,e,o,i,n,r){let a=t.longitude,s=a>=0?a:a+l.TWO_PI;n.westOverIdl=Math.min(n.westOverIdl,s),n.eastOverIdl=Math.max(n.eastOverIdl,s),r.west=Math.min(r.west,a),r.east=Math.max(r.east,a);let c=t.getLatitude(o),u=c;if(r.south=Math.min(r.south,c),r.north=Math.max(r.north,c),i!==st.RHUMB){let i=O.subtract(e.position,t.position,Jt),n=O.dot(e.position,i)/O.dot(i,i);if(n>0&&n<1){let t=O.add(e.position,O.multiplyByScalar(i,-n,i),Xt),a=z.clone(e,$t);a.position=t;let s=a.getLatitude(o);r.south=Math.min(r.south,s),r.north=Math.max(r.north,s),Math.abs(c)>Math.abs(s)&&(u=s)}}let h=e.x*t.y-t.x*e.y,p=Math.sign(h);0!==p&&(p*=O.angleBetween(e.position,t.position)),u>=0&&(n.northAngle+=p),u<=0&&(n.southAngle+=p)}var Ct=new z,te=new z,U={northAngle:0,southAngle:0,westOverIdl:0,eastOverIdl:0};W.computeRectangleFromPositions=function(t,e,o,i){if(Y.defined("positions",t),P(i)||(i=new _t),t.length<3)return i;i.west=Number.POSITIVE_INFINITY,i.east=Number.NEGATIVE_INFINITY,i.south=Number.POSITIVE_INFINITY,i.north=Number.NEGATIVE_INFINITY,U.northAngle=0,U.southAngle=0,U.westOverIdl=Number.POSITIVE_INFINITY,U.eastOverIdl=Number.NEGATIVE_INFINITY;let n=t.length,r=z.fromCartesian(t[0],te);for(let a=1;a<n;a++){let n=z.fromCartesian(t[a],Ct);xt(n,r,e,o,U,i),r=z.clone(n,r)}return xt(z.fromCartesian(t[0],Ct),r,e,o,U,i),i.east-i.west>U.eastOverIdl-U.westOverIdl&&(i.west=U.westOverIdl,i.east=U.eastOverIdl,i.east>l.PI&&(i.east=i.east-l.TWO_PI),i.west>l.PI&&(i.west=i.west-l.TWO_PI)),l.equalsEpsilon(Math.abs(U.northAngle),l.TWO_PI,l.EPSILON10)&&(i.north=l.PI_OVER_TWO,i.east=l.PI,i.west=-l.PI),l.equalsEpsilon(Math.abs(U.southAngle),l.TWO_PI,l.EPSILON10)&&(i.south=-l.PI_OVER_TWO,i.east=l.PI,i.west=-l.PI),i};var ee=new z;function oe(t,e,o){return t.height>=l.PI||t.width>=l.PI?z.fromCartesian(e[0],ee).tangentPlane:Z.fromPoints(e,o)}var Nt=new et;function ne(t,e,o){return(i,n)=>{if(t.height>=l.PI||t.width>=l.PI){if(t.south<0&&t.north>0){P(n)||(n=[]);for(let t=0;t<i.length;++t){let e=o.cartesianToCartographic(i[t],Nt);n[t]=new O(e.longitude/l.PI,e.latitude/l.PI_OVER_TWO)}return n.length=i.length,n}return z.fromCartesianArray(i,n)}return Z.fromPoints(e,o).projectPointsOntoPlane(i,n)}}function ie(t,e,o){if(t.height>=l.PI||t.width>=l.PI)return(e,i)=>{if(t.south<0&&t.north>0){let t=o.cartesianToCartographic(e,Nt);return P(i)||(i=new O),i.x=t.longitude/l.PI,i.y=t.latitude/l.PI_OVER_TWO,i}return z.fromCartesian(e,i)};let i=Z.fromPoints(e,o);return(t,e)=>i.projectPointsOntoPlane(t,e)}function re(t,e,o,i){return(n,r)=>!i&&(t.height>=l.PI_OVER_TWO||t.width>=2*l.PI_OVER_THREE)?L.splitPolygonsOnEquator(n,e,o,r):n}function se(t,e,o,i){if(e.height>=l.PI||e.width>=l.PI)return mt.fromRectangle(e,void 0,Et);let n=t,r=Z.fromPoints(n,o);return L.computeBoundingRectangle(r.plane.normal,r.projectPointOntoPlane.bind(r),n,i,Et)}function ae(t){let e=-t._stRotation;if(0===e)return[0,0,0,1,1,0];let o=t._ellipsoid,i=t._polygonHierarchy.positions,n=t.rectangle;return ut._textureCoordinateRotationPoints(i,e,o,n)}W.createGeometry=function(t){let e=t._vertexFormat,o=t._ellipsoid,i=t._granularity,n=t._stRotation,r=t._polygonHierarchy,a=t._perPositionHeight,s=t._closeTop,c=t._closeBottom,u=t._arcType,h=t._textureCoordinates,p=P(h),g=r.positions;if(g.length<3)return;let m=t.rectangle,d=L.polygonsFromHierarchy(r,p,ne(m,g,o),!a,o,re(m,o,u,a)),f=d.hierarchy,y=d.polygons,_=p?L.polygonsFromHierarchy(h,!0,(function(t){return t}),!1,o).polygons:void 0;if(0===f.length)return;let O,T=f[0].outerRing,b=se(T,m,o,n),w=[],I=t._height,A=t._extrudedHeight,E=t._perPositionHeightExtrude||!l.equalsEpsilon(I,A,0,l.EPSILON2),v={perPositionHeight:a,vertexFormat:e,geometry:void 0,rotationAxis:oe(m,T,o).plane.normal,projectTo2d:ie(m,T,o),boundingRectangle:b,ellipsoid:o,stRotation:n,textureCoordinates:void 0,bottom:!1,top:!0,wall:!1,extrude:!1,arcType:u};if(E)for(v.extrude=!0,v.top=s,v.bottom=c,v.shadowVolume=t._shadowVolume,v.offsetAttribute=t._offsetAttribute,O=0;O<y.length;O++){let t,n=qt(o,y[O],p?_[O]:void 0,i,f[O],a,s,c,e,u);s&&c?(t=n.topAndBottom,v.geometry=L.scaleToGeodeticHeightExtruded(t.geometry,I,A,o,a)):s?(t=n.topAndBottom,t.geometry.attributes.position.values=ot.scaleToGeodeticHeight(t.geometry.attributes.position.values,I,o,!a),v.geometry=t.geometry):c&&(t=n.topAndBottom,t.geometry.attributes.position.values=ot.scaleToGeodeticHeight(t.geometry.attributes.position.values,A,o,!0),v.geometry=t.geometry),(s||c)&&(v.wall=!1,t.geometry=gt(v),w.push(t));let r=n.walls;v.wall=!0;for(let t=0;t<r.length;t++){let e=r[t];v.geometry=L.scaleToGeodeticHeightExtruded(e.geometry,I,A,o,a),e.geometry=gt(v),w.push(e)}}else for(O=0;O<y.length;O++){let n=new rt({geometry:L.createGeometryFromPositions(o,y[O],p?_[O]:void 0,i,a,e,u)});if(n.geometry.attributes.position.values=ot.scaleToGeodeticHeight(n.geometry.attributes.position.values,I,o,!a),v.geometry=n.geometry,n.geometry=gt(v),P(t._offsetAttribute)){let e=n.geometry.attributes.position.values.length,o=t._offsetAttribute===lt.NONE?0:1,i=new Uint8Array(e/3).fill(o);n.geometry.attributes.applyOffset=new $({componentDatatype:X.UNSIGNED_BYTE,componentsPerAttribute:1,values:i})}w.push(n)}let x=bt.combineInstances(w)[0];x.attributes.position.values=new Float64Array(x.attributes.position.values),x.indices=ct.createTypedArray(x.attributes.position.values.length/3,x.indices);let H=x.attributes,N=Tt.fromVertices(H.position.values);return e.position||delete H.position,new ut({attributes:H,indices:x.indices,primitiveType:x.primitiveType,boundingSphere:N,offsetAttribute:t._offsetAttribute})},W.createShadowVolume=function(t,e,o){let i=t._granularity,n=t._ellipsoid,r=e(i,n),a=o(i,n);return new W({polygonHierarchy:t._polygonHierarchy,ellipsoid:n,stRotation:t._stRotation,granularity:i,perPositionHeight:!1,extrudedHeight:r,height:a,vertexFormat:q.POSITION_ONLY,shadowVolume:!0,arcType:t._arcType})},Object.defineProperties(W.prototype,{rectangle:{get:function(){if(!P(this._rectangle)){let t=this._polygonHierarchy.positions;this._rectangle=W.computeRectangleFromPositions(t,this._ellipsoid,this._arcType)}return this._rectangle}},textureCoordinateRotationPoints:{get:function(){return P(this._textureCoordinateRotationPoints)||(this._textureCoordinateRotationPoints=ae(this)),this._textureCoordinateRotationPoints}}});var pt=W;function ce(t,e){return P(e)&&(t=pt.unpack(t,e)),t._ellipsoid=S.clone(t._ellipsoid),pt.createGeometry(t)}var Xe=ce;export{Xe as default};
@@ -0,0 +1,24 @@
1
+ /**
2
+ * @license
3
+ * Cesium - https://github.com/CesiumGS/cesium
4
+ * Version 1.135.0
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
+ */
@@ -0,0 +1,2 @@
1
+ /*! For license information please see createPolygonOutlineGeometry.js.LICENSE.txt */
2
+ import{a}from"./chunk-3WSHJXU2.js";import{a as P}from"./chunk-OXJ2LJUE.js";import{a as F}from"./chunk-2ZPEMRCT.js";import{a as V}from"./chunk-3BSRJTW3.js";import"./chunk-VHZAK4GN.js";import"./chunk-OFCC6BNI.js";import{a as C}from"./chunk-T77EB7BE.js";import{a as M}from"./chunk-ET7KY3BS.js";import"./chunk-CUP6SILZ.js";import{a as W,b as D}from"./chunk-IYO6TYGP.js";import"./chunk-AZLP5742.js";import"./chunk-5HPISDSZ.js";import"./chunk-HSJ6GSLC.js";import"./chunk-SXKYZMEL.js";import{a as G}from"./chunk-T6Q6HX5J.js";import{a as B}from"./chunk-4MJDNHOT.js";import{b as U,c as S,d as w}from"./chunk-EDF5FKWJ.js";import{d as x}from"./chunk-XQIJGAVD.js";import"./chunk-UTYWXSQT.js";import{a as T}from"./chunk-RCHWDG3R.js";import"./chunk-4WJUWBRK.js";import"./chunk-5G23AKP3.js";import{a as v,d as y,f as j}from"./chunk-KWAHJ72S.js";import{a as L}from"./chunk-MKDADUG3.js";import{a as N,b as O}from"./chunk-NOIUI5SY.js";import{e as E}from"./chunk-XRRBRTKL.js";var Y=[],k=[];function K(e,t,i,r,o){let n=M.fromPoints(t,e).projectPointsOntoPlane(t,Y);D.computeWindingOrder2D(n)===W.CLOCKWISE&&(n.reverse(),t=t.slice().reverse());let s,p,u=t.length,l=0;if(r)for(s=new Float64Array(2*u*3),p=0;p<u;p++){let e=t[p],i=t[(p+1)%u];s[l++]=e.x,s[l++]=e.y,s[l++]=e.z,s[l++]=i.x,s[l++]=i.y,s[l++]=i.z}else{let r=0;if(o===P.GEODESIC)for(p=0;p<u;p++)r+=a.subdivideLineCount(t[p],t[(p+1)%u],i);else if(o===P.RHUMB)for(p=0;p<u;p++)r+=a.subdivideRhumbLineCount(e,t[p],t[(p+1)%u],i);for(s=new Float64Array(3*r),p=0;p<u;p++){let r;o===P.GEODESIC?r=a.subdivideLine(t[p],t[(p+1)%u],i,k):o===P.RHUMB&&(r=a.subdivideRhumbLine(e,t[p],t[(p+1)%u],i,k));let n=r.length;for(let e=0;e<n;++e)s[l++]=r[e]}}u=s.length/3;let h=2*u,c=G.createTypedArray(u,h);for(l=0,p=0;p<u-1;p++)c[l++]=p,c[l++]=p+1;return c[l++]=u-1,c[l++]=0,new F({geometry:new S({attributes:new B({position:new w({componentDatatype:T.DOUBLE,componentsPerAttribute:3,values:s})}),indices:c,primitiveType:U.LINES})})}function q(e,t,i,r,o){let n=M.fromPoints(t,e).projectPointsOntoPlane(t,Y);D.computeWindingOrder2D(n)===W.CLOCKWISE&&(n.reverse(),t=t.slice().reverse());let s,p,u=t.length,l=new Array(u),h=0;if(r)for(s=new Float64Array(2*u*3*2),p=0;p<u;++p){l[p]=h/3;let e=t[p],i=t[(p+1)%u];s[h++]=e.x,s[h++]=e.y,s[h++]=e.z,s[h++]=i.x,s[h++]=i.y,s[h++]=i.z}else{let r=0;if(o===P.GEODESIC)for(p=0;p<u;p++)r+=a.subdivideLineCount(t[p],t[(p+1)%u],i);else if(o===P.RHUMB)for(p=0;p<u;p++)r+=a.subdivideRhumbLineCount(e,t[p],t[(p+1)%u],i);for(s=new Float64Array(3*r*2),p=0;p<u;++p){let r;l[p]=h/3,o===P.GEODESIC?r=a.subdivideLine(t[p],t[(p+1)%u],i,k):o===P.RHUMB&&(r=a.subdivideRhumbLine(e,t[p],t[(p+1)%u],i,k));let n=r.length;for(let e=0;e<n;++e)s[h++]=r[e]}}u=s.length/6;let c=l.length,y=2*(2*u+c),f=G.createTypedArray(u+c,y);for(h=0,p=0;p<u;++p)f[h++]=p,f[h++]=(p+1)%u,f[h++]=p+u,f[h++]=(p+1)%u+u;for(p=0;p<c;p++){let e=l[p];f[h++]=e,f[h++]=e+u}return new F({geometry:new S({attributes:new B({position:new w({componentDatatype:T.DOUBLE,componentsPerAttribute:3,values:s})}),indices:f,primitiveType:U.LINES})})}function A(e){if(O.typeOf.object("options",e),O.typeOf.object("options.polygonHierarchy",e.polygonHierarchy),e.perPositionHeight&&E(e.height))throw new N("Cannot use both options.perPositionHeight and options.height");if(E(e.arcType)&&e.arcType!==P.GEODESIC&&e.arcType!==P.RHUMB)throw new N("Invalid arcType. Valid options are ArcType.GEODESIC and ArcType.RHUMB.");let t=e.polygonHierarchy,i=e.ellipsoid??y.default,r=e.granularity??L.RADIANS_PER_DEGREE,o=e.perPositionHeight??!1,n=o&&E(e.extrudedHeight),s=e.arcType??P.GEODESIC,p=e.height??0,u=e.extrudedHeight??p;if(!n){let e=Math.max(p,u);u=Math.min(p,u),p=e}this._ellipsoid=y.clone(i),this._granularity=r,this._height=p,this._extrudedHeight=u,this._arcType=s,this._polygonHierarchy=t,this._perPositionHeight=o,this._perPositionHeightExtrude=n,this._offsetAttribute=e.offsetAttribute,this._workerName="createPolygonOutlineGeometry",this.packedLength=a.computeHierarchyPackedLength(t,v)+y.packedLength+8}A.pack=function(e,t,i){return O.typeOf.object("value",e),O.defined("array",t),i=i??0,i=a.packPolygonHierarchy(e._polygonHierarchy,t,i,v),y.pack(e._ellipsoid,t,i),i+=y.packedLength,t[i++]=e._height,t[i++]=e._extrudedHeight,t[i++]=e._granularity,t[i++]=e._perPositionHeightExtrude?1:0,t[i++]=e._perPositionHeight?1:0,t[i++]=e._arcType,t[i++]=e._offsetAttribute??-1,t[i]=e.packedLength,t};var J=y.clone(y.UNIT_SPHERE),Q={polygonHierarchy:{}};A.unpack=function(e,t,i){O.defined("array",e),t=t??0;let r=a.unpackPolygonHierarchy(e,t,v);t=r.startingIndex,delete r.startingIndex;let o=y.unpack(e,t,J);t+=y.packedLength;let n=e[t++],s=e[t++],p=e[t++],u=1===e[t++],l=1===e[t++],h=e[t++],c=e[t++],f=e[t];return E(i)||(i=new A(Q)),i._polygonHierarchy=r,i._ellipsoid=y.clone(o,i._ellipsoid),i._height=n,i._extrudedHeight=s,i._granularity=p,i._perPositionHeight=l,i._perPositionHeightExtrude=u,i._arcType=h,i._offsetAttribute=-1===c?void 0:c,i.packedLength=f,i},A.fromPositions=function(e){return e=e??j.EMPTY_OBJECT,O.defined("options.positions",e.positions),new A({polygonHierarchy:{positions:e.positions},height:e.height,extrudedHeight:e.extrudedHeight,ellipsoid:e.ellipsoid,granularity:e.granularity,perPositionHeight:e.perPositionHeight,arcType:e.arcType,offsetAttribute:e.offsetAttribute})},A.createGeometry=function(e){let t=e._ellipsoid,i=e._granularity,r=e._polygonHierarchy,o=e._perPositionHeight,n=e._arcType,s=a.polygonOutlinesFromHierarchy(r,!o,t);if(0===s.length)return;let p,u,l,h=[],c=L.chordLength(i,t.maximumRadius),y=e._height,f=e._extrudedHeight;if(e._perPositionHeightExtrude||!L.equalsEpsilon(y,f,0,L.EPSILON2))for(l=0;l<s.length;l++){if(p=q(t,s[l],c,o,n),p.geometry=a.scaleToGeodeticHeightExtruded(p.geometry,y,f,t,o),E(e._offsetAttribute)){let t=p.geometry.attributes.position.values.length/3,i=new Uint8Array(t);e._offsetAttribute===C.TOP?i=i.fill(1,0,t/2):(u=e._offsetAttribute===C.NONE?0:1,i=i.fill(u)),p.geometry.attributes.applyOffset=new w({componentDatatype:T.UNSIGNED_BYTE,componentsPerAttribute:1,values:i})}h.push(p)}else for(l=0;l<s.length;l++){if(p=K(t,s[l],c,o,n),p.geometry.attributes.position.values=D.scaleToGeodeticHeight(p.geometry.attributes.position.values,y,t,!o),E(e._offsetAttribute)){let t=p.geometry.attributes.position.values.length;u=e._offsetAttribute===C.NONE?0:1;let i=new Uint8Array(t/3).fill(u);p.geometry.attributes.applyOffset=new w({componentDatatype:T.UNSIGNED_BYTE,componentsPerAttribute:1,values:i})}h.push(p)}let d=V.combineInstances(h)[0],g=x.fromVertices(d.attributes.position.values);return new S({attributes:d.attributes,indices:d.indices,primitiveType:d.primitiveType,boundingSphere:g,offsetAttribute:e._offsetAttribute})};var z=A;function X(e,t){return E(t)&&(e=z.unpack(e,t)),e._ellipsoid=y.clone(e._ellipsoid),z.createGeometry(e)}var Oe=X;export{Oe as default};
@@ -0,0 +1,24 @@
1
+ /**
2
+ * @license
3
+ * Cesium - https://github.com/CesiumGS/cesium
4
+ * Version 1.135.0
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
+ */
@@ -0,0 +1,2 @@
1
+ /*! For license information please see createPolylineGeometry.js.LICENSE.txt */
2
+ import{a as m}from"./chunk-GTQ3WXPT.js";import{a as R}from"./chunk-OXJ2LJUE.js";import{a as N}from"./chunk-QORMFUM4.js";import"./chunk-FWF3VNA2.js";import{a as g}from"./chunk-APG2S62J.js";import{a as le}from"./chunk-AZLP5742.js";import"./chunk-5HPISDSZ.js";import"./chunk-HSJ6GSLC.js";import"./chunk-SXKYZMEL.js";import{a as se}from"./chunk-T6Q6HX5J.js";import{a as ce}from"./chunk-4MJDNHOT.js";import{a as ne,b as re,c as ie,d as x}from"./chunk-EDF5FKWJ.js";import{d as oe}from"./chunk-XQIJGAVD.js";import"./chunk-UTYWXSQT.js";import{a as V}from"./chunk-RCHWDG3R.js";import"./chunk-4WJUWBRK.js";import"./chunk-5G23AKP3.js";import{a as p,d as u,f as te}from"./chunk-KWAHJ72S.js";import{a as j}from"./chunk-MKDADUG3.js";import{a as F}from"./chunk-NOIUI5SY.js";import{e as h}from"./chunk-XRRBRTKL.js";var me=[];function Ae(e,t,r,o,n){let a=me;a.length=n;let i,l=r.red,s=r.green,p=r.blue,c=r.alpha,h=o.red,u=o.green,d=o.blue,f=o.alpha;if(m.equals(r,o)){for(i=0;i<n;i++)a[i]=m.clone(r);return a}let g=(h-l)/n,k=(u-s)/n,w=(d-p)/n,y=(f-c)/n;for(i=0;i<n;i++)a[i]=new m(l+i*g,s+i*k,p+i*w,c+i*y);return a}function q(e){let t=(e=e??te.EMPTY_OBJECT).positions,r=e.colors,o=e.width??1,n=e.colorsPerVertex??!1;if(!h(t)||t.length<2)throw new F("At least two positions are required.");if("number"!=typeof o)throw new F("width must be a number");if(h(r)&&(n&&r.length<t.length||!n&&r.length<t.length-1))throw new F("colors has an invalid length.");this._positions=t,this._colors=r,this._width=o,this._colorsPerVertex=n,this._vertexFormat=g.clone(e.vertexFormat??g.DEFAULT),this._arcType=e.arcType??R.GEODESIC,this._granularity=e.granularity??j.RADIANS_PER_DEGREE,this._ellipsoid=u.clone(e.ellipsoid??u.default),this._workerName="createPolylineGeometry";let a=1+t.length*p.packedLength;a+=h(r)?1+r.length*m.packedLength:1,this.packedLength=a+u.packedLength+g.packedLength+4}q.pack=function(e,t,r){if(!h(e))throw new F("value is required");if(!h(t))throw new F("array is required");r=r??0;let o,n=e._positions,a=n.length;for(t[r++]=a,o=0;o<a;++o,r+=p.packedLength)p.pack(n[o],t,r);let i=e._colors;for(a=h(i)?i.length:0,t[r++]=a,o=0;o<a;++o,r+=m.packedLength)m.pack(i[o],t,r);return u.pack(e._ellipsoid,t,r),r+=u.packedLength,g.pack(e._vertexFormat,t,r),r+=g.packedLength,t[r++]=e._width,t[r++]=e._colorsPerVertex?1:0,t[r++]=e._arcType,t[r]=e._granularity,t};var de=u.clone(u.UNIT_SPHERE),ue=new g,O={positions:void 0,colors:void 0,ellipsoid:de,vertexFormat:ue,width:void 0,colorsPerVertex:void 0,arcType:void 0,granularity:void 0};q.unpack=function(e,t,r){if(!h(e))throw new F("array is required");t=t??0;let o,n=e[t++],a=new Array(n);for(o=0;o<n;++o,t+=p.packedLength)a[o]=p.unpack(e,t);n=e[t++];let i=n>0?new Array(n):void 0;for(o=0;o<n;++o,t+=m.packedLength)i[o]=m.unpack(e,t);let l=u.unpack(e,t,de);t+=u.packedLength;let s=g.unpack(e,t,ue);t+=g.packedLength;let c=e[t++],d=1===e[t++],f=e[t++],k=e[t];return h(r)?(r._positions=a,r._colors=i,r._ellipsoid=u.clone(l,r._ellipsoid),r._vertexFormat=g.clone(s,r._vertexFormat),r._width=c,r._colorsPerVertex=d,r._arcType=f,r._granularity=k,r):(O.positions=a,O.colors=i,O.width=c,O.colorsPerVertex=d,O.arcType=f,O.granularity=k,new q(O))};var pe=new p,ae=new p,fe=new p,he=new p;q.createGeometry=function(e){let t,r,o,n=e._width,a=e._vertexFormat,i=e._colors,l=e._colorsPerVertex,s=e._arcType,c=e._granularity,u=e._ellipsoid,d=[],f=le(e._positions,p.equalsEpsilon,!1,d);if(h(i)&&d.length>0){let e=0,t=d[0];i=i.filter((function(r,o){let n=!1;return n=l?o===t||0===o&&1===t:o+1===t,!n||(e++,t=d[e],!1)}))}let g=f.length;if(g<2||n<=0)return;if(s===R.GEODESIC||s===R.RHUMB){let e,o;s===R.GEODESIC?(e=j.chordLength(c,u.maximumRadius),o=N.numberOfPoints):(e=c,o=N.numberOfPointsRhumbLine);let n=N.extractHeights(f,u);if(h(i)){let n=1;for(t=0;t<g-1;++t)n+=o(f[t],f[t+1],e);let a=new Array(n),s=0;for(t=0;t<g-1;++t){let p=f[t],c=f[t+1],h=i[t],u=o(p,c,e);if(l&&t<n){let e=Ae(p,c,h,i[t+1],u),o=e.length;for(r=0;r<o;++r)a[s++]=e[r]}else for(r=0;r<u;++r)a[s++]=m.clone(h)}a[s]=m.clone(i[i.length-1]),i=a,me.length=0}f=s===R.GEODESIC?N.generateCartesianArc({positions:f,minDistance:e,ellipsoid:u,height:n}):N.generateCartesianRhumbArc({positions:f,granularity:e,ellipsoid:u,height:n})}g=f.length;let k,w=4*g-4,y=new Float64Array(3*w),_=new Float64Array(3*w),A=new Float64Array(3*w),v=new Float32Array(2*w),L=a.st?new Float32Array(2*w):void 0,T=h(i)?new Uint8Array(4*w):void 0,E=0,P=0,F=0,D=0;for(r=0;r<g;++r){let e,t;0===r?(k=pe,p.subtract(f[0],f[1],k),p.add(f[0],k,k)):k=f[r-1],p.clone(k,fe),p.clone(f[r],ae),r===g-1?(k=pe,p.subtract(f[g-1],f[g-2],k),p.add(f[g-1],k,k)):k=f[r+1],p.clone(k,he),h(T)&&(e=0===r||l?i[r]:i[r-1],r!==g-1&&(t=i[r]));let s=r===g-1?2:4;for(o=0===r?2:0;o<s;++o){p.pack(ae,y,E),p.pack(fe,_,E),p.pack(he,A,E),E+=3;let i=o-2<0?-1:1;if(v[P++]=o%2*2-1,v[P++]=i*n,a.st&&(L[F++]=r/(g-1),L[F++]=Math.max(v[P-2],0)),h(T)){let r=o<2?e:t;T[D++]=m.floatToByte(r.red),T[D++]=m.floatToByte(r.green),T[D++]=m.floatToByte(r.blue),T[D++]=m.floatToByte(r.alpha)}}}let O=new ce;O.position=new x({componentDatatype:V.DOUBLE,componentsPerAttribute:3,values:y}),O.prevPosition=new x({componentDatatype:V.DOUBLE,componentsPerAttribute:3,values:_}),O.nextPosition=new x({componentDatatype:V.DOUBLE,componentsPerAttribute:3,values:A}),O.expandAndWidth=new x({componentDatatype:V.FLOAT,componentsPerAttribute:2,values:v}),a.st&&(O.st=new x({componentDatatype:V.FLOAT,componentsPerAttribute:2,values:L})),h(T)&&(O.color=new x({componentDatatype:V.UNSIGNED_BYTE,componentsPerAttribute:4,values:T,normalize:!0}));let b=se.createTypedArray(w,6*g-6),S=0,G=0,J=g-1;for(r=0;r<J;++r)b[G++]=S,b[G++]=S+2,b[G++]=S+1,b[G++]=S+1,b[G++]=S+2,b[G++]=S+3,S+=4;return new ie({attributes:O,indices:b,primitiveType:re.TRIANGLES,boundingSphere:oe.fromPoints(f),geometryType:ne.POLYLINES})};var J=q;function ge(e,t){return h(t)&&(e=J.unpack(e,t)),e._ellipsoid=u.clone(e._ellipsoid),J.createGeometry(e)}var We=ge;export{We as default};
@@ -0,0 +1,24 @@
1
+ /**
2
+ * @license
3
+ * Cesium - https://github.com/CesiumGS/cesium
4
+ * Version 1.135.0
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
+ */
@@ -0,0 +1,2 @@
1
+ /*! For license information please see createPolylineVolumeGeometry.js.LICENSE.txt */
2
+ import{a as W}from"./chunk-U6GWZBRL.js";import{a as U}from"./chunk-3BSRJTW3.js";import"./chunk-VHZAK4GN.js";import"./chunk-OFCC6BNI.js";import{a as x,b as I,c as j}from"./chunk-Q4W25C4L.js";import"./chunk-QORMFUM4.js";import"./chunk-FWF3VNA2.js";import{a as g}from"./chunk-APG2S62J.js";import"./chunk-ET7KY3BS.js";import"./chunk-CUP6SILZ.js";import{a as $,b as M}from"./chunk-IYO6TYGP.js";import{a as Z}from"./chunk-AZLP5742.js";import"./chunk-5HPISDSZ.js";import"./chunk-HSJ6GSLC.js";import"./chunk-SXKYZMEL.js";import{a as X}from"./chunk-T6Q6HX5J.js";import{a as Q}from"./chunk-4MJDNHOT.js";import{b as V,c as Y,d as B}from"./chunk-EDF5FKWJ.js";import{d as K}from"./chunk-XQIJGAVD.js";import"./chunk-UTYWXSQT.js";import{a as N}from"./chunk-RCHWDG3R.js";import"./chunk-4WJUWBRK.js";import"./chunk-5G23AKP3.js";import{a as E,c as D,d as f,f as J}from"./chunk-KWAHJ72S.js";import{a as H}from"./chunk-MKDADUG3.js";import{a as A}from"./chunk-NOIUI5SY.js";import{e as _}from"./chunk-XRRBRTKL.js";function oe(e,t,n,o){let r=new Q;o.position&&(r.position=new B({componentDatatype:N.DOUBLE,componentsPerAttribute:3,values:e}));let i,a,s,p,c,l,u=t.length,h=e.length/3,m=(h-2*u)/(2*u),g=M.triangulate(t),f=(m-1)*u*6+2*g.length,k=X.createTypedArray(h,f),d=2*u,y=0;for(i=0;i<m-1;i++){for(a=0;a<u-1;a++)s=2*a+i*u*2,l=s+d,p=s+1,c=p+d,k[y++]=p,k[y++]=s,k[y++]=c,k[y++]=c,k[y++]=s,k[y++]=l;s=2*u-2+i*u*2,p=s+1,c=p+d,l=s+d,k[y++]=p,k[y++]=s,k[y++]=c,k[y++]=c,k[y++]=s,k[y++]=l}if(o.st||o.tangent||o.bitangent){let e,o,s=new Float32Array(2*h),p=1/(m-1),c=1/n.height,l=n.height/2,g=0;for(i=0;i<m;i++){for(e=i*p,o=c*(t[0].y+l),s[g++]=e,s[g++]=o,a=1;a<u;a++)o=c*(t[a].y+l),s[g++]=e,s[g++]=o,s[g++]=e,s[g++]=o;o=c*(t[0].y+l),s[g++]=e,s[g++]=o}for(a=0;a<u;a++)e=0,o=c*(t[a].y+l),s[g++]=e,s[g++]=o;for(a=0;a<u;a++)e=(m-1)*p,o=c*(t[a].y+l),s[g++]=e,s[g++]=o;r.st=new B({componentDatatype:N.FLOAT,componentsPerAttribute:2,values:new Float32Array(s)})}let _=h-2*u;for(i=0;i<g.length;i+=3){let e=g[i]+_,t=g[i+1]+_,n=g[i+2]+_;k[y++]=e,k[y++]=t,k[y++]=n,k[y++]=n+u,k[y++]=t+u,k[y++]=e+u}let v=new Y({attributes:r,indices:k,boundingSphere:K.fromVertices(e),primitiveType:V.TRIANGLES});if(o.normal&&(v=U.computeNormal(v)),o.tangent||o.bitangent){try{v=U.computeTangentAndBitangent(v)}catch{I("polyline-volume-tangent-bitangent","Unable to compute tangents and bitangents for polyline volume geometry")}o.tangent||(v.attributes.tangent=void 0),o.bitangent||(v.attributes.bitangent=void 0),o.st||(v.attributes.st=void 0)}return v}function v(e){let t=(e=e??J.EMPTY_OBJECT).polylinePositions,n=e.shapePositions;if(!_(t))throw new A("options.polylinePositions is required.");if(!_(n))throw new A("options.shapePositions is required.");this._positions=t,this._shape=n,this._ellipsoid=f.clone(e.ellipsoid??f.default),this._cornerType=e.cornerType??x.ROUNDED,this._vertexFormat=g.clone(e.vertexFormat??g.DEFAULT),this._granularity=e.granularity??H.RADIANS_PER_DEGREE,this._workerName="createPolylineVolumeGeometry";let o=1+t.length*E.packedLength;o+=1+n.length*D.packedLength,this.packedLength=o+f.packedLength+g.packedLength+2}v.pack=function(e,t,n){if(!_(e))throw new A("value is required");if(!_(t))throw new A("array is required");n=n??0;let o,r=e._positions,i=r.length;for(t[n++]=i,o=0;o<i;++o,n+=E.packedLength)E.pack(r[o],t,n);let a=e._shape;for(i=a.length,t[n++]=i,o=0;o<i;++o,n+=D.packedLength)D.pack(a[o],t,n);return f.pack(e._ellipsoid,t,n),n+=f.packedLength,g.pack(e._vertexFormat,t,n),n+=g.packedLength,t[n++]=e._cornerType,t[n]=e._granularity,t};var ee=f.clone(f.UNIT_SPHERE),te=new g,S={polylinePositions:void 0,shapePositions:void 0,ellipsoid:ee,vertexFormat:te,cornerType:void 0,granularity:void 0};v.unpack=function(e,t,n){if(!_(e))throw new A("array is required");t=t??0;let o,r=e[t++],i=new Array(r);for(o=0;o<r;++o,t+=E.packedLength)i[o]=E.unpack(e,t);r=e[t++];let a=new Array(r);for(o=0;o<r;++o,t+=D.packedLength)a[o]=D.unpack(e,t);let s=f.unpack(e,t,ee);t+=f.packedLength;let p=g.unpack(e,t,te);t+=g.packedLength;let c=e[t++],l=e[t];return _(n)?(n._positions=i,n._shape=a,n._ellipsoid=f.clone(s,n._ellipsoid),n._vertexFormat=g.clone(p,n._vertexFormat),n._cornerType=c,n._granularity=l,n):(S.polylinePositions=i,S.shapePositions=a,S.cornerType=c,S.granularity=l,new v(S))};var ne=new W;v.createGeometry=function(e){let t=e._positions,n=Z(t,E.equalsEpsilon),o=e._shape;if(o=j.removeDuplicatesFromShape(o),n.length<2||o.length<3)return;M.computeWindingOrder2D(o)===$.CLOCKWISE&&o.reverse();let r=W.fromPoints(o,ne);return oe(j.computePositions(n,o,r,e,!0),o,r,e._vertexFormat)};var z=v;function ie(e,t){return _(t)&&(e=z.unpack(e,t)),e._ellipsoid=f.clone(e._ellipsoid),z.createGeometry(e)}var Re=ie;export{Re as default};
@@ -0,0 +1,24 @@
1
+ /**
2
+ * @license
3
+ * Cesium - https://github.com/CesiumGS/cesium
4
+ * Version 1.135.0
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
+ */
@@ -0,0 +1,2 @@
1
+ /*! For license information please see createPolylineVolumeOutlineGeometry.js.LICENSE.txt */
2
+ import{a as k}from"./chunk-U6GWZBRL.js";import{a as N,c as w}from"./chunk-Q4W25C4L.js";import"./chunk-QORMFUM4.js";import"./chunk-FWF3VNA2.js";import"./chunk-ET7KY3BS.js";import"./chunk-CUP6SILZ.js";import{a as v,b as G}from"./chunk-IYO6TYGP.js";import{a as q}from"./chunk-AZLP5742.js";import"./chunk-5HPISDSZ.js";import"./chunk-HSJ6GSLC.js";import"./chunk-SXKYZMEL.js";import{a as g}from"./chunk-T6Q6HX5J.js";import{a as O}from"./chunk-4MJDNHOT.js";import{b as A,c as R,d as S}from"./chunk-EDF5FKWJ.js";import{d as C}from"./chunk-XQIJGAVD.js";import"./chunk-UTYWXSQT.js";import{a as b}from"./chunk-RCHWDG3R.js";import"./chunk-4WJUWBRK.js";import"./chunk-5G23AKP3.js";import{a as d,c as y,d as s,f as D}from"./chunk-KWAHJ72S.js";import{a as T}from"./chunk-MKDADUG3.js";import{a}from"./chunk-NOIUI5SY.js";import{e as u}from"./chunk-XRRBRTKL.js";function W(e,o){let r=new O;r.position=new S({componentDatatype:b.DOUBLE,componentsPerAttribute:3,values:e});let i,t,n=o.length,s=r.position.values.length/3,a=e.length/3/n,p=g.createTypedArray(s,2*n*(a+1)),c=0;i=0;let u=i*n;for(t=0;t<n-1;t++)p[c++]=t+u,p[c++]=t+u+1;for(p[c++]=n-1+u,p[c++]=u,i=a-1,u=i*n,t=0;t<n-1;t++)p[c++]=t+u,p[c++]=t+u+1;for(p[c++]=n-1+u,p[c++]=u,i=0;i<a-1;i++){let e=n*i,o=e+n;for(t=0;t<n;t++)p[c++]=t+e,p[c++]=t+o}return new R({attributes:r,indices:g.createTypedArray(s,p),boundingSphere:C.fromVertices(e),primitiveType:A.LINES})}function P(e){let o=(e=e??D.EMPTY_OBJECT).polylinePositions,r=e.shapePositions;if(!u(o))throw new a("options.polylinePositions is required.");if(!u(r))throw new a("options.shapePositions is required.");this._positions=o,this._shape=r,this._ellipsoid=s.clone(e.ellipsoid??s.default),this._cornerType=e.cornerType??N.ROUNDED,this._granularity=e.granularity??T.RADIANS_PER_DEGREE,this._workerName="createPolylineVolumeOutlineGeometry";let i=1+o.length*d.packedLength;i+=1+r.length*y.packedLength,this.packedLength=i+s.packedLength+2}P.pack=function(e,o,r){if(!u(e))throw new a("value is required");if(!u(o))throw new a("array is required");r=r??0;let i,t=e._positions,n=t.length;for(o[r++]=n,i=0;i<n;++i,r+=d.packedLength)d.pack(t[i],o,r);let p=e._shape;for(n=p.length,o[r++]=n,i=0;i<n;++i,r+=y.packedLength)y.pack(p[i],o,r);return s.pack(e._ellipsoid,o,r),r+=s.packedLength,o[r++]=e._cornerType,o[r]=e._granularity,o};var B=s.clone(s.UNIT_SPHERE),_={polylinePositions:void 0,shapePositions:void 0,ellipsoid:B,height:void 0,cornerType:void 0,granularity:void 0};P.unpack=function(e,o,r){if(!u(e))throw new a("array is required");o=o??0;let i,t=e[o++],n=new Array(t);for(i=0;i<t;++i,o+=d.packedLength)n[i]=d.unpack(e,o);t=e[o++];let p=new Array(t);for(i=0;i<t;++i,o+=y.packedLength)p[i]=y.unpack(e,o);let c=s.unpack(e,o,B);o+=s.packedLength;let l=e[o++],h=e[o];return u(r)?(r._positions=n,r._shape=p,r._ellipsoid=s.clone(c,r._ellipsoid),r._cornerType=l,r._granularity=h,r):(_.polylinePositions=n,_.shapePositions=p,_.cornerType=l,_.granularity=h,new P(_))};var F=new k;P.createGeometry=function(e){let o=e._positions,r=q(o,d.equalsEpsilon),i=e._shape;if(i=w.removeDuplicatesFromShape(i),r.length<2||i.length<3)return;G.computeWindingOrder2D(i)===v.CLOCKWISE&&i.reverse();let t=k.fromPoints(i,F);return W(w.computePositions(r,i,t,e,!1),i)};var E=P;function M(e,o){return u(o)&&(e=E.unpack(e,o)),e._ellipsoid=s.clone(e._ellipsoid),E.createGeometry(e)}var he=M;export{he as default};
@@ -0,0 +1,24 @@
1
+ /**
2
+ * @license
3
+ * Cesium - https://github.com/CesiumGS/cesium
4
+ * Version 1.135.0
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
+ */
@@ -0,0 +1,2 @@
1
+ /*! For license information please see createRectangleGeometry.js.LICENSE.txt */
2
+ import{a as W}from"./chunk-RYOF6QSA.js";import{a as Nt}from"./chunk-2ZPEMRCT.js";import{a as zt}from"./chunk-3BSRJTW3.js";import"./chunk-VHZAK4GN.js";import"./chunk-OFCC6BNI.js";import{a as ft}from"./chunk-T77EB7BE.js";import{a as q}from"./chunk-APG2S62J.js";import{b as yt}from"./chunk-IYO6TYGP.js";import"./chunk-5HPISDSZ.js";import"./chunk-HSJ6GSLC.js";import"./chunk-SXKYZMEL.js";import{a as At}from"./chunk-T6Q6HX5J.js";import{a as Vt}from"./chunk-4MJDNHOT.js";import{b as Mt,c as Pt,d as Y}from"./chunk-EDF5FKWJ.js";import{d as at}from"./chunk-XQIJGAVD.js";import{g as Lt,i as E,j as bt}from"./chunk-UTYWXSQT.js";import{a as U}from"./chunk-RCHWDG3R.js";import"./chunk-4WJUWBRK.js";import"./chunk-5G23AKP3.js";import{a as w,b as mt,c as $,d as D,e as lt,f as St}from"./chunk-KWAHJ72S.js";import{a as I}from"./chunk-MKDADUG3.js";import{a as Et,b as ct}from"./chunk-NOIUI5SY.js";import{e as K}from"./chunk-XRRBRTKL.js";var Tt=new w,Bt=new w,Ut=new w,Yt=new w,qt=new E,Zt=new $,Kt=new at,$t=new at;function Xt(t,e){let n=new Pt({attributes:new Vt,primitiveType:Mt.TRIANGLES});return n.attributes.position=new Y({componentDatatype:U.DOUBLE,componentsPerAttribute:3,values:e.positions}),t.normal&&(n.attributes.normal=new Y({componentDatatype:U.FLOAT,componentsPerAttribute:3,values:e.normals})),t.tangent&&(n.attributes.tangent=new Y({componentDatatype:U.FLOAT,componentsPerAttribute:3,values:e.tangents})),t.bitangent&&(n.attributes.bitangent=new Y({componentDatatype:U.FLOAT,componentsPerAttribute:3,values:e.bitangents})),n}function Gt(t,e,n,o){let a=t.length,r=e.normal?new Float32Array(a):void 0,i=e.tangent?new Float32Array(a):void 0,s=e.bitangent?new Float32Array(a):void 0,l=0,u=Yt,c=Ut,m=Bt;if(e.normal||e.tangent||e.bitangent)for(let p=0;p<a;p+=3){let a=w.fromArray(t,p,Tt),h=l+1,f=l+2;m=n.geodeticSurfaceNormal(a,m),(e.tangent||e.bitangent)&&(w.cross(w.UNIT_Z,m,c),lt.multiplyByVector(o,c,c),w.normalize(c,c),e.bitangent&&w.normalize(w.cross(m,c,u),u)),e.normal&&(r[l]=m.x,r[h]=m.y,r[f]=m.z),e.tangent&&(i[l]=c.x,i[h]=c.y,i[f]=c.z),e.bitangent&&(s[l]=u.x,s[h]=u.y,s[f]=u.z),l+=3}return Xt(e,{positions:t,normals:r,tangents:i,bitangents:s})}var Ct=new w,jt=new w;function te(t,e,n){let o=t.length,a=e.normal?new Float32Array(o):void 0,r=e.tangent?new Float32Array(o):void 0,i=e.bitangent?new Float32Array(o):void 0,s=0,l=0,u=0,c=!0,m=Yt,p=Ut,h=Bt;if(e.normal||e.tangent||e.bitangent)for(let f=0;f<o;f+=6){let g=w.fromArray(t,f,Tt),d=w.fromArray(t,(f+6)%o,Ct);if(c){let e=w.fromArray(t,(f+3)%o,jt);w.subtract(d,g,d),w.subtract(e,g,e),h=w.normalize(w.cross(e,d,h),h),c=!1}w.equalsEpsilon(d,g,I.EPSILON10)&&(c=!0),(e.tangent||e.bitangent)&&(m=n.geodeticSurfaceNormal(g,m),e.tangent&&(p=w.normalize(w.cross(m,h,p),p))),e.normal&&(a[s++]=h.x,a[s++]=h.y,a[s++]=h.z,a[s++]=h.x,a[s++]=h.y,a[s++]=h.z),e.tangent&&(r[l++]=p.x,r[l++]=p.y,r[l++]=p.z,r[l++]=p.x,r[l++]=p.y,r[l++]=p.z),e.bitangent&&(i[u++]=m.x,i[u++]=m.y,i[u++]=m.z,i[u++]=m.x,i[u++]=m.y,i[u++]=m.z)}return Xt(e,{positions:t,normals:a,tangents:r,bitangents:i})}function It(t,e){let n=t._vertexFormat,o=t._ellipsoid,a=e.height,r=e.width,i=e.northCap,s=e.southCap,l=0,u=a,c=a,m=0;i&&(l=1,c-=1,m+=1),s&&(u-=1,c-=1,m+=1),m+=r*c;let p=n.position?new Float64Array(3*m):void 0,h=n.st?new Float32Array(2*m):void 0,f=0,g=0,d=Tt,w=Zt,y=Number.MAX_VALUE,_=Number.MAX_VALUE,b=-Number.MAX_VALUE,A=-Number.MAX_VALUE;for(let t=l;t<u;++t)for(let a=0;a<r;++a)W.computePosition(e,o,n.st,t,a,d,w),p[f++]=d.x,p[f++]=d.y,p[f++]=d.z,n.st&&(h[g++]=w.x,h[g++]=w.y,y=Math.min(y,w.x),_=Math.min(_,w.y),b=Math.max(b,w.x),A=Math.max(A,w.y));if(i&&(W.computePosition(e,o,n.st,0,0,d,w),p[f++]=d.x,p[f++]=d.y,p[f++]=d.z,n.st&&(h[g++]=w.x,h[g++]=w.y,y=w.x,_=w.y,b=w.x,A=w.y)),s&&(W.computePosition(e,o,n.st,a-1,0,d,w),p[f++]=d.x,p[f++]=d.y,p[f]=d.z,n.st&&(h[g++]=w.x,h[g]=w.y,y=Math.min(y,w.x),_=Math.min(_,w.y),b=Math.max(b,w.x),A=Math.max(A,w.y))),n.st&&(y<0||_<0||b>1||A>1))for(let t=0;t<h.length;t+=2)h[t]=(h[t]-y)/(b-y),h[t+1]=(h[t+1]-_)/(A-_);let v=Gt(p,n,o,e.tangentRotationMatrix),E=6*(r-1)*(c-1);i&&(E+=3*(r-1)),s&&(E+=3*(r-1));let x,D=At.createTypedArray(m,E),k=0,R=0;for(x=0;x<c-1;++x){for(let t=0;t<r-1;++t){let t=k,e=t+r,n=e+1,o=t+1;D[R++]=t,D[R++]=e,D[R++]=o,D[R++]=o,D[R++]=e,D[R++]=n,++k}++k}if(i||s){let t,e,n=m-1,o=m-1;if(i&&s&&(n=m-2),k=0,i)for(x=0;x<r-1;x++)t=k,e=t+1,D[R++]=n,D[R++]=t,D[R++]=e,++k;if(s)for(k=(c-1)*r,x=0;x<r-1;x++)t=k,e=t+1,D[R++]=t,D[R++]=o,D[R++]=e,++k}return v.indices=D,n.st&&(v.attributes.st=new Y({componentDatatype:U.FLOAT,componentsPerAttribute:2,values:h})),v}function ut(t,e,n,o,a){return t[e++]=o[n],t[e++]=o[n+1],t[e++]=o[n+2],t[e++]=a[n],t[e++]=a[n+1],t[e]=a[n+2],t}function ht(t,e,n,o){return t[e++]=o[n],t[e++]=o[n+1],t[e++]=o[n],t[e]=o[n+1],t}var Dt=new q;function ee(t,e){let n,o=t._shadowVolume,a=t._offsetAttribute,r=t._vertexFormat,i=t._extrudedHeight,s=t._surfaceHeight,l=t._ellipsoid,u=e.height,c=e.width;if(o){let e=q.clone(r,Dt);e.normal=!0,t._vertexFormat=e}let m=It(t,e);o&&(t._vertexFormat=r);let p=yt.scaleToGeodeticHeight(m.attributes.position.values,s,l,!1);p=new Float64Array(p);let h=p.length,f=2*h,g=new Float64Array(f);g.set(p);let d=yt.scaleToGeodeticHeight(m.attributes.position.values,i,l);g.set(d,h),m.attributes.position.values=g;let y,_,b=r.normal?new Float32Array(f):void 0,A=r.tangent?new Float32Array(f):void 0,v=r.bitangent?new Float32Array(f):void 0,E=r.st?new Float32Array(f/3*2):void 0;if(r.normal){for(_=m.attributes.normal.values,b.set(_),n=0;n<h;n++)_[n]=-_[n];b.set(_,h),m.attributes.normal.values=b}if(o){_=m.attributes.normal.values,r.normal||(m.attributes.normal=void 0);let t=new Float32Array(f);for(n=0;n<h;n++)_[n]=-_[n];t.set(_,h),m.attributes.extrudeDirection=new Y({componentDatatype:U.FLOAT,componentsPerAttribute:3,values:t})}let x,D=K(a);if(D){let t=h/3*2,e=new Uint8Array(t);a===ft.TOP?e=e.fill(1,0,t/2):(x=a===ft.NONE?0:1,e=e.fill(x)),m.attributes.applyOffset=new Y({componentDatatype:U.UNSIGNED_BYTE,componentsPerAttribute:1,values:e})}if(r.tangent){let t=m.attributes.tangent.values;for(A.set(t),n=0;n<h;n++)t[n]=-t[n];A.set(t,h),m.attributes.tangent.values=A}if(r.bitangent){let t=m.attributes.bitangent.values;v.set(t),v.set(t,h),m.attributes.bitangent.values=v}r.st&&(y=m.attributes.st.values,E.set(y),E.set(y,h/3*2),m.attributes.st.values=E);let k=m.indices,R=k.length,F=h/3,P=At.createTypedArray(f/3,2*R);for(P.set(k),n=0;n<R;n+=3)P[n+R]=k[n+2]+F,P[n+1+R]=k[n+1]+F,P[n+2+R]=k[n]+F;m.indices=P;let T=e.northCap,O=e.southCap,L=u,N=2,S=0,j=4,G=4;T&&(N-=1,L-=1,S+=1,j-=2,G-=1),O&&(N-=1,L-=1,S+=1,j-=2,G-=1),S+=N*c+2*L-j;let H=2*(S+G),J=new Float64Array(3*H),M=o?new Float32Array(3*H):void 0,C=D?new Uint8Array(H):void 0,W=r.st?new Float32Array(2*H):void 0,V=a===ft.TOP;D&&!V&&(x=a===ft.ALL?1:0,C=C.fill(x));let z,B=0,X=0,$=0,Q=0,Z=c*L;for(n=0;n<Z;n+=c)z=3*n,J=ut(J,B,z,p,d),B+=6,r.st&&(W=ht(W,X,2*n,y),X+=4),o&&($+=3,M[$++]=_[z],M[$++]=_[z+1],M[$++]=_[z+2]),V&&(C[Q++]=1,Q+=1);if(O){let t=T?Z+1:Z;for(z=3*t,n=0;n<2;n++)J=ut(J,B,z,p,d),B+=6,r.st&&(W=ht(W,X,2*t,y),X+=4),o&&($+=3,M[$++]=_[z],M[$++]=_[z+1],M[$++]=_[z+2]),V&&(C[Q++]=1,Q+=1)}else for(n=Z-c;n<Z;n++)z=3*n,J=ut(J,B,z,p,d),B+=6,r.st&&(W=ht(W,X,2*n,y),X+=4),o&&($+=3,M[$++]=_[z],M[$++]=_[z+1],M[$++]=_[z+2]),V&&(C[Q++]=1,Q+=1);for(n=Z-1;n>0;n-=c)z=3*n,J=ut(J,B,z,p,d),B+=6,r.st&&(W=ht(W,X,2*n,y),X+=4),o&&($+=3,M[$++]=_[z],M[$++]=_[z+1],M[$++]=_[z+2]),V&&(C[Q++]=1,Q+=1);if(T){let t=Z;for(z=3*t,n=0;n<2;n++)J=ut(J,B,z,p,d),B+=6,r.st&&(W=ht(W,X,2*t,y),X+=4),o&&($+=3,M[$++]=_[z],M[$++]=_[z+1],M[$++]=_[z+2]),V&&(C[Q++]=1,Q+=1)}else for(n=c-1;n>=0;n--)z=3*n,J=ut(J,B,z,p,d),B+=6,r.st&&(W=ht(W,X,2*n,y),X+=4),o&&($+=3,M[$++]=_[z],M[$++]=_[z+1],M[$++]=_[z+2]),V&&(C[Q++]=1,Q+=1);let tt=te(J,r,l);r.st&&(tt.attributes.st=new Y({componentDatatype:U.FLOAT,componentsPerAttribute:2,values:W})),o&&(tt.attributes.extrudeDirection=new Y({componentDatatype:U.FLOAT,componentsPerAttribute:3,values:M})),D&&(tt.attributes.applyOffset=new Y({componentDatatype:U.UNSIGNED_BYTE,componentsPerAttribute:1,values:C}));let et,nt,ot,at,rt=At.createTypedArray(H,6*S);h=J.length/3;let it=0;for(n=0;n<h-1;n+=2){et=n,at=(et+2)%h;let t=w.fromArray(J,3*et,Ct),e=w.fromArray(J,3*at,jt);w.equalsEpsilon(t,e,I.EPSILON10)||(nt=(et+1)%h,ot=(nt+2)%h,rt[it++]=et,rt[it++]=nt,rt[it++]=at,rt[it++]=at,rt[it++]=nt,rt[it++]=ot)}return tt.indices=rt,tt=zt.combineInstances([new Nt({geometry:m}),new Nt({geometry:tt})]),tt[0]}var ne=[new w,new w,new w,new w],Wt=new mt,oe=new mt;function Ht(t,e,n,o,a){if(0===n)return E.clone(t,a);let r=W.computeOptions(t,e,n,0,qt,Wt),i=r.height,s=r.width,l=ne;return W.computePosition(r,o,!1,0,0,l[0]),W.computePosition(r,o,!1,0,s-1,l[1]),W.computePosition(r,o,!1,i-1,0,l[2]),W.computePosition(r,o,!1,i-1,s-1,l[3]),E.fromCartesianArray(l,o,a)}function J(t){let e=(t=t??St.EMPTY_OBJECT).rectangle;if(ct.typeOf.object("rectangle",e),E._validate(e),e.north<e.south)throw new Et("options.rectangle.north must be greater than or equal to options.rectangle.south");let n=t.height??0,o=t.extrudedHeight??n;this._rectangle=E.clone(e),this._granularity=t.granularity??I.RADIANS_PER_DEGREE,this._ellipsoid=D.clone(t.ellipsoid??D.default),this._surfaceHeight=Math.max(n,o),this._rotation=t.rotation??0,this._stRotation=t.stRotation??0,this._vertexFormat=q.clone(t.vertexFormat??q.DEFAULT),this._extrudedHeight=Math.min(n,o),this._shadowVolume=t.shadowVolume??!1,this._workerName="createRectangleGeometry",this._offsetAttribute=t.offsetAttribute,this._rotatedRectangle=void 0,this._textureCoordinateRotationPoints=void 0}J.packedLength=E.packedLength+D.packedLength+q.packedLength+7,J.pack=function(t,e,n){return ct.typeOf.object("value",t),ct.defined("array",e),n=n??0,E.pack(t._rectangle,e,n),n+=E.packedLength,D.pack(t._ellipsoid,e,n),n+=D.packedLength,q.pack(t._vertexFormat,e,n),n+=q.packedLength,e[n++]=t._granularity,e[n++]=t._surfaceHeight,e[n++]=t._rotation,e[n++]=t._stRotation,e[n++]=t._extrudedHeight,e[n++]=t._shadowVolume?1:0,e[n]=t._offsetAttribute??-1,e};var Jt=new E,Qt=D.clone(D.UNIT_SPHERE),G={rectangle:Jt,ellipsoid:Qt,vertexFormat:Dt,granularity:void 0,height:void 0,rotation:void 0,stRotation:void 0,extrudedHeight:void 0,shadowVolume:void 0,offsetAttribute:void 0};J.unpack=function(t,e,n){ct.defined("array",t),e=e??0;let o=E.unpack(t,e,Jt);e+=E.packedLength;let a=D.unpack(t,e,Qt);e+=D.packedLength;let r=q.unpack(t,e,Dt);e+=q.packedLength;let i=t[e++],s=t[e++],l=t[e++],u=t[e++],c=t[e++],m=1===t[e++],p=t[e];return K(n)?(n._rectangle=E.clone(o,n._rectangle),n._ellipsoid=D.clone(a,n._ellipsoid),n._vertexFormat=q.clone(r,n._vertexFormat),n._granularity=i,n._surfaceHeight=s,n._rotation=l,n._stRotation=u,n._extrudedHeight=c,n._shadowVolume=m,n._offsetAttribute=-1===p?void 0:p,n):(G.granularity=i,G.height=s,G.rotation=l,G.stRotation=u,G.extrudedHeight=c,G.shadowVolume=m,G.offsetAttribute=-1===p?void 0:p,new J(G))},J.computeRectangle=function(t,e){let n=(t=t??St.EMPTY_OBJECT).rectangle;if(ct.typeOf.object("rectangle",n),E._validate(n),n.north<n.south)throw new Et("options.rectangle.north must be greater than or equal to options.rectangle.south");let o=t.granularity??I.RADIANS_PER_DEGREE,a=t.ellipsoid??D.default;return Ht(n,o,t.rotation??0,a,e)};var ie=new lt,Ft=new Lt,ae=new mt;J.createGeometry=function(t){if(I.equalsEpsilon(t._rectangle.north,t._rectangle.south,I.EPSILON10)||I.equalsEpsilon(t._rectangle.east,t._rectangle.west,I.EPSILON10))return;let e=t._rectangle,n=t._ellipsoid,o=t._rotation,a=t._stRotation,r=t._vertexFormat,i=W.computeOptions(e,t._granularity,o,a,qt,Wt,oe),s=ie;if(0!==a||0!==o){let t=E.center(e,ae),o=n.geodeticSurfaceNormalCartographic(t,Ct);Lt.fromAxisAngle(o,-a,Ft),lt.fromQuaternion(Ft,s)}else lt.clone(lt.IDENTITY,s);let l,u,c=t._surfaceHeight,m=t._extrudedHeight,p=!I.equalsEpsilon(c,m,0,I.EPSILON2);if(i.lonScalar=1/t._rectangle.width,i.latScalar=1/t._rectangle.height,i.tangentRotationMatrix=s,e=t._rectangle,p){l=ee(t,i);let o=at.fromRectangle3D(e,n,c,$t),a=at.fromRectangle3D(e,n,m,Kt);u=at.union(o,a)}else{if(l=It(t,i),l.attributes.position.values=yt.scaleToGeodeticHeight(l.attributes.position.values,c,n,!1),K(t._offsetAttribute)){let e=l.attributes.position.values.length,n=t._offsetAttribute===ft.NONE?0:1,o=new Uint8Array(e/3).fill(n);l.attributes.applyOffset=new Y({componentDatatype:U.UNSIGNED_BYTE,componentsPerAttribute:1,values:o})}u=at.fromRectangle3D(e,n,c)}return r.position||delete l.attributes.position,new Pt({attributes:l.attributes,indices:l.indices,primitiveType:l.primitiveType,boundingSphere:u,offsetAttribute:t._offsetAttribute})},J.createShadowVolume=function(t,e,n){let o=t._granularity,a=t._ellipsoid,r=e(o,a),i=n(o,a);return new J({rectangle:t._rectangle,rotation:t._rotation,ellipsoid:a,stRotation:t._stRotation,granularity:o,extrudedHeight:i,height:r,vertexFormat:q.POSITION_ONLY,shadowVolume:!0})};var vt=new E,se=[new $,new $,new $],re=new bt,ce=new mt;function le(t){if(0===t._stRotation)return[0,0,0,1,1,0];let e=E.clone(t._rectangle,vt),n=t._granularity,o=t._ellipsoid,a=Ht(e,n,t._rotation-t._stRotation,o,vt),r=se;r[0].x=a.west,r[0].y=a.south,r[1].x=a.west,r[1].y=a.north,r[2].x=a.east,r[2].y=a.south;let i=t.rectangle,s=bt.fromRotation(t._stRotation,re),l=E.center(i,ce);for(let t=0;t<3;++t){let e=r[t];e.x-=l.longitude,e.y-=l.latitude,bt.multiplyByVector(s,e,e),e.x+=l.longitude,e.y+=l.latitude,e.x=(e.x-i.west)/i.width,e.y=(e.y-i.south)/i.height}let u=r[0],c=r[1],m=r[2],p=new Array(6);return $.pack(u,p),$.pack(c,p,2),$.pack(m,p,4),p}Object.defineProperties(J.prototype,{rectangle:{get:function(){return K(this._rotatedRectangle)||(this._rotatedRectangle=Ht(this._rectangle,this._granularity,this._rotation,this._ellipsoid)),this._rotatedRectangle}},textureCoordinateRotationPoints:{get:function(){return K(this._textureCoordinateRotationPoints)||(this._textureCoordinateRotationPoints=le(this)),this._textureCoordinateRotationPoints}}});var Ot=J;function fe(t,e){return K(e)&&(t=Ot.unpack(t,e)),t._ellipsoid=D.clone(t._ellipsoid),t._rectangle=E.clone(t._rectangle),Ot.createGeometry(t)}var Ye=fe;export{Ye as default};