@vcmap/ui 5.0.0-rc.18 → 5.0.0-rc.21

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 (376) hide show
  1. package/README.md +6 -6
  2. package/build/build.js +2 -2
  3. package/build/buildCesium.js +3 -3
  4. package/build/buildHelpers.js +2 -1
  5. package/config/base.config.json +0 -4
  6. package/config/dev.config.json +35 -14
  7. package/config/www.config.json +4 -0
  8. package/dist/assets/cesium/Workers/ArcType-ce2e50ab.js +37 -0
  9. package/dist/assets/cesium/Workers/AttributeCompression-b646d393.js +716 -0
  10. package/dist/assets/cesium/Workers/AxisAlignedBoundingBox-ff186ccc.js +258 -0
  11. package/dist/assets/cesium/Workers/BoundingRectangle-be5924f4.js +369 -0
  12. package/dist/assets/cesium/Workers/BoxGeometry-12eeccaf.js +884 -0
  13. package/dist/assets/cesium/Workers/Check-666ab1a0.js +290 -0
  14. package/dist/assets/cesium/Workers/Color-a84038cb.js +2262 -0
  15. package/dist/assets/cesium/Workers/ComponentDatatype-f7b11d02.js +341 -0
  16. package/dist/assets/cesium/Workers/CoplanarPolygonGeometryLibrary-3272c1b3.js +132 -0
  17. package/dist/assets/cesium/Workers/CorridorGeometryLibrary-0170e093.js +498 -0
  18. package/dist/assets/cesium/Workers/CylinderGeometry-7c5da648.js +467 -0
  19. package/dist/assets/cesium/Workers/CylinderGeometryLibrary-372c07d8.js +63 -0
  20. package/dist/assets/cesium/Workers/EllipseGeometry-797d580e.js +1304 -0
  21. package/dist/assets/cesium/Workers/EllipseGeometryLibrary-2939e1dc.js +366 -0
  22. package/dist/assets/cesium/Workers/EllipseOutlineGeometry-8b50870f.js +443 -0
  23. package/dist/assets/cesium/Workers/EllipsoidGeodesic-98c62a56.js +520 -0
  24. package/dist/assets/cesium/Workers/EllipsoidGeometry-21c0e3a5.js +637 -0
  25. package/dist/assets/cesium/Workers/EllipsoidOutlineGeometry-eff247c8.js +454 -0
  26. package/dist/assets/cesium/Workers/EllipsoidRhumbLine-19756602.js +741 -0
  27. package/dist/assets/cesium/Workers/EllipsoidTangentPlane-214683dc.js +373 -0
  28. package/dist/assets/cesium/Workers/EncodedCartesian3-81f70735.js +171 -0
  29. package/dist/assets/cesium/Workers/FrustumGeometry-ac42a6d9.js +2512 -0
  30. package/dist/assets/cesium/Workers/GeometryAttribute-7d6f1732.js +619 -0
  31. package/dist/assets/cesium/Workers/GeometryAttributes-f06a2792.js +91 -0
  32. package/dist/assets/cesium/Workers/GeometryInstance-451dc1cd.js +121 -0
  33. package/dist/assets/cesium/Workers/GeometryOffsetAttribute-04332ce7.js +16 -0
  34. package/dist/assets/cesium/Workers/GeometryPipeline-ce4339ed.js +3690 -0
  35. package/dist/assets/cesium/Workers/IndexDatatype-a55ceaa1.js +200 -0
  36. package/dist/assets/cesium/Workers/IntersectionTests-f6e6bd8a.js +1836 -0
  37. package/dist/assets/cesium/Workers/Math-2dbd6b93.js +1330 -0
  38. package/dist/assets/cesium/Workers/Matrix2-13178034.js +7086 -0
  39. package/dist/assets/cesium/Workers/Matrix3-315394f6.js +4283 -0
  40. package/dist/assets/cesium/Workers/OrientedBoundingBox-04920dc7.js +1257 -0
  41. package/dist/assets/cesium/Workers/Plane-900aa728.js +309 -0
  42. package/dist/assets/cesium/Workers/PolygonGeometryLibrary-a8680d96.js +1074 -0
  43. package/dist/assets/cesium/Workers/PolygonPipeline-844aab0a.js +1345 -0
  44. package/dist/assets/cesium/Workers/PolylinePipeline-32f36d2a.js +573 -0
  45. package/dist/assets/cesium/Workers/PolylineVolumeGeometryLibrary-a510d657.js +781 -0
  46. package/dist/assets/cesium/Workers/PrimitivePipeline-ba38434a.js +966 -0
  47. package/dist/assets/cesium/Workers/RectangleGeometryLibrary-bdba697e.js +280 -0
  48. package/dist/assets/cesium/Workers/RuntimeError-06c93819.js +68 -0
  49. package/dist/assets/cesium/Workers/TerrainEncoding-833187da.js +1227 -0
  50. package/dist/assets/cesium/Workers/Transforms-40229881.js +14696 -0
  51. package/dist/assets/cesium/Workers/VertexFormat-6b480673.js +312 -0
  52. package/dist/assets/cesium/Workers/WallGeometryLibrary-919eed92.js +211 -0
  53. package/dist/assets/cesium/Workers/WebGLConstants-a8cc3e8c.js +620 -0
  54. package/dist/assets/cesium/Workers/WebMercatorProjection-13a90d41.js +151 -0
  55. package/dist/assets/cesium/Workers/arrayRemoveDuplicates-c2038105.js +129 -0
  56. package/dist/assets/cesium/Workers/cesiumWorkerBootstrapper.js +1336 -4
  57. package/dist/assets/cesium/Workers/combine-ca22a614.js +82 -0
  58. package/dist/assets/cesium/Workers/combineGeometry.js +17 -25
  59. package/dist/assets/cesium/Workers/createBoxGeometry.js +12 -25
  60. package/dist/assets/cesium/Workers/createBoxOutlineGeometry.js +313 -25
  61. package/dist/assets/cesium/Workers/createCircleGeometry.js +213 -25
  62. package/dist/assets/cesium/Workers/createCircleOutlineGeometry.js +160 -25
  63. package/dist/assets/cesium/Workers/createCoplanarPolygonGeometry.js +586 -25
  64. package/dist/assets/cesium/Workers/createCoplanarPolygonOutlineGeometry.js +236 -25
  65. package/dist/assets/cesium/Workers/createCorridorGeometry.js +1407 -25
  66. package/dist/assets/cesium/Workers/createCorridorOutlineGeometry.js +603 -25
  67. package/dist/assets/cesium/Workers/createCylinderGeometry.js +12 -25
  68. package/dist/assets/cesium/Workers/createCylinderOutlineGeometry.js +265 -25
  69. package/dist/assets/cesium/Workers/createEllipseGeometry.js +14 -25
  70. package/dist/assets/cesium/Workers/createEllipseOutlineGeometry.js +14 -25
  71. package/dist/assets/cesium/Workers/createEllipsoidGeometry.js +12 -25
  72. package/dist/assets/cesium/Workers/createEllipsoidOutlineGeometry.js +15 -25
  73. package/dist/assets/cesium/Workers/createFrustumGeometry.js +12 -25
  74. package/dist/assets/cesium/Workers/createFrustumOutlineGeometry.js +251 -25
  75. package/dist/assets/cesium/Workers/createGeometry.js +55 -25
  76. package/dist/assets/cesium/Workers/createGroundPolylineGeometry.js +2134 -25
  77. package/dist/assets/cesium/Workers/createPlaneGeometry.js +250 -25
  78. package/dist/assets/cesium/Workers/createPlaneOutlineGeometry.js +115 -25
  79. package/dist/assets/cesium/Workers/createPolygonGeometry.js +1420 -25
  80. package/dist/assets/cesium/Workers/createPolygonOutlineGeometry.js +683 -25
  81. package/dist/assets/cesium/Workers/createPolylineGeometry.js +571 -25
  82. package/dist/assets/cesium/Workers/createPolylineVolumeGeometry.js +411 -25
  83. package/dist/assets/cesium/Workers/createPolylineVolumeOutlineGeometry.js +301 -25
  84. package/dist/assets/cesium/Workers/createRectangleGeometry.js +1476 -25
  85. package/dist/assets/cesium/Workers/createRectangleOutlineGeometry.js +535 -25
  86. package/dist/assets/cesium/Workers/createSimplePolylineGeometry.js +458 -25
  87. package/dist/assets/cesium/Workers/createSphereGeometry.js +123 -25
  88. package/dist/assets/cesium/Workers/createSphereOutlineGeometry.js +126 -25
  89. package/dist/assets/cesium/Workers/createTaskProcessorWorker.js +127 -25
  90. package/dist/assets/cesium/Workers/createVectorTileClampedPolylines.js +535 -25
  91. package/dist/assets/cesium/Workers/createVectorTileGeometries.js +445 -25
  92. package/dist/assets/cesium/Workers/createVectorTilePoints.js +79 -25
  93. package/dist/assets/cesium/Workers/createVectorTilePolygons.js +406 -25
  94. package/dist/assets/cesium/Workers/createVectorTilePolylines.js +254 -25
  95. package/dist/assets/cesium/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js +640 -25
  96. package/dist/assets/cesium/Workers/createVerticesFromHeightmap.js +2711 -27
  97. package/dist/assets/cesium/Workers/createVerticesFromQuantizedTerrainMesh.js +994 -25
  98. package/dist/assets/cesium/Workers/createWallGeometry.js +623 -25
  99. package/dist/assets/cesium/Workers/createWallOutlineGeometry.js +432 -25
  100. package/dist/assets/cesium/Workers/decodeDraco.js +381 -25
  101. package/dist/assets/cesium/Workers/decodeGoogleEarthEnterprisePacket.js +3687 -25
  102. package/dist/assets/cesium/Workers/decodeI3S.js +1040 -0
  103. package/dist/assets/cesium/Workers/defaultValue-0a909f67.js +51 -0
  104. package/dist/assets/cesium/Workers/package.js +2 -2
  105. package/dist/assets/cesium/Workers/transcodeKTX2.js +1516 -25
  106. package/dist/assets/cesium/Workers/transferTypedArrayTest.js +18 -2
  107. package/dist/assets/cesium/Workers/upsampleQuantizedTerrainMesh.js +1023 -25
  108. package/dist/assets/{cesium.2f992f.js → cesium.49585c.js} +112161 -108735
  109. package/dist/assets/cesium.js +1 -1
  110. package/dist/assets/{core.cb0408.js → core.59d4d1.js} +1616 -1629
  111. package/dist/assets/core.js +1 -1
  112. package/dist/assets/{index.bccdf969.js → index.a3861d4e.js} +1 -1
  113. package/dist/assets/{ol.5e3fd0.js → ol.c1c512.js} +6992 -6972
  114. package/dist/assets/ol.js +1 -1
  115. package/dist/assets/ui.80175f.css +1 -0
  116. package/dist/assets/{ui.08c48f.js → ui.80175f.js} +6121 -6785
  117. package/dist/assets/ui.js +1 -1
  118. package/dist/assets/{vue.228ead.js → vue.a08ab1.js} +0 -0
  119. package/dist/assets/vue.js +2 -2
  120. package/dist/assets/{vuetify.0b5039.css → vuetify.efc158.css} +0 -0
  121. package/dist/assets/{vuetify.0b5039.js → vuetify.efc158.js} +1 -1
  122. package/dist/assets/vuetify.js +2 -2
  123. package/dist/index.html +1 -1
  124. package/index.js +2 -1
  125. package/lib/cesium.js +1 -1
  126. package/package.json +3 -4
  127. package/plugins/{simple-graph → @vcmap/simple-graph}/README.md +1 -1
  128. package/plugins/{simple-graph → @vcmap/simple-graph}/SimpleGraphComponent.vue +0 -0
  129. package/plugins/{simple-graph → @vcmap/simple-graph}/index.js +0 -0
  130. package/plugins/{simple-graph → @vcmap/simple-graph}/package.json +0 -0
  131. package/plugins/{simple-graph → @vcmap/simple-graph}/simpleGraphView.js +0 -0
  132. package/plugins/@vcmap-show-case/README.md +20 -0
  133. package/plugins/{buttonExamples/ButtonExamples.vue → @vcmap-show-case/buttons-example/ButtonsExample.vue} +1 -1
  134. package/plugins/@vcmap-show-case/buttons-example/README.md +4 -0
  135. package/plugins/{buttonExamples → @vcmap-show-case/buttons-example}/index.js +16 -8
  136. package/plugins/@vcmap-show-case/buttons-example/package.json +5 -0
  137. package/plugins/{categoryTest → @vcmap-show-case/category-tester}/Categories.vue +7 -6
  138. package/plugins/{categoryTest → @vcmap-show-case/category-tester}/Category.vue +4 -3
  139. package/plugins/@vcmap-show-case/category-tester/README.md +3 -0
  140. package/plugins/{categoryTest → @vcmap-show-case/category-tester}/index.js +12 -4
  141. package/plugins/@vcmap-show-case/category-tester/package.json +5 -0
  142. package/plugins/@vcmap-show-case/config-editor/README.md +3 -0
  143. package/plugins/{test → @vcmap-show-case/config-editor}/editor.vue +0 -0
  144. package/plugins/@vcmap-show-case/config-editor/index.js +47 -0
  145. package/plugins/@vcmap-show-case/config-editor/package.json +5 -0
  146. package/plugins/@vcmap-show-case/context-menu-tester/README.md +3 -0
  147. package/plugins/@vcmap-show-case/context-menu-tester/index.js +33 -0
  148. package/plugins/@vcmap-show-case/context-menu-tester/package.json +5 -0
  149. package/plugins/{@vcmap/pluginExample/pluginExampleComponent.vue → @vcmap-show-case/form-inputs-example/FormInputsExample.vue} +14 -13
  150. package/plugins/@vcmap-show-case/form-inputs-example/README.md +4 -0
  151. package/plugins/@vcmap-show-case/form-inputs-example/config.json +5 -0
  152. package/plugins/{@vcmap/pluginExample → @vcmap-show-case/form-inputs-example}/exampleActions.js +1 -1
  153. package/plugins/{@vcmap/pluginExample → @vcmap-show-case/form-inputs-example}/index.js +23 -22
  154. package/plugins/@vcmap-show-case/form-inputs-example/package.json +5 -0
  155. package/plugins/{@vcmap/pluginExample → @vcmap-show-case/form-inputs-example}/validation.js +0 -0
  156. package/plugins/@vcmap-show-case/icons-example/README.md +5 -0
  157. package/plugins/@vcmap-show-case/icons-example/allIconsComponent.vue +51 -0
  158. package/plugins/@vcmap-show-case/icons-example/index.js +44 -0
  159. package/plugins/@vcmap-show-case/icons-example/package.json +5 -0
  160. package/plugins/{test/testList.vue → @vcmap-show-case/list-example/ListExample.vue} +1 -1
  161. package/plugins/@vcmap-show-case/list-example/README.md +3 -0
  162. package/plugins/@vcmap-show-case/list-example/index.js +44 -0
  163. package/plugins/@vcmap-show-case/list-example/package.json +5 -0
  164. package/plugins/@vcmap-show-case/notifier-tester/README.md +3 -0
  165. package/plugins/{notifier → @vcmap-show-case/notifier-tester}/index.js +11 -6
  166. package/plugins/{notifier → @vcmap-show-case/notifier-tester}/notifierTester.vue +0 -0
  167. package/plugins/@vcmap-show-case/notifier-tester/package.json +5 -0
  168. package/plugins/@vcmap-show-case/textfields-example/README.md +3 -0
  169. package/plugins/{example/mySuperComponent.vue → @vcmap-show-case/textfields-example/TextfieldsExample.vue} +1 -7
  170. package/plugins/{example → @vcmap-show-case/textfields-example}/index.js +58 -62
  171. package/plugins/@vcmap-show-case/textfields-example/package.json +5 -0
  172. package/plugins/@vcmap-show-case/window-tester/README.md +3 -0
  173. package/plugins/{test/windowManagerExample.vue → @vcmap-show-case/window-tester/WindowExample.vue} +36 -20
  174. package/plugins/{test → @vcmap-show-case/window-tester}/emptyComponent.vue +8 -3
  175. package/plugins/@vcmap-show-case/window-tester/index.js +62 -0
  176. package/plugins/{test → @vcmap-show-case/window-tester}/myCustomHeader.vue +0 -0
  177. package/plugins/@vcmap-show-case/window-tester/package.json +5 -0
  178. package/plugins/{test → @vcmap-show-case/window-tester}/toolbox-data.js +9 -9
  179. package/plugins/{test/vcsContent.vue → @vcmap-show-case/window-tester/windowExampleContent.vue} +1 -5
  180. package/plugins/@vcmap-show-case/wizard-example/README.md +3 -0
  181. package/plugins/{wizardExample → @vcmap-show-case/wizard-example}/index.js +12 -6
  182. package/plugins/@vcmap-show-case/wizard-example/package.json +5 -0
  183. package/plugins/@vcmap-show-case/wizard-example/wizardExample.vue +95 -0
  184. package/plugins/package.json +2 -1
  185. package/src/actions/actionHelper.js +1 -3
  186. package/src/actions/stateRefAction.js +0 -10
  187. package/src/application/VcsApp.vue +42 -23
  188. package/src/application/VcsMap.vue +9 -0
  189. package/src/components/buttons/VcsActionButtonList.vue +1 -0
  190. package/src/components/form-inputs-controls/VcsCheckbox.vue +3 -1
  191. package/src/components/form-inputs-controls/VcsWizard.vue +17 -20
  192. package/src/components/form-inputs-controls/VcsWizardStep.vue +160 -0
  193. package/src/{icons → components/icons}/+all.js +0 -0
  194. package/src/{icons → components/icons}/2DAreaIcon.vue +0 -0
  195. package/src/{icons → components/icons}/2DDistanceIcon.vue +0 -0
  196. package/src/{icons → components/icons}/3DAreaIcon.vue +0 -0
  197. package/src/{icons → components/icons}/3DDistanceIcon.vue +0 -0
  198. package/src/{icons → components/icons}/3DHeightIcon.vue +0 -0
  199. package/src/{icons → components/icons}/AngleIcon.vue +0 -0
  200. package/src/{icons → components/icons}/AssociationsIcon.vue +0 -0
  201. package/src/{icons → components/icons}/AxisIcon.vue +0 -0
  202. package/src/{icons → components/icons}/BoundingBoxIcon.vue +0 -0
  203. package/src/{icons → components/icons}/CheckboxCheckedIcon.vue +0 -0
  204. package/src/{icons → components/icons}/CheckboxIcon.vue +0 -0
  205. package/src/{icons → components/icons}/CheckboxIndeterminateIcon.vue +0 -0
  206. package/src/{icons → components/icons}/CircleIcon.vue +0 -0
  207. package/src/{icons → components/icons}/ClippingHorizontalIcon.vue +0 -0
  208. package/src/{icons → components/icons}/ClippingIcon.vue +0 -0
  209. package/src/{icons → components/icons}/ClippingVerticalIcon.vue +0 -0
  210. package/src/{icons → components/icons}/ColorPickerIcon.vue +0 -0
  211. package/src/{icons → components/icons}/ColorSwatchIcon.vue +0 -0
  212. package/src/{icons → components/icons}/CommentIcon.vue +0 -0
  213. package/src/{icons → components/icons}/CompassIcon.vue +0 -0
  214. package/src/{icons → components/icons}/ComponentsIcon.vue +0 -0
  215. package/src/{icons → components/icons}/ConeIcon.vue +0 -0
  216. package/src/{icons → components/icons}/DimensionsHouseIcon.vue +0 -0
  217. package/src/{icons → components/icons}/EditIcon.vue +0 -0
  218. package/src/{icons → components/icons}/ElevationProfileIcon.vue +0 -0
  219. package/src/{icons → components/icons}/ExportAreaIcon.vue +0 -0
  220. package/src/{icons → components/icons}/ExportFlightIcon.vue +0 -0
  221. package/src/{icons → components/icons}/ExportIcon.vue +0 -0
  222. package/src/{icons → components/icons}/ExternalLinkIcon.vue +0 -0
  223. package/src/{icons → components/icons}/EyeIcon.vue +0 -0
  224. package/src/{icons → components/icons}/FastForwardIcon.vue +0 -0
  225. package/src/{icons → components/icons}/FilterIcon.vue +0 -0
  226. package/src/{icons → components/icons}/GlobalTerrainIcon.vue +0 -0
  227. package/src/{icons → components/icons}/GlobeNatureIcon.vue +0 -0
  228. package/src/{icons → components/icons}/GroundIcon.vue +0 -0
  229. package/src/{icons → components/icons}/HealthCareIndustriesIcon.vue +0 -0
  230. package/src/{icons → components/icons}/HelpIcon.vue +0 -0
  231. package/src/{icons → components/icons}/HideIcon.vue +0 -0
  232. package/src/{icons → components/icons}/HomePointIcon.vue +0 -0
  233. package/src/{icons → components/icons}/HospitalsIcon.vue +0 -0
  234. package/src/{icons → components/icons}/HouseIcon.vue +0 -0
  235. package/src/{icons → components/icons}/ImportIcon.vue +0 -0
  236. package/src/{icons → components/icons}/InfoIcon.vue +0 -0
  237. package/src/{icons → components/icons}/KebabIcon.vue +0 -0
  238. package/src/{icons → components/icons}/LabelIcon.vue +0 -0
  239. package/src/{icons → components/icons}/LayersIcon.vue +0 -0
  240. package/src/{icons → components/icons}/LegendIcon.vue +0 -0
  241. package/src/{icons → components/icons}/LineIcon.vue +0 -0
  242. package/src/{icons → components/icons}/LinkIcon.vue +0 -0
  243. package/src/{icons → components/icons}/LogoutIcon.vue +0 -0
  244. package/src/{icons → components/icons}/MapIcon.vue +0 -0
  245. package/src/{icons → components/icons}/MenuIcon.vue +0 -0
  246. package/src/{icons → components/icons}/MinusIcon.vue +0 -0
  247. package/src/{icons → components/icons}/ObjectAttributeIcon.vue +0 -0
  248. package/src/{icons → components/icons}/ObjectSelectIcon.vue +0 -0
  249. package/src/{icons → components/icons}/ObliqueViewIcon.vue +0 -0
  250. package/src/{icons → components/icons}/PdfIcon.vue +0 -0
  251. package/src/{icons → components/icons}/PedestrianIcon.vue +0 -0
  252. package/src/{icons → components/icons}/PenIcon.vue +0 -0
  253. package/src/{icons → components/icons}/PlayCircleIcon.vue +0 -0
  254. package/src/{icons → components/icons}/PlusIcon.vue +0 -0
  255. package/src/{icons → components/icons}/PoiIcon.vue +0 -0
  256. package/src/{icons → components/icons}/PointSelectIcon.vue +0 -0
  257. package/src/{icons → components/icons}/PolygonIcon.vue +0 -0
  258. package/src/{icons → components/icons}/PresentationModeIcon.vue +0 -0
  259. package/src/{icons → components/icons}/ProgressIcon.vue +0 -0
  260. package/src/{icons → components/icons}/QueryIcon.vue +0 -0
  261. package/src/{icons → components/icons}/RectangleIcon.vue +0 -0
  262. package/src/{icons → components/icons}/ReturnIcon.vue +0 -0
  263. package/src/{icons → components/icons}/RewindIcon.vue +0 -0
  264. package/src/{icons → components/icons}/RotateLeftIcon.vue +0 -0
  265. package/src/{icons → components/icons}/RotateRightIcon.vue +0 -0
  266. package/src/{icons → components/icons}/ScreenshotIcon.vue +0 -0
  267. package/src/{icons → components/icons}/SearchIcon.vue +0 -0
  268. package/src/{icons → components/icons}/ShadowIcon.vue +0 -0
  269. package/src/{icons → components/icons}/ShapesIcon.vue +0 -0
  270. package/src/{icons → components/icons}/ShareIcon.vue +0 -0
  271. package/src/{icons → components/icons}/SimpleCircleFilledIcon.vue +0 -0
  272. package/src/{icons → components/icons}/SimpleCircleHalfFilledIcon.vue +0 -0
  273. package/src/{icons → components/icons}/SimpleCircleOutlinedIcon.vue +0 -0
  274. package/src/{icons → components/icons}/SkipNextIcon.vue +0 -0
  275. package/src/{icons → components/icons}/SkipPreviousIcon.vue +0 -0
  276. package/src/{icons → components/icons}/SplitViewIcon.vue +0 -0
  277. package/src/{icons → components/icons}/TerrainBoxIcon.vue +0 -0
  278. package/src/{icons → components/icons}/TextStyleIcon.vue +0 -0
  279. package/src/{icons → components/icons}/ThreeDimensionsIcon.vue +0 -0
  280. package/src/{icons → components/icons}/ToolsIcon.vue +0 -0
  281. package/src/{icons → components/icons}/TouchIcon.vue +0 -0
  282. package/src/{icons → components/icons}/TrashCanIcon.vue +0 -0
  283. package/src/{icons → components/icons}/TriangleIcon.vue +0 -0
  284. package/src/{icons → components/icons}/TwoDimensionsIcon.vue +0 -0
  285. package/src/{icons → components/icons}/UploadIcon.vue +0 -0
  286. package/src/{icons → components/icons}/UserProfileIcon.vue +0 -0
  287. package/src/{icons → components/icons}/UserShareIcon.vue +0 -0
  288. package/src/{icons → components/icons}/VideoRecorderIcon.vue +0 -0
  289. package/src/{icons → components/icons}/ViewpointFlightIcon.vue +0 -0
  290. package/src/{icons → components/icons}/ViewpointIcon.vue +0 -0
  291. package/src/{icons → components/icons}/Viewshed360Icon.vue +0 -0
  292. package/src/{icons → components/icons}/ViewshedConeIcon.vue +0 -0
  293. package/src/{icons → components/icons}/ViewshedIcon.vue +0 -0
  294. package/src/{icons → components/icons}/WalkingIcon.vue +0 -0
  295. package/src/{icons → components/icons}/WallIcon.vue +0 -0
  296. package/src/{icons → components/icons}/WandIcon.vue +0 -0
  297. package/src/components/lists/VcsList.vue +21 -12
  298. package/src/components/lists/VcsTreeviewLeaf.vue +14 -2
  299. package/src/components/notification/VcsTooltip.vue +1 -1
  300. package/src/featureInfo/abstractFeatureInfoView.js +1 -1
  301. package/src/featureInfo/addressBalloonFeatureInfoView.js +1 -1
  302. package/src/featureInfo/balloonFeatureInfoView.js +1 -1
  303. package/src/featureInfo/balloonHelper.js +6 -6
  304. package/src/featureInfo/featureInfo.js +2 -2
  305. package/src/i18n/de.js +2 -6
  306. package/src/i18n/en.js +2 -6
  307. package/src/legend/legendHelper.js +4 -3
  308. package/src/legend/vcsLegend.vue +21 -2
  309. package/src/manager/window/WindowComponent.vue +42 -4
  310. package/src/manager/window/WindowComponentHeader.vue +1 -1
  311. package/src/manager/window/windowHelper.js +7 -11
  312. package/src/manager/window/windowManager.js +15 -11
  313. package/src/navigation/mapNavCompass.vue +13 -7
  314. package/src/navigation/mapNavigation.vue +66 -4
  315. package/src/navigation/orientationToolsButton.vue +1 -1
  316. package/src/navigation/overviewMap.js +26 -10
  317. package/src/navigation/vcsCompass.vue +4 -73
  318. package/src/setup.js +1 -1
  319. package/src/vuePlugins/vuetify.js +1 -1
  320. package/dist/assets/cesium/Workers/ArcType-c9b2b290.js +0 -25
  321. package/dist/assets/cesium/Workers/AttributeCompression-7b0f288d.js +0 -25
  322. package/dist/assets/cesium/Workers/AxisAlignedBoundingBox-d0c22774.js +0 -25
  323. package/dist/assets/cesium/Workers/BoundingRectangle-201b1a81.js +0 -25
  324. package/dist/assets/cesium/Workers/BoxGeometry-4985457c.js +0 -25
  325. package/dist/assets/cesium/Workers/Color-cc8c18b3.js +0 -25
  326. package/dist/assets/cesium/Workers/ComponentDatatype-0200bf8c.js +0 -25
  327. package/dist/assets/cesium/Workers/CoplanarPolygonGeometryLibrary-4345acdf.js +0 -25
  328. package/dist/assets/cesium/Workers/CorridorGeometryLibrary-850a6c35.js +0 -25
  329. package/dist/assets/cesium/Workers/CylinderGeometry-57a1051a.js +0 -25
  330. package/dist/assets/cesium/Workers/CylinderGeometryLibrary-62ce5a1f.js +0 -25
  331. package/dist/assets/cesium/Workers/EllipseGeometry-8627398f.js +0 -25
  332. package/dist/assets/cesium/Workers/EllipseGeometryLibrary-e5919563.js +0 -25
  333. package/dist/assets/cesium/Workers/EllipseOutlineGeometry-96fd4ae1.js +0 -25
  334. package/dist/assets/cesium/Workers/EllipsoidGeodesic-8bfefbff.js +0 -25
  335. package/dist/assets/cesium/Workers/EllipsoidGeometry-377329b9.js +0 -25
  336. package/dist/assets/cesium/Workers/EllipsoidOutlineGeometry-e6e16e49.js +0 -25
  337. package/dist/assets/cesium/Workers/EllipsoidRhumbLine-03528f73.js +0 -25
  338. package/dist/assets/cesium/Workers/EllipsoidTangentPlane-c080fd1b.js +0 -25
  339. package/dist/assets/cesium/Workers/EncodedCartesian3-ea0e408f.js +0 -25
  340. package/dist/assets/cesium/Workers/FrustumGeometry-a8b5d817.js +0 -25
  341. package/dist/assets/cesium/Workers/GeometryAttribute-8458a8fd.js +0 -25
  342. package/dist/assets/cesium/Workers/GeometryAttributes-ac0f8485.js +0 -25
  343. package/dist/assets/cesium/Workers/GeometryInstance-ee3aa3ba.js +0 -25
  344. package/dist/assets/cesium/Workers/GeometryOffsetAttribute-08ae0c50.js +0 -25
  345. package/dist/assets/cesium/Workers/GeometryPipeline-33ca229c.js +0 -25
  346. package/dist/assets/cesium/Workers/IndexDatatype-e713bfd2.js +0 -25
  347. package/dist/assets/cesium/Workers/IntersectionTests-eb4db8e0.js +0 -25
  348. package/dist/assets/cesium/Workers/Matrix2-eefef8eb.js +0 -25
  349. package/dist/assets/cesium/Workers/OrientedBoundingBox-5193f9a2.js +0 -25
  350. package/dist/assets/cesium/Workers/Plane-b0299683.js +0 -25
  351. package/dist/assets/cesium/Workers/PolygonGeometryLibrary-b61295f3.js +0 -25
  352. package/dist/assets/cesium/Workers/PolygonPipeline-eb527514.js +0 -25
  353. package/dist/assets/cesium/Workers/PolylinePipeline-0f23dd84.js +0 -25
  354. package/dist/assets/cesium/Workers/PolylineVolumeGeometryLibrary-2d903430.js +0 -25
  355. package/dist/assets/cesium/Workers/PrimitivePipeline-e2640413.js +0 -25
  356. package/dist/assets/cesium/Workers/RectangleGeometryLibrary-ae8bf8a5.js +0 -25
  357. package/dist/assets/cesium/Workers/RuntimeError-5baf5c66.js +0 -25
  358. package/dist/assets/cesium/Workers/TerrainEncoding-bc10ab54.js +0 -25
  359. package/dist/assets/cesium/Workers/Transforms-d2e5867e.js +0 -63
  360. package/dist/assets/cesium/Workers/VertexFormat-5ec0d9ff.js +0 -25
  361. package/dist/assets/cesium/Workers/WallGeometryLibrary-1a33e416.js +0 -25
  362. package/dist/assets/cesium/Workers/WebGLConstants-5b50ced1.js +0 -25
  363. package/dist/assets/cesium/Workers/WebMercatorProjection-cd2f30c2.js +0 -25
  364. package/dist/assets/cesium/Workers/_commonjsHelpers-bc29abbc.js +0 -25
  365. package/dist/assets/cesium/Workers/arrayRemoveDuplicates-f13aceb1.js +0 -25
  366. package/dist/assets/cesium/Workers/combine-7533016d.js +0 -25
  367. package/dist/assets/cesium/Workers/defaultValue-0c475b81.js +0 -25
  368. package/dist/assets/cesium/Workers/package.json +0 -1
  369. package/dist/assets/ui.08c48f.css +0 -1
  370. package/plugins/@vcmap/pluginExample/config.json +0 -6
  371. package/plugins/@vcmap/pluginExample/package.json +0 -7
  372. package/plugins/categoryTest/ItemEditor.vue +0 -13
  373. package/plugins/test/allIconsComponent.vue +0 -50
  374. package/plugins/test/index.js +0 -209
  375. package/plugins/wizardExample/wizardExample.vue +0 -77
  376. package/src/components/form-inputs-controls/VcsColorPicker.vue +0 -85
