@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.
- package/build/buildHelpers.js +4 -3
- package/config/base.config.json +5 -4
- package/config/dev.config.json +4 -0
- package/config/graphFeatureInfo.config.json +1 -1
- package/config/projects.config.json +2 -2
- package/dist/assets/cesium/ThirdParty/Workers/basis_transcoder.js +1 -1
- package/dist/assets/cesium/Workers/chunk-227AJNOA.js +59 -0
- package/dist/assets/cesium/Workers/chunk-2R5O53JW.js +157 -0
- package/dist/assets/cesium/Workers/chunk-34YUDLRP.js +781 -0
- package/dist/assets/cesium/Workers/chunk-3W63OHNJ.js +100 -0
- package/dist/assets/cesium/Workers/chunk-4MFFIWUA.js +163 -0
- package/dist/assets/cesium/Workers/chunk-66QLLS45.js +218 -0
- package/dist/assets/cesium/Workers/chunk-6BTKZDRG.js +77 -0
- package/dist/assets/cesium/Workers/chunk-A4JVFBQ3.js +101 -0
- package/dist/assets/cesium/Workers/chunk-ABADGKYE.js +58 -0
- package/dist/assets/cesium/Workers/chunk-AFFLIKOH.js +353 -0
- package/dist/assets/cesium/Workers/chunk-AHKEZ2OE.js +629 -0
- package/dist/assets/cesium/Workers/chunk-C3SXRKRW.js +476 -0
- package/dist/assets/cesium/Workers/chunk-CCFQRR6D.js +55 -0
- package/dist/assets/cesium/Workers/chunk-CHHNOC2C.js +1860 -0
- package/dist/assets/cesium/Workers/chunk-CTELOFLA.js +196 -0
- package/dist/assets/cesium/Workers/chunk-DUHWWBQQ.js +3273 -0
- package/dist/assets/cesium/Workers/chunk-EW2GWJYB.js +44 -0
- package/dist/assets/cesium/Workers/chunk-GLZBE3ML.js +421 -0
- package/dist/assets/cesium/Workers/chunk-HARLBUOL.js +236 -0
- package/dist/assets/cesium/Workers/chunk-HQF437NJ.js +117 -0
- package/dist/assets/cesium/Workers/chunk-IPA4EACJ.js +368 -0
- package/dist/assets/cesium/Workers/chunk-J3JY6I2C.js +1009 -0
- package/dist/assets/cesium/Workers/chunk-JB2LWGH4.js +390 -0
- package/dist/assets/cesium/Workers/chunk-JS3AW5BK.js +634 -0
- package/dist/assets/cesium/Workers/chunk-K36FEYS7.js +452 -0
- package/dist/assets/cesium/Workers/chunk-KD4Y7CZL.js +400 -0
- package/dist/assets/cesium/Workers/chunk-KTJSNCK4.js +842 -0
- package/dist/assets/cesium/Workers/chunk-LLUNNUJV.js +258 -0
- package/dist/assets/cesium/Workers/{package.js → chunk-MPAZH4BF.js} +13 -2
- package/dist/assets/cesium/Workers/chunk-MYZB7C4T.js +1258 -0
- package/dist/assets/cesium/Workers/chunk-N3JIFFX2.js +501 -0
- package/dist/assets/cesium/Workers/chunk-O5AMBQ36.js +430 -0
- package/dist/assets/cesium/Workers/chunk-OAVNIRB4.js +124 -0
- package/dist/assets/cesium/Workers/chunk-OYFCF4PL.js +171 -0
- package/dist/assets/cesium/Workers/chunk-OZJDGN5F.js +1477 -0
- package/dist/assets/cesium/Workers/chunk-PCJWUS4M.js +2041 -0
- package/dist/assets/cesium/Workers/chunk-PFQBCKBM.js +8644 -0
- package/dist/assets/cesium/Workers/chunk-QIKODV5G.js +305 -0
- package/dist/assets/cesium/Workers/chunk-QJ3DFBH3.js +73 -0
- package/dist/assets/cesium/Workers/chunk-QMEMZIJI.js +138 -0
- package/dist/assets/cesium/Workers/chunk-QT3MPEMI.js +102 -0
- package/dist/assets/cesium/Workers/chunk-RP2A7BR5.js +289 -0
- package/dist/assets/cesium/Workers/chunk-RW6LU2CJ.js +138 -0
- package/dist/assets/cesium/Workers/chunk-TFC6TZ3S.js +757 -0
- package/dist/assets/cesium/Workers/chunk-V3NGATMV.js +693 -0
- package/dist/assets/cesium/Workers/chunk-VLGOATD6.js +1075 -0
- package/dist/assets/cesium/Workers/chunk-WXTV4ATB.js +39 -0
- package/dist/assets/cesium/Workers/chunk-X4SU25DT.js +302 -0
- package/dist/assets/cesium/Workers/chunk-XTY7B2N6.js +2716 -0
- package/dist/assets/cesium/Workers/chunk-XY7MGBKC.js +513 -0
- package/dist/assets/cesium/Workers/chunk-Z24VKNDO.js +834 -0
- package/dist/assets/cesium/Workers/chunk-ZA25DG4Y.js +684 -0
- package/dist/assets/cesium/Workers/chunk-ZFOBYDGF.js +73 -0
- package/dist/assets/cesium/Workers/combineGeometry.js +65 -15
- package/dist/assets/cesium/Workers/createBoxGeometry.js +55 -10
- package/dist/assets/cesium/Workers/createBoxOutlineGeometry.js +231 -310
- package/dist/assets/cesium/Workers/createCircleGeometry.js +185 -202
- package/dist/assets/cesium/Workers/createCircleOutlineGeometry.js +141 -155
- package/dist/assets/cesium/Workers/createCoplanarPolygonGeometry.js +477 -557
- package/dist/assets/cesium/Workers/createCoplanarPolygonOutlineGeometry.js +218 -230
- package/dist/assets/cesium/Workers/createCorridorGeometry.js +1162 -1307
- package/dist/assets/cesium/Workers/createCorridorOutlineGeometry.js +533 -569
- package/dist/assets/cesium/Workers/createCylinderGeometry.js +57 -10
- package/dist/assets/cesium/Workers/createCylinderOutlineGeometry.js +224 -258
- package/dist/assets/cesium/Workers/createEllipseGeometry.js +68 -12
- package/dist/assets/cesium/Workers/createEllipseOutlineGeometry.js +61 -12
- package/dist/assets/cesium/Workers/createEllipsoidGeometry.js +56 -10
- package/dist/assets/cesium/Workers/createEllipsoidOutlineGeometry.js +58 -13
- package/dist/assets/cesium/Workers/createFrustumGeometry.js +55 -10
- package/dist/assets/cesium/Workers/createFrustumOutlineGeometry.js +226 -243
- package/dist/assets/cesium/Workers/createGeometry.js +143 -48
- package/dist/assets/cesium/Workers/createGroundPolylineGeometry.js +1484 -2011
- package/dist/assets/cesium/Workers/createPlaneGeometry.js +216 -243
- package/dist/assets/cesium/Workers/createPlaneOutlineGeometry.js +121 -113
- package/dist/assets/cesium/Workers/createPolygonGeometry.js +1041 -1327
- package/dist/assets/cesium/Workers/createPolygonOutlineGeometry.js +516 -657
- package/dist/assets/cesium/Workers/createPolylineGeometry.js +471 -547
- package/dist/assets/cesium/Workers/createPolylineVolumeGeometry.js +352 -384
- package/dist/assets/cesium/Workers/createPolylineVolumeOutlineGeometry.js +271 -295
- package/dist/assets/cesium/Workers/createRectangleGeometry.js +1128 -1331
- package/dist/assets/cesium/Workers/createRectangleOutlineGeometry.js +445 -500
- package/dist/assets/cesium/Workers/createSimplePolylineGeometry.js +381 -440
- package/dist/assets/cesium/Workers/createSphereGeometry.js +112 -118
- package/dist/assets/cesium/Workers/createSphereOutlineGeometry.js +112 -121
- package/dist/assets/cesium/Workers/createTaskProcessorWorker.js +32 -127
- package/dist/assets/cesium/Workers/createVectorTileClampedPolylines.js +462 -505
- package/dist/assets/cesium/Workers/createVectorTileGeometries.js +377 -436
- package/dist/assets/cesium/Workers/createVectorTilePoints.js +110 -77
- package/dist/assets/cesium/Workers/createVectorTilePolygons.js +369 -391
- package/dist/assets/cesium/Workers/createVectorTilePolylines.js +252 -244
- package/dist/assets/cesium/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js +543 -615
- package/dist/assets/cesium/Workers/createVerticesFromHeightmap.js +2244 -2677
- package/dist/assets/cesium/Workers/createVerticesFromQuantizedTerrainMesh.js +682 -926
- package/dist/assets/cesium/Workers/createWallGeometry.js +459 -593
- package/dist/assets/cesium/Workers/createWallOutlineGeometry.js +324 -419
- package/dist/assets/cesium/Workers/decodeDraco.js +327 -347
- package/dist/assets/cesium/Workers/decodeGoogleEarthEnterprisePacket.js +2530 -3567
- package/dist/assets/cesium/Workers/decodeI3S.js +765 -970
- package/dist/assets/cesium/Workers/transcodeKTX2.js +3353 -1464
- package/dist/assets/cesium/Workers/transferTypedArrayTest.js +3 -4
- package/dist/assets/cesium/Workers/upsampleQuantizedTerrainMesh.js +748 -953
- package/dist/assets/{cesium.eaf7cc.js → cesium.77d0f7.js} +8915 -13165
- package/dist/assets/cesium.js +1 -1
- package/dist/assets/{core.b16511.js → core.720589.js} +3421 -3365
- package/dist/assets/core.js +1 -1
- package/dist/assets/index-dd539204.js +1 -0
- package/dist/assets/{ol.4bbf0f.js → ol.e48649.js} +4 -4
- package/dist/assets/ol.js +1 -1
- package/dist/assets/{ui.ab815e.css → ui.50452a.css} +1 -1
- package/dist/assets/{ui.ab815e.js → ui.50452a.js} +4270 -4355
- package/dist/assets/ui.js +1 -1
- package/dist/assets/vue.js +2 -2
- package/dist/assets/{vuetify.ea3fa8.js → vuetify.f0a769.js} +1 -1
- package/dist/assets/vuetify.js +2 -2
- package/dist/index.html +27 -23
- package/index.html +23 -22
- package/package.json +5 -5
- package/plugins/@vcmap-show-case/plugin-editors/PluginEditors.vue +119 -0
- package/plugins/@vcmap-show-case/plugin-editors/index.js +41 -0
- package/plugins/@vcmap-show-case/plugin-editors/package.json +5 -0
- package/plugins/{@vcmap → @vcmap-show-case}/project-selector/ProjectSelectorComponent.vue +1 -1
- package/plugins/{@vcmap → @vcmap-show-case}/project-selector/config.json +2 -2
- package/plugins/{@vcmap → @vcmap-show-case}/project-selector/package.json +1 -1
- package/plugins/{@vcmap → @vcmap-show-case}/simple-graph/package.json +1 -1
- package/plugins/@vcmap-show-case/table-example/DataTableExample.vue +1 -1
- package/plugins/{@vcmap → @vcmap-show-case}/theme-changer/ThemeChangerComponent.vue +1 -1
- package/plugins/{@vcmap → @vcmap-show-case}/theme-changer/config.json +2 -2
- package/plugins/{@vcmap → @vcmap-show-case}/theme-changer/package.json +1 -1
- package/plugins/@vcmap-show-case/vector-properties-example/vectorPropertiesExample.vue +20 -1
- package/plugins/package.json +6 -2
- package/src/application/VcsAttributions.vue +27 -20
- package/src/components/form-inputs-controls/VcsChipArrayInput.vue +22 -14
- package/src/components/form-inputs-controls/VcsSlider.vue +1 -0
- package/src/components/icons/2DAreaIcon.vue +2 -17
- package/src/components/icons/2DDistanceIcon.vue +0 -3
- package/src/components/icons/3DAreaIcon.vue +2 -17
- package/src/components/icons/3DDistanceIcon.vue +0 -3
- package/src/components/icons/3DHeightIcon.vue +0 -3
- package/src/components/icons/AngleIcon.vue +0 -1
- package/src/components/icons/AssociationsIcon.vue +1 -3
- package/src/components/icons/AxisIcon.vue +0 -4
- package/src/components/icons/BoundingBoxIcon.vue +1 -4
- package/src/components/icons/CheckboxIcon.vue +0 -2
- package/src/components/icons/CheckboxIndeterminateIcon.vue +1 -5
- package/src/components/icons/CircleIcon.vue +1 -6
- package/src/components/icons/ClippingHorizontalIcon.vue +0 -1
- package/src/components/icons/ClippingIcon.vue +0 -1
- package/src/components/icons/ClippingVerticalIcon.vue +0 -1
- package/src/components/icons/ColorPickerIcon.vue +0 -1
- package/src/components/icons/ColorSwatchIcon.vue +0 -2
- package/src/components/icons/CommentIcon.vue +0 -1
- package/src/components/icons/CompassIcon.vue +0 -2
- package/src/components/icons/ComponentsIcon.vue +0 -1
- package/src/components/icons/ConeIcon.vue +1 -4
- package/src/components/icons/DimensionsHouseIcon.vue +0 -2
- package/src/components/icons/EditIcon.vue +0 -1
- package/src/components/icons/EditVerticesIcon.vue +0 -4
- package/src/components/icons/ElevationProfileIcon.vue +1 -13
- package/src/components/icons/ExportAreaIcon.vue +0 -1
- package/src/components/icons/ExportFlightIcon.vue +0 -1
- package/src/components/icons/ExportIcon.vue +12 -8
- package/src/components/icons/ExternalLinkIcon.vue +0 -2
- package/src/components/icons/FastForwardIcon.vue +0 -1
- package/src/components/icons/FilterIcon.vue +0 -1
- package/src/components/icons/GlobeNatureIcon.vue +0 -3
- package/src/components/icons/GroundIcon.vue +0 -1
- package/src/components/icons/HealthCareIndustriesIcon.vue +1 -11
- package/src/components/icons/HideIcon.vue +0 -1
- package/src/components/icons/HomePointIcon.vue +0 -1
- package/src/components/icons/HospitalsIcon.vue +1 -20
- package/src/components/icons/HouseIcon.vue +3 -13
- package/src/components/icons/ImportIcon.vue +6 -14
- package/src/components/icons/InfoIcon.vue +0 -2
- package/src/components/icons/KebabIcon.vue +1 -9
- package/src/components/icons/LabelIcon.vue +0 -2
- package/src/components/icons/LayersIcon.vue +1 -9
- package/src/components/icons/LegendIcon.vue +0 -1
- package/src/components/icons/LineIcon.vue +0 -2
- package/src/components/icons/LinkIcon.vue +0 -1
- package/src/components/icons/LogoutIcon.vue +0 -1
- package/src/components/icons/MapIcon.vue +0 -2
- package/src/components/icons/MenuIcon.vue +1 -5
- package/src/components/icons/MinusIcon.vue +0 -2
- package/src/components/icons/ObjectSelectIcon.vue +0 -2
- package/src/components/icons/ObliqueViewIcon.vue +0 -1
- package/src/components/icons/PdfIcon.vue +0 -1
- package/src/components/icons/PedestrianIcon.vue +0 -1
- package/src/components/icons/PenIcon.vue +0 -1
- package/src/components/icons/PlayCircleIcon.vue +1 -8
- package/src/components/icons/PlusIcon.vue +0 -2
- package/src/components/icons/PoiIcon.vue +0 -1
- package/src/components/icons/PointIcon.vue +2 -6
- package/src/components/icons/PointSelectIcon.vue +0 -1
- package/src/components/icons/PresentationModeIcon.vue +0 -1
- package/src/components/icons/ProgressIcon.vue +1 -1
- package/src/components/icons/QueryIcon.vue +0 -1
- package/src/components/icons/RectangleIcon.vue +1 -6
- package/src/components/icons/ReturnIcon.vue +0 -1
- package/src/components/icons/RewindIcon.vue +0 -1
- package/src/components/icons/RotateLeftIcon.vue +0 -1
- package/src/components/icons/RotateRightIcon.vue +0 -1
- package/src/components/icons/ScreenshotIcon.vue +1 -6
- package/src/components/icons/SearchIcon.vue +0 -1
- package/src/components/icons/ShadowIcon.vue +0 -2
- package/src/components/icons/ShapesIcon.vue +1 -4
- package/src/components/icons/ShareIcon.vue +0 -1
- package/src/components/icons/SimpleCircleFilledIcon.vue +0 -1
- package/src/components/icons/SimpleCircleHalfFilledIcon.vue +0 -1
- package/src/components/icons/SimpleCircleOutlinedIcon.vue +1 -7
- package/src/components/icons/SkipPreviousIcon.vue +1 -6
- package/src/components/icons/SplitViewIcon.vue +0 -1
- package/src/components/icons/TextStyleIcon.vue +0 -3
- package/src/components/icons/ThreeDimensionsIcon.vue +0 -1
- package/src/components/icons/ToolsIcon.vue +0 -1
- package/src/components/icons/TouchIcon.vue +0 -1
- package/src/components/icons/TriangleIcon.vue +0 -3
- package/src/components/icons/TwoDimensionsIcon.vue +0 -2
- package/src/components/icons/UploadIcon.vue +0 -1
- package/src/components/icons/UserProfileIcon.vue +0 -1
- package/src/components/icons/UserShareIcon.vue +0 -1
- package/src/components/icons/ViewpointFlightIcon.vue +0 -1
- package/src/components/icons/ViewpointIcon.vue +0 -1
- package/src/components/icons/Viewshed360Icon.vue +0 -1
- package/src/components/icons/ViewshedConeIcon.vue +0 -1
- package/src/components/icons/ViewshedIcon.vue +0 -1
- package/src/components/icons/WalkingIcon.vue +0 -1
- package/src/components/icons/WallIcon.vue +1 -4
- package/src/components/icons/WandIcon.vue +22 -70
- package/src/components/lists/VcsList.vue +18 -12
- package/src/components/plugins/AbstractConfigEditor.vue +2 -2
- package/src/components/tables/VcsDataTable.vue +1 -1
- package/src/components/vector-properties/VcsVectorPropertiesComponent.vue +57 -14
- package/src/contentTree/contentTreeCollection.js +30 -9
- package/src/i18n/de.js +8 -5
- package/src/i18n/en.js +8 -5
- package/src/i18n/i18nCollection.js +19 -65
- package/src/manager/buttonManager.js +4 -0
- package/src/manager/contextMenu/contextMenuManager.js +2 -0
- package/src/pluginHelper.js +2 -2
- package/src/vcsUiApp.js +9 -4
- package/src/vuePlugins/i18n.js +0 -8
- package/dist/assets/cesium/ThirdParty/Workers/draco_decoder_nodejs.js +0 -117
- package/dist/assets/cesium/Workers/ArcType-2d9abbbc.js +0 -37
- package/dist/assets/cesium/Workers/AttributeCompression-f9f6c717.js +0 -716
- package/dist/assets/cesium/Workers/AxisAlignedBoundingBox-4140c51f.js +0 -258
- package/dist/assets/cesium/Workers/BoundingRectangle-c714b156.js +0 -369
- package/dist/assets/cesium/Workers/BoxGeometry-6f3da43d.js +0 -884
- package/dist/assets/cesium/Workers/Check-6ede7e26.js +0 -290
- package/dist/assets/cesium/Workers/Color-8a565ff2.js +0 -2262
- package/dist/assets/cesium/Workers/ComponentDatatype-cf1fa08e.js +0 -341
- package/dist/assets/cesium/Workers/CoplanarPolygonGeometryLibrary-4b4d4096.js +0 -132
- package/dist/assets/cesium/Workers/CorridorGeometryLibrary-7b94502b.js +0 -498
- package/dist/assets/cesium/Workers/CylinderGeometry-ca070b87.js +0 -467
- package/dist/assets/cesium/Workers/CylinderGeometryLibrary-7bf291b4.js +0 -63
- package/dist/assets/cesium/Workers/EllipseGeometry-122e51fa.js +0 -1304
- package/dist/assets/cesium/Workers/EllipseGeometryLibrary-4d326efc.js +0 -366
- package/dist/assets/cesium/Workers/EllipseOutlineGeometry-16cc2bd7.js +0 -443
- package/dist/assets/cesium/Workers/EllipsoidGeodesic-5b3623dc.js +0 -520
- package/dist/assets/cesium/Workers/EllipsoidGeometry-cb148ca2.js +0 -637
- package/dist/assets/cesium/Workers/EllipsoidOutlineGeometry-0fa10c79.js +0 -454
- package/dist/assets/cesium/Workers/EllipsoidRhumbLine-ef872433.js +0 -741
- package/dist/assets/cesium/Workers/EllipsoidTangentPlane-6dd1b7af.js +0 -373
- package/dist/assets/cesium/Workers/EncodedCartesian3-57415c8a.js +0 -171
- package/dist/assets/cesium/Workers/FrustumGeometry-ee73037c.js +0 -2540
- package/dist/assets/cesium/Workers/GeometryAttribute-ff5b4fb1.js +0 -619
- package/dist/assets/cesium/Workers/GeometryAttributes-ad136444.js +0 -91
- package/dist/assets/cesium/Workers/GeometryInstance-34d9e21e.js +0 -121
- package/dist/assets/cesium/Workers/GeometryOffsetAttribute-9ad0019c.js +0 -16
- package/dist/assets/cesium/Workers/GeometryPipeline-1f8fbf05.js +0 -3690
- package/dist/assets/cesium/Workers/IndexDatatype-2643aa47.js +0 -200
- package/dist/assets/cesium/Workers/IntersectionTests-70d39ba9.js +0 -1836
- package/dist/assets/cesium/Workers/Math-0a2ac845.js +0 -1340
- package/dist/assets/cesium/Workers/Matrix2-e1298525.js +0 -7086
- package/dist/assets/cesium/Workers/Matrix3-41c58dde.js +0 -4283
- package/dist/assets/cesium/Workers/OrientedBoundingBox-159cf1d6.js +0 -1259
- package/dist/assets/cesium/Workers/Plane-4c3d403b.js +0 -309
- package/dist/assets/cesium/Workers/PolygonGeometryLibrary-076a5d25.js +0 -1074
- package/dist/assets/cesium/Workers/PolygonPipeline-b9f2810a.js +0 -1344
- package/dist/assets/cesium/Workers/PolylinePipeline-639192e0.js +0 -573
- package/dist/assets/cesium/Workers/PolylineVolumeGeometryLibrary-b73549fb.js +0 -781
- package/dist/assets/cesium/Workers/PrimitivePipeline-10ede1b6.js +0 -966
- package/dist/assets/cesium/Workers/RectangleGeometryLibrary-c35a7356.js +0 -280
- package/dist/assets/cesium/Workers/RuntimeError-ef395448.js +0 -68
- package/dist/assets/cesium/Workers/TerrainEncoding-668d242f.js +0 -1227
- package/dist/assets/cesium/Workers/Transforms-a2a85221.js +0 -14712
- package/dist/assets/cesium/Workers/VertexFormat-030f11ff.js +0 -312
- package/dist/assets/cesium/Workers/WallGeometryLibrary-1938bf0d.js +0 -211
- package/dist/assets/cesium/Workers/WebGLConstants-0b1ce7ba.js +0 -620
- package/dist/assets/cesium/Workers/WebMercatorProjection-13ed1a6e.js +0 -151
- package/dist/assets/cesium/Workers/arrayRemoveDuplicates-d2061e85.js +0 -129
- package/dist/assets/cesium/Workers/cesiumWorkerBootstrapper.js +0 -1363
- package/dist/assets/cesium/Workers/combine-d9581036.js +0 -82
- package/dist/assets/cesium/Workers/defaultValue-fe22d8c0.js +0 -51
- package/dist/assets/index-c115e3a1.js +0 -1
- package/plugins/@vcmap/create-link/fallbackCreateLink.vue +0 -76
- package/plugins/@vcmap/create-link/index.js +0 -95
- package/plugins/@vcmap/create-link/package.json +0 -6
- package/plugins/@vcmap/search-nominatim/LICENSE.md +0 -13
- package/plugins/@vcmap/search-nominatim/README.md +0 -3
- package/plugins/@vcmap/search-nominatim/SearchNominatimEditor.vue +0 -90
- package/plugins/@vcmap/search-nominatim/config.json +0 -3
- package/plugins/@vcmap/search-nominatim/index.js +0 -66
- package/plugins/@vcmap/search-nominatim/nominatim.js +0 -175
- package/plugins/@vcmap/search-nominatim/package.json +0 -9
- /package/dist/assets/{vue.67e80f.js → vue.5d696e.js} +0 -0
- /package/dist/assets/{vuetify.ea3fa8.css → vuetify.f0a769.css} +0 -0
- /package/plugins/{@vcmap → @vcmap-show-case}/project-selector/ModulesListComponent.vue +0 -0
- /package/plugins/{@vcmap → @vcmap-show-case}/project-selector/README.md +0 -0
- /package/plugins/{@vcmap → @vcmap-show-case}/project-selector/de.json +0 -0
- /package/plugins/{@vcmap → @vcmap-show-case}/project-selector/en.json +0 -0
- /package/plugins/{@vcmap → @vcmap-show-case}/project-selector/index.js +0 -0
- /package/plugins/{@vcmap → @vcmap-show-case}/simple-graph/README.md +0 -0
- /package/plugins/{@vcmap → @vcmap-show-case}/simple-graph/SimpleGraphComponent.vue +0 -0
- /package/plugins/{@vcmap → @vcmap-show-case}/simple-graph/index.js +0 -0
- /package/plugins/{@vcmap → @vcmap-show-case}/simple-graph/simpleGraphView.js +0 -0
- /package/plugins/{@vcmap → @vcmap-show-case}/theme-changer/README.md +0 -0
- /package/plugins/{@vcmap → @vcmap-show-case}/theme-changer/index.js +0 -0
@@ -1,72 +1,127 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
1
|
+
/**
|
2
|
+
* @license
|
3
|
+
* Cesium - https://github.com/CesiumGS/cesium
|
4
|
+
* Version 1.109.3
|
5
|
+
*
|
6
|
+
* Copyright 2011-2022 Cesium Contributors
|
7
|
+
*
|
8
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
9
|
+
* you may not use this file except in compliance with the License.
|
10
|
+
* You may obtain a copy of the License at
|
11
|
+
*
|
12
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
13
|
+
*
|
14
|
+
* Unless required by applicable law or agreed to in writing, software
|
15
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
16
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
17
|
+
* See the License for the specific language governing permissions and
|
18
|
+
* limitations under the License.
|
19
|
+
*
|
20
|
+
* Columbus View (Pat. Pend.)
|
21
|
+
*
|
22
|
+
* Portions licensed separately.
|
23
|
+
* See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
|
24
|
+
*/
|
25
|
+
|
26
|
+
import {
|
27
|
+
RectangleGeometryLibrary_default
|
28
|
+
} from "./chunk-HARLBUOL.js";
|
29
|
+
import {
|
30
|
+
GeometryOffsetAttribute_default
|
31
|
+
} from "./chunk-MPAZH4BF.js";
|
32
|
+
import {
|
33
|
+
PolygonPipeline_default
|
34
|
+
} from "./chunk-J3JY6I2C.js";
|
35
|
+
import "./chunk-K36FEYS7.js";
|
36
|
+
import {
|
37
|
+
IndexDatatype_default
|
38
|
+
} from "./chunk-RW6LU2CJ.js";
|
39
|
+
import {
|
40
|
+
GeometryAttributes_default
|
41
|
+
} from "./chunk-EW2GWJYB.js";
|
42
|
+
import {
|
43
|
+
GeometryAttribute_default,
|
44
|
+
Geometry_default,
|
45
|
+
PrimitiveType_default
|
46
|
+
} from "./chunk-X4SU25DT.js";
|
47
|
+
import {
|
48
|
+
BoundingSphere_default
|
49
|
+
} from "./chunk-PFQBCKBM.js";
|
50
|
+
import "./chunk-QJ3DFBH3.js";
|
51
|
+
import {
|
52
|
+
Rectangle_default
|
53
|
+
} from "./chunk-DUHWWBQQ.js";
|
54
|
+
import {
|
55
|
+
ComponentDatatype_default
|
56
|
+
} from "./chunk-LLUNNUJV.js";
|
57
|
+
import {
|
58
|
+
Cartesian3_default,
|
59
|
+
Cartographic_default,
|
60
|
+
Ellipsoid_default
|
61
|
+
} from "./chunk-PCJWUS4M.js";
|
62
|
+
import {
|
63
|
+
Math_default
|
64
|
+
} from "./chunk-N3JIFFX2.js";
|
65
|
+
import "./chunk-AHKEZ2OE.js";
|
66
|
+
import "./chunk-ABADGKYE.js";
|
67
|
+
import {
|
68
|
+
defaultValue_default
|
69
|
+
} from "./chunk-WXTV4ATB.js";
|
70
|
+
import {
|
71
|
+
DeveloperError_default
|
72
|
+
} from "./chunk-4MFFIWUA.js";
|
73
|
+
import {
|
74
|
+
defined_default
|
75
|
+
} from "./chunk-6BTKZDRG.js";
|
76
|
+
|
77
|
+
// packages/engine/Source/Core/RectangleOutlineGeometry.js
|
78
|
+
var bottomBoundingSphere = new BoundingSphere_default();
|
79
|
+
var topBoundingSphere = new BoundingSphere_default();
|
80
|
+
var positionScratch = new Cartesian3_default();
|
81
|
+
var rectangleScratch = new Rectangle_default();
|
82
|
+
function constructRectangle(geometry, computedOptions) {
|
83
|
+
const ellipsoid = geometry._ellipsoid;
|
84
|
+
const height = computedOptions.height;
|
85
|
+
const width = computedOptions.width;
|
86
|
+
const northCap = computedOptions.northCap;
|
87
|
+
const southCap = computedOptions.southCap;
|
88
|
+
let rowHeight = height;
|
89
|
+
let widthMultiplier = 2;
|
90
|
+
let size = 0;
|
91
|
+
let corners = 4;
|
92
|
+
if (northCap) {
|
93
|
+
widthMultiplier -= 1;
|
94
|
+
rowHeight -= 1;
|
95
|
+
size += 1;
|
96
|
+
corners -= 2;
|
97
|
+
}
|
98
|
+
if (southCap) {
|
99
|
+
widthMultiplier -= 1;
|
100
|
+
rowHeight -= 1;
|
101
|
+
size += 1;
|
102
|
+
corners -= 2;
|
103
|
+
}
|
104
|
+
size += widthMultiplier * width + 2 * rowHeight - corners;
|
105
|
+
const positions = new Float64Array(size * 3);
|
106
|
+
let posIndex = 0;
|
107
|
+
let row = 0;
|
108
|
+
let col;
|
109
|
+
const position = positionScratch;
|
110
|
+
if (northCap) {
|
111
|
+
RectangleGeometryLibrary_default.computePosition(
|
112
|
+
computedOptions,
|
113
|
+
ellipsoid,
|
114
|
+
false,
|
115
|
+
row,
|
116
|
+
0,
|
117
|
+
position
|
118
|
+
);
|
119
|
+
positions[posIndex++] = position.x;
|
120
|
+
positions[posIndex++] = position.y;
|
121
|
+
positions[posIndex++] = position.z;
|
122
|
+
} else {
|
123
|
+
for (col = 0; col < width; col++) {
|
124
|
+
RectangleGeometryLibrary_default.computePosition(
|
70
125
|
computedOptions,
|
71
126
|
ellipsoid,
|
72
127
|
false,
|
@@ -78,28 +133,25 @@ define(['./defaultValue-fe22d8c0', './Matrix3-41c58dde', './Matrix2-e1298525', '
|
|
78
133
|
positions[posIndex++] = position.y;
|
79
134
|
positions[posIndex++] = position.z;
|
80
135
|
}
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
col = 0;
|
101
|
-
for (row = height - 2; row > 0; row--) {
|
102
|
-
RectangleGeometryLibrary.RectangleGeometryLibrary.computePosition(
|
136
|
+
}
|
137
|
+
col = width - 1;
|
138
|
+
for (row = 1; row < height; row++) {
|
139
|
+
RectangleGeometryLibrary_default.computePosition(
|
140
|
+
computedOptions,
|
141
|
+
ellipsoid,
|
142
|
+
false,
|
143
|
+
row,
|
144
|
+
col,
|
145
|
+
position
|
146
|
+
);
|
147
|
+
positions[posIndex++] = position.x;
|
148
|
+
positions[posIndex++] = position.y;
|
149
|
+
positions[posIndex++] = position.z;
|
150
|
+
}
|
151
|
+
row = height - 1;
|
152
|
+
if (!southCap) {
|
153
|
+
for (col = width - 2; col >= 0; col--) {
|
154
|
+
RectangleGeometryLibrary_default.computePosition(
|
103
155
|
computedOptions,
|
104
156
|
ellipsoid,
|
105
157
|
false,
|
@@ -111,425 +163,318 @@ define(['./defaultValue-fe22d8c0', './Matrix3-41c58dde', './Matrix2-e1298525', '
|
|
111
163
|
positions[posIndex++] = position.y;
|
112
164
|
positions[posIndex++] = position.z;
|
113
165
|
}
|
114
|
-
|
115
|
-
const indicesSize = (positions.length / 3) * 2;
|
116
|
-
const indices = IndexDatatype.IndexDatatype.createTypedArray(
|
117
|
-
positions.length / 3,
|
118
|
-
indicesSize
|
119
|
-
);
|
120
|
-
|
121
|
-
let index = 0;
|
122
|
-
for (let i = 0; i < positions.length / 3 - 1; i++) {
|
123
|
-
indices[index++] = i;
|
124
|
-
indices[index++] = i + 1;
|
125
|
-
}
|
126
|
-
indices[index++] = positions.length / 3 - 1;
|
127
|
-
indices[index++] = 0;
|
128
|
-
|
129
|
-
const geo = new GeometryAttribute.Geometry({
|
130
|
-
attributes: new GeometryAttributes.GeometryAttributes(),
|
131
|
-
primitiveType: GeometryAttribute.PrimitiveType.LINES,
|
132
|
-
});
|
133
|
-
|
134
|
-
geo.attributes.position = new GeometryAttribute.GeometryAttribute({
|
135
|
-
componentDatatype: ComponentDatatype.ComponentDatatype.DOUBLE,
|
136
|
-
componentsPerAttribute: 3,
|
137
|
-
values: positions,
|
138
|
-
});
|
139
|
-
geo.indices = indices;
|
140
|
-
|
141
|
-
return geo;
|
142
166
|
}
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
const ellipsoid = rectangleGeometry._ellipsoid;
|
148
|
-
const minHeight = extrudedHeight;
|
149
|
-
const maxHeight = surfaceHeight;
|
150
|
-
const geo = constructRectangle(rectangleGeometry, computedOptions);
|
151
|
-
|
152
|
-
const height = computedOptions.height;
|
153
|
-
const width = computedOptions.width;
|
154
|
-
|
155
|
-
const topPositions = PolygonPipeline.PolygonPipeline.scaleToGeodeticHeight(
|
156
|
-
geo.attributes.position.values,
|
157
|
-
maxHeight,
|
167
|
+
col = 0;
|
168
|
+
for (row = height - 2; row > 0; row--) {
|
169
|
+
RectangleGeometryLibrary_default.computePosition(
|
170
|
+
computedOptions,
|
158
171
|
ellipsoid,
|
159
|
-
false
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
positions.set(topPositions);
|
164
|
-
const bottomPositions = PolygonPipeline.PolygonPipeline.scaleToGeodeticHeight(
|
165
|
-
geo.attributes.position.values,
|
166
|
-
minHeight,
|
167
|
-
ellipsoid
|
172
|
+
false,
|
173
|
+
row,
|
174
|
+
col,
|
175
|
+
position
|
168
176
|
);
|
169
|
-
positions.
|
170
|
-
|
171
|
-
|
172
|
-
const northCap = computedOptions.northCap;
|
173
|
-
const southCap = computedOptions.southCap;
|
174
|
-
let corners = 4;
|
175
|
-
if (northCap) {
|
176
|
-
corners -= 1;
|
177
|
-
}
|
178
|
-
if (southCap) {
|
179
|
-
corners -= 1;
|
180
|
-
}
|
181
|
-
|
182
|
-
const indicesSize = (positions.length / 3 + corners) * 2;
|
183
|
-
const indices = IndexDatatype.IndexDatatype.createTypedArray(
|
184
|
-
positions.length / 3,
|
185
|
-
indicesSize
|
186
|
-
);
|
187
|
-
length = positions.length / 6;
|
188
|
-
let index = 0;
|
189
|
-
for (let i = 0; i < length - 1; i++) {
|
190
|
-
indices[index++] = i;
|
191
|
-
indices[index++] = i + 1;
|
192
|
-
indices[index++] = i + length;
|
193
|
-
indices[index++] = i + length + 1;
|
194
|
-
}
|
195
|
-
indices[index++] = length - 1;
|
196
|
-
indices[index++] = 0;
|
197
|
-
indices[index++] = length + length - 1;
|
198
|
-
indices[index++] = length;
|
199
|
-
|
200
|
-
indices[index++] = 0;
|
201
|
-
indices[index++] = length;
|
202
|
-
|
203
|
-
let bottomCorner;
|
204
|
-
if (northCap) {
|
205
|
-
bottomCorner = height - 1;
|
206
|
-
} else {
|
207
|
-
const topRightCorner = width - 1;
|
208
|
-
indices[index++] = topRightCorner;
|
209
|
-
indices[index++] = topRightCorner + length;
|
210
|
-
bottomCorner = width + height - 2;
|
211
|
-
}
|
212
|
-
|
213
|
-
indices[index++] = bottomCorner;
|
214
|
-
indices[index++] = bottomCorner + length;
|
215
|
-
|
216
|
-
if (!southCap) {
|
217
|
-
const bottomLeftCorner = width + bottomCorner - 1;
|
218
|
-
indices[index++] = bottomLeftCorner;
|
219
|
-
indices[index] = bottomLeftCorner + length;
|
220
|
-
}
|
221
|
-
|
222
|
-
geo.indices = indices;
|
223
|
-
|
224
|
-
return geo;
|
177
|
+
positions[posIndex++] = position.x;
|
178
|
+
positions[posIndex++] = position.y;
|
179
|
+
positions[posIndex++] = position.z;
|
225
180
|
}
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
181
|
+
const indicesSize = positions.length / 3 * 2;
|
182
|
+
const indices = IndexDatatype_default.createTypedArray(
|
183
|
+
positions.length / 3,
|
184
|
+
indicesSize
|
185
|
+
);
|
186
|
+
let index = 0;
|
187
|
+
for (let i = 0; i < positions.length / 3 - 1; i++) {
|
188
|
+
indices[index++] = i;
|
189
|
+
indices[index++] = i + 1;
|
190
|
+
}
|
191
|
+
indices[index++] = positions.length / 3 - 1;
|
192
|
+
indices[index++] = 0;
|
193
|
+
const geo = new Geometry_default({
|
194
|
+
attributes: new GeometryAttributes_default(),
|
195
|
+
primitiveType: PrimitiveType_default.LINES
|
196
|
+
});
|
197
|
+
geo.attributes.position = new GeometryAttribute_default({
|
198
|
+
componentDatatype: ComponentDatatype_default.DOUBLE,
|
199
|
+
componentsPerAttribute: 3,
|
200
|
+
values: positions
|
201
|
+
});
|
202
|
+
geo.indices = indices;
|
203
|
+
return geo;
|
204
|
+
}
|
205
|
+
function constructExtrudedRectangle(rectangleGeometry, computedOptions) {
|
206
|
+
const surfaceHeight = rectangleGeometry._surfaceHeight;
|
207
|
+
const extrudedHeight = rectangleGeometry._extrudedHeight;
|
208
|
+
const ellipsoid = rectangleGeometry._ellipsoid;
|
209
|
+
const minHeight = extrudedHeight;
|
210
|
+
const maxHeight = surfaceHeight;
|
211
|
+
const geo = constructRectangle(rectangleGeometry, computedOptions);
|
212
|
+
const height = computedOptions.height;
|
213
|
+
const width = computedOptions.width;
|
214
|
+
const topPositions = PolygonPipeline_default.scaleToGeodeticHeight(
|
215
|
+
geo.attributes.position.values,
|
216
|
+
maxHeight,
|
217
|
+
ellipsoid,
|
218
|
+
false
|
219
|
+
);
|
220
|
+
let length = topPositions.length;
|
221
|
+
const positions = new Float64Array(length * 2);
|
222
|
+
positions.set(topPositions);
|
223
|
+
const bottomPositions = PolygonPipeline_default.scaleToGeodeticHeight(
|
224
|
+
geo.attributes.position.values,
|
225
|
+
minHeight,
|
226
|
+
ellipsoid
|
227
|
+
);
|
228
|
+
positions.set(bottomPositions, length);
|
229
|
+
geo.attributes.position.values = positions;
|
230
|
+
const northCap = computedOptions.northCap;
|
231
|
+
const southCap = computedOptions.southCap;
|
232
|
+
let corners = 4;
|
233
|
+
if (northCap) {
|
234
|
+
corners -= 1;
|
235
|
+
}
|
236
|
+
if (southCap) {
|
237
|
+
corners -= 1;
|
238
|
+
}
|
239
|
+
const indicesSize = (positions.length / 3 + corners) * 2;
|
240
|
+
const indices = IndexDatatype_default.createTypedArray(
|
241
|
+
positions.length / 3,
|
242
|
+
indicesSize
|
243
|
+
);
|
244
|
+
length = positions.length / 6;
|
245
|
+
let index = 0;
|
246
|
+
for (let i = 0; i < length - 1; i++) {
|
247
|
+
indices[index++] = i;
|
248
|
+
indices[index++] = i + 1;
|
249
|
+
indices[index++] = i + length;
|
250
|
+
indices[index++] = i + length + 1;
|
251
|
+
}
|
252
|
+
indices[index++] = length - 1;
|
253
|
+
indices[index++] = 0;
|
254
|
+
indices[index++] = length + length - 1;
|
255
|
+
indices[index++] = length;
|
256
|
+
indices[index++] = 0;
|
257
|
+
indices[index++] = length;
|
258
|
+
let bottomCorner;
|
259
|
+
if (northCap) {
|
260
|
+
bottomCorner = height - 1;
|
261
|
+
} else {
|
262
|
+
const topRightCorner = width - 1;
|
263
|
+
indices[index++] = topRightCorner;
|
264
|
+
indices[index++] = topRightCorner + length;
|
265
|
+
bottomCorner = width + height - 2;
|
266
|
+
}
|
267
|
+
indices[index++] = bottomCorner;
|
268
|
+
indices[index++] = bottomCorner + length;
|
269
|
+
if (!southCap) {
|
270
|
+
const bottomLeftCorner = width + bottomCorner - 1;
|
271
|
+
indices[index++] = bottomLeftCorner;
|
272
|
+
indices[index] = bottomLeftCorner + length;
|
273
|
+
}
|
274
|
+
geo.indices = indices;
|
275
|
+
return geo;
|
276
|
+
}
|
277
|
+
function RectangleOutlineGeometry(options) {
|
278
|
+
options = defaultValue_default(options, defaultValue_default.EMPTY_OBJECT);
|
279
|
+
const rectangle = options.rectangle;
|
280
|
+
const granularity = defaultValue_default(
|
281
|
+
options.granularity,
|
282
|
+
Math_default.RADIANS_PER_DEGREE
|
283
|
+
);
|
284
|
+
const ellipsoid = defaultValue_default(options.ellipsoid, Ellipsoid_default.WGS84);
|
285
|
+
const rotation = defaultValue_default(options.rotation, 0);
|
286
|
+
if (!defined_default(rectangle)) {
|
287
|
+
throw new DeveloperError_default("rectangle is required.");
|
288
|
+
}
|
289
|
+
Rectangle_default.validate(rectangle);
|
290
|
+
if (rectangle.north < rectangle.south) {
|
291
|
+
throw new DeveloperError_default(
|
292
|
+
"options.rectangle.north must be greater than options.rectangle.south"
|
264
293
|
);
|
265
|
-
const ellipsoid = defaultValue.defaultValue(options.ellipsoid, Matrix3.Ellipsoid.WGS84);
|
266
|
-
const rotation = defaultValue.defaultValue(options.rotation, 0.0);
|
267
|
-
|
268
|
-
//>>includeStart('debug', pragmas.debug);
|
269
|
-
if (!defaultValue.defined(rectangle)) {
|
270
|
-
throw new Check.DeveloperError("rectangle is required.");
|
271
|
-
}
|
272
|
-
Matrix2.Rectangle.validate(rectangle);
|
273
|
-
if (rectangle.north < rectangle.south) {
|
274
|
-
throw new Check.DeveloperError(
|
275
|
-
"options.rectangle.north must be greater than options.rectangle.south"
|
276
|
-
);
|
277
|
-
}
|
278
|
-
//>>includeEnd('debug');
|
279
|
-
|
280
|
-
const height = defaultValue.defaultValue(options.height, 0.0);
|
281
|
-
const extrudedHeight = defaultValue.defaultValue(options.extrudedHeight, height);
|
282
|
-
|
283
|
-
this._rectangle = Matrix2.Rectangle.clone(rectangle);
|
284
|
-
this._granularity = granularity;
|
285
|
-
this._ellipsoid = ellipsoid;
|
286
|
-
this._surfaceHeight = Math.max(height, extrudedHeight);
|
287
|
-
this._rotation = rotation;
|
288
|
-
this._extrudedHeight = Math.min(height, extrudedHeight);
|
289
|
-
this._offsetAttribute = options.offsetAttribute;
|
290
|
-
this._workerName = "createRectangleOutlineGeometry";
|
291
294
|
}
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
const
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
295
|
+
const height = defaultValue_default(options.height, 0);
|
296
|
+
const extrudedHeight = defaultValue_default(options.extrudedHeight, height);
|
297
|
+
this._rectangle = Rectangle_default.clone(rectangle);
|
298
|
+
this._granularity = granularity;
|
299
|
+
this._ellipsoid = ellipsoid;
|
300
|
+
this._surfaceHeight = Math.max(height, extrudedHeight);
|
301
|
+
this._rotation = rotation;
|
302
|
+
this._extrudedHeight = Math.min(height, extrudedHeight);
|
303
|
+
this._offsetAttribute = options.offsetAttribute;
|
304
|
+
this._workerName = "createRectangleOutlineGeometry";
|
305
|
+
}
|
306
|
+
RectangleOutlineGeometry.packedLength = Rectangle_default.packedLength + Ellipsoid_default.packedLength + 5;
|
307
|
+
RectangleOutlineGeometry.pack = function(value, array, startingIndex) {
|
308
|
+
if (!defined_default(value)) {
|
309
|
+
throw new DeveloperError_default("value is required");
|
310
|
+
}
|
311
|
+
if (!defined_default(array)) {
|
312
|
+
throw new DeveloperError_default("array is required");
|
313
|
+
}
|
314
|
+
startingIndex = defaultValue_default(startingIndex, 0);
|
315
|
+
Rectangle_default.pack(value._rectangle, array, startingIndex);
|
316
|
+
startingIndex += Rectangle_default.packedLength;
|
317
|
+
Ellipsoid_default.pack(value._ellipsoid, array, startingIndex);
|
318
|
+
startingIndex += Ellipsoid_default.packedLength;
|
319
|
+
array[startingIndex++] = value._granularity;
|
320
|
+
array[startingIndex++] = value._surfaceHeight;
|
321
|
+
array[startingIndex++] = value._rotation;
|
322
|
+
array[startingIndex++] = value._extrudedHeight;
|
323
|
+
array[startingIndex] = defaultValue_default(value._offsetAttribute, -1);
|
324
|
+
return array;
|
325
|
+
};
|
326
|
+
var scratchRectangle = new Rectangle_default();
|
327
|
+
var scratchEllipsoid = Ellipsoid_default.clone(Ellipsoid_default.UNIT_SPHERE);
|
328
|
+
var scratchOptions = {
|
329
|
+
rectangle: scratchRectangle,
|
330
|
+
ellipsoid: scratchEllipsoid,
|
331
|
+
granularity: void 0,
|
332
|
+
height: void 0,
|
333
|
+
rotation: void 0,
|
334
|
+
extrudedHeight: void 0,
|
335
|
+
offsetAttribute: void 0
|
336
|
+
};
|
337
|
+
RectangleOutlineGeometry.unpack = function(array, startingIndex, result) {
|
338
|
+
if (!defined_default(array)) {
|
339
|
+
throw new DeveloperError_default("array is required");
|
340
|
+
}
|
341
|
+
startingIndex = defaultValue_default(startingIndex, 0);
|
342
|
+
const rectangle = Rectangle_default.unpack(array, startingIndex, scratchRectangle);
|
343
|
+
startingIndex += Rectangle_default.packedLength;
|
344
|
+
const ellipsoid = Ellipsoid_default.unpack(array, startingIndex, scratchEllipsoid);
|
345
|
+
startingIndex += Ellipsoid_default.packedLength;
|
346
|
+
const granularity = array[startingIndex++];
|
347
|
+
const height = array[startingIndex++];
|
348
|
+
const rotation = array[startingIndex++];
|
349
|
+
const extrudedHeight = array[startingIndex++];
|
350
|
+
const offsetAttribute = array[startingIndex];
|
351
|
+
if (!defined_default(result)) {
|
352
|
+
scratchOptions.granularity = granularity;
|
353
|
+
scratchOptions.height = height;
|
354
|
+
scratchOptions.rotation = rotation;
|
355
|
+
scratchOptions.extrudedHeight = extrudedHeight;
|
356
|
+
scratchOptions.offsetAttribute = offsetAttribute === -1 ? void 0 : offsetAttribute;
|
357
|
+
return new RectangleOutlineGeometry(scratchOptions);
|
358
|
+
}
|
359
|
+
result._rectangle = Rectangle_default.clone(rectangle, result._rectangle);
|
360
|
+
result._ellipsoid = Ellipsoid_default.clone(ellipsoid, result._ellipsoid);
|
361
|
+
result._surfaceHeight = height;
|
362
|
+
result._rotation = rotation;
|
363
|
+
result._extrudedHeight = extrudedHeight;
|
364
|
+
result._offsetAttribute = offsetAttribute === -1 ? void 0 : offsetAttribute;
|
365
|
+
return result;
|
366
|
+
};
|
367
|
+
var nwScratch = new Cartographic_default();
|
368
|
+
RectangleOutlineGeometry.createGeometry = function(rectangleGeometry) {
|
369
|
+
const rectangle = rectangleGeometry._rectangle;
|
370
|
+
const ellipsoid = rectangleGeometry._ellipsoid;
|
371
|
+
const computedOptions = RectangleGeometryLibrary_default.computeOptions(
|
372
|
+
rectangle,
|
373
|
+
rectangleGeometry._granularity,
|
374
|
+
rectangleGeometry._rotation,
|
375
|
+
0,
|
376
|
+
rectangleScratch,
|
377
|
+
nwScratch
|
378
|
+
);
|
379
|
+
let geometry;
|
380
|
+
let boundingSphere;
|
381
|
+
if (Math_default.equalsEpsilon(
|
382
|
+
rectangle.north,
|
383
|
+
rectangle.south,
|
384
|
+
Math_default.EPSILON10
|
385
|
+
) || Math_default.equalsEpsilon(
|
386
|
+
rectangle.east,
|
387
|
+
rectangle.west,
|
388
|
+
Math_default.EPSILON10
|
389
|
+
)) {
|
390
|
+
return void 0;
|
391
|
+
}
|
392
|
+
const surfaceHeight = rectangleGeometry._surfaceHeight;
|
393
|
+
const extrudedHeight = rectangleGeometry._extrudedHeight;
|
394
|
+
const extrude = !Math_default.equalsEpsilon(
|
395
|
+
surfaceHeight,
|
396
|
+
extrudedHeight,
|
397
|
+
0,
|
398
|
+
Math_default.EPSILON2
|
399
|
+
);
|
400
|
+
let offsetValue;
|
401
|
+
if (extrude) {
|
402
|
+
geometry = constructExtrudedRectangle(rectangleGeometry, computedOptions);
|
403
|
+
if (defined_default(rectangleGeometry._offsetAttribute)) {
|
404
|
+
const size = geometry.attributes.position.values.length / 3;
|
405
|
+
let offsetAttribute = new Uint8Array(size);
|
406
|
+
if (rectangleGeometry._offsetAttribute === GeometryOffsetAttribute_default.TOP) {
|
407
|
+
offsetAttribute = offsetAttribute.fill(1, 0, size / 2);
|
408
|
+
} else {
|
409
|
+
offsetValue = rectangleGeometry._offsetAttribute === GeometryOffsetAttribute_default.NONE ? 0 : 1;
|
410
|
+
offsetAttribute = offsetAttribute.fill(offsetValue);
|
411
|
+
}
|
412
|
+
geometry.attributes.applyOffset = new GeometryAttribute_default({
|
413
|
+
componentDatatype: ComponentDatatype_default.UNSIGNED_BYTE,
|
414
|
+
componentsPerAttribute: 1,
|
415
|
+
values: offsetAttribute
|
416
|
+
});
|
387
417
|
}
|
388
|
-
|
389
|
-
result._rectangle = Matrix2.Rectangle.clone(rectangle, result._rectangle);
|
390
|
-
result._ellipsoid = Matrix3.Ellipsoid.clone(ellipsoid, result._ellipsoid);
|
391
|
-
result._surfaceHeight = height;
|
392
|
-
result._rotation = rotation;
|
393
|
-
result._extrudedHeight = extrudedHeight;
|
394
|
-
result._offsetAttribute =
|
395
|
-
offsetAttribute === -1 ? undefined : offsetAttribute;
|
396
|
-
|
397
|
-
return result;
|
398
|
-
};
|
399
|
-
|
400
|
-
const nwScratch = new Matrix3.Cartographic();
|
401
|
-
/**
|
402
|
-
* Computes the geometric representation of an outline of a rectangle, including its vertices, indices, and a bounding sphere.
|
403
|
-
*
|
404
|
-
* @param {RectangleOutlineGeometry} rectangleGeometry A description of the rectangle outline.
|
405
|
-
* @returns {Geometry|undefined} The computed vertices and indices.
|
406
|
-
*
|
407
|
-
* @exception {DeveloperError} Rotated rectangle is invalid.
|
408
|
-
*/
|
409
|
-
RectangleOutlineGeometry.createGeometry = function (rectangleGeometry) {
|
410
|
-
const rectangle = rectangleGeometry._rectangle;
|
411
|
-
const ellipsoid = rectangleGeometry._ellipsoid;
|
412
|
-
const computedOptions = RectangleGeometryLibrary.RectangleGeometryLibrary.computeOptions(
|
418
|
+
const topBS = BoundingSphere_default.fromRectangle3D(
|
413
419
|
rectangle,
|
414
|
-
|
415
|
-
rectangleGeometry._rotation,
|
416
|
-
0,
|
417
|
-
rectangleScratch,
|
418
|
-
nwScratch
|
419
|
-
);
|
420
|
-
|
421
|
-
let geometry;
|
422
|
-
let boundingSphere;
|
423
|
-
|
424
|
-
if (
|
425
|
-
Math$1.CesiumMath.equalsEpsilon(
|
426
|
-
rectangle.north,
|
427
|
-
rectangle.south,
|
428
|
-
Math$1.CesiumMath.EPSILON10
|
429
|
-
) ||
|
430
|
-
Math$1.CesiumMath.equalsEpsilon(
|
431
|
-
rectangle.east,
|
432
|
-
rectangle.west,
|
433
|
-
Math$1.CesiumMath.EPSILON10
|
434
|
-
)
|
435
|
-
) {
|
436
|
-
return undefined;
|
437
|
-
}
|
438
|
-
|
439
|
-
const surfaceHeight = rectangleGeometry._surfaceHeight;
|
440
|
-
const extrudedHeight = rectangleGeometry._extrudedHeight;
|
441
|
-
const extrude = !Math$1.CesiumMath.equalsEpsilon(
|
420
|
+
ellipsoid,
|
442
421
|
surfaceHeight,
|
422
|
+
topBoundingSphere
|
423
|
+
);
|
424
|
+
const bottomBS = BoundingSphere_default.fromRectangle3D(
|
425
|
+
rectangle,
|
426
|
+
ellipsoid,
|
443
427
|
extrudedHeight,
|
444
|
-
|
445
|
-
Math$1.CesiumMath.EPSILON2
|
428
|
+
bottomBoundingSphere
|
446
429
|
);
|
447
|
-
|
448
|
-
|
449
|
-
|
450
|
-
|
451
|
-
|
452
|
-
|
453
|
-
|
454
|
-
|
455
|
-
|
456
|
-
|
457
|
-
|
458
|
-
|
459
|
-
|
460
|
-
|
461
|
-
|
462
|
-
|
463
|
-
|
464
|
-
|
465
|
-
componentsPerAttribute: 1,
|
466
|
-
values: offsetAttribute,
|
467
|
-
});
|
468
|
-
}
|
469
|
-
const topBS = Transforms.BoundingSphere.fromRectangle3D(
|
470
|
-
rectangle,
|
471
|
-
ellipsoid,
|
472
|
-
surfaceHeight,
|
473
|
-
topBoundingSphere
|
474
|
-
);
|
475
|
-
const bottomBS = Transforms.BoundingSphere.fromRectangle3D(
|
476
|
-
rectangle,
|
477
|
-
ellipsoid,
|
478
|
-
extrudedHeight,
|
479
|
-
bottomBoundingSphere
|
480
|
-
);
|
481
|
-
boundingSphere = Transforms.BoundingSphere.union(topBS, bottomBS);
|
482
|
-
} else {
|
483
|
-
geometry = constructRectangle(rectangleGeometry, computedOptions);
|
484
|
-
geometry.attributes.position.values = PolygonPipeline.PolygonPipeline.scaleToGeodeticHeight(
|
485
|
-
geometry.attributes.position.values,
|
486
|
-
surfaceHeight,
|
487
|
-
ellipsoid,
|
488
|
-
false
|
489
|
-
);
|
490
|
-
|
491
|
-
if (defaultValue.defined(rectangleGeometry._offsetAttribute)) {
|
492
|
-
const length = geometry.attributes.position.values.length;
|
493
|
-
offsetValue =
|
494
|
-
rectangleGeometry._offsetAttribute === GeometryOffsetAttribute.GeometryOffsetAttribute.NONE
|
495
|
-
? 0
|
496
|
-
: 1;
|
497
|
-
const applyOffset = new Uint8Array(length / 3).fill(offsetValue);
|
498
|
-
geometry.attributes.applyOffset = new GeometryAttribute.GeometryAttribute({
|
499
|
-
componentDatatype: ComponentDatatype.ComponentDatatype.UNSIGNED_BYTE,
|
500
|
-
componentsPerAttribute: 1,
|
501
|
-
values: applyOffset,
|
502
|
-
});
|
503
|
-
}
|
504
|
-
|
505
|
-
boundingSphere = Transforms.BoundingSphere.fromRectangle3D(
|
506
|
-
rectangle,
|
507
|
-
ellipsoid,
|
508
|
-
surfaceHeight
|
509
|
-
);
|
510
|
-
}
|
511
|
-
|
512
|
-
return new GeometryAttribute.Geometry({
|
513
|
-
attributes: geometry.attributes,
|
514
|
-
indices: geometry.indices,
|
515
|
-
primitiveType: GeometryAttribute.PrimitiveType.LINES,
|
516
|
-
boundingSphere: boundingSphere,
|
517
|
-
offsetAttribute: rectangleGeometry._offsetAttribute,
|
518
|
-
});
|
519
|
-
};
|
520
|
-
|
521
|
-
function createRectangleOutlineGeometry(rectangleGeometry, offset) {
|
522
|
-
if (defaultValue.defined(offset)) {
|
523
|
-
rectangleGeometry = RectangleOutlineGeometry.unpack(
|
524
|
-
rectangleGeometry,
|
525
|
-
offset
|
526
|
-
);
|
430
|
+
boundingSphere = BoundingSphere_default.union(topBS, bottomBS);
|
431
|
+
} else {
|
432
|
+
geometry = constructRectangle(rectangleGeometry, computedOptions);
|
433
|
+
geometry.attributes.position.values = PolygonPipeline_default.scaleToGeodeticHeight(
|
434
|
+
geometry.attributes.position.values,
|
435
|
+
surfaceHeight,
|
436
|
+
ellipsoid,
|
437
|
+
false
|
438
|
+
);
|
439
|
+
if (defined_default(rectangleGeometry._offsetAttribute)) {
|
440
|
+
const length = geometry.attributes.position.values.length;
|
441
|
+
offsetValue = rectangleGeometry._offsetAttribute === GeometryOffsetAttribute_default.NONE ? 0 : 1;
|
442
|
+
const applyOffset = new Uint8Array(length / 3).fill(offsetValue);
|
443
|
+
geometry.attributes.applyOffset = new GeometryAttribute_default({
|
444
|
+
componentDatatype: ComponentDatatype_default.UNSIGNED_BYTE,
|
445
|
+
componentsPerAttribute: 1,
|
446
|
+
values: applyOffset
|
447
|
+
});
|
527
448
|
}
|
528
|
-
|
529
|
-
|
530
|
-
|
449
|
+
boundingSphere = BoundingSphere_default.fromRectangle3D(
|
450
|
+
rectangle,
|
451
|
+
ellipsoid,
|
452
|
+
surfaceHeight
|
453
|
+
);
|
531
454
|
}
|
532
|
-
|
533
|
-
|
534
|
-
|
535
|
-
|
455
|
+
return new Geometry_default({
|
456
|
+
attributes: geometry.attributes,
|
457
|
+
indices: geometry.indices,
|
458
|
+
primitiveType: PrimitiveType_default.LINES,
|
459
|
+
boundingSphere,
|
460
|
+
offsetAttribute: rectangleGeometry._offsetAttribute
|
461
|
+
});
|
462
|
+
};
|
463
|
+
var RectangleOutlineGeometry_default = RectangleOutlineGeometry;
|
464
|
+
|
465
|
+
// packages/engine/Source/Workers/createRectangleOutlineGeometry.js
|
466
|
+
function createRectangleOutlineGeometry(rectangleGeometry, offset) {
|
467
|
+
if (defined_default(offset)) {
|
468
|
+
rectangleGeometry = RectangleOutlineGeometry_default.unpack(
|
469
|
+
rectangleGeometry,
|
470
|
+
offset
|
471
|
+
);
|
472
|
+
}
|
473
|
+
rectangleGeometry._ellipsoid = Ellipsoid_default.clone(rectangleGeometry._ellipsoid);
|
474
|
+
rectangleGeometry._rectangle = Rectangle_default.clone(rectangleGeometry._rectangle);
|
475
|
+
return RectangleOutlineGeometry_default.createGeometry(rectangleGeometry);
|
476
|
+
}
|
477
|
+
var createRectangleOutlineGeometry_default = createRectangleOutlineGeometry;
|
478
|
+
export {
|
479
|
+
createRectangleOutlineGeometry_default as default
|
480
|
+
};
|