@vcmap/ui 5.0.0-rc.30 → 5.0.0-rc.31

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 (323) hide show
  1. package/build/buildHelpers.js +4 -3
  2. package/config/base.config.json +5 -4
  3. package/config/dev.config.json +4 -0
  4. package/config/graphFeatureInfo.config.json +1 -1
  5. package/config/projects.config.json +2 -2
  6. package/dist/assets/cesium/ThirdParty/Workers/basis_transcoder.js +1 -1
  7. package/dist/assets/cesium/Workers/chunk-227AJNOA.js +59 -0
  8. package/dist/assets/cesium/Workers/chunk-2R5O53JW.js +157 -0
  9. package/dist/assets/cesium/Workers/chunk-34YUDLRP.js +781 -0
  10. package/dist/assets/cesium/Workers/chunk-3W63OHNJ.js +100 -0
  11. package/dist/assets/cesium/Workers/chunk-4MFFIWUA.js +163 -0
  12. package/dist/assets/cesium/Workers/chunk-66QLLS45.js +218 -0
  13. package/dist/assets/cesium/Workers/chunk-6BTKZDRG.js +77 -0
  14. package/dist/assets/cesium/Workers/chunk-A4JVFBQ3.js +101 -0
  15. package/dist/assets/cesium/Workers/chunk-ABADGKYE.js +58 -0
  16. package/dist/assets/cesium/Workers/chunk-AFFLIKOH.js +353 -0
  17. package/dist/assets/cesium/Workers/chunk-AHKEZ2OE.js +629 -0
  18. package/dist/assets/cesium/Workers/chunk-C3SXRKRW.js +476 -0
  19. package/dist/assets/cesium/Workers/chunk-CCFQRR6D.js +55 -0
  20. package/dist/assets/cesium/Workers/chunk-CHHNOC2C.js +1860 -0
  21. package/dist/assets/cesium/Workers/chunk-CTELOFLA.js +196 -0
  22. package/dist/assets/cesium/Workers/chunk-DUHWWBQQ.js +3273 -0
  23. package/dist/assets/cesium/Workers/chunk-EW2GWJYB.js +44 -0
  24. package/dist/assets/cesium/Workers/chunk-GLZBE3ML.js +421 -0
  25. package/dist/assets/cesium/Workers/chunk-HARLBUOL.js +236 -0
  26. package/dist/assets/cesium/Workers/chunk-HQF437NJ.js +117 -0
  27. package/dist/assets/cesium/Workers/chunk-IPA4EACJ.js +368 -0
  28. package/dist/assets/cesium/Workers/chunk-J3JY6I2C.js +1009 -0
  29. package/dist/assets/cesium/Workers/chunk-JB2LWGH4.js +390 -0
  30. package/dist/assets/cesium/Workers/chunk-JS3AW5BK.js +634 -0
  31. package/dist/assets/cesium/Workers/chunk-K36FEYS7.js +452 -0
  32. package/dist/assets/cesium/Workers/chunk-KD4Y7CZL.js +400 -0
  33. package/dist/assets/cesium/Workers/chunk-KTJSNCK4.js +842 -0
  34. package/dist/assets/cesium/Workers/chunk-LLUNNUJV.js +258 -0
  35. package/dist/assets/cesium/Workers/{package.js → chunk-MPAZH4BF.js} +13 -2
  36. package/dist/assets/cesium/Workers/chunk-MYZB7C4T.js +1258 -0
  37. package/dist/assets/cesium/Workers/chunk-N3JIFFX2.js +501 -0
  38. package/dist/assets/cesium/Workers/chunk-O5AMBQ36.js +430 -0
  39. package/dist/assets/cesium/Workers/chunk-OAVNIRB4.js +124 -0
  40. package/dist/assets/cesium/Workers/chunk-OYFCF4PL.js +171 -0
  41. package/dist/assets/cesium/Workers/chunk-OZJDGN5F.js +1477 -0
  42. package/dist/assets/cesium/Workers/chunk-PCJWUS4M.js +2041 -0
  43. package/dist/assets/cesium/Workers/chunk-PFQBCKBM.js +8644 -0
  44. package/dist/assets/cesium/Workers/chunk-QIKODV5G.js +305 -0
  45. package/dist/assets/cesium/Workers/chunk-QJ3DFBH3.js +73 -0
  46. package/dist/assets/cesium/Workers/chunk-QMEMZIJI.js +138 -0
  47. package/dist/assets/cesium/Workers/chunk-QT3MPEMI.js +102 -0
  48. package/dist/assets/cesium/Workers/chunk-RP2A7BR5.js +289 -0
  49. package/dist/assets/cesium/Workers/chunk-RW6LU2CJ.js +138 -0
  50. package/dist/assets/cesium/Workers/chunk-TFC6TZ3S.js +757 -0
  51. package/dist/assets/cesium/Workers/chunk-V3NGATMV.js +693 -0
  52. package/dist/assets/cesium/Workers/chunk-VLGOATD6.js +1075 -0
  53. package/dist/assets/cesium/Workers/chunk-WXTV4ATB.js +39 -0
  54. package/dist/assets/cesium/Workers/chunk-X4SU25DT.js +302 -0
  55. package/dist/assets/cesium/Workers/chunk-XTY7B2N6.js +2716 -0
  56. package/dist/assets/cesium/Workers/chunk-XY7MGBKC.js +513 -0
  57. package/dist/assets/cesium/Workers/chunk-Z24VKNDO.js +834 -0
  58. package/dist/assets/cesium/Workers/chunk-ZA25DG4Y.js +684 -0
  59. package/dist/assets/cesium/Workers/chunk-ZFOBYDGF.js +73 -0
  60. package/dist/assets/cesium/Workers/combineGeometry.js +65 -15
  61. package/dist/assets/cesium/Workers/createBoxGeometry.js +55 -10
  62. package/dist/assets/cesium/Workers/createBoxOutlineGeometry.js +231 -310
  63. package/dist/assets/cesium/Workers/createCircleGeometry.js +185 -202
  64. package/dist/assets/cesium/Workers/createCircleOutlineGeometry.js +141 -155
  65. package/dist/assets/cesium/Workers/createCoplanarPolygonGeometry.js +477 -557
  66. package/dist/assets/cesium/Workers/createCoplanarPolygonOutlineGeometry.js +218 -230
  67. package/dist/assets/cesium/Workers/createCorridorGeometry.js +1162 -1307
  68. package/dist/assets/cesium/Workers/createCorridorOutlineGeometry.js +533 -569
  69. package/dist/assets/cesium/Workers/createCylinderGeometry.js +57 -10
  70. package/dist/assets/cesium/Workers/createCylinderOutlineGeometry.js +224 -258
  71. package/dist/assets/cesium/Workers/createEllipseGeometry.js +68 -12
  72. package/dist/assets/cesium/Workers/createEllipseOutlineGeometry.js +61 -12
  73. package/dist/assets/cesium/Workers/createEllipsoidGeometry.js +56 -10
  74. package/dist/assets/cesium/Workers/createEllipsoidOutlineGeometry.js +58 -13
  75. package/dist/assets/cesium/Workers/createFrustumGeometry.js +55 -10
  76. package/dist/assets/cesium/Workers/createFrustumOutlineGeometry.js +226 -243
  77. package/dist/assets/cesium/Workers/createGeometry.js +143 -48
  78. package/dist/assets/cesium/Workers/createGroundPolylineGeometry.js +1484 -2011
  79. package/dist/assets/cesium/Workers/createPlaneGeometry.js +216 -243
  80. package/dist/assets/cesium/Workers/createPlaneOutlineGeometry.js +121 -113
  81. package/dist/assets/cesium/Workers/createPolygonGeometry.js +1041 -1327
  82. package/dist/assets/cesium/Workers/createPolygonOutlineGeometry.js +516 -657
  83. package/dist/assets/cesium/Workers/createPolylineGeometry.js +471 -547
  84. package/dist/assets/cesium/Workers/createPolylineVolumeGeometry.js +352 -384
  85. package/dist/assets/cesium/Workers/createPolylineVolumeOutlineGeometry.js +271 -295
  86. package/dist/assets/cesium/Workers/createRectangleGeometry.js +1128 -1331
  87. package/dist/assets/cesium/Workers/createRectangleOutlineGeometry.js +445 -500
  88. package/dist/assets/cesium/Workers/createSimplePolylineGeometry.js +381 -440
  89. package/dist/assets/cesium/Workers/createSphereGeometry.js +112 -118
  90. package/dist/assets/cesium/Workers/createSphereOutlineGeometry.js +112 -121
  91. package/dist/assets/cesium/Workers/createTaskProcessorWorker.js +32 -127
  92. package/dist/assets/cesium/Workers/createVectorTileClampedPolylines.js +462 -505
  93. package/dist/assets/cesium/Workers/createVectorTileGeometries.js +377 -436
  94. package/dist/assets/cesium/Workers/createVectorTilePoints.js +110 -77
  95. package/dist/assets/cesium/Workers/createVectorTilePolygons.js +369 -391
  96. package/dist/assets/cesium/Workers/createVectorTilePolylines.js +252 -244
  97. package/dist/assets/cesium/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js +543 -615
  98. package/dist/assets/cesium/Workers/createVerticesFromHeightmap.js +2244 -2677
  99. package/dist/assets/cesium/Workers/createVerticesFromQuantizedTerrainMesh.js +682 -926
  100. package/dist/assets/cesium/Workers/createWallGeometry.js +459 -593
  101. package/dist/assets/cesium/Workers/createWallOutlineGeometry.js +324 -419
  102. package/dist/assets/cesium/Workers/decodeDraco.js +327 -347
  103. package/dist/assets/cesium/Workers/decodeGoogleEarthEnterprisePacket.js +2530 -3567
  104. package/dist/assets/cesium/Workers/decodeI3S.js +765 -970
  105. package/dist/assets/cesium/Workers/transcodeKTX2.js +3353 -1464
  106. package/dist/assets/cesium/Workers/transferTypedArrayTest.js +3 -4
  107. package/dist/assets/cesium/Workers/upsampleQuantizedTerrainMesh.js +748 -953
  108. package/dist/assets/{cesium.eaf7cc.js → cesium.77d0f7.js} +8915 -13165
  109. package/dist/assets/cesium.js +1 -1
  110. package/dist/assets/{core.b16511.js → core.720589.js} +3421 -3365
  111. package/dist/assets/core.js +1 -1
  112. package/dist/assets/index-dd539204.js +1 -0
  113. package/dist/assets/{ol.4bbf0f.js → ol.e48649.js} +4 -4
  114. package/dist/assets/ol.js +1 -1
  115. package/dist/assets/{ui.ab815e.css → ui.50452a.css} +1 -1
  116. package/dist/assets/{ui.ab815e.js → ui.50452a.js} +4270 -4355
  117. package/dist/assets/ui.js +1 -1
  118. package/dist/assets/vue.js +2 -2
  119. package/dist/assets/{vuetify.ea3fa8.js → vuetify.f0a769.js} +1 -1
  120. package/dist/assets/vuetify.js +2 -2
  121. package/dist/index.html +27 -23
  122. package/index.html +23 -22
  123. package/package.json +5 -5
  124. package/plugins/@vcmap-show-case/plugin-editors/PluginEditors.vue +119 -0
  125. package/plugins/@vcmap-show-case/plugin-editors/index.js +41 -0
  126. package/plugins/@vcmap-show-case/plugin-editors/package.json +5 -0
  127. package/plugins/{@vcmap → @vcmap-show-case}/project-selector/ProjectSelectorComponent.vue +1 -1
  128. package/plugins/{@vcmap → @vcmap-show-case}/project-selector/config.json +2 -2
  129. package/plugins/{@vcmap → @vcmap-show-case}/project-selector/package.json +1 -1
  130. package/plugins/{@vcmap → @vcmap-show-case}/simple-graph/package.json +1 -1
  131. package/plugins/@vcmap-show-case/table-example/DataTableExample.vue +1 -1
  132. package/plugins/{@vcmap → @vcmap-show-case}/theme-changer/ThemeChangerComponent.vue +1 -1
  133. package/plugins/{@vcmap → @vcmap-show-case}/theme-changer/config.json +2 -2
  134. package/plugins/{@vcmap → @vcmap-show-case}/theme-changer/package.json +1 -1
  135. package/plugins/@vcmap-show-case/vector-properties-example/vectorPropertiesExample.vue +20 -1
  136. package/plugins/package.json +6 -2
  137. package/src/application/VcsAttributions.vue +27 -20
  138. package/src/components/form-inputs-controls/VcsChipArrayInput.vue +22 -14
  139. package/src/components/form-inputs-controls/VcsSlider.vue +1 -0
  140. package/src/components/icons/2DAreaIcon.vue +2 -17
  141. package/src/components/icons/2DDistanceIcon.vue +0 -3
  142. package/src/components/icons/3DAreaIcon.vue +2 -17
  143. package/src/components/icons/3DDistanceIcon.vue +0 -3
  144. package/src/components/icons/3DHeightIcon.vue +0 -3
  145. package/src/components/icons/AngleIcon.vue +0 -1
  146. package/src/components/icons/AssociationsIcon.vue +1 -3
  147. package/src/components/icons/AxisIcon.vue +0 -4
  148. package/src/components/icons/BoundingBoxIcon.vue +1 -4
  149. package/src/components/icons/CheckboxIcon.vue +0 -2
  150. package/src/components/icons/CheckboxIndeterminateIcon.vue +1 -5
  151. package/src/components/icons/CircleIcon.vue +1 -6
  152. package/src/components/icons/ClippingHorizontalIcon.vue +0 -1
  153. package/src/components/icons/ClippingIcon.vue +0 -1
  154. package/src/components/icons/ClippingVerticalIcon.vue +0 -1
  155. package/src/components/icons/ColorPickerIcon.vue +0 -1
  156. package/src/components/icons/ColorSwatchIcon.vue +0 -2
  157. package/src/components/icons/CommentIcon.vue +0 -1
  158. package/src/components/icons/CompassIcon.vue +0 -2
  159. package/src/components/icons/ComponentsIcon.vue +0 -1
  160. package/src/components/icons/ConeIcon.vue +1 -4
  161. package/src/components/icons/DimensionsHouseIcon.vue +0 -2
  162. package/src/components/icons/EditIcon.vue +0 -1
  163. package/src/components/icons/EditVerticesIcon.vue +0 -4
  164. package/src/components/icons/ElevationProfileIcon.vue +1 -13
  165. package/src/components/icons/ExportAreaIcon.vue +0 -1
  166. package/src/components/icons/ExportFlightIcon.vue +0 -1
  167. package/src/components/icons/ExportIcon.vue +12 -8
  168. package/src/components/icons/ExternalLinkIcon.vue +0 -2
  169. package/src/components/icons/FastForwardIcon.vue +0 -1
  170. package/src/components/icons/FilterIcon.vue +0 -1
  171. package/src/components/icons/GlobeNatureIcon.vue +0 -3
  172. package/src/components/icons/GroundIcon.vue +0 -1
  173. package/src/components/icons/HealthCareIndustriesIcon.vue +1 -11
  174. package/src/components/icons/HideIcon.vue +0 -1
  175. package/src/components/icons/HomePointIcon.vue +0 -1
  176. package/src/components/icons/HospitalsIcon.vue +1 -20
  177. package/src/components/icons/HouseIcon.vue +3 -13
  178. package/src/components/icons/ImportIcon.vue +6 -14
  179. package/src/components/icons/InfoIcon.vue +0 -2
  180. package/src/components/icons/KebabIcon.vue +1 -9
  181. package/src/components/icons/LabelIcon.vue +0 -2
  182. package/src/components/icons/LayersIcon.vue +1 -9
  183. package/src/components/icons/LegendIcon.vue +0 -1
  184. package/src/components/icons/LineIcon.vue +0 -2
  185. package/src/components/icons/LinkIcon.vue +0 -1
  186. package/src/components/icons/LogoutIcon.vue +0 -1
  187. package/src/components/icons/MapIcon.vue +0 -2
  188. package/src/components/icons/MenuIcon.vue +1 -5
  189. package/src/components/icons/MinusIcon.vue +0 -2
  190. package/src/components/icons/ObjectSelectIcon.vue +0 -2
  191. package/src/components/icons/ObliqueViewIcon.vue +0 -1
  192. package/src/components/icons/PdfIcon.vue +0 -1
  193. package/src/components/icons/PedestrianIcon.vue +0 -1
  194. package/src/components/icons/PenIcon.vue +0 -1
  195. package/src/components/icons/PlayCircleIcon.vue +1 -8
  196. package/src/components/icons/PlusIcon.vue +0 -2
  197. package/src/components/icons/PoiIcon.vue +0 -1
  198. package/src/components/icons/PointIcon.vue +2 -6
  199. package/src/components/icons/PointSelectIcon.vue +0 -1
  200. package/src/components/icons/PresentationModeIcon.vue +0 -1
  201. package/src/components/icons/ProgressIcon.vue +1 -1
  202. package/src/components/icons/QueryIcon.vue +0 -1
  203. package/src/components/icons/RectangleIcon.vue +1 -6
  204. package/src/components/icons/ReturnIcon.vue +0 -1
  205. package/src/components/icons/RewindIcon.vue +0 -1
  206. package/src/components/icons/RotateLeftIcon.vue +0 -1
  207. package/src/components/icons/RotateRightIcon.vue +0 -1
  208. package/src/components/icons/ScreenshotIcon.vue +1 -6
  209. package/src/components/icons/SearchIcon.vue +0 -1
  210. package/src/components/icons/ShadowIcon.vue +0 -2
  211. package/src/components/icons/ShapesIcon.vue +1 -4
  212. package/src/components/icons/ShareIcon.vue +0 -1
  213. package/src/components/icons/SimpleCircleFilledIcon.vue +0 -1
  214. package/src/components/icons/SimpleCircleHalfFilledIcon.vue +0 -1
  215. package/src/components/icons/SimpleCircleOutlinedIcon.vue +1 -7
  216. package/src/components/icons/SkipPreviousIcon.vue +1 -6
  217. package/src/components/icons/SplitViewIcon.vue +0 -1
  218. package/src/components/icons/TextStyleIcon.vue +0 -3
  219. package/src/components/icons/ThreeDimensionsIcon.vue +0 -1
  220. package/src/components/icons/ToolsIcon.vue +0 -1
  221. package/src/components/icons/TouchIcon.vue +0 -1
  222. package/src/components/icons/TriangleIcon.vue +0 -3
  223. package/src/components/icons/TwoDimensionsIcon.vue +0 -2
  224. package/src/components/icons/UploadIcon.vue +0 -1
  225. package/src/components/icons/UserProfileIcon.vue +0 -1
  226. package/src/components/icons/UserShareIcon.vue +0 -1
  227. package/src/components/icons/ViewpointFlightIcon.vue +0 -1
  228. package/src/components/icons/ViewpointIcon.vue +0 -1
  229. package/src/components/icons/Viewshed360Icon.vue +0 -1
  230. package/src/components/icons/ViewshedConeIcon.vue +0 -1
  231. package/src/components/icons/ViewshedIcon.vue +0 -1
  232. package/src/components/icons/WalkingIcon.vue +0 -1
  233. package/src/components/icons/WallIcon.vue +1 -4
  234. package/src/components/icons/WandIcon.vue +22 -70
  235. package/src/components/lists/VcsList.vue +18 -12
  236. package/src/components/plugins/AbstractConfigEditor.vue +2 -2
  237. package/src/components/tables/VcsDataTable.vue +1 -1
  238. package/src/components/vector-properties/VcsVectorPropertiesComponent.vue +57 -14
  239. package/src/contentTree/contentTreeCollection.js +30 -9
  240. package/src/i18n/de.js +8 -5
  241. package/src/i18n/en.js +8 -5
  242. package/src/i18n/i18nCollection.js +19 -65
  243. package/src/manager/buttonManager.js +4 -0
  244. package/src/manager/contextMenu/contextMenuManager.js +2 -0
  245. package/src/pluginHelper.js +2 -2
  246. package/src/vcsUiApp.js +9 -4
  247. package/src/vuePlugins/i18n.js +0 -8
  248. package/dist/assets/cesium/ThirdParty/Workers/draco_decoder_nodejs.js +0 -117
  249. package/dist/assets/cesium/Workers/ArcType-2d9abbbc.js +0 -37
  250. package/dist/assets/cesium/Workers/AttributeCompression-f9f6c717.js +0 -716
  251. package/dist/assets/cesium/Workers/AxisAlignedBoundingBox-4140c51f.js +0 -258
  252. package/dist/assets/cesium/Workers/BoundingRectangle-c714b156.js +0 -369
  253. package/dist/assets/cesium/Workers/BoxGeometry-6f3da43d.js +0 -884
  254. package/dist/assets/cesium/Workers/Check-6ede7e26.js +0 -290
  255. package/dist/assets/cesium/Workers/Color-8a565ff2.js +0 -2262
  256. package/dist/assets/cesium/Workers/ComponentDatatype-cf1fa08e.js +0 -341
  257. package/dist/assets/cesium/Workers/CoplanarPolygonGeometryLibrary-4b4d4096.js +0 -132
  258. package/dist/assets/cesium/Workers/CorridorGeometryLibrary-7b94502b.js +0 -498
  259. package/dist/assets/cesium/Workers/CylinderGeometry-ca070b87.js +0 -467
  260. package/dist/assets/cesium/Workers/CylinderGeometryLibrary-7bf291b4.js +0 -63
  261. package/dist/assets/cesium/Workers/EllipseGeometry-122e51fa.js +0 -1304
  262. package/dist/assets/cesium/Workers/EllipseGeometryLibrary-4d326efc.js +0 -366
  263. package/dist/assets/cesium/Workers/EllipseOutlineGeometry-16cc2bd7.js +0 -443
  264. package/dist/assets/cesium/Workers/EllipsoidGeodesic-5b3623dc.js +0 -520
  265. package/dist/assets/cesium/Workers/EllipsoidGeometry-cb148ca2.js +0 -637
  266. package/dist/assets/cesium/Workers/EllipsoidOutlineGeometry-0fa10c79.js +0 -454
  267. package/dist/assets/cesium/Workers/EllipsoidRhumbLine-ef872433.js +0 -741
  268. package/dist/assets/cesium/Workers/EllipsoidTangentPlane-6dd1b7af.js +0 -373
  269. package/dist/assets/cesium/Workers/EncodedCartesian3-57415c8a.js +0 -171
  270. package/dist/assets/cesium/Workers/FrustumGeometry-ee73037c.js +0 -2540
  271. package/dist/assets/cesium/Workers/GeometryAttribute-ff5b4fb1.js +0 -619
  272. package/dist/assets/cesium/Workers/GeometryAttributes-ad136444.js +0 -91
  273. package/dist/assets/cesium/Workers/GeometryInstance-34d9e21e.js +0 -121
  274. package/dist/assets/cesium/Workers/GeometryOffsetAttribute-9ad0019c.js +0 -16
  275. package/dist/assets/cesium/Workers/GeometryPipeline-1f8fbf05.js +0 -3690
  276. package/dist/assets/cesium/Workers/IndexDatatype-2643aa47.js +0 -200
  277. package/dist/assets/cesium/Workers/IntersectionTests-70d39ba9.js +0 -1836
  278. package/dist/assets/cesium/Workers/Math-0a2ac845.js +0 -1340
  279. package/dist/assets/cesium/Workers/Matrix2-e1298525.js +0 -7086
  280. package/dist/assets/cesium/Workers/Matrix3-41c58dde.js +0 -4283
  281. package/dist/assets/cesium/Workers/OrientedBoundingBox-159cf1d6.js +0 -1259
  282. package/dist/assets/cesium/Workers/Plane-4c3d403b.js +0 -309
  283. package/dist/assets/cesium/Workers/PolygonGeometryLibrary-076a5d25.js +0 -1074
  284. package/dist/assets/cesium/Workers/PolygonPipeline-b9f2810a.js +0 -1344
  285. package/dist/assets/cesium/Workers/PolylinePipeline-639192e0.js +0 -573
  286. package/dist/assets/cesium/Workers/PolylineVolumeGeometryLibrary-b73549fb.js +0 -781
  287. package/dist/assets/cesium/Workers/PrimitivePipeline-10ede1b6.js +0 -966
  288. package/dist/assets/cesium/Workers/RectangleGeometryLibrary-c35a7356.js +0 -280
  289. package/dist/assets/cesium/Workers/RuntimeError-ef395448.js +0 -68
  290. package/dist/assets/cesium/Workers/TerrainEncoding-668d242f.js +0 -1227
  291. package/dist/assets/cesium/Workers/Transforms-a2a85221.js +0 -14712
  292. package/dist/assets/cesium/Workers/VertexFormat-030f11ff.js +0 -312
  293. package/dist/assets/cesium/Workers/WallGeometryLibrary-1938bf0d.js +0 -211
  294. package/dist/assets/cesium/Workers/WebGLConstants-0b1ce7ba.js +0 -620
  295. package/dist/assets/cesium/Workers/WebMercatorProjection-13ed1a6e.js +0 -151
  296. package/dist/assets/cesium/Workers/arrayRemoveDuplicates-d2061e85.js +0 -129
  297. package/dist/assets/cesium/Workers/cesiumWorkerBootstrapper.js +0 -1363
  298. package/dist/assets/cesium/Workers/combine-d9581036.js +0 -82
  299. package/dist/assets/cesium/Workers/defaultValue-fe22d8c0.js +0 -51
  300. package/dist/assets/index-c115e3a1.js +0 -1
  301. package/plugins/@vcmap/create-link/fallbackCreateLink.vue +0 -76
  302. package/plugins/@vcmap/create-link/index.js +0 -95
  303. package/plugins/@vcmap/create-link/package.json +0 -6
  304. package/plugins/@vcmap/search-nominatim/LICENSE.md +0 -13
  305. package/plugins/@vcmap/search-nominatim/README.md +0 -3
  306. package/plugins/@vcmap/search-nominatim/SearchNominatimEditor.vue +0 -90
  307. package/plugins/@vcmap/search-nominatim/config.json +0 -3
  308. package/plugins/@vcmap/search-nominatim/index.js +0 -66
  309. package/plugins/@vcmap/search-nominatim/nominatim.js +0 -175
  310. package/plugins/@vcmap/search-nominatim/package.json +0 -9
  311. /package/dist/assets/{vue.67e80f.js → vue.5d696e.js} +0 -0
  312. /package/dist/assets/{vuetify.ea3fa8.css → vuetify.f0a769.css} +0 -0
  313. /package/plugins/{@vcmap → @vcmap-show-case}/project-selector/ModulesListComponent.vue +0 -0
  314. /package/plugins/{@vcmap → @vcmap-show-case}/project-selector/README.md +0 -0
  315. /package/plugins/{@vcmap → @vcmap-show-case}/project-selector/de.json +0 -0
  316. /package/plugins/{@vcmap → @vcmap-show-case}/project-selector/en.json +0 -0
  317. /package/plugins/{@vcmap → @vcmap-show-case}/project-selector/index.js +0 -0
  318. /package/plugins/{@vcmap → @vcmap-show-case}/simple-graph/README.md +0 -0
  319. /package/plugins/{@vcmap → @vcmap-show-case}/simple-graph/SimpleGraphComponent.vue +0 -0
  320. /package/plugins/{@vcmap → @vcmap-show-case}/simple-graph/index.js +0 -0
  321. /package/plugins/{@vcmap → @vcmap-show-case}/simple-graph/simpleGraphView.js +0 -0
  322. /package/plugins/{@vcmap → @vcmap-show-case}/theme-changer/README.md +0 -0
  323. /package/plugins/{@vcmap → @vcmap-show-case}/theme-changer/index.js +0 -0