@@ -1,25 +1,458 @@
1
- /**
2
- * @license
3
- * Cesium - https://github.com/CesiumGS/cesium
4
- * Version 1.97.1
5
- *
6
- * Copyright 2011-2022 Cesium Contributors
7
- *
8
- * Licensed under the Apache License, Version 2.0 (the "License");
9
- * you may not use this file except in compliance with the License.
10
- * You may obtain a copy of the License at
11
- *
12
- * http://www.apache.org/licenses/LICENSE-2.0
13
- *
14
- * Unless required by applicable law or agreed to in writing, software
15
- * distributed under the License is distributed on an "AS IS" BASIS,
16
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17
- * See the License for the specific language governing permissions and
18
- * limitations under the License.
19
- *
20
- * Columbus View (Pat. Pend.)
21
- *
22
- * Portions licensed separately.
23
- * See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
24
- */
25
- define(["./defaultValue-0c475b81","./Matrix2-eefef8eb","./ArcType-c9b2b290","./Transforms-d2e5867e","./Color-cc8c18b3","./ComponentDatatype-0200bf8c","./GeometryAttribute-8458a8fd","./GeometryAttributes-ac0f8485","./IndexDatatype-e713bfd2","./PolylinePipeline-0f23dd84","./RuntimeError-5baf5c66","./_commonjsHelpers-bc29abbc","./combine-7533016d","./WebGLConstants-5b50ced1","./EllipsoidGeodesic-8bfefbff","./EllipsoidRhumbLine-03528f73","./IntersectionTests-eb4db8e0","./Plane-b0299683"],(function(e,o,t,l,r,n,i,a,s,c,p,d,f,y,u,h,C,m){"use strict";function T(e,o,t,l,n,i,a){const s=c.PolylinePipeline.numberOfPoints(e,o,n);let p;const d=t.red,f=t.green,y=t.blue,u=t.alpha,h=l.red,C=l.green,m=l.blue,T=l.alpha;if(r.Color.equals(t,l)){for(p=0;p<s;p++)i[a++]=r.Color.floatToByte(d),i[a++]=r.Color.floatToByte(f),i[a++]=r.Color.floatToByte(y),i[a++]=r.Color.floatToByte(u);return a}const g=(h-d)/s,b=(C-f)/s,_=(m-y)/s,P=(T-u)/s;let B=a;for(p=0;p<s;p++)i[B++]=r.Color.floatToByte(d+p*g),i[B++]=r.Color.floatToByte(f+p*b),i[B++]=r.Color.floatToByte(y+p*_),i[B++]=r.Color.floatToByte(u+p*P);return B}function g(l){const i=(l=e.defaultValue(l,e.defaultValue.EMPTY_OBJECT)).positions,a=l.colors,s=e.defaultValue(l.colorsPerVertex,!1);this._positions=i,this._colors=a,this._colorsPerVertex=s,this._arcType=e.defaultValue(l.arcType,t.ArcType.GEODESIC),this._granularity=e.defaultValue(l.granularity,n.CesiumMath.RADIANS_PER_DEGREE),this._ellipsoid=e.defaultValue(l.ellipsoid,o.Ellipsoid.WGS84),this._workerName="createSimplePolylineGeometry";let c=1+i.length*o.Cartesian3.packedLength;c+=e.defined(a)?1+a.length*r.Color.packedLength:1,this.packedLength=c+o.Ellipsoid.packedLength+3}g.pack=function(t,l,n){let i;n=e.defaultValue(n,0);const a=t._positions;let s=a.length;for(l[n++]=s,i=0;i<s;++i,n+=o.Cartesian3.packedLength)o.Cartesian3.pack(a[i],l,n);const c=t._colors;for(s=e.defined(c)?c.length:0,l[n++]=s,i=0;i<s;++i,n+=r.Color.packedLength)r.Color.pack(c[i],l,n);return o.Ellipsoid.pack(t._ellipsoid,l,n),n+=o.Ellipsoid.packedLength,l[n++]=t._colorsPerVertex?1:0,l[n++]=t._arcType,l[n]=t._granularity,l},g.unpack=function(t,l,n){let i;l=e.defaultValue(l,0);let a=t[l++];const s=new Array(a);for(i=0;i<a;++i,l+=o.Cartesian3.packedLength)s[i]=o.Cartesian3.unpack(t,l);a=t[l++];const c=a>0?new Array(a):void 0;for(i=0;i<a;++i,l+=r.Color.packedLength)c[i]=r.Color.unpack(t,l);const p=o.Ellipsoid.unpack(t,l);l+=o.Ellipsoid.packedLength;const d=1===t[l++],f=t[l++],y=t[l];return e.defined(n)?(n._positions=s,n._colors=c,n._ellipsoid=p,n._colorsPerVertex=d,n._arcType=f,n._granularity=y,n):new g({positions:s,colors:c,ellipsoid:p,colorsPerVertex:d,arcType:f,granularity:y})};const b=new Array(2),_=new Array(2),P={positions:b,height:_,ellipsoid:void 0,minDistance:void 0,granularity:void 0};return g.createGeometry=function(p){const d=p._positions,f=p._colors,y=p._colorsPerVertex,u=p._arcType,h=p._granularity,C=p._ellipsoid,m=n.CesiumMath.chordLength(h,C.maximumRadius),g=e.defined(f)&&!y;let B;const A=d.length;let E,k,G,D,L=0;if(u===t.ArcType.GEODESIC||u===t.ArcType.RHUMB){let o,l,i;u===t.ArcType.GEODESIC?(o=n.CesiumMath.chordLength(h,C.maximumRadius),l=c.PolylinePipeline.numberOfPoints,i=c.PolylinePipeline.generateArc):(o=h,l=c.PolylinePipeline.numberOfPointsRhumbLine,i=c.PolylinePipeline.generateRhumbArc);const a=c.PolylinePipeline.extractHeights(d,C),s=P;if(u===t.ArcType.GEODESIC?s.minDistance=m:s.granularity=h,s.ellipsoid=C,g){let t=0;for(B=0;B<A-1;B++)t+=l(d[B],d[B+1],o)+1;E=new Float64Array(3*t),G=new Uint8Array(4*t),s.positions=b,s.height=_;let n=0;for(B=0;B<A-1;++B){b[0]=d[B],b[1]=d[B+1],_[0]=a[B],_[1]=a[B+1];const o=i(s);if(e.defined(f)){const e=o.length/3;D=f[B];for(let o=0;o<e;++o)G[n++]=r.Color.floatToByte(D.red),G[n++]=r.Color.floatToByte(D.green),G[n++]=r.Color.floatToByte(D.blue),G[n++]=r.Color.floatToByte(D.alpha)}E.set(o,L),L+=o.length}}else if(s.positions=d,s.height=a,E=new Float64Array(i(s)),e.defined(f)){for(G=new Uint8Array(E.length/3*4),B=0;B<A-1;++B){L=T(d[B],d[B+1],f[B],f[B+1],m,G,L)}const e=f[A-1];G[L++]=r.Color.floatToByte(e.red),G[L++]=r.Color.floatToByte(e.green),G[L++]=r.Color.floatToByte(e.blue),G[L++]=r.Color.floatToByte(e.alpha)}}else{k=g?2*A-2:A,E=new Float64Array(3*k),G=e.defined(f)?new Uint8Array(4*k):void 0;let t=0,l=0;for(B=0;B<A;++B){const n=d[B];if(g&&B>0&&(o.Cartesian3.pack(n,E,t),t+=3,D=f[B-1],G[l++]=r.Color.floatToByte(D.red),G[l++]=r.Color.floatToByte(D.green),G[l++]=r.Color.floatToByte(D.blue),G[l++]=r.Color.floatToByte(D.alpha)),g&&B===A-1)break;o.Cartesian3.pack(n,E,t),t+=3,e.defined(f)&&(D=f[B],G[l++]=r.Color.floatToByte(D.red),G[l++]=r.Color.floatToByte(D.green),G[l++]=r.Color.floatToByte(D.blue),G[l++]=r.Color.floatToByte(D.alpha))}}const w=new a.GeometryAttributes;w.position=new i.GeometryAttribute({componentDatatype:n.ComponentDatatype.DOUBLE,componentsPerAttribute:3,values:E}),e.defined(f)&&(w.color=new i.GeometryAttribute({componentDatatype:n.ComponentDatatype.UNSIGNED_BYTE,componentsPerAttribute:4,values:G,normalize:!0})),k=E.length/3;const V=2*(k-1),x=s.IndexDatatype.createTypedArray(k,V);let S=0;for(B=0;B<k-1;++B)x[S++]=B,x[S++]=B+1;return new i.Geometry({attributes:w,indices:x,primitiveType:i.PrimitiveType.LINES,boundingSphere:l.BoundingSphere.fromPoints(d)})},function(t,l){return e.defined(l)&&(t=g.unpack(t,l)),t._ellipsoid=o.Ellipsoid.clone(t._ellipsoid),g.createGeometry(t)}}));
1
+ define(['./defaultValue-0a909f67', './Matrix3-315394f6', './ArcType-ce2e50ab', './Transforms-40229881', './Color-a84038cb', './ComponentDatatype-f7b11d02', './Check-666ab1a0', './GeometryAttribute-7d6f1732', './GeometryAttributes-f06a2792', './IndexDatatype-a55ceaa1', './Math-2dbd6b93', './PolylinePipeline-32f36d2a', './Matrix2-13178034', './RuntimeError-06c93819', './combine-ca22a614', './WebGLConstants-a8cc3e8c', './EllipsoidGeodesic-98c62a56', './EllipsoidRhumbLine-19756602', './IntersectionTests-f6e6bd8a', './Plane-900aa728'], (function (defaultValue, Matrix3, ArcType, Transforms, Color, ComponentDatatype, Check, GeometryAttribute, GeometryAttributes, IndexDatatype, Math, PolylinePipeline, Matrix2, RuntimeError, combine, WebGLConstants, EllipsoidGeodesic, EllipsoidRhumbLine, IntersectionTests, Plane) { 'use strict';
2
+
3
+ function interpolateColors(p0, p1, color0, color1, minDistance, array, offset) {
4
+ const numPoints = PolylinePipeline.PolylinePipeline.numberOfPoints(p0, p1, minDistance);
5
+ let i;
6
+
7
+ const r0 = color0.red;
8
+ const g0 = color0.green;
9
+ const b0 = color0.blue;
10
+ const a0 = color0.alpha;
11
+
12
+ const r1 = color1.red;
13
+ const g1 = color1.green;
14
+ const b1 = color1.blue;
15
+ const a1 = color1.alpha;
16
+
17
+ if (Color.Color.equals(color0, color1)) {
18
+ for (i = 0; i < numPoints; i++) {
19
+ array[offset++] = Color.Color.floatToByte(r0);
20
+ array[offset++] = Color.Color.floatToByte(g0);
21
+ array[offset++] = Color.Color.floatToByte(b0);
22
+ array[offset++] = Color.Color.floatToByte(a0);
23
+ }
24
+ return offset;
25
+ }
26
+
27
+ const redPerVertex = (r1 - r0) / numPoints;
28
+ const greenPerVertex = (g1 - g0) / numPoints;
29
+ const bluePerVertex = (b1 - b0) / numPoints;
30
+ const alphaPerVertex = (a1 - a0) / numPoints;
31
+
32
+ let index = offset;
33
+ for (i = 0; i < numPoints; i++) {
34
+ array[index++] = Color.Color.floatToByte(r0 + i * redPerVertex);
35
+ array[index++] = Color.Color.floatToByte(g0 + i * greenPerVertex);
36
+ array[index++] = Color.Color.floatToByte(b0 + i * bluePerVertex);
37
+ array[index++] = Color.Color.floatToByte(a0 + i * alphaPerVertex);
38
+ }
39
+
40
+ return index;
41
+ }
42
+
43
+ /**
44
+ * A description of a polyline modeled as a line strip; the first two positions define a line segment,
45
+ * and each additional position defines a line segment from the previous position.
46
+ *
47
+ * @alias SimplePolylineGeometry
48
+ * @constructor
49
+ *
50
+ * @param {Object} options Object with the following properties:
51
+ * @param {Cartesian3[]} options.positions An array of {@link Cartesian3} defining the positions in the polyline as a line strip.
52
+ * @param {Color[]} [options.colors] An Array of {@link Color} defining the per vertex or per segment colors.
53
+ * @param {Boolean} [options.colorsPerVertex=false] A boolean that determines whether the colors will be flat across each segment of the line or interpolated across the vertices.
54
+ * @param {ArcType} [options.arcType=ArcType.GEODESIC] The type of line the polyline segments must follow.
55
+ * @param {Number} [options.granularity=CesiumMath.RADIANS_PER_DEGREE] The distance, in radians, between each latitude and longitude if options.arcType is not ArcType.NONE. Determines the number of positions in the buffer.
56
+ * @param {Ellipsoid} [options.ellipsoid=Ellipsoid.WGS84] The ellipsoid to be used as a reference.
57
+ *
58
+ * @exception {DeveloperError} At least two positions are required.
59
+ * @exception {DeveloperError} colors has an invalid length.
60
+ *
61
+ * @see SimplePolylineGeometry#createGeometry
62
+ *
63
+ * @example
64
+ * // A polyline with two connected line segments
65
+ * const polyline = new Cesium.SimplePolylineGeometry({
66
+ * positions : Cesium.Cartesian3.fromDegreesArray([
67
+ * 0.0, 0.0,
68
+ * 5.0, 0.0,
69
+ * 5.0, 5.0
70
+ * ])
71
+ * });
72
+ * const geometry = Cesium.SimplePolylineGeometry.createGeometry(polyline);
73
+ */
74
+ function SimplePolylineGeometry(options) {
75
+ options = defaultValue.defaultValue(options, defaultValue.defaultValue.EMPTY_OBJECT);
76
+ const positions = options.positions;
77
+ const colors = options.colors;
78
+ const colorsPerVertex = defaultValue.defaultValue(options.colorsPerVertex, false);
79
+
80
+ //>>includeStart('debug', pragmas.debug);
81
+ if (!defaultValue.defined(positions) || positions.length < 2) {
82
+ throw new Check.DeveloperError("At least two positions are required.");
83
+ }
84
+ if (
85
+ defaultValue.defined(colors) &&
86
+ ((colorsPerVertex && colors.length < positions.length) ||
87
+ (!colorsPerVertex && colors.length < positions.length - 1))
88
+ ) {
89
+ throw new Check.DeveloperError("colors has an invalid length.");
90
+ }
91
+ //>>includeEnd('debug');
92
+
93
+ this._positions = positions;
94
+ this._colors = colors;
95
+ this._colorsPerVertex = colorsPerVertex;
96
+
97
+ this._arcType = defaultValue.defaultValue(options.arcType, ArcType.ArcType.GEODESIC);
98
+ this._granularity = defaultValue.defaultValue(
99
+ options.granularity,
100
+ Math.CesiumMath.RADIANS_PER_DEGREE
101
+ );
102
+ this._ellipsoid = defaultValue.defaultValue(options.ellipsoid, Matrix3.Ellipsoid.WGS84);
103
+ this._workerName = "createSimplePolylineGeometry";
104
+
105
+ let numComponents = 1 + positions.length * Matrix3.Cartesian3.packedLength;
106
+ numComponents += defaultValue.defined(colors) ? 1 + colors.length * Color.Color.packedLength : 1;
107
+
108
+ /**
109
+ * The number of elements used to pack the object into an array.
110
+ * @type {Number}
111
+ */
112
+ this.packedLength = numComponents + Matrix3.Ellipsoid.packedLength + 3;
113
+ }
114
+
115
+ /**
116
+ * Stores the provided instance into the provided array.
117
+ *
118
+ * @param {SimplePolylineGeometry} value The value to pack.
119
+ * @param {Number[]} array The array to pack into.
120
+ * @param {Number} [startingIndex=0] The index into the array at which to start packing the elements.
121
+ *
122
+ * @returns {Number[]} The array that was packed into
123
+ */
124
+ SimplePolylineGeometry.pack = function (value, array, startingIndex) {
125
+ //>>includeStart('debug', pragmas.debug);
126
+ if (!defaultValue.defined(value)) {
127
+ throw new Check.DeveloperError("value is required");
128
+ }
129
+ if (!defaultValue.defined(array)) {
130
+ throw new Check.DeveloperError("array is required");
131
+ }
132
+ //>>includeEnd('debug');
133
+
134
+ startingIndex = defaultValue.defaultValue(startingIndex, 0);
135
+
136
+ let i;
137
+
138
+ const positions = value._positions;
139
+ let length = positions.length;
140
+ array[startingIndex++] = length;
141
+
142
+ for (i = 0; i < length; ++i, startingIndex += Matrix3.Cartesian3.packedLength) {
143
+ Matrix3.Cartesian3.pack(positions[i], array, startingIndex);
144
+ }
145
+
146
+ const colors = value._colors;
147
+ length = defaultValue.defined(colors) ? colors.length : 0.0;
148
+ array[startingIndex++] = length;
149
+
150
+ for (i = 0; i < length; ++i, startingIndex += Color.Color.packedLength) {
151
+ Color.Color.pack(colors[i], array, startingIndex);
152
+ }
153
+
154
+ Matrix3.Ellipsoid.pack(value._ellipsoid, array, startingIndex);
155
+ startingIndex += Matrix3.Ellipsoid.packedLength;
156
+
157
+ array[startingIndex++] = value._colorsPerVertex ? 1.0 : 0.0;
158
+ array[startingIndex++] = value._arcType;
159
+ array[startingIndex] = value._granularity;
160
+
161
+ return array;
162
+ };
163
+
164
+ /**
165
+ * Retrieves an instance from a packed array.
166
+ *
167
+ * @param {Number[]} array The packed array.
168
+ * @param {Number} [startingIndex=0] The starting index of the element to be unpacked.
169
+ * @param {SimplePolylineGeometry} [result] The object into which to store the result.
170
+ * @returns {SimplePolylineGeometry} The modified result parameter or a new SimplePolylineGeometry instance if one was not provided.
171
+ */
172
+ SimplePolylineGeometry.unpack = function (array, startingIndex, result) {
173
+ //>>includeStart('debug', pragmas.debug);
174
+ if (!defaultValue.defined(array)) {
175
+ throw new Check.DeveloperError("array is required");
176
+ }
177
+ //>>includeEnd('debug');
178
+
179
+ startingIndex = defaultValue.defaultValue(startingIndex, 0);
180
+
181
+ let i;
182
+
183
+ let length = array[startingIndex++];
184
+ const positions = new Array(length);
185
+
186
+ for (i = 0; i < length; ++i, startingIndex += Matrix3.Cartesian3.packedLength) {
187
+ positions[i] = Matrix3.Cartesian3.unpack(array, startingIndex);
188
+ }
189
+
190
+ length = array[startingIndex++];
191
+ const colors = length > 0 ? new Array(length) : undefined;
192
+
193
+ for (i = 0; i < length; ++i, startingIndex += Color.Color.packedLength) {
194
+ colors[i] = Color.Color.unpack(array, startingIndex);
195
+ }
196
+
197
+ const ellipsoid = Matrix3.Ellipsoid.unpack(array, startingIndex);
198
+ startingIndex += Matrix3.Ellipsoid.packedLength;
199
+
200
+ const colorsPerVertex = array[startingIndex++] === 1.0;
201
+ const arcType = array[startingIndex++];
202
+ const granularity = array[startingIndex];
203
+
204
+ if (!defaultValue.defined(result)) {
205
+ return new SimplePolylineGeometry({
206
+ positions: positions,
207
+ colors: colors,
208
+ ellipsoid: ellipsoid,
209
+ colorsPerVertex: colorsPerVertex,
210
+ arcType: arcType,
211
+ granularity: granularity,
212
+ });
213
+ }
214
+
215
+ result._positions = positions;
216
+ result._colors = colors;
217
+ result._ellipsoid = ellipsoid;
218
+ result._colorsPerVertex = colorsPerVertex;
219
+ result._arcType = arcType;
220
+ result._granularity = granularity;
221
+
222
+ return result;
223
+ };
224
+
225
+ const scratchArray1 = new Array(2);
226
+ const scratchArray2 = new Array(2);
227
+ const generateArcOptionsScratch = {
228
+ positions: scratchArray1,
229
+ height: scratchArray2,
230
+ ellipsoid: undefined,
231
+ minDistance: undefined,
232
+ granularity: undefined,
233
+ };
234
+
235
+ /**
236
+ * Computes the geometric representation of a simple polyline, including its vertices, indices, and a bounding sphere.
237
+ *
238
+ * @param {SimplePolylineGeometry} simplePolylineGeometry A description of the polyline.
239
+ * @returns {Geometry|undefined} The computed vertices and indices.
240
+ */
241
+ SimplePolylineGeometry.createGeometry = function (simplePolylineGeometry) {
242
+ const positions = simplePolylineGeometry._positions;
243
+ const colors = simplePolylineGeometry._colors;
244
+ const colorsPerVertex = simplePolylineGeometry._colorsPerVertex;
245
+ const arcType = simplePolylineGeometry._arcType;
246
+ const granularity = simplePolylineGeometry._granularity;
247
+ const ellipsoid = simplePolylineGeometry._ellipsoid;
248
+
249
+ const minDistance = Math.CesiumMath.chordLength(
250
+ granularity,
251
+ ellipsoid.maximumRadius
252
+ );
253
+ const perSegmentColors = defaultValue.defined(colors) && !colorsPerVertex;
254
+
255
+ let i;
256
+ const length = positions.length;
257
+
258
+ let positionValues;
259
+ let numberOfPositions;
260
+ let colorValues;
261
+ let color;
262
+ let offset = 0;
263
+
264
+ if (arcType === ArcType.ArcType.GEODESIC || arcType === ArcType.ArcType.RHUMB) {
265
+ let subdivisionSize;
266
+ let numberOfPointsFunction;
267
+ let generateArcFunction;
268
+ if (arcType === ArcType.ArcType.GEODESIC) {
269
+ subdivisionSize = Math.CesiumMath.chordLength(
270
+ granularity,
271
+ ellipsoid.maximumRadius
272
+ );
273
+ numberOfPointsFunction = PolylinePipeline.PolylinePipeline.numberOfPoints;
274
+ generateArcFunction = PolylinePipeline.PolylinePipeline.generateArc;
275
+ } else {
276
+ subdivisionSize = granularity;
277
+ numberOfPointsFunction = PolylinePipeline.PolylinePipeline.numberOfPointsRhumbLine;
278
+ generateArcFunction = PolylinePipeline.PolylinePipeline.generateRhumbArc;
279
+ }
280
+
281
+ const heights = PolylinePipeline.PolylinePipeline.extractHeights(positions, ellipsoid);
282
+
283
+ const generateArcOptions = generateArcOptionsScratch;
284
+ if (arcType === ArcType.ArcType.GEODESIC) {
285
+ generateArcOptions.minDistance = minDistance;
286
+ } else {
287
+ generateArcOptions.granularity = granularity;
288
+ }
289
+ generateArcOptions.ellipsoid = ellipsoid;
290
+
291
+ if (perSegmentColors) {
292
+ let positionCount = 0;
293
+ for (i = 0; i < length - 1; i++) {
294
+ positionCount +=
295
+ numberOfPointsFunction(
296
+ positions[i],
297
+ positions[i + 1],
298
+ subdivisionSize
299
+ ) + 1;
300
+ }
301
+
302
+ positionValues = new Float64Array(positionCount * 3);
303
+ colorValues = new Uint8Array(positionCount * 4);
304
+
305
+ generateArcOptions.positions = scratchArray1;
306
+ generateArcOptions.height = scratchArray2;
307
+
308
+ let ci = 0;
309
+ for (i = 0; i < length - 1; ++i) {
310
+ scratchArray1[0] = positions[i];
311
+ scratchArray1[1] = positions[i + 1];
312
+
313
+ scratchArray2[0] = heights[i];
314
+ scratchArray2[1] = heights[i + 1];
315
+
316
+ const pos = generateArcFunction(generateArcOptions);
317
+
318
+ if (defaultValue.defined(colors)) {
319
+ const segLen = pos.length / 3;
320
+ color = colors[i];
321
+ for (let k = 0; k < segLen; ++k) {
322
+ colorValues[ci++] = Color.Color.floatToByte(color.red);
323
+ colorValues[ci++] = Color.Color.floatToByte(color.green);
324
+ colorValues[ci++] = Color.Color.floatToByte(color.blue);
325
+ colorValues[ci++] = Color.Color.floatToByte(color.alpha);
326
+ }
327
+ }
328
+
329
+ positionValues.set(pos, offset);
330
+ offset += pos.length;
331
+ }
332
+ } else {
333
+ generateArcOptions.positions = positions;
334
+ generateArcOptions.height = heights;
335
+ positionValues = new Float64Array(
336
+ generateArcFunction(generateArcOptions)
337
+ );
338
+
339
+ if (defaultValue.defined(colors)) {
340
+ colorValues = new Uint8Array((positionValues.length / 3) * 4);
341
+
342
+ for (i = 0; i < length - 1; ++i) {
343
+ const p0 = positions[i];
344
+ const p1 = positions[i + 1];
345
+ const c0 = colors[i];
346
+ const c1 = colors[i + 1];
347
+ offset = interpolateColors(
348
+ p0,
349
+ p1,
350
+ c0,
351
+ c1,
352
+ minDistance,
353
+ colorValues,
354
+ offset
355
+ );
356
+ }
357
+
358
+ const lastColor = colors[length - 1];
359
+ colorValues[offset++] = Color.Color.floatToByte(lastColor.red);
360
+ colorValues[offset++] = Color.Color.floatToByte(lastColor.green);
361
+ colorValues[offset++] = Color.Color.floatToByte(lastColor.blue);
362
+ colorValues[offset++] = Color.Color.floatToByte(lastColor.alpha);
363
+ }
364
+ }
365
+ } else {
366
+ numberOfPositions = perSegmentColors ? length * 2 - 2 : length;
367
+ positionValues = new Float64Array(numberOfPositions * 3);
368
+ colorValues = defaultValue.defined(colors)
369
+ ? new Uint8Array(numberOfPositions * 4)
370
+ : undefined;
371
+
372
+ let positionIndex = 0;
373
+ let colorIndex = 0;
374
+
375
+ for (i = 0; i < length; ++i) {
376
+ const p = positions[i];
377
+
378
+ if (perSegmentColors && i > 0) {
379
+ Matrix3.Cartesian3.pack(p, positionValues, positionIndex);
380
+ positionIndex += 3;
381
+
382
+ color = colors[i - 1];
383
+ colorValues[colorIndex++] = Color.Color.floatToByte(color.red);
384
+ colorValues[colorIndex++] = Color.Color.floatToByte(color.green);
385
+ colorValues[colorIndex++] = Color.Color.floatToByte(color.blue);
386
+ colorValues[colorIndex++] = Color.Color.floatToByte(color.alpha);
387
+ }
388
+
389
+ if (perSegmentColors && i === length - 1) {
390
+ break;
391
+ }
392
+
393
+ Matrix3.Cartesian3.pack(p, positionValues, positionIndex);
394
+ positionIndex += 3;
395
+
396
+ if (defaultValue.defined(colors)) {
397
+ color = colors[i];
398
+ colorValues[colorIndex++] = Color.Color.floatToByte(color.red);
399
+ colorValues[colorIndex++] = Color.Color.floatToByte(color.green);
400
+ colorValues[colorIndex++] = Color.Color.floatToByte(color.blue);
401
+ colorValues[colorIndex++] = Color.Color.floatToByte(color.alpha);
402
+ }
403
+ }
404
+ }
405
+
406
+ const attributes = new GeometryAttributes.GeometryAttributes();
407
+ attributes.position = new GeometryAttribute.GeometryAttribute({
408
+ componentDatatype: ComponentDatatype.ComponentDatatype.DOUBLE,
409
+ componentsPerAttribute: 3,
410
+ values: positionValues,
411
+ });
412
+
413
+ if (defaultValue.defined(colors)) {
414
+ attributes.color = new GeometryAttribute.GeometryAttribute({
415
+ componentDatatype: ComponentDatatype.ComponentDatatype.UNSIGNED_BYTE,
416
+ componentsPerAttribute: 4,
417
+ values: colorValues,
418
+ normalize: true,
419
+ });
420
+ }
421
+
422
+ numberOfPositions = positionValues.length / 3;
423
+ const numberOfIndices = (numberOfPositions - 1) * 2;
424
+ const indices = IndexDatatype.IndexDatatype.createTypedArray(
425
+ numberOfPositions,
426
+ numberOfIndices
427
+ );
428
+
429
+ let index = 0;
430
+ for (i = 0; i < numberOfPositions - 1; ++i) {
431
+ indices[index++] = i;
432
+ indices[index++] = i + 1;
433
+ }
434
+
435
+ return new GeometryAttribute.Geometry({
436
+ attributes: attributes,
437
+ indices: indices,
438
+ primitiveType: GeometryAttribute.PrimitiveType.LINES,
439
+ boundingSphere: Transforms.BoundingSphere.fromPoints(positions),
440
+ });
441
+ };
442
+
443
+ function createSimplePolylineGeometry(simplePolylineGeometry, offset) {
444
+ if (defaultValue.defined(offset)) {
445
+ simplePolylineGeometry = SimplePolylineGeometry.unpack(
446
+ simplePolylineGeometry,
447
+ offset
448
+ );
449
+ }
450
+ simplePolylineGeometry._ellipsoid = Matrix3.Ellipsoid.clone(
451
+ simplePolylineGeometry._ellipsoid
452
+ );
453
+ return SimplePolylineGeometry.createGeometry(simplePolylineGeometry);
454
+ }
455
+
456
+ return createSimplePolylineGeometry;
457
+
458
+ }));
@@ -1,25 +1,123 @@
1
- /**
2
- * @license
3
- * Cesium - https://github.com/CesiumGS/cesium
4
- * Version 1.97.1
5
- *
6
- * Copyright 2011-2022 Cesium Contributors
7
- *
8
- * Licensed under the Apache License, Version 2.0 (the "License");
9
- * you may not use this file except in compliance with the License.
10
- * You may obtain a copy of the License at
11
- *
12
- * http://www.apache.org/licenses/LICENSE-2.0
13
- *
14
- * Unless required by applicable law or agreed to in writing, software
15
- * distributed under the License is distributed on an "AS IS" BASIS,
16
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17
- * See the License for the specific language governing permissions and
18
- * limitations under the License.
19
- *
20
- * Columbus View (Pat. Pend.)
21
- *
22
- * Portions licensed separately.
23
- * See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
24
- */
25
- define(["./defaultValue-0c475b81","./Matrix2-eefef8eb","./EllipsoidGeometry-377329b9","./VertexFormat-5ec0d9ff","./ComponentDatatype-0200bf8c","./WebGLConstants-5b50ced1","./RuntimeError-5baf5c66","./Transforms-d2e5867e","./_commonjsHelpers-bc29abbc","./combine-7533016d","./GeometryAttribute-8458a8fd","./GeometryAttributes-ac0f8485","./GeometryOffsetAttribute-08ae0c50","./IndexDatatype-e713bfd2"],(function(e,t,i,r,o,a,n,s,c,d,l,m,u,p){"use strict";function f(r){const o=e.defaultValue(r.radius,1),a={radii:new t.Cartesian3(o,o,o),stackPartitions:r.stackPartitions,slicePartitions:r.slicePartitions,vertexFormat:r.vertexFormat};this._ellipsoidGeometry=new i.EllipsoidGeometry(a),this._workerName="createSphereGeometry"}f.packedLength=i.EllipsoidGeometry.packedLength,f.pack=function(e,t,r){return i.EllipsoidGeometry.pack(e._ellipsoidGeometry,t,r)};const y=new i.EllipsoidGeometry,G={radius:void 0,radii:new t.Cartesian3,vertexFormat:new r.VertexFormat,stackPartitions:void 0,slicePartitions:void 0};return f.unpack=function(o,a,n){const s=i.EllipsoidGeometry.unpack(o,a,y);return G.vertexFormat=r.VertexFormat.clone(s._vertexFormat,G.vertexFormat),G.stackPartitions=s._stackPartitions,G.slicePartitions=s._slicePartitions,e.defined(n)?(t.Cartesian3.clone(s._radii,G.radii),n._ellipsoidGeometry=new i.EllipsoidGeometry(G),n):(G.radius=s._radii.x,new f(G))},f.createGeometry=function(e){return i.EllipsoidGeometry.createGeometry(e._ellipsoidGeometry)},function(t,i){return e.defined(i)&&(t=f.unpack(t,i)),f.createGeometry(t)}}));
1
+ define(['./defaultValue-0a909f67', './Matrix3-315394f6', './Check-666ab1a0', './EllipsoidGeometry-21c0e3a5', './VertexFormat-6b480673', './Math-2dbd6b93', './Transforms-40229881', './Matrix2-13178034', './RuntimeError-06c93819', './combine-ca22a614', './ComponentDatatype-f7b11d02', './WebGLConstants-a8cc3e8c', './GeometryAttribute-7d6f1732', './GeometryAttributes-f06a2792', './GeometryOffsetAttribute-04332ce7', './IndexDatatype-a55ceaa1'], (function (defaultValue, Matrix3, Check, EllipsoidGeometry, VertexFormat, Math, Transforms, Matrix2, RuntimeError, combine, ComponentDatatype, WebGLConstants, GeometryAttribute, GeometryAttributes, GeometryOffsetAttribute, IndexDatatype) { 'use strict';
2
+
3
+ /**
4
+ * A description of a sphere centered at the origin.
5
+ *
6
+ * @alias SphereGeometry
7
+ * @constructor
8
+ *
9
+ * @param {Object} [options] Object with the following properties:
10
+ * @param {Number} [options.radius=1.0] The radius of the sphere.
11
+ * @param {Number} [options.stackPartitions=64] The number of times to partition the ellipsoid into stacks.
12
+ * @param {Number} [options.slicePartitions=64] The number of times to partition the ellipsoid into radial slices.
13
+ * @param {VertexFormat} [options.vertexFormat=VertexFormat.DEFAULT] The vertex attributes to be computed.
14
+ *
15
+ * @exception {DeveloperError} options.slicePartitions cannot be less than three.
16
+ * @exception {DeveloperError} options.stackPartitions cannot be less than three.
17
+ *
18
+ * @see SphereGeometry#createGeometry
19
+ *
20
+ * @example
21
+ * const sphere = new Cesium.SphereGeometry({
22
+ * radius : 100.0,
23
+ * vertexFormat : Cesium.VertexFormat.POSITION_ONLY
24
+ * });
25
+ * const geometry = Cesium.SphereGeometry.createGeometry(sphere);
26
+ */
27
+ function SphereGeometry(options) {
28
+ const radius = defaultValue.defaultValue(options.radius, 1.0);
29
+ const radii = new Matrix3.Cartesian3(radius, radius, radius);
30
+ const ellipsoidOptions = {
31
+ radii: radii,
32
+ stackPartitions: options.stackPartitions,
33
+ slicePartitions: options.slicePartitions,
34
+ vertexFormat: options.vertexFormat,
35
+ };
36
+
37
+ this._ellipsoidGeometry = new EllipsoidGeometry.EllipsoidGeometry(ellipsoidOptions);
38
+ this._workerName = "createSphereGeometry";
39
+ }
40
+
41
+ /**
42
+ * The number of elements used to pack the object into an array.
43
+ * @type {Number}
44
+ */
45
+ SphereGeometry.packedLength = EllipsoidGeometry.EllipsoidGeometry.packedLength;
46
+
47
+ /**
48
+ * Stores the provided instance into the provided array.
49
+ *
50
+ * @param {SphereGeometry} value The value to pack.
51
+ * @param {Number[]} array The array to pack into.
52
+ * @param {Number} [startingIndex=0] The index into the array at which to start packing the elements.
53
+ *
54
+ * @returns {Number[]} The array that was packed into
55
+ */
56
+ SphereGeometry.pack = function (value, array, startingIndex) {
57
+ //>>includeStart('debug', pragmas.debug);
58
+ Check.Check.typeOf.object("value", value);
59
+ //>>includeEnd('debug');
60
+
61
+ return EllipsoidGeometry.EllipsoidGeometry.pack(value._ellipsoidGeometry, array, startingIndex);
62
+ };
63
+
64
+ const scratchEllipsoidGeometry = new EllipsoidGeometry.EllipsoidGeometry();
65
+ const scratchOptions = {
66
+ radius: undefined,
67
+ radii: new Matrix3.Cartesian3(),
68
+ vertexFormat: new VertexFormat.VertexFormat(),
69
+ stackPartitions: undefined,
70
+ slicePartitions: undefined,
71
+ };
72
+
73
+ /**
74
+ * Retrieves an instance from a packed array.
75
+ *
76
+ * @param {Number[]} array The packed array.
77
+ * @param {Number} [startingIndex=0] The starting index of the element to be unpacked.
78
+ * @param {SphereGeometry} [result] The object into which to store the result.
79
+ * @returns {SphereGeometry} The modified result parameter or a new SphereGeometry instance if one was not provided.
80
+ */
81
+ SphereGeometry.unpack = function (array, startingIndex, result) {
82
+ const ellipsoidGeometry = EllipsoidGeometry.EllipsoidGeometry.unpack(
83
+ array,
84
+ startingIndex,
85
+ scratchEllipsoidGeometry
86
+ );
87
+ scratchOptions.vertexFormat = VertexFormat.VertexFormat.clone(
88
+ ellipsoidGeometry._vertexFormat,
89
+ scratchOptions.vertexFormat
90
+ );
91
+ scratchOptions.stackPartitions = ellipsoidGeometry._stackPartitions;
92
+ scratchOptions.slicePartitions = ellipsoidGeometry._slicePartitions;
93
+
94
+ if (!defaultValue.defined(result)) {
95
+ scratchOptions.radius = ellipsoidGeometry._radii.x;
96
+ return new SphereGeometry(scratchOptions);
97
+ }
98
+
99
+ Matrix3.Cartesian3.clone(ellipsoidGeometry._radii, scratchOptions.radii);
100
+ result._ellipsoidGeometry = new EllipsoidGeometry.EllipsoidGeometry(scratchOptions);
101
+ return result;
102
+ };
103
+
104
+ /**
105
+ * Computes the geometric representation of a sphere, including its vertices, indices, and a bounding sphere.
106
+ *
107
+ * @param {SphereGeometry} sphereGeometry A description of the sphere.
108
+ * @returns {Geometry|undefined} The computed vertices and indices.
109
+ */
110
+ SphereGeometry.createGeometry = function (sphereGeometry) {
111
+ return EllipsoidGeometry.EllipsoidGeometry.createGeometry(sphereGeometry._ellipsoidGeometry);
112
+ };
113
+
114
+ function createSphereGeometry(sphereGeometry, offset) {
115
+ if (defaultValue.defined(offset)) {
116
+ sphereGeometry = SphereGeometry.unpack(sphereGeometry, offset);
117
+ }
118
+ return SphereGeometry.createGeometry(sphereGeometry);
119
+ }
120
+
121
+ return createSphereGeometry;
122
+
123
+ }));