@@ -1,741 +0,0 @@
1
- define(['exports', './Matrix3-41c58dde', './Check-6ede7e26', './defaultValue-fe22d8c0', './Math-0a2ac845'], (function (exports, Matrix3, Check, defaultValue, Math$1) { 'use strict';
2
-
3
- function calculateM(ellipticity, major, latitude) {
4
- if (ellipticity === 0.0) {
5
- // sphere
6
- return major * latitude;
7
- }
8
-
9
- const e2 = ellipticity * ellipticity;
10
- const e4 = e2 * e2;
11
- const e6 = e4 * e2;
12
- const e8 = e6 * e2;
13
- const e10 = e8 * e2;
14
- const e12 = e10 * e2;
15
- const phi = latitude;
16
- const sin2Phi = Math.sin(2 * phi);
17
- const sin4Phi = Math.sin(4 * phi);
18
- const sin6Phi = Math.sin(6 * phi);
19
- const sin8Phi = Math.sin(8 * phi);
20
- const sin10Phi = Math.sin(10 * phi);
21
- const sin12Phi = Math.sin(12 * phi);
22
-
23
- return (
24
- major *
25
- ((1 -
26
- e2 / 4 -
27
- (3 * e4) / 64 -
28
- (5 * e6) / 256 -
29
- (175 * e8) / 16384 -
30
- (441 * e10) / 65536 -
31
- (4851 * e12) / 1048576) *
32
- phi -
33
- ((3 * e2) / 8 +
34
- (3 * e4) / 32 +
35
- (45 * e6) / 1024 +
36
- (105 * e8) / 4096 +
37
- (2205 * e10) / 131072 +
38
- (6237 * e12) / 524288) *
39
- sin2Phi +
40
- ((15 * e4) / 256 +
41
- (45 * e6) / 1024 +
42
- (525 * e8) / 16384 +
43
- (1575 * e10) / 65536 +
44
- (155925 * e12) / 8388608) *
45
- sin4Phi -
46
- ((35 * e6) / 3072 +
47
- (175 * e8) / 12288 +
48
- (3675 * e10) / 262144 +
49
- (13475 * e12) / 1048576) *
50
- sin6Phi +
51
- ((315 * e8) / 131072 + (2205 * e10) / 524288 + (43659 * e12) / 8388608) *
52
- sin8Phi -
53
- ((693 * e10) / 1310720 + (6237 * e12) / 5242880) * sin10Phi +
54
- ((1001 * e12) / 8388608) * sin12Phi)
55
- );
56
- }
57
-
58
- function calculateInverseM(M, ellipticity, major) {
59
- const d = M / major;
60
-
61
- if (ellipticity === 0.0) {
62
- // sphere
63
- return d;
64
- }
65
-
66
- const d2 = d * d;
67
- const d3 = d2 * d;
68
- const d4 = d3 * d;
69
- const e = ellipticity;
70
- const e2 = e * e;
71
- const e4 = e2 * e2;
72
- const e6 = e4 * e2;
73
- const e8 = e6 * e2;
74
- const e10 = e8 * e2;
75
- const e12 = e10 * e2;
76
- const sin2D = Math.sin(2 * d);
77
- const cos2D = Math.cos(2 * d);
78
- const sin4D = Math.sin(4 * d);
79
- const cos4D = Math.cos(4 * d);
80
- const sin6D = Math.sin(6 * d);
81
- const cos6D = Math.cos(6 * d);
82
- const sin8D = Math.sin(8 * d);
83
- const cos8D = Math.cos(8 * d);
84
- const sin10D = Math.sin(10 * d);
85
- const cos10D = Math.cos(10 * d);
86
- const sin12D = Math.sin(12 * d);
87
-
88
- return (
89
- d +
90
- (d * e2) / 4 +
91
- (7 * d * e4) / 64 +
92
- (15 * d * e6) / 256 +
93
- (579 * d * e8) / 16384 +
94
- (1515 * d * e10) / 65536 +
95
- (16837 * d * e12) / 1048576 +
96
- ((3 * d * e4) / 16 +
97
- (45 * d * e6) / 256 -
98
- (d * (32 * d2 - 561) * e8) / 4096 -
99
- (d * (232 * d2 - 1677) * e10) / 16384 +
100
- (d * (399985 - 90560 * d2 + 512 * d4) * e12) / 5242880) *
101
- cos2D +
102
- ((21 * d * e6) / 256 +
103
- (483 * d * e8) / 4096 -
104
- (d * (224 * d2 - 1969) * e10) / 16384 -
105
- (d * (33152 * d2 - 112599) * e12) / 1048576) *
106
- cos4D +
107
- ((151 * d * e8) / 4096 +
108
- (4681 * d * e10) / 65536 +
109
- (1479 * d * e12) / 16384 -
110
- (453 * d3 * e12) / 32768) *
111
- cos6D +
112
- ((1097 * d * e10) / 65536 + (42783 * d * e12) / 1048576) * cos8D +
113
- ((8011 * d * e12) / 1048576) * cos10D +
114
- ((3 * e2) / 8 +
115
- (3 * e4) / 16 +
116
- (213 * e6) / 2048 -
117
- (3 * d2 * e6) / 64 +
118
- (255 * e8) / 4096 -
119
- (33 * d2 * e8) / 512 +
120
- (20861 * e10) / 524288 -
121
- (33 * d2 * e10) / 512 +
122
- (d4 * e10) / 1024 +
123
- (28273 * e12) / 1048576 -
124
- (471 * d2 * e12) / 8192 +
125
- (9 * d4 * e12) / 4096) *
126
- sin2D +
127
- ((21 * e4) / 256 +
128
- (21 * e6) / 256 +
129
- (533 * e8) / 8192 -
130
- (21 * d2 * e8) / 512 +
131
- (197 * e10) / 4096 -
132
- (315 * d2 * e10) / 4096 +
133
- (584039 * e12) / 16777216 -
134
- (12517 * d2 * e12) / 131072 +
135
- (7 * d4 * e12) / 2048) *
136
- sin4D +
137
- ((151 * e6) / 6144 +
138
- (151 * e8) / 4096 +
139
- (5019 * e10) / 131072 -
140
- (453 * d2 * e10) / 16384 +
141
- (26965 * e12) / 786432 -
142
- (8607 * d2 * e12) / 131072) *
143
- sin6D +
144
- ((1097 * e8) / 131072 +
145
- (1097 * e10) / 65536 +
146
- (225797 * e12) / 10485760 -
147
- (1097 * d2 * e12) / 65536) *
148
- sin8D +
149
- ((8011 * e10) / 2621440 + (8011 * e12) / 1048576) * sin10D +
150
- ((293393 * e12) / 251658240) * sin12D
151
- );
152
- }
153
-
154
- function calculateSigma(ellipticity, latitude) {
155
- if (ellipticity === 0.0) {
156
- // sphere
157
- return Math.log(Math.tan(0.5 * (Math$1.CesiumMath.PI_OVER_TWO + latitude)));
158
- }
159
-
160
- const eSinL = ellipticity * Math.sin(latitude);
161
- return (
162
- Math.log(Math.tan(0.5 * (Math$1.CesiumMath.PI_OVER_TWO + latitude))) -
163
- (ellipticity / 2.0) * Math.log((1 + eSinL) / (1 - eSinL))
164
- );
165
- }
166
-
167
- function calculateHeading(
168
- ellipsoidRhumbLine,
169
- firstLongitude,
170
- firstLatitude,
171
- secondLongitude,
172
- secondLatitude
173
- ) {
174
- const sigma1 = calculateSigma(ellipsoidRhumbLine._ellipticity, firstLatitude);
175
- const sigma2 = calculateSigma(
176
- ellipsoidRhumbLine._ellipticity,
177
- secondLatitude
178
- );
179
- return Math.atan2(
180
- Math$1.CesiumMath.negativePiToPi(secondLongitude - firstLongitude),
181
- sigma2 - sigma1
182
- );
183
- }
184
-
185
- function calculateArcLength(
186
- ellipsoidRhumbLine,
187
- major,
188
- minor,
189
- firstLongitude,
190
- firstLatitude,
191
- secondLongitude,
192
- secondLatitude
193
- ) {
194
- const heading = ellipsoidRhumbLine._heading;
195
- const deltaLongitude = secondLongitude - firstLongitude;
196
-
197
- let distance = 0.0;
198
-
199
- //Check to see if the rhumb line has constant latitude
200
- //This equation will diverge if heading gets close to 90 degrees
201
- if (
202
- Math$1.CesiumMath.equalsEpsilon(
203
- Math.abs(heading),
204
- Math$1.CesiumMath.PI_OVER_TWO,
205
- Math$1.CesiumMath.EPSILON8
206
- )
207
- ) {
208
- //If heading is close to 90 degrees
209
- if (major === minor) {
210
- distance =
211
- major *
212
- Math.cos(firstLatitude) *
213
- Math$1.CesiumMath.negativePiToPi(deltaLongitude);
214
- } else {
215
- const sinPhi = Math.sin(firstLatitude);
216
- distance =
217
- (major *
218
- Math.cos(firstLatitude) *
219
- Math$1.CesiumMath.negativePiToPi(deltaLongitude)) /
220
- Math.sqrt(1 - ellipsoidRhumbLine._ellipticitySquared * sinPhi * sinPhi);
221
- }
222
- } else {
223
- const M1 = calculateM(
224
- ellipsoidRhumbLine._ellipticity,
225
- major,
226
- firstLatitude
227
- );
228
- const M2 = calculateM(
229
- ellipsoidRhumbLine._ellipticity,
230
- major,
231
- secondLatitude
232
- );
233
-
234
- distance = (M2 - M1) / Math.cos(heading);
235
- }
236
- return Math.abs(distance);
237
- }
238
-
239
- const scratchCart1 = new Matrix3.Cartesian3();
240
- const scratchCart2 = new Matrix3.Cartesian3();
241
-
242
- function computeProperties(ellipsoidRhumbLine, start, end, ellipsoid) {
243
- const firstCartesian = Matrix3.Cartesian3.normalize(
244
- ellipsoid.cartographicToCartesian(start, scratchCart2),
245
- scratchCart1
246
- );
247
- const lastCartesian = Matrix3.Cartesian3.normalize(
248
- ellipsoid.cartographicToCartesian(end, scratchCart2),
249
- scratchCart2
250
- );
251
-
252
- //>>includeStart('debug', pragmas.debug);
253
- Check.Check.typeOf.number.greaterThanOrEquals(
254
- "value",
255
- Math.abs(
256
- Math.abs(Matrix3.Cartesian3.angleBetween(firstCartesian, lastCartesian)) - Math.PI
257
- ),
258
- 0.0125
259
- );
260
- //>>includeEnd('debug');
261
-
262
- const major = ellipsoid.maximumRadius;
263
- const minor = ellipsoid.minimumRadius;
264
- const majorSquared = major * major;
265
- const minorSquared = minor * minor;
266
- ellipsoidRhumbLine._ellipticitySquared =
267
- (majorSquared - minorSquared) / majorSquared;
268
- ellipsoidRhumbLine._ellipticity = Math.sqrt(
269
- ellipsoidRhumbLine._ellipticitySquared
270
- );
271
-
272
- ellipsoidRhumbLine._start = Matrix3.Cartographic.clone(
273
- start,
274
- ellipsoidRhumbLine._start
275
- );
276
- ellipsoidRhumbLine._start.height = 0;
277
-
278
- ellipsoidRhumbLine._end = Matrix3.Cartographic.clone(end, ellipsoidRhumbLine._end);
279
- ellipsoidRhumbLine._end.height = 0;
280
-
281
- ellipsoidRhumbLine._heading = calculateHeading(
282
- ellipsoidRhumbLine,
283
- start.longitude,
284
- start.latitude,
285
- end.longitude,
286
- end.latitude
287
- );
288
- ellipsoidRhumbLine._distance = calculateArcLength(
289
- ellipsoidRhumbLine,
290
- ellipsoid.maximumRadius,
291
- ellipsoid.minimumRadius,
292
- start.longitude,
293
- start.latitude,
294
- end.longitude,
295
- end.latitude
296
- );
297
- }
298
-
299
- function interpolateUsingSurfaceDistance(
300
- start,
301
- heading,
302
- distance,
303
- major,
304
- ellipticity,
305
- result
306
- ) {
307
- if (distance === 0.0) {
308
- return Matrix3.Cartographic.clone(start, result);
309
- }
310
-
311
- const ellipticitySquared = ellipticity * ellipticity;
312
-
313
- let longitude;
314
- let latitude;
315
- let deltaLongitude;
316
-
317
- //Check to see if the rhumb line has constant latitude
318
- //This won't converge if heading is close to 90 degrees
319
- if (
320
- Math.abs(Math$1.CesiumMath.PI_OVER_TWO - Math.abs(heading)) > Math$1.CesiumMath.EPSILON8
321
- ) {
322
- //Calculate latitude of the second point
323
- const M1 = calculateM(ellipticity, major, start.latitude);
324
- const deltaM = distance * Math.cos(heading);
325
- const M2 = M1 + deltaM;
326
- latitude = calculateInverseM(M2, ellipticity, major);
327
-
328
- //Now find the longitude of the second point
329
- const sigma1 = calculateSigma(ellipticity, start.latitude);
330
- const sigma2 = calculateSigma(ellipticity, latitude);
331
- deltaLongitude = Math.tan(heading) * (sigma2 - sigma1);
332
- longitude = Math$1.CesiumMath.negativePiToPi(start.longitude + deltaLongitude);
333
- } else {
334
- //If heading is close to 90 degrees
335
- latitude = start.latitude;
336
- let localRad;
337
-
338
- if (ellipticity === 0.0) {
339
- // sphere
340
- localRad = major * Math.cos(start.latitude);
341
- } else {
342
- const sinPhi = Math.sin(start.latitude);
343
- localRad =
344
- (major * Math.cos(start.latitude)) /
345
- Math.sqrt(1 - ellipticitySquared * sinPhi * sinPhi);
346
- }
347
-
348
- deltaLongitude = distance / localRad;
349
- if (heading > 0.0) {
350
- longitude = Math$1.CesiumMath.negativePiToPi(start.longitude + deltaLongitude);
351
- } else {
352
- longitude = Math$1.CesiumMath.negativePiToPi(start.longitude - deltaLongitude);
353
- }
354
- }
355
-
356
- if (defaultValue.defined(result)) {
357
- result.longitude = longitude;
358
- result.latitude = latitude;
359
- result.height = 0;
360
-
361
- return result;
362
- }
363
-
364
- return new Matrix3.Cartographic(longitude, latitude, 0);
365
- }
366
-
367
- /**
368
- * Initializes a rhumb line on the ellipsoid connecting the two provided planetodetic points.
369
- *
370
- * @alias EllipsoidRhumbLine
371
- * @constructor
372
- *
373
- * @param {Cartographic} [start] The initial planetodetic point on the path.
374
- * @param {Cartographic} [end] The final planetodetic point on the path.
375
- * @param {Ellipsoid} [ellipsoid=Ellipsoid.WGS84] The ellipsoid on which the rhumb line lies.
376
- *
377
- * @exception {DeveloperError} angle between start and end must be at least 0.0125 radians.
378
- */
379
- function EllipsoidRhumbLine(start, end, ellipsoid) {
380
- const e = defaultValue.defaultValue(ellipsoid, Matrix3.Ellipsoid.WGS84);
381
- this._ellipsoid = e;
382
- this._start = new Matrix3.Cartographic();
383
- this._end = new Matrix3.Cartographic();
384
-
385
- this._heading = undefined;
386
- this._distance = undefined;
387
- this._ellipticity = undefined;
388
- this._ellipticitySquared = undefined;
389
-
390
- if (defaultValue.defined(start) && defaultValue.defined(end)) {
391
- computeProperties(this, start, end, e);
392
- }
393
- }
394
-
395
- Object.defineProperties(EllipsoidRhumbLine.prototype, {
396
- /**
397
- * Gets the ellipsoid.
398
- * @memberof EllipsoidRhumbLine.prototype
399
- * @type {Ellipsoid}
400
- * @readonly
401
- */
402
- ellipsoid: {
403
- get: function () {
404
- return this._ellipsoid;
405
- },
406
- },
407
-
408
- /**
409
- * Gets the surface distance between the start and end point
410
- * @memberof EllipsoidRhumbLine.prototype
411
- * @type {number}
412
- * @readonly
413
- */
414
- surfaceDistance: {
415
- get: function () {
416
- //>>includeStart('debug', pragmas.debug);
417
- Check.Check.defined("distance", this._distance);
418
- //>>includeEnd('debug');
419
-
420
- return this._distance;
421
- },
422
- },
423
-
424
- /**
425
- * Gets the initial planetodetic point on the path.
426
- * @memberof EllipsoidRhumbLine.prototype
427
- * @type {Cartographic}
428
- * @readonly
429
- */
430
- start: {
431
- get: function () {
432
- return this._start;
433
- },
434
- },
435
-
436
- /**
437
- * Gets the final planetodetic point on the path.
438
- * @memberof EllipsoidRhumbLine.prototype
439
- * @type {Cartographic}
440
- * @readonly
441
- */
442
- end: {
443
- get: function () {
444
- return this._end;
445
- },
446
- },
447
-
448
- /**
449
- * Gets the heading from the start point to the end point.
450
- * @memberof EllipsoidRhumbLine.prototype
451
- * @type {number}
452
- * @readonly
453
- */
454
- heading: {
455
- get: function () {
456
- //>>includeStart('debug', pragmas.debug);
457
- Check.Check.defined("distance", this._distance);
458
- //>>includeEnd('debug');
459
-
460
- return this._heading;
461
- },
462
- },
463
- });
464
-
465
- /**
466
- * Create a rhumb line using an initial position with a heading and distance.
467
- *
468
- * @param {Cartographic} start The initial planetodetic point on the path.
469
- * @param {number} heading The heading in radians.
470
- * @param {number} distance The rhumb line distance between the start and end point.
471
- * @param {Ellipsoid} [ellipsoid=Ellipsoid.WGS84] The ellipsoid on which the rhumb line lies.
472
- * @param {EllipsoidRhumbLine} [result] The object in which to store the result.
473
- * @returns {EllipsoidRhumbLine} The EllipsoidRhumbLine object.
474
- */
475
- EllipsoidRhumbLine.fromStartHeadingDistance = function (
476
- start,
477
- heading,
478
- distance,
479
- ellipsoid,
480
- result
481
- ) {
482
- //>>includeStart('debug', pragmas.debug);
483
- Check.Check.defined("start", start);
484
- Check.Check.defined("heading", heading);
485
- Check.Check.defined("distance", distance);
486
- Check.Check.typeOf.number.greaterThan("distance", distance, 0.0);
487
- //>>includeEnd('debug');
488
-
489
- const e = defaultValue.defaultValue(ellipsoid, Matrix3.Ellipsoid.WGS84);
490
- const major = e.maximumRadius;
491
- const minor = e.minimumRadius;
492
- const majorSquared = major * major;
493
- const minorSquared = minor * minor;
494
- const ellipticity = Math.sqrt((majorSquared - minorSquared) / majorSquared);
495
-
496
- heading = Math$1.CesiumMath.negativePiToPi(heading);
497
- const end = interpolateUsingSurfaceDistance(
498
- start,
499
- heading,
500
- distance,
501
- e.maximumRadius,
502
- ellipticity
503
- );
504
-
505
- if (
506
- !defaultValue.defined(result) ||
507
- (defaultValue.defined(ellipsoid) && !ellipsoid.equals(result.ellipsoid))
508
- ) {
509
- return new EllipsoidRhumbLine(start, end, e);
510
- }
511
-
512
- result.setEndPoints(start, end);
513
- return result;
514
- };
515
-
516
- /**
517
- * Sets the start and end points of the rhumb line.
518
- *
519
- * @param {Cartographic} start The initial planetodetic point on the path.
520
- * @param {Cartographic} end The final planetodetic point on the path.
521
- */
522
- EllipsoidRhumbLine.prototype.setEndPoints = function (start, end) {
523
- //>>includeStart('debug', pragmas.debug);
524
- Check.Check.defined("start", start);
525
- Check.Check.defined("end", end);
526
- //>>includeEnd('debug');
527
-
528
- computeProperties(this, start, end, this._ellipsoid);
529
- };
530
-
531
- /**
532
- * Provides the location of a point at the indicated portion along the rhumb line.
533
- *
534
- * @param {number} fraction The portion of the distance between the initial and final points.
535
- * @param {Cartographic} [result] The object in which to store the result.
536
- * @returns {Cartographic} The location of the point along the rhumb line.
537
- */
538
- EllipsoidRhumbLine.prototype.interpolateUsingFraction = function (
539
- fraction,
540
- result
541
- ) {
542
- return this.interpolateUsingSurfaceDistance(
543
- fraction * this._distance,
544
- result
545
- );
546
- };
547
-
548
- /**
549
- * Provides the location of a point at the indicated distance along the rhumb line.
550
- *
551
- * @param {number} distance The distance from the inital point to the point of interest along the rhumbLine.
552
- * @param {Cartographic} [result] The object in which to store the result.
553
- * @returns {Cartographic} The location of the point along the rhumb line.
554
- *
555
- * @exception {DeveloperError} start and end must be set before calling function interpolateUsingSurfaceDistance
556
- */
557
- EllipsoidRhumbLine.prototype.interpolateUsingSurfaceDistance = function (
558
- distance,
559
- result
560
- ) {
561
- //>>includeStart('debug', pragmas.debug);
562
- Check.Check.typeOf.number("distance", distance);
563
- if (!defaultValue.defined(this._distance) || this._distance === 0.0) {
564
- throw new Check.DeveloperError(
565
- "EllipsoidRhumbLine must have distinct start and end set."
566
- );
567
- }
568
- //>>includeEnd('debug');
569
-
570
- return interpolateUsingSurfaceDistance(
571
- this._start,
572
- this._heading,
573
- distance,
574
- this._ellipsoid.maximumRadius,
575
- this._ellipticity,
576
- result
577
- );
578
- };
579
-
580
- /**
581
- * Provides the location of a point at the indicated longitude along the rhumb line.
582
- * If the longitude is outside the range of start and end points, the first intersection with the longitude from the start point in the direction of the heading is returned. This follows the spiral property of a rhumb line.
583
- *
584
- * @param {number} intersectionLongitude The longitude, in radians, at which to find the intersection point from the starting point using the heading.
585
- * @param {Cartographic} [result] The object in which to store the result.
586
- * @returns {Cartographic} The location of the intersection point along the rhumb line, undefined if there is no intersection or infinite intersections.
587
- *
588
- * @exception {DeveloperError} start and end must be set before calling function findIntersectionWithLongitude.
589
- */
590
- EllipsoidRhumbLine.prototype.findIntersectionWithLongitude = function (
591
- intersectionLongitude,
592
- result
593
- ) {
594
- //>>includeStart('debug', pragmas.debug);
595
- Check.Check.typeOf.number("intersectionLongitude", intersectionLongitude);
596
- if (!defaultValue.defined(this._distance) || this._distance === 0.0) {
597
- throw new Check.DeveloperError(
598
- "EllipsoidRhumbLine must have distinct start and end set."
599
- );
600
- }
601
- //>>includeEnd('debug');
602
-
603
- const ellipticity = this._ellipticity;
604
- const heading = this._heading;
605
- const absHeading = Math.abs(heading);
606
- const start = this._start;
607
-
608
- intersectionLongitude = Math$1.CesiumMath.negativePiToPi(intersectionLongitude);
609
-
610
- if (
611
- Math$1.CesiumMath.equalsEpsilon(
612
- Math.abs(intersectionLongitude),
613
- Math.PI,
614
- Math$1.CesiumMath.EPSILON14
615
- )
616
- ) {
617
- intersectionLongitude = Math$1.CesiumMath.sign(start.longitude) * Math.PI;
618
- }
619
-
620
- if (!defaultValue.defined(result)) {
621
- result = new Matrix3.Cartographic();
622
- }
623
-
624
- // If heading is -PI/2 or PI/2, this is an E-W rhumb line
625
- // If heading is 0 or PI, this is an N-S rhumb line
626
- if (Math.abs(Math$1.CesiumMath.PI_OVER_TWO - absHeading) <= Math$1.CesiumMath.EPSILON8) {
627
- result.longitude = intersectionLongitude;
628
- result.latitude = start.latitude;
629
- result.height = 0;
630
- return result;
631
- } else if (
632
- Math$1.CesiumMath.equalsEpsilon(
633
- Math.abs(Math$1.CesiumMath.PI_OVER_TWO - absHeading),
634
- Math$1.CesiumMath.PI_OVER_TWO,
635
- Math$1.CesiumMath.EPSILON8
636
- )
637
- ) {
638
- if (
639
- Math$1.CesiumMath.equalsEpsilon(
640
- intersectionLongitude,
641
- start.longitude,
642
- Math$1.CesiumMath.EPSILON12
643
- )
644
- ) {
645
- return undefined;
646
- }
647
-
648
- result.longitude = intersectionLongitude;
649
- result.latitude =
650
- Math$1.CesiumMath.PI_OVER_TWO *
651
- Math$1.CesiumMath.sign(Math$1.CesiumMath.PI_OVER_TWO - heading);
652
- result.height = 0;
653
- return result;
654
- }
655
-
656
- // Use iterative solver from Equation 9 from http://edwilliams.org/ellipsoid/ellipsoid.pdf
657
- const phi1 = start.latitude;
658
- const eSinPhi1 = ellipticity * Math.sin(phi1);
659
- const leftComponent =
660
- Math.tan(0.5 * (Math$1.CesiumMath.PI_OVER_TWO + phi1)) *
661
- Math.exp((intersectionLongitude - start.longitude) / Math.tan(heading));
662
- const denominator = (1 + eSinPhi1) / (1 - eSinPhi1);
663
-
664
- let newPhi = start.latitude;
665
- let phi;
666
- do {
667
- phi = newPhi;
668
- const eSinPhi = ellipticity * Math.sin(phi);
669
- const numerator = (1 + eSinPhi) / (1 - eSinPhi);
670
- newPhi =
671
- 2 *
672
- Math.atan(
673
- leftComponent * Math.pow(numerator / denominator, ellipticity / 2)
674
- ) -
675
- Math$1.CesiumMath.PI_OVER_TWO;
676
- } while (!Math$1.CesiumMath.equalsEpsilon(newPhi, phi, Math$1.CesiumMath.EPSILON12));
677
-
678
- result.longitude = intersectionLongitude;
679
- result.latitude = newPhi;
680
- result.height = 0;
681
- return result;
682
- };
683
-
684
- /**
685
- * Provides the location of a point at the indicated latitude along the rhumb line.
686
- * If the latitude is outside the range of start and end points, the first intersection with the latitude from that start point in the direction of the heading is returned. This follows the spiral property of a rhumb line.
687
- *
688
- * @param {number} intersectionLatitude The latitude, in radians, at which to find the intersection point from the starting point using the heading.
689
- * @param {Cartographic} [result] The object in which to store the result.
690
- * @returns {Cartographic} The location of the intersection point along the rhumb line, undefined if there is no intersection or infinite intersections.
691
- *
692
- * @exception {DeveloperError} start and end must be set before calling function findIntersectionWithLongitude.
693
- */
694
- EllipsoidRhumbLine.prototype.findIntersectionWithLatitude = function (
695
- intersectionLatitude,
696
- result
697
- ) {
698
- //>>includeStart('debug', pragmas.debug);
699
- Check.Check.typeOf.number("intersectionLatitude", intersectionLatitude);
700
- if (!defaultValue.defined(this._distance) || this._distance === 0.0) {
701
- throw new Check.DeveloperError(
702
- "EllipsoidRhumbLine must have distinct start and end set."
703
- );
704
- }
705
- //>>includeEnd('debug');
706
-
707
- const ellipticity = this._ellipticity;
708
- const heading = this._heading;
709
- const start = this._start;
710
-
711
- // If start and end have same latitude, return undefined since it's either no intersection or infinite intersections
712
- if (
713
- Math$1.CesiumMath.equalsEpsilon(
714
- Math.abs(heading),
715
- Math$1.CesiumMath.PI_OVER_TWO,
716
- Math$1.CesiumMath.EPSILON8
717
- )
718
- ) {
719
- return;
720
- }
721
-
722
- // Can be solved using the same equations from interpolateUsingSurfaceDistance
723
- const sigma1 = calculateSigma(ellipticity, start.latitude);
724
- const sigma2 = calculateSigma(ellipticity, intersectionLatitude);
725
- const deltaLongitude = Math.tan(heading) * (sigma2 - sigma1);
726
- const longitude = Math$1.CesiumMath.negativePiToPi(start.longitude + deltaLongitude);
727
-
728
- if (defaultValue.defined(result)) {
729
- result.longitude = longitude;
730
- result.latitude = intersectionLatitude;
731
- result.height = 0;
732
-
733
- return result;
734
- }
735
-
736
- return new Matrix3.Cartographic(longitude, intersectionLatitude, 0);
737
- };
738
-
739
- exports.EllipsoidRhumbLine = EllipsoidRhumbLine;
740
-
741
- }));