@vcmap/ui 5.0.0-rc.23 → 5.0.0-rc.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +36 -18
- package/app.config.json +2 -4
- package/build/.eslintrc +3 -0
- package/build/build.js +184 -174
- package/build/buildCesium.js +32 -19
- package/build/buildHelpers.js +117 -48
- package/build/buildPreview.js +7 -4
- package/build/commonViteConfig.js +1 -3
- package/build/determineHost.js +17 -4
- package/build/generateOLLib.js +13 -16
- package/build/getPluginProxies.js +16 -3
- package/build/info/conf.json +21 -21
- package/build/info/publish.js +15 -4
- package/config/aerowest.config.json +16 -44
- package/config/base.config.json +71 -246
- package/config/codes.config.json +3 -1
- package/config/dev.config.json +5 -13
- package/config/graphFeatureInfo.config.json +55 -16
- package/config/projects.config.json +5 -2
- package/config/www.config.json +96 -297
- package/dist/assets/cesium/Workers/{ArcType-ce2e50ab.js → ArcType-2d9abbbc.js} +4 -4
- package/dist/assets/cesium/Workers/{AttributeCompression-b646d393.js → AttributeCompression-f9f6c717.js} +24 -24
- package/dist/assets/cesium/Workers/{AxisAlignedBoundingBox-ff186ccc.js → AxisAlignedBoundingBox-85d9e53a.js} +3 -3
- package/dist/assets/cesium/Workers/{BoundingRectangle-be5924f4.js → BoundingRectangle-1ee7eb47.js} +18 -18
- package/dist/assets/cesium/Workers/{BoxGeometry-12eeccaf.js → BoxGeometry-3b2be784.js} +9 -9
- package/dist/assets/cesium/Workers/{Check-666ab1a0.js → Check-6ede7e26.js} +22 -22
- package/dist/assets/cesium/Workers/{Color-a84038cb.js → Color-f107c84d.js} +59 -59
- package/dist/assets/cesium/Workers/{ComponentDatatype-f7b11d02.js → ComponentDatatype-cf1fa08e.js} +16 -16
- package/dist/assets/cesium/Workers/{CoplanarPolygonGeometryLibrary-3272c1b3.js → CoplanarPolygonGeometryLibrary-78d71993.js} +1 -1
- package/dist/assets/cesium/Workers/{CorridorGeometryLibrary-0170e093.js → CorridorGeometryLibrary-50d99b33.js} +1 -1
- package/dist/assets/cesium/Workers/{CylinderGeometry-7c5da648.js → CylinderGeometry-51b0d9bf.js} +12 -12
- package/dist/assets/cesium/Workers/{CylinderGeometryLibrary-372c07d8.js → CylinderGeometryLibrary-7bf291b4.js} +1 -1
- package/dist/assets/cesium/Workers/{EllipseGeometry-797d580e.js → EllipseGeometry-bcfb5d87.js} +20 -20
- package/dist/assets/cesium/Workers/{EllipseGeometryLibrary-2939e1dc.js → EllipseGeometryLibrary-e94f8472.js} +1 -1
- package/dist/assets/cesium/Workers/{EllipseOutlineGeometry-8b50870f.js → EllipseOutlineGeometry-28e3a1bb.js} +15 -15
- package/dist/assets/cesium/Workers/{EllipsoidGeodesic-98c62a56.js → EllipsoidGeodesic-5b3623dc.js} +6 -6
- package/dist/assets/cesium/Workers/{EllipsoidGeometry-21c0e3a5.js → EllipsoidGeometry-b222fa63.js} +14 -14
- package/dist/assets/cesium/Workers/{EllipsoidOutlineGeometry-eff247c8.js → EllipsoidOutlineGeometry-38a3fb5b.js} +15 -15
- package/dist/assets/cesium/Workers/{EllipsoidRhumbLine-19756602.js → EllipsoidRhumbLine-ef872433.js} +9 -9
- package/dist/assets/cesium/Workers/{EllipsoidTangentPlane-214683dc.js → EllipsoidTangentPlane-8c89f28c.js} +1 -1
- package/dist/assets/cesium/Workers/{EncodedCartesian3-81f70735.js → EncodedCartesian3-57415c8a.js} +6 -6
- package/dist/assets/cesium/Workers/{FrustumGeometry-ac42a6d9.js → FrustumGeometry-bdd3a04d.js} +139 -111
- package/dist/assets/cesium/Workers/{GeometryAttribute-7d6f1732.js → GeometryAttribute-153115c5.js} +20 -20
- package/dist/assets/cesium/Workers/{GeometryAttributes-f06a2792.js → GeometryAttributes-ad136444.js} +1 -1
- package/dist/assets/cesium/Workers/{GeometryInstance-451dc1cd.js → GeometryInstance-34d9e21e.js} +6 -6
- package/dist/assets/cesium/Workers/{GeometryPipeline-ce4339ed.js → GeometryPipeline-acb2399c.js} +22 -22
- package/dist/assets/cesium/Workers/{IndexDatatype-a55ceaa1.js → IndexDatatype-2643aa47.js} +13 -13
- package/dist/assets/cesium/Workers/{IntersectionTests-f6e6bd8a.js → IntersectionTests-271e513e.js} +37 -37
- package/dist/assets/cesium/Workers/{Math-2dbd6b93.js → Math-0a2ac845.js} +149 -139
- package/dist/assets/cesium/Workers/{Matrix2-13178034.js → Matrix2-e1298525.js} +256 -256
- package/dist/assets/cesium/Workers/{Matrix3-315394f6.js → Matrix3-41c58dde.js} +150 -150
- package/dist/assets/cesium/Workers/{OrientedBoundingBox-04920dc7.js → OrientedBoundingBox-5e04e31f.js} +19 -17
- package/dist/assets/cesium/Workers/{Plane-900aa728.js → Plane-4c3d403b.js} +5 -5
- package/dist/assets/cesium/Workers/{PolygonGeometryLibrary-a8680d96.js → PolygonGeometryLibrary-6762b65b.js} +6 -6
- package/dist/assets/cesium/Workers/PolygonPipeline-7dc7a431.js +1344 -0
- package/dist/assets/cesium/Workers/{PolylinePipeline-32f36d2a.js → PolylinePipeline-15fde655.js} +16 -16
- package/dist/assets/cesium/Workers/{PolylineVolumeGeometryLibrary-a510d657.js → PolylineVolumeGeometryLibrary-ba7dfed5.js} +7 -7
- package/dist/assets/cesium/Workers/{PrimitivePipeline-ba38434a.js → PrimitivePipeline-68f0b9a2.js} +6 -6
- package/dist/assets/cesium/Workers/{RectangleGeometryLibrary-bdba697e.js → RectangleGeometryLibrary-8eaf23da.js} +1 -1
- package/dist/assets/cesium/Workers/{RuntimeError-06c93819.js → RuntimeError-ef395448.js} +5 -5
- package/dist/assets/cesium/Workers/{TerrainEncoding-833187da.js → TerrainEncoding-eb8a645a.js} +30 -30
- package/dist/assets/cesium/Workers/Transforms-f6451f99.js +14698 -0
- package/dist/assets/cesium/Workers/{VertexFormat-6b480673.js → VertexFormat-030f11ff.js} +14 -14
- package/dist/assets/cesium/Workers/{WallGeometryLibrary-919eed92.js → WallGeometryLibrary-feef3109.js} +1 -1
- package/dist/assets/cesium/Workers/{WebGLConstants-a8cc3e8c.js → WebGLConstants-0b1ce7ba.js} +1 -1
- package/dist/assets/cesium/Workers/{WebMercatorProjection-13a90d41.js → WebMercatorProjection-13ed1a6e.js} +6 -6
- package/dist/assets/cesium/Workers/{arrayRemoveDuplicates-c2038105.js → arrayRemoveDuplicates-d2061e85.js} +5 -5
- package/dist/assets/cesium/Workers/cesiumWorkerBootstrapper.js +5 -5
- package/dist/assets/cesium/Workers/{combine-ca22a614.js → combine-d9581036.js} +5 -5
- package/dist/assets/cesium/Workers/combineGeometry.js +1 -1
- package/dist/assets/cesium/Workers/createBoxGeometry.js +1 -1
- package/dist/assets/cesium/Workers/createBoxOutlineGeometry.js +9 -9
- package/dist/assets/cesium/Workers/createCircleGeometry.js +13 -13
- package/dist/assets/cesium/Workers/createCircleOutlineGeometry.js +13 -13
- package/dist/assets/cesium/Workers/createCoplanarPolygonGeometry.js +11 -11
- package/dist/assets/cesium/Workers/createCoplanarPolygonOutlineGeometry.js +9 -9
- package/dist/assets/cesium/Workers/createCorridorGeometry.js +14 -14
- package/dist/assets/cesium/Workers/createCorridorOutlineGeometry.js +12 -12
- package/dist/assets/cesium/Workers/createCylinderGeometry.js +1 -1
- package/dist/assets/cesium/Workers/createCylinderOutlineGeometry.js +13 -13
- package/dist/assets/cesium/Workers/createEllipseGeometry.js +1 -1
- package/dist/assets/cesium/Workers/createEllipseOutlineGeometry.js +1 -1
- package/dist/assets/cesium/Workers/createEllipsoidGeometry.js +1 -1
- package/dist/assets/cesium/Workers/createEllipsoidOutlineGeometry.js +1 -1
- package/dist/assets/cesium/Workers/createFrustumGeometry.js +1 -1
- package/dist/assets/cesium/Workers/createFrustumOutlineGeometry.js +8 -8
- package/dist/assets/cesium/Workers/createGeometry.js +1 -1
- package/dist/assets/cesium/Workers/createGroundPolylineGeometry.js +33 -33
- package/dist/assets/cesium/Workers/createPlaneGeometry.js +8 -8
- package/dist/assets/cesium/Workers/createPlaneOutlineGeometry.js +6 -6
- package/dist/assets/cesium/Workers/createPolygonGeometry.js +25 -25
- package/dist/assets/cesium/Workers/createPolygonOutlineGeometry.js +17 -17
- package/dist/assets/cesium/Workers/createPolylineGeometry.js +11 -11
- package/dist/assets/cesium/Workers/createPolylineVolumeGeometry.js +9 -9
- package/dist/assets/cesium/Workers/createPolylineVolumeOutlineGeometry.js +9 -9
- package/dist/assets/cesium/Workers/createRectangleGeometry.js +16 -16
- package/dist/assets/cesium/Workers/createRectangleOutlineGeometry.js +12 -12
- package/dist/assets/cesium/Workers/createSimplePolylineGeometry.js +10 -10
- package/dist/assets/cesium/Workers/createSphereGeometry.js +11 -11
- package/dist/assets/cesium/Workers/createSphereOutlineGeometry.js +12 -12
- package/dist/assets/cesium/Workers/createTaskProcessorWorker.js +2 -2
- package/dist/assets/cesium/Workers/createVectorTileClampedPolylines.js +1 -1
- package/dist/assets/cesium/Workers/createVectorTileGeometries.js +8 -8
- package/dist/assets/cesium/Workers/createVectorTilePoints.js +1 -1
- package/dist/assets/cesium/Workers/createVectorTilePolygons.js +1 -1
- package/dist/assets/cesium/Workers/createVectorTilePolylines.js +1 -1
- package/dist/assets/cesium/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js +1 -1
- package/dist/assets/cesium/Workers/createVerticesFromHeightmap.js +27 -28
- package/dist/assets/cesium/Workers/createVerticesFromQuantizedTerrainMesh.js +33 -38
- package/dist/assets/cesium/Workers/createWallGeometry.js +14 -14
- package/dist/assets/cesium/Workers/createWallOutlineGeometry.js +14 -14
- package/dist/assets/cesium/Workers/decodeDraco.js +10 -2
- package/dist/assets/cesium/Workers/decodeGoogleEarthEnterprisePacket.js +15 -15
- package/dist/assets/cesium/Workers/decodeI3S.js +1 -1
- package/dist/assets/cesium/Workers/{defaultValue-0a909f67.js → defaultValue-fe22d8c0.js} +2 -2
- package/dist/assets/cesium/Workers/package.js +1 -1
- package/dist/assets/cesium/Workers/transcodeKTX2.js +46 -26
- package/dist/assets/cesium/Workers/transferTypedArrayTest.js +1 -1
- package/dist/assets/cesium/Workers/upsampleQuantizedTerrainMesh.js +24 -24
- package/dist/assets/{cesium.166f91.js → cesium.253914.js} +36578 -33768
- package/dist/assets/cesium.js +1 -1
- package/dist/assets/{core.9342a1.js → core.3a8205.js} +53 -58
- package/dist/assets/core.js +1 -1
- package/dist/assets/{index.fd041928.js → index.91ae2d55.js} +1 -1
- package/dist/assets/{ol.d2cba3.js → ol.1c946a.js} +5550 -5491
- package/dist/assets/ol.js +1 -1
- package/dist/assets/ui.0025be.css +5 -0
- package/dist/assets/{ui.c27597.js → ui.0025be.js} +5494 -4759
- package/dist/assets/ui.js +1 -1
- package/dist/assets/vue.js +2 -2
- package/dist/assets/{vuetify.2f1432.css → vuetify.6efa21.css} +2 -2
- package/dist/assets/{vuetify.2f1432.js → vuetify.6efa21.js} +1 -1
- package/dist/assets/vuetify.js +2 -2
- package/dist/index.html +27 -7
- package/index.html +26 -6
- package/index.js +65 -15
- package/lib/cesium.js +1 -1
- package/lib/core.js +1 -1
- package/lib/ui.js +1 -1
- package/lib/vue.js +2 -2
- package/lib/vuetify.js +2 -2
- package/package.json +18 -9
- package/plugins/.eslintrc +9 -0
- package/plugins/@vcmap/create-link/fallbackCreateLink.vue +13 -9
- package/plugins/@vcmap/create-link/index.js +15 -6
- package/plugins/@vcmap/project-selector/ModulesListComponent.vue +4 -8
- package/plugins/@vcmap/project-selector/ProjectSelectorComponent.vue +5 -10
- package/plugins/@vcmap/project-selector/README.md +4 -2
- package/plugins/@vcmap/project-selector/config.json +13 -13
- package/plugins/@vcmap/project-selector/de.json +2 -2
- package/plugins/@vcmap/project-selector/en.json +2 -2
- package/plugins/@vcmap/project-selector/index.js +63 -28
- package/plugins/@vcmap/search-nominatim/LICENSE.md +5 -6
- package/plugins/@vcmap/search-nominatim/README.md +2 -1
- package/plugins/@vcmap/search-nominatim/config.json +1 -2
- package/plugins/@vcmap/search-nominatim/index.js +7 -4
- package/plugins/@vcmap/search-nominatim/nominatim.js +7 -2
- package/plugins/@vcmap/search-nominatim/package.json +2 -36
- package/plugins/@vcmap/simple-graph/README.md +29 -9
- package/plugins/@vcmap/simple-graph/SimpleGraphComponent.vue +2 -7
- package/plugins/@vcmap/simple-graph/index.js +1 -1
- package/plugins/@vcmap/simple-graph/simpleGraphView.js +3 -1
- package/plugins/@vcmap/theme-changer/README.md +5 -3
- package/plugins/@vcmap/theme-changer/ThemeChangerComponent.vue +6 -10
- package/plugins/@vcmap/theme-changer/config.json +67 -67
- package/plugins/@vcmap/theme-changer/index.js +11 -5
- package/plugins/@vcmap-show-case/buttons-example/ButtonsExample.vue +76 -11
- package/plugins/@vcmap-show-case/buttons-example/index.js +10 -8
- package/plugins/@vcmap-show-case/category-tester/Categories.vue +143 -116
- package/plugins/@vcmap-show-case/category-tester/Category.vue +46 -26
- package/plugins/@vcmap-show-case/category-tester/index.js +9 -3
- package/plugins/@vcmap-show-case/config-editor/{editor.vue → ConfigEditor.vue} +20 -24
- package/plugins/@vcmap-show-case/config-editor/index.js +13 -11
- package/plugins/@vcmap-show-case/context-menu-tester/index.js +18 -10
- package/plugins/@vcmap-show-case/form-inputs-example/FormInputsExample.vue +89 -118
- package/plugins/@vcmap-show-case/form-inputs-example/config.json +3 -3
- package/plugins/@vcmap-show-case/form-inputs-example/exampleActions.js +14 -4
- package/plugins/@vcmap-show-case/form-inputs-example/index.js +41 -19
- package/plugins/@vcmap-show-case/form-inputs-example/validation.js +2 -1
- package/plugins/@vcmap-show-case/icons-example/README.md +1 -1
- package/plugins/@vcmap-show-case/icons-example/allIconsComponent.vue +10 -10
- package/plugins/@vcmap-show-case/icons-example/index.js +10 -8
- package/plugins/@vcmap-show-case/list-example/ListExample.vue +221 -103
- package/plugins/@vcmap-show-case/list-example/index.js +10 -8
- package/plugins/@vcmap-show-case/notifier-tester/index.js +9 -3
- package/plugins/@vcmap-show-case/notifier-tester/notifierTester.vue +15 -21
- package/plugins/@vcmap-show-case/table-example/DataTableExample.vue +22 -41
- package/plugins/@vcmap-show-case/table-example/index.js +10 -8
- package/plugins/@vcmap-show-case/textfields-example/TextfieldsExample.vue +7 -30
- package/plugins/@vcmap-show-case/textfields-example/index.js +10 -4
- package/plugins/@vcmap-show-case/window-tester/WindowExample.vue +16 -13
- package/plugins/@vcmap-show-case/window-tester/emptyComponent.vue +4 -7
- package/plugins/@vcmap-show-case/window-tester/index.js +26 -20
- package/plugins/@vcmap-show-case/window-tester/myCustomHeader.vue +7 -3
- package/plugins/@vcmap-show-case/window-tester/toolbox-data.js +82 -5
- package/plugins/@vcmap-show-case/window-tester/windowExampleContent.vue +3 -7
- package/plugins/@vcmap-show-case/wizard-example/index.js +9 -3
- package/plugins/@vcmap-show-case/wizard-example/wizardExample.vue +36 -38
- package/src/actions/actionHelper.js +49 -11
- package/src/actions/styleSelector.vue +20 -11
- package/src/application/VcsApp.vue +117 -80
- package/src/application/VcsAttributions.vue +8 -9
- package/src/application/VcsAttributionsFooter.vue +12 -9
- package/src/application/VcsMap.vue +9 -5
- package/src/application/VcsNavbar.vue +44 -27
- package/src/application/VcsSettings.vue +5 -12
- package/src/application/attributionsHelper.js +23 -11
- package/src/application/vcsAppWrapper.vue +1 -3
- package/src/components/buttons/VcsActionButtonList.vue +20 -17
- package/src/components/buttons/VcsButton.vue +19 -23
- package/src/components/buttons/VcsFormButton.vue +176 -0
- package/src/components/form-inputs-controls/VcsCheckbox.vue +6 -7
- package/src/components/form-inputs-controls/VcsDatePicker.vue +50 -19
- package/src/components/form-inputs-controls/VcsFormSection.vue +11 -12
- package/src/components/form-inputs-controls/VcsLabel.vue +9 -10
- package/src/components/form-inputs-controls/VcsRadio.vue +44 -44
- package/src/components/form-inputs-controls/VcsSelect.vue +16 -13
- package/src/components/form-inputs-controls/VcsTextArea.vue +21 -14
- package/src/components/form-inputs-controls/VcsTextField.vue +26 -12
- package/src/components/form-inputs-controls/VcsWizard.vue +78 -78
- package/src/components/form-inputs-controls/VcsWizardStep.vue +20 -20
- package/src/components/form-inputs-controls/composables.js +13 -8
- package/src/components/form-output/VcsFormattedNumber.vue +26 -26
- package/src/components/icons/+all.js +13 -5
- package/src/components/icons/2DAreaIcon.vue +62 -10
- package/src/components/icons/2DDistanceIcon.vue +14 -2
- package/src/components/icons/3DAreaIcon.vue +62 -10
- package/src/components/icons/3DDistanceIcon.vue +14 -2
- package/src/components/icons/3DHeightIcon.vue +14 -2
- package/src/components/icons/AngleIcon.vue +12 -3
- package/src/components/icons/AssociationsIcon.vue +6 -1
- package/src/components/icons/AxisIcon.vue +34 -5
- package/src/components/icons/BoundingBoxIcon.vue +31 -5
- package/src/components/icons/CheckboxCheckedIcon.vue +4 -1
- package/src/components/icons/CheckboxIcon.vue +1 -8
- package/src/components/icons/CheckboxIndeterminateIcon.vue +9 -2
- package/src/components/icons/CircleIcon.vue +24 -4
- package/src/components/icons/ClippingHorizontalIcon.vue +14 -2
- package/src/components/icons/ClippingIcon.vue +13 -2
- package/src/components/icons/ClippingVerticalIcon.vue +14 -2
- package/src/components/icons/ColorPickerIcon.vue +13 -2
- package/src/components/icons/ColorSwatchIcon.vue +7 -1
- package/src/components/icons/CommentIcon.vue +6 -1
- package/src/components/icons/CompassIcon.vue +21 -3
- package/src/components/icons/ComponentsIcon.vue +14 -2
- package/src/components/icons/ConeIcon.vue +26 -4
- package/src/components/icons/DimensionsHouseIcon.vue +7 -1
- package/src/components/icons/EditIcon.vue +13 -2
- package/src/components/icons/ElevationProfileIcon.vue +6 -1
- package/src/components/icons/ExportAreaIcon.vue +13 -2
- package/src/components/icons/ExportFlightIcon.vue +13 -2
- package/src/components/icons/ExportIcon.vue +14 -2
- package/src/components/icons/ExternalLinkIcon.vue +18 -3
- package/src/components/icons/EyeIcon.vue +12 -2
- package/src/components/icons/FastForwardIcon.vue +13 -2
- package/src/components/icons/FilterIcon.vue +13 -2
- package/src/components/icons/GlobalTerrainIcon.vue +12 -2
- package/src/components/icons/GlobeNatureIcon.vue +7 -1
- package/src/components/icons/GroundIcon.vue +12 -2
- package/src/components/icons/HealthCareIndustriesIcon.vue +6 -1
- package/src/components/icons/HelpIcon.vue +12 -2
- package/src/components/icons/HideIcon.vue +17 -3
- package/src/components/icons/HomePointIcon.vue +13 -3
- package/src/components/icons/HospitalsIcon.vue +6 -1
- package/src/components/icons/HouseIcon.vue +20 -3
- package/src/components/icons/ImportIcon.vue +21 -3
- package/src/components/icons/InfoIcon.vue +19 -3
- package/src/components/icons/KebabIcon.vue +12 -2
- package/src/components/icons/LabelIcon.vue +21 -3
- package/src/components/icons/LayersIcon.vue +12 -2
- package/src/components/icons/LegendIcon.vue +13 -3
- package/src/components/icons/LineIcon.vue +20 -3
- package/src/components/icons/LinkIcon.vue +13 -2
- package/src/components/icons/LogoutIcon.vue +13 -2
- package/src/components/icons/MapIcon.vue +14 -2
- package/src/components/icons/MenuIcon.vue +7 -1
- package/src/components/icons/MinusIcon.vue +14 -2
- package/src/components/icons/ObjectAttributeIcon.vue +13 -2
- package/src/components/icons/ObjectSelectIcon.vue +14 -2
- package/src/components/icons/ObliqueViewIcon.vue +11 -2
- package/src/components/icons/PdfIcon.vue +12 -2
- package/src/components/icons/PedestrianIcon.vue +13 -2
- package/src/components/icons/PenIcon.vue +13 -3
- package/src/components/icons/PlayCircleIcon.vue +20 -3
- package/src/components/icons/PlusIcon.vue +14 -3
- package/src/components/icons/PoiIcon.vue +17 -3
- package/src/components/icons/PointSelectIcon.vue +12 -2
- package/src/components/icons/PolygonIcon.vue +7 -1
- package/src/components/icons/PresentationModeIcon.vue +13 -2
- package/src/components/icons/ProgressIcon.vue +8 -6
- package/src/components/icons/QueryIcon.vue +31 -5
- package/src/components/icons/RectangleIcon.vue +24 -4
- package/src/components/icons/ReturnIcon.vue +13 -2
- package/src/components/icons/RewindIcon.vue +13 -2
- package/src/components/icons/RotateLeftIcon.vue +13 -2
- package/src/components/icons/RotateRightIcon.vue +13 -2
- package/src/components/icons/ScreenshotIcon.vue +52 -10
- package/src/components/icons/SearchIcon.vue +13 -3
- package/src/components/icons/ShadowIcon.vue +14 -3
- package/src/components/icons/ShapesIcon.vue +13 -3
- package/src/components/icons/ShareIcon.vue +17 -4
- package/src/components/icons/SimpleCircleFilledIcon.vue +14 -10
- package/src/components/icons/SimpleCircleHalfFilledIcon.vue +6 -1
- package/src/components/icons/SimpleCircleOutlinedIcon.vue +14 -10
- package/src/components/icons/SkipNextIcon.vue +11 -2
- package/src/components/icons/SkipPreviousIcon.vue +17 -3
- package/src/components/icons/SplitViewIcon.vue +6 -1
- package/src/components/icons/TerrainBoxIcon.vue +12 -2
- package/src/components/icons/TextStyleIcon.vue +7 -1
- package/src/components/icons/ThreeDimensionsIcon.vue +13 -2
- package/src/components/icons/ToolsIcon.vue +12 -2
- package/src/components/icons/TouchIcon.vue +13 -2
- package/src/components/icons/TrashCanIcon.vue +13 -2
- package/src/components/icons/TriangleIcon.vue +6 -2
- package/src/components/icons/TwoDimensionsIcon.vue +14 -2
- package/src/components/icons/UploadIcon.vue +13 -2
- package/src/components/icons/UserProfileIcon.vue +13 -2
- package/src/components/icons/UserShareIcon.vue +12 -2
- package/src/components/icons/VideoRecorderIcon.vue +16 -3
- package/src/components/icons/ViewpointFlightIcon.vue +22 -4
- package/src/components/icons/ViewpointIcon.vue +22 -4
- package/src/components/icons/Viewshed360Icon.vue +14 -2
- package/src/components/icons/ViewshedConeIcon.vue +13 -2
- package/src/components/icons/ViewshedIcon.vue +14 -2
- package/src/components/icons/WalkingIcon.vue +13 -2
- package/src/components/icons/WallIcon.vue +19 -3
- package/src/components/icons/WandIcon.vue +129 -21
- package/src/components/imageElementInjector.vue +1 -3
- package/src/components/lists/VcsActionList.vue +21 -18
- package/src/components/lists/VcsList.vue +208 -98
- package/src/components/lists/VcsTreeview.vue +30 -26
- package/src/components/lists/VcsTreeviewLeaf.vue +23 -22
- package/src/components/lists/VcsTreeviewSearchbar.vue +19 -15
- package/src/components/notification/VcsBadge.vue +4 -6
- package/src/components/notification/VcsTooltip.vue +95 -94
- package/src/components/notification/validation.js +1 -1
- package/src/components/tables/VcsDataTable.vue +107 -95
- package/src/components/tables/VcsTable.vue +38 -30
- package/src/contentTree/LayerTree.vue +2 -3
- package/src/contentTree/contentTreeCollection.js +48 -22
- package/src/contentTree/contentTreeItem.js +36 -14
- package/src/contentTree/groupContentTreeItem.js +44 -22
- package/src/contentTree/layerContentTreeItem.js +42 -20
- package/src/contentTree/layerGroupContentTreeItem.js +53 -31
- package/src/contentTree/nodeContentTreeItem.js +18 -7
- package/src/contentTree/obliqueCollectionContentTreeItem.js +45 -20
- package/src/contentTree/subContentTreeItem.js +13 -4
- package/src/contentTree/vcsObjectContentTreeItem.js +24 -15
- package/src/contentTree/viewpointContentTreeItem.js +19 -6
- package/src/downloadHelper.js +4 -1
- package/src/featureInfo/AddressBalloonComponent.vue +11 -16
- package/src/featureInfo/BalloonComponent.vue +35 -26
- package/src/featureInfo/abstractFeatureInfoView.js +29 -13
- package/src/featureInfo/addressBalloonFeatureInfoView.js +19 -7
- package/src/featureInfo/balloonFeatureInfoView.js +22 -9
- package/src/featureInfo/balloonHelper.js +61 -42
- package/src/featureInfo/featureInfo.js +71 -31
- package/src/featureInfo/featureInfoInteraction.js +13 -7
- package/src/featureInfo/iframeFeatureInfoView.js +3 -1
- package/src/featureInfo/tableFeatureInfoView.js +15 -5
- package/src/i18n/i18nCollection.js +183 -155
- package/src/init.js +124 -121
- package/src/legend/legendHelper.js +11 -6
- package/src/legend/styleLegendItem.vue +18 -12
- package/src/legend/vcsLegend.vue +15 -17
- package/src/manager/buttonManager.js +6 -3
- package/src/manager/categoryManager/CategoryComponent.vue +52 -25
- package/src/manager/categoryManager/CategoryComponentList.vue +33 -8
- package/src/manager/categoryManager/CategoryManager.vue +4 -5
- package/src/manager/categoryManager/categoryManager.js +82 -37
- package/src/manager/contextMenu/contextMenuComponent.vue +2 -6
- package/src/manager/contextMenu/contextMenuInteraction.js +6 -1
- package/src/manager/contextMenu/contextMenuManager.js +37 -22
- package/src/manager/navbarManager.js +15 -8
- package/src/manager/toolbox/GroupToolboxComponent.vue +22 -21
- package/src/manager/toolbox/SelectToolboxComponent.vue +36 -35
- package/src/manager/toolbox/ToolboxManager.vue +18 -10
- package/src/manager/toolbox/toolboxManager.js +30 -12
- package/src/manager/window/WindowComponent.vue +18 -21
- package/src/manager/window/WindowComponentHeader.vue +34 -26
- package/src/manager/window/WindowManager.vue +33 -22
- package/src/manager/window/windowHelper.js +79 -23
- package/src/manager/window/windowManager.js +61 -32
- package/src/navigation/mapNavCompass.vue +17 -3
- package/src/navigation/mapNavigation.vue +59 -40
- package/src/navigation/obliqueRotation.vue +6 -8
- package/src/navigation/orientationToolsButton.vue +6 -9
- package/src/navigation/overviewMap.js +72 -41
- package/src/navigation/overviewMapClickedInteraction.js +6 -1
- package/src/navigation/tiltSlider.vue +6 -10
- package/src/navigation/vcsCompass.vue +1 -9
- package/src/navigation/vcsZoomButton.vue +16 -17
- package/src/notifier/notifier.js +22 -13
- package/src/notifier/notifierComponent.vue +21 -21
- package/src/pluginHelper.js +23 -9
- package/src/search/resultItem.vue +10 -15
- package/src/search/resultsComponent.vue +30 -24
- package/src/search/search.js +36 -19
- package/src/search/searchComponent.vue +20 -10
- package/src/setup.js +9 -9
- package/src/state.js +22 -6
- package/src/styles/_typography.scss +0 -1
- package/src/styles/shades.scss +4 -2
- package/src/styles/utils/_border.scss +1 -1
- package/src/styles/utils/_display.scss +1 -1
- package/src/styles/variables.scss +39 -34
- package/src/styles/vcsFont.scss +6 -5
- package/src/styles/vcsGrid.scss +9 -0
- package/src/uiConfig.js +3 -1
- package/src/vcsUiApp.js +156 -59
- package/src/vuePlugins/i18n.js +4 -4
- package/src/vuePlugins/vuetify.js +4 -0
- package/dist/assets/cesium/Workers/PolygonPipeline-844aab0a.js +0 -1345
- package/dist/assets/cesium/Workers/Transforms-40229881.js +0 -14696
- package/dist/assets/ui.c27597.css +0 -5
- /package/dist/assets/cesium/Workers/{GeometryOffsetAttribute-04332ce7.js → GeometryOffsetAttribute-9ad0019c.js} +0 -0
- /package/dist/assets/{vue.5d00e9.js → vue.c1ece7.js} +0 -0
package/dist/assets/cesium/Workers/{FrustumGeometry-ac42a6d9.js → FrustumGeometry-bdd3a04d.js}
RENAMED
@@ -1,4 +1,4 @@
|
|
1
|
-
define(['exports', './Transforms-
|
1
|
+
define(['exports', './Transforms-f6451f99', './Matrix3-41c58dde', './Matrix2-e1298525', './Check-6ede7e26', './ComponentDatatype-cf1fa08e', './defaultValue-fe22d8c0', './GeometryAttribute-153115c5', './GeometryAttributes-ad136444', './Math-0a2ac845', './Plane-4c3d403b', './VertexFormat-030f11ff'], (function (exports, Transforms, Matrix3, Matrix2, Check, ComponentDatatype, defaultValue, GeometryAttribute, GeometryAttributes, Math$1, Plane, VertexFormat) { 'use strict';
|
2
2
|
|
3
3
|
/**
|
4
4
|
* The culling volume defined by planes.
|
@@ -97,7 +97,7 @@ define(['exports', './Transforms-40229881', './Matrix3-315394f6', './Matrix2-131
|
|
97
97
|
/**
|
98
98
|
* Determines whether a bounding volume intersects the culling volume.
|
99
99
|
*
|
100
|
-
* @param {
|
100
|
+
* @param {object} boundingVolume The bounding volume whose intersection with the culling volume is to be tested.
|
101
101
|
* @returns {Intersect} Intersect.OUTSIDE, Intersect.INTERSECTING, or Intersect.INSIDE.
|
102
102
|
*/
|
103
103
|
CullingVolume.prototype.computeVisibility = function (boundingVolume) {
|
@@ -126,12 +126,12 @@ define(['exports', './Transforms-40229881', './Matrix3-315394f6', './Matrix2-131
|
|
126
126
|
/**
|
127
127
|
* Determines whether a bounding volume intersects the culling volume.
|
128
128
|
*
|
129
|
-
* @param {
|
130
|
-
* @param {
|
129
|
+
* @param {object} boundingVolume The bounding volume whose intersection with the culling volume is to be tested.
|
130
|
+
* @param {number} parentPlaneMask A bit mask from the boundingVolume's parent's check against the same culling
|
131
131
|
* volume, such that if (planeMask & (1 << planeIndex) === 0), for k < 31, then
|
132
132
|
* the parent (and therefore this) volume is completely inside plane[planeIndex]
|
133
133
|
* and that plane check can be skipped.
|
134
|
-
* @returns {
|
134
|
+
* @returns {number} A plane mask as described above (which can be applied to this boundingVolume's children).
|
135
135
|
*
|
136
136
|
* @private
|
137
137
|
*/
|
@@ -186,7 +186,7 @@ define(['exports', './Transforms-40229881', './Matrix3-315394f6', './Matrix2-131
|
|
186
186
|
* For plane masks (as used in {@link CullingVolume#computeVisibilityWithPlaneMask}), this special value
|
187
187
|
* represents the case where the object bounding volume is entirely outside the culling volume.
|
188
188
|
*
|
189
|
-
* @type {
|
189
|
+
* @type {number}
|
190
190
|
* @private
|
191
191
|
*/
|
192
192
|
CullingVolume.MASK_OUTSIDE = 0xffffffff;
|
@@ -195,7 +195,7 @@ define(['exports', './Transforms-40229881', './Matrix3-315394f6', './Matrix2-131
|
|
195
195
|
* For plane masks (as used in {@link CullingVolume.prototype.computeVisibilityWithPlaneMask}), this value
|
196
196
|
* represents the case where the object bounding volume is entirely inside the culling volume.
|
197
197
|
*
|
198
|
-
* @type {
|
198
|
+
* @type {number}
|
199
199
|
* @private
|
200
200
|
*/
|
201
201
|
CullingVolume.MASK_INSIDE = 0x00000000;
|
@@ -204,7 +204,7 @@ define(['exports', './Transforms-40229881', './Matrix3-315394f6', './Matrix2-131
|
|
204
204
|
* For plane masks (as used in {@link CullingVolume.prototype.computeVisibilityWithPlaneMask}), this value
|
205
205
|
* represents the case where the object bounding volume (may) intersect all planes of the culling volume.
|
206
206
|
*
|
207
|
-
* @type {
|
207
|
+
* @type {number}
|
208
208
|
* @private
|
209
209
|
*/
|
210
210
|
CullingVolume.MASK_INDETERMINATE = 0x7fffffff;
|
@@ -218,13 +218,13 @@ define(['exports', './Transforms-40229881', './Matrix3-315394f6', './Matrix2-131
|
|
218
218
|
* @alias OrthographicOffCenterFrustum
|
219
219
|
* @constructor
|
220
220
|
*
|
221
|
-
* @param {
|
222
|
-
* @param {
|
223
|
-
* @param {
|
224
|
-
* @param {
|
225
|
-
* @param {
|
226
|
-
* @param {
|
227
|
-
* @param {
|
221
|
+
* @param {object} [options] An object with the following properties:
|
222
|
+
* @param {number} [options.left] The left clipping plane distance.
|
223
|
+
* @param {number} [options.right] The right clipping plane distance.
|
224
|
+
* @param {number} [options.top] The top clipping plane distance.
|
225
|
+
* @param {number} [options.bottom] The bottom clipping plane distance.
|
226
|
+
* @param {number} [options.near=1.0] The near clipping plane distance.
|
227
|
+
* @param {number} [options.far=500000000.0] The far clipping plane distance.
|
228
228
|
*
|
229
229
|
* @example
|
230
230
|
* const maxRadii = ellipsoid.maximumRadius;
|
@@ -242,7 +242,7 @@ define(['exports', './Transforms-40229881', './Matrix3-315394f6', './Matrix2-131
|
|
242
242
|
|
243
243
|
/**
|
244
244
|
* The left clipping plane.
|
245
|
-
* @type {
|
245
|
+
* @type {number}
|
246
246
|
* @default undefined
|
247
247
|
*/
|
248
248
|
this.left = options.left;
|
@@ -250,7 +250,7 @@ define(['exports', './Transforms-40229881', './Matrix3-315394f6', './Matrix2-131
|
|
250
250
|
|
251
251
|
/**
|
252
252
|
* The right clipping plane.
|
253
|
-
* @type {
|
253
|
+
* @type {number}
|
254
254
|
* @default undefined
|
255
255
|
*/
|
256
256
|
this.right = options.right;
|
@@ -258,7 +258,7 @@ define(['exports', './Transforms-40229881', './Matrix3-315394f6', './Matrix2-131
|
|
258
258
|
|
259
259
|
/**
|
260
260
|
* The top clipping plane.
|
261
|
-
* @type {
|
261
|
+
* @type {number}
|
262
262
|
* @default undefined
|
263
263
|
*/
|
264
264
|
this.top = options.top;
|
@@ -266,7 +266,7 @@ define(['exports', './Transforms-40229881', './Matrix3-315394f6', './Matrix2-131
|
|
266
266
|
|
267
267
|
/**
|
268
268
|
* The bottom clipping plane.
|
269
|
-
* @type {
|
269
|
+
* @type {number}
|
270
270
|
* @default undefined
|
271
271
|
*/
|
272
272
|
this.bottom = options.bottom;
|
@@ -274,7 +274,7 @@ define(['exports', './Transforms-40229881', './Matrix3-315394f6', './Matrix2-131
|
|
274
274
|
|
275
275
|
/**
|
276
276
|
* The distance of the near plane.
|
277
|
-
* @type {
|
277
|
+
* @type {number}
|
278
278
|
* @default 1.0
|
279
279
|
*/
|
280
280
|
this.near = defaultValue.defaultValue(options.near, 1.0);
|
@@ -282,7 +282,7 @@ define(['exports', './Transforms-40229881', './Matrix3-315394f6', './Matrix2-131
|
|
282
282
|
|
283
283
|
/**
|
284
284
|
* The distance of the far plane.
|
285
|
-
* @type {
|
285
|
+
* @type {number}
|
286
286
|
* @default 500000000.0;
|
287
287
|
*/
|
288
288
|
this.far = defaultValue.defaultValue(options.far, 500000000.0);
|
@@ -495,10 +495,10 @@ define(['exports', './Transforms-40229881', './Matrix3-315394f6', './Matrix2-131
|
|
495
495
|
/**
|
496
496
|
* Returns the pixel's width and height in meters.
|
497
497
|
*
|
498
|
-
* @param {
|
499
|
-
* @param {
|
500
|
-
* @param {
|
501
|
-
* @param {
|
498
|
+
* @param {number} drawingBufferWidth The width of the drawing buffer.
|
499
|
+
* @param {number} drawingBufferHeight The height of the drawing buffer.
|
500
|
+
* @param {number} distance The distance to the near plane in meters.
|
501
|
+
* @param {number} pixelRatio The scaling factor from pixel space to coordinate space.
|
502
502
|
* @param {Cartesian2} result The object onto which to store the result.
|
503
503
|
* @returns {Cartesian2} The modified result parameter or a new instance of {@link Cartesian2} with the pixel's width and height in the x and y properties, respectively.
|
504
504
|
*
|
@@ -590,7 +590,7 @@ define(['exports', './Transforms-40229881', './Matrix3-315394f6', './Matrix2-131
|
|
590
590
|
* <code>true</code> if they are equal, <code>false</code> otherwise.
|
591
591
|
*
|
592
592
|
* @param {OrthographicOffCenterFrustum} [other] The right hand side OrthographicOffCenterFrustum.
|
593
|
-
* @returns {
|
593
|
+
* @returns {boolean} <code>true</code> if they are equal, <code>false</code> otherwise.
|
594
594
|
*/
|
595
595
|
OrthographicOffCenterFrustum.prototype.equals = function (other) {
|
596
596
|
return (
|
@@ -611,9 +611,9 @@ define(['exports', './Transforms-40229881', './Matrix3-315394f6', './Matrix2-131
|
|
611
611
|
* <code>false</code> otherwise.
|
612
612
|
*
|
613
613
|
* @param {OrthographicOffCenterFrustum} other The right hand side OrthographicOffCenterFrustum.
|
614
|
-
* @param {
|
615
|
-
* @param {
|
616
|
-
* @returns {
|
614
|
+
* @param {number} relativeEpsilon The relative epsilon tolerance to use for equality testing.
|
615
|
+
* @param {number} [absoluteEpsilon=relativeEpsilon] The absolute epsilon tolerance to use for equality testing.
|
616
|
+
* @returns {boolean} <code>true</code> if this and other are within the provided epsilon, <code>false</code> otherwise.
|
617
617
|
*/
|
618
618
|
OrthographicOffCenterFrustum.prototype.equalsEpsilon = function (
|
619
619
|
other,
|
@@ -672,11 +672,11 @@ define(['exports', './Transforms-40229881', './Matrix3-315394f6', './Matrix2-131
|
|
672
672
|
* @alias OrthographicFrustum
|
673
673
|
* @constructor
|
674
674
|
*
|
675
|
-
* @param {
|
676
|
-
* @param {
|
677
|
-
* @param {
|
678
|
-
* @param {
|
679
|
-
* @param {
|
675
|
+
* @param {object} [options] An object with the following properties:
|
676
|
+
* @param {number} [options.width] The width of the frustum in meters.
|
677
|
+
* @param {number} [options.aspectRatio] The aspect ratio of the frustum's width to it's height.
|
678
|
+
* @param {number} [options.near=1.0] The distance of the near plane.
|
679
|
+
* @param {number} [options.far=500000000.0] The distance of the far plane.
|
680
680
|
*
|
681
681
|
* @example
|
682
682
|
* const maxRadii = ellipsoid.maximumRadius;
|
@@ -692,7 +692,7 @@ define(['exports', './Transforms-40229881', './Matrix3-315394f6', './Matrix2-131
|
|
692
692
|
|
693
693
|
/**
|
694
694
|
* The horizontal width of the frustum in meters.
|
695
|
-
* @type {
|
695
|
+
* @type {number}
|
696
696
|
* @default undefined
|
697
697
|
*/
|
698
698
|
this.width = options.width;
|
@@ -700,7 +700,7 @@ define(['exports', './Transforms-40229881', './Matrix3-315394f6', './Matrix2-131
|
|
700
700
|
|
701
701
|
/**
|
702
702
|
* The aspect ratio of the frustum's width to it's height.
|
703
|
-
* @type {
|
703
|
+
* @type {number}
|
704
704
|
* @default undefined
|
705
705
|
*/
|
706
706
|
this.aspectRatio = options.aspectRatio;
|
@@ -708,7 +708,7 @@ define(['exports', './Transforms-40229881', './Matrix3-315394f6', './Matrix2-131
|
|
708
708
|
|
709
709
|
/**
|
710
710
|
* The distance of the near plane.
|
711
|
-
* @type {
|
711
|
+
* @type {number}
|
712
712
|
* @default 1.0
|
713
713
|
*/
|
714
714
|
this.near = defaultValue.defaultValue(options.near, 1.0);
|
@@ -716,7 +716,7 @@ define(['exports', './Transforms-40229881', './Matrix3-315394f6', './Matrix2-131
|
|
716
716
|
|
717
717
|
/**
|
718
718
|
* The distance of the far plane.
|
719
|
-
* @type {
|
719
|
+
* @type {number}
|
720
720
|
* @default 500000000.0;
|
721
721
|
*/
|
722
722
|
this.far = defaultValue.defaultValue(options.far, 500000000.0);
|
@@ -725,7 +725,7 @@ define(['exports', './Transforms-40229881', './Matrix3-315394f6', './Matrix2-131
|
|
725
725
|
|
726
726
|
/**
|
727
727
|
* The number of elements used to pack the object into an array.
|
728
|
-
* @type {
|
728
|
+
* @type {number}
|
729
729
|
*/
|
730
730
|
OrthographicFrustum.packedLength = 4;
|
731
731
|
|
@@ -733,10 +733,10 @@ define(['exports', './Transforms-40229881', './Matrix3-315394f6', './Matrix2-131
|
|
733
733
|
* Stores the provided instance into the provided array.
|
734
734
|
*
|
735
735
|
* @param {OrthographicFrustum} value The value to pack.
|
736
|
-
* @param {
|
737
|
-
* @param {
|
736
|
+
* @param {number[]} array The array to pack into.
|
737
|
+
* @param {number} [startingIndex=0] The index into the array at which to start packing the elements.
|
738
738
|
*
|
739
|
-
* @returns {
|
739
|
+
* @returns {number[]} The array that was packed into
|
740
740
|
*/
|
741
741
|
OrthographicFrustum.pack = function (value, array, startingIndex) {
|
742
742
|
//>>includeStart('debug', pragmas.debug);
|
@@ -757,8 +757,8 @@ define(['exports', './Transforms-40229881', './Matrix3-315394f6', './Matrix2-131
|
|
757
757
|
/**
|
758
758
|
* Retrieves an instance from a packed array.
|
759
759
|
*
|
760
|
-
* @param {
|
761
|
-
* @param {
|
760
|
+
* @param {number[]} array The packed array.
|
761
|
+
* @param {number} [startingIndex=0] The starting index of the element to be unpacked.
|
762
762
|
* @param {OrthographicFrustum} [result] The object into which to store the result.
|
763
763
|
* @returns {OrthographicFrustum} The modified result parameter or a new OrthographicFrustum instance if one was not provided.
|
764
764
|
*/
|
@@ -842,6 +842,19 @@ define(['exports', './Transforms-40229881', './Matrix3-315394f6', './Matrix2-131
|
|
842
842
|
return this._offCenterFrustum.projectionMatrix;
|
843
843
|
},
|
844
844
|
},
|
845
|
+
/**
|
846
|
+
* Gets the orthographic projection matrix computed from the view frustum.
|
847
|
+
* @memberof OrthographicFrustum.prototype
|
848
|
+
* @type {OrthographicOffCenterFrustum}
|
849
|
+
* @readonly
|
850
|
+
* @private
|
851
|
+
*/
|
852
|
+
offCenterFrustum: {
|
853
|
+
get: function () {
|
854
|
+
update$2(this);
|
855
|
+
return this._offCenterFrustum;
|
856
|
+
},
|
857
|
+
},
|
845
858
|
});
|
846
859
|
|
847
860
|
/**
|
@@ -869,10 +882,10 @@ define(['exports', './Transforms-40229881', './Matrix3-315394f6', './Matrix2-131
|
|
869
882
|
/**
|
870
883
|
* Returns the pixel's width and height in meters.
|
871
884
|
*
|
872
|
-
* @param {
|
873
|
-
* @param {
|
874
|
-
* @param {
|
875
|
-
* @param {
|
885
|
+
* @param {number} drawingBufferWidth The width of the drawing buffer.
|
886
|
+
* @param {number} drawingBufferHeight The height of the drawing buffer.
|
887
|
+
* @param {number} distance The distance to the near plane in meters.
|
888
|
+
* @param {number} pixelRatio The scaling factor from pixel space to coordinate space.
|
876
889
|
* @param {Cartesian2} result The object onto which to store the result.
|
877
890
|
* @returns {Cartesian2} The modified result parameter or a new instance of {@link Cartesian2} with the pixel's width and height in the x and y properties, respectively.
|
878
891
|
*
|
@@ -934,7 +947,7 @@ define(['exports', './Transforms-40229881', './Matrix3-315394f6', './Matrix2-131
|
|
934
947
|
* <code>true</code> if they are equal, <code>false</code> otherwise.
|
935
948
|
*
|
936
949
|
* @param {OrthographicFrustum} [other] The right hand side OrthographicFrustum.
|
937
|
-
* @returns {
|
950
|
+
* @returns {boolean} <code>true</code> if they are equal, <code>false</code> otherwise.
|
938
951
|
*/
|
939
952
|
OrthographicFrustum.prototype.equals = function (other) {
|
940
953
|
if (!defaultValue.defined(other) || !(other instanceof OrthographicFrustum)) {
|
@@ -957,9 +970,9 @@ define(['exports', './Transforms-40229881', './Matrix3-315394f6', './Matrix2-131
|
|
957
970
|
* <code>false</code> otherwise.
|
958
971
|
*
|
959
972
|
* @param {OrthographicFrustum} other The right hand side OrthographicFrustum.
|
960
|
-
* @param {
|
961
|
-
* @param {
|
962
|
-
* @returns {
|
973
|
+
* @param {number} relativeEpsilon The relative epsilon tolerance to use for equality testing.
|
974
|
+
* @param {number} [absoluteEpsilon=relativeEpsilon] The absolute epsilon tolerance to use for equality testing.
|
975
|
+
* @returns {boolean} <code>true</code> if this and other are within the provided epsilon, <code>false</code> otherwise.
|
963
976
|
*/
|
964
977
|
OrthographicFrustum.prototype.equalsEpsilon = function (
|
965
978
|
other,
|
@@ -1003,13 +1016,13 @@ define(['exports', './Transforms-40229881', './Matrix3-315394f6', './Matrix2-131
|
|
1003
1016
|
* @alias PerspectiveOffCenterFrustum
|
1004
1017
|
* @constructor
|
1005
1018
|
*
|
1006
|
-
* @param {
|
1007
|
-
* @param {
|
1008
|
-
* @param {
|
1009
|
-
* @param {
|
1010
|
-
* @param {
|
1011
|
-
* @param {
|
1012
|
-
* @param {
|
1019
|
+
* @param {object} [options] An object with the following properties:
|
1020
|
+
* @param {number} [options.left] The left clipping plane distance.
|
1021
|
+
* @param {number} [options.right] The right clipping plane distance.
|
1022
|
+
* @param {number} [options.top] The top clipping plane distance.
|
1023
|
+
* @param {number} [options.bottom] The bottom clipping plane distance.
|
1024
|
+
* @param {number} [options.near=1.0] The near clipping plane distance.
|
1025
|
+
* @param {number} [options.far=500000000.0] The far clipping plane distance.
|
1013
1026
|
*
|
1014
1027
|
* @example
|
1015
1028
|
* const frustum = new Cesium.PerspectiveOffCenterFrustum({
|
@@ -1028,7 +1041,7 @@ define(['exports', './Transforms-40229881', './Matrix3-315394f6', './Matrix2-131
|
|
1028
1041
|
|
1029
1042
|
/**
|
1030
1043
|
* Defines the left clipping plane.
|
1031
|
-
* @type {
|
1044
|
+
* @type {number}
|
1032
1045
|
* @default undefined
|
1033
1046
|
*/
|
1034
1047
|
this.left = options.left;
|
@@ -1036,7 +1049,7 @@ define(['exports', './Transforms-40229881', './Matrix3-315394f6', './Matrix2-131
|
|
1036
1049
|
|
1037
1050
|
/**
|
1038
1051
|
* Defines the right clipping plane.
|
1039
|
-
* @type {
|
1052
|
+
* @type {number}
|
1040
1053
|
* @default undefined
|
1041
1054
|
*/
|
1042
1055
|
this.right = options.right;
|
@@ -1044,7 +1057,7 @@ define(['exports', './Transforms-40229881', './Matrix3-315394f6', './Matrix2-131
|
|
1044
1057
|
|
1045
1058
|
/**
|
1046
1059
|
* Defines the top clipping plane.
|
1047
|
-
* @type {
|
1060
|
+
* @type {number}
|
1048
1061
|
* @default undefined
|
1049
1062
|
*/
|
1050
1063
|
this.top = options.top;
|
@@ -1052,7 +1065,7 @@ define(['exports', './Transforms-40229881', './Matrix3-315394f6', './Matrix2-131
|
|
1052
1065
|
|
1053
1066
|
/**
|
1054
1067
|
* Defines the bottom clipping plane.
|
1055
|
-
* @type {
|
1068
|
+
* @type {number}
|
1056
1069
|
* @default undefined
|
1057
1070
|
*/
|
1058
1071
|
this.bottom = options.bottom;
|
@@ -1060,7 +1073,7 @@ define(['exports', './Transforms-40229881', './Matrix3-315394f6', './Matrix2-131
|
|
1060
1073
|
|
1061
1074
|
/**
|
1062
1075
|
* The distance of the near plane.
|
1063
|
-
* @type {
|
1076
|
+
* @type {number}
|
1064
1077
|
* @default 1.0
|
1065
1078
|
*/
|
1066
1079
|
this.near = defaultValue.defaultValue(options.near, 1.0);
|
@@ -1068,7 +1081,7 @@ define(['exports', './Transforms-40229881', './Matrix3-315394f6', './Matrix2-131
|
|
1068
1081
|
|
1069
1082
|
/**
|
1070
1083
|
* The distance of the far plane.
|
1071
|
-
* @type {
|
1084
|
+
* @type {number}
|
1072
1085
|
* @default 500000000.0
|
1073
1086
|
*/
|
1074
1087
|
this.far = defaultValue.defaultValue(options.far, 500000000.0);
|
@@ -1326,10 +1339,10 @@ define(['exports', './Transforms-40229881', './Matrix3-315394f6', './Matrix2-131
|
|
1326
1339
|
/**
|
1327
1340
|
* Returns the pixel's width and height in meters.
|
1328
1341
|
*
|
1329
|
-
* @param {
|
1330
|
-
* @param {
|
1331
|
-
* @param {
|
1332
|
-
* @param {
|
1342
|
+
* @param {number} drawingBufferWidth The width of the drawing buffer.
|
1343
|
+
* @param {number} drawingBufferHeight The height of the drawing buffer.
|
1344
|
+
* @param {number} distance The distance to the near plane in meters.
|
1345
|
+
* @param {number} pixelRatio The scaling factor from pixel space to coordinate space.
|
1333
1346
|
* @param {Cartesian2} result The object onto which to store the result.
|
1334
1347
|
* @returns {Cartesian2} The modified result parameter or a new instance of {@link Cartesian2} with the pixel's width and height in the x and y properties, respectively.
|
1335
1348
|
*
|
@@ -1435,7 +1448,7 @@ define(['exports', './Transforms-40229881', './Matrix3-315394f6', './Matrix2-131
|
|
1435
1448
|
* <code>true</code> if they are equal, <code>false</code> otherwise.
|
1436
1449
|
*
|
1437
1450
|
* @param {PerspectiveOffCenterFrustum} [other] The right hand side PerspectiveOffCenterFrustum.
|
1438
|
-
* @returns {
|
1451
|
+
* @returns {boolean} <code>true</code> if they are equal, <code>false</code> otherwise.
|
1439
1452
|
*/
|
1440
1453
|
PerspectiveOffCenterFrustum.prototype.equals = function (other) {
|
1441
1454
|
return (
|
@@ -1456,9 +1469,9 @@ define(['exports', './Transforms-40229881', './Matrix3-315394f6', './Matrix2-131
|
|
1456
1469
|
* <code>false</code> otherwise.
|
1457
1470
|
*
|
1458
1471
|
* @param {PerspectiveOffCenterFrustum} other The right hand side PerspectiveOffCenterFrustum.
|
1459
|
-
* @param {
|
1460
|
-
* @param {
|
1461
|
-
* @returns {
|
1472
|
+
* @param {number} relativeEpsilon The relative epsilon tolerance to use for equality testing.
|
1473
|
+
* @param {number} [absoluteEpsilon=relativeEpsilon] The absolute epsilon tolerance to use for equality testing.
|
1474
|
+
* @returns {boolean} <code>true</code> if this and other are within the provided epsilon, <code>false</code> otherwise.
|
1462
1475
|
*/
|
1463
1476
|
PerspectiveOffCenterFrustum.prototype.equalsEpsilon = function (
|
1464
1477
|
other,
|
@@ -1517,13 +1530,13 @@ define(['exports', './Transforms-40229881', './Matrix3-315394f6', './Matrix2-131
|
|
1517
1530
|
* @alias PerspectiveFrustum
|
1518
1531
|
* @constructor
|
1519
1532
|
*
|
1520
|
-
* @param {
|
1521
|
-
* @param {
|
1522
|
-
* @param {
|
1523
|
-
* @param {
|
1524
|
-
* @param {
|
1525
|
-
* @param {
|
1526
|
-
* @param {
|
1533
|
+
* @param {object} [options] An object with the following properties:
|
1534
|
+
* @param {number} [options.fov] The angle of the field of view (FOV), in radians.
|
1535
|
+
* @param {number} [options.aspectRatio] The aspect ratio of the frustum's width to it's height.
|
1536
|
+
* @param {number} [options.near=1.0] The distance of the near plane.
|
1537
|
+
* @param {number} [options.far=500000000.0] The distance of the far plane.
|
1538
|
+
* @param {number} [options.xOffset=0.0] The offset in the x direction.
|
1539
|
+
* @param {number} [options.yOffset=0.0] The offset in the y direction.
|
1527
1540
|
*
|
1528
1541
|
* @example
|
1529
1542
|
* const frustum = new Cesium.PerspectiveFrustum({
|
@@ -1544,7 +1557,7 @@ define(['exports', './Transforms-40229881', './Matrix3-315394f6', './Matrix2-131
|
|
1544
1557
|
* The angle of the field of view (FOV), in radians. This angle will be used
|
1545
1558
|
* as the horizontal FOV if the width is greater than the height, otherwise
|
1546
1559
|
* it will be the vertical FOV.
|
1547
|
-
* @type {
|
1560
|
+
* @type {number}
|
1548
1561
|
* @default undefined
|
1549
1562
|
*/
|
1550
1563
|
this.fov = options.fov;
|
@@ -1555,7 +1568,7 @@ define(['exports', './Transforms-40229881', './Matrix3-315394f6', './Matrix2-131
|
|
1555
1568
|
|
1556
1569
|
/**
|
1557
1570
|
* The aspect ratio of the frustum's width to it's height.
|
1558
|
-
* @type {
|
1571
|
+
* @type {number}
|
1559
1572
|
* @default undefined
|
1560
1573
|
*/
|
1561
1574
|
this.aspectRatio = options.aspectRatio;
|
@@ -1563,7 +1576,7 @@ define(['exports', './Transforms-40229881', './Matrix3-315394f6', './Matrix2-131
|
|
1563
1576
|
|
1564
1577
|
/**
|
1565
1578
|
* The distance of the near plane.
|
1566
|
-
* @type {
|
1579
|
+
* @type {number}
|
1567
1580
|
* @default 1.0
|
1568
1581
|
*/
|
1569
1582
|
this.near = defaultValue.defaultValue(options.near, 1.0);
|
@@ -1571,7 +1584,7 @@ define(['exports', './Transforms-40229881', './Matrix3-315394f6', './Matrix2-131
|
|
1571
1584
|
|
1572
1585
|
/**
|
1573
1586
|
* The distance of the far plane.
|
1574
|
-
* @type {
|
1587
|
+
* @type {number}
|
1575
1588
|
* @default 500000000.0
|
1576
1589
|
*/
|
1577
1590
|
this.far = defaultValue.defaultValue(options.far, 500000000.0);
|
@@ -1579,7 +1592,7 @@ define(['exports', './Transforms-40229881', './Matrix3-315394f6', './Matrix2-131
|
|
1579
1592
|
|
1580
1593
|
/**
|
1581
1594
|
* Offsets the frustum in the x direction.
|
1582
|
-
* @type {
|
1595
|
+
* @type {number}
|
1583
1596
|
* @default 0.0
|
1584
1597
|
*/
|
1585
1598
|
this.xOffset = defaultValue.defaultValue(options.xOffset, 0.0);
|
@@ -1587,7 +1600,7 @@ define(['exports', './Transforms-40229881', './Matrix3-315394f6', './Matrix2-131
|
|
1587
1600
|
|
1588
1601
|
/**
|
1589
1602
|
* Offsets the frustum in the y direction.
|
1590
|
-
* @type {
|
1603
|
+
* @type {number}
|
1591
1604
|
* @default 0.0
|
1592
1605
|
*/
|
1593
1606
|
this.yOffset = defaultValue.defaultValue(options.yOffset, 0.0);
|
@@ -1596,7 +1609,7 @@ define(['exports', './Transforms-40229881', './Matrix3-315394f6', './Matrix2-131
|
|
1596
1609
|
|
1597
1610
|
/**
|
1598
1611
|
* The number of elements used to pack the object into an array.
|
1599
|
-
* @type {
|
1612
|
+
* @type {number}
|
1600
1613
|
*/
|
1601
1614
|
PerspectiveFrustum.packedLength = 6;
|
1602
1615
|
|
@@ -1604,10 +1617,10 @@ define(['exports', './Transforms-40229881', './Matrix3-315394f6', './Matrix2-131
|
|
1604
1617
|
* Stores the provided instance into the provided array.
|
1605
1618
|
*
|
1606
1619
|
* @param {PerspectiveFrustum} value The value to pack.
|
1607
|
-
* @param {
|
1608
|
-
* @param {
|
1620
|
+
* @param {number[]} array The array to pack into.
|
1621
|
+
* @param {number} [startingIndex=0] The index into the array at which to start packing the elements.
|
1609
1622
|
*
|
1610
|
-
* @returns {
|
1623
|
+
* @returns {number[]} The array that was packed into
|
1611
1624
|
*/
|
1612
1625
|
PerspectiveFrustum.pack = function (value, array, startingIndex) {
|
1613
1626
|
//>>includeStart('debug', pragmas.debug);
|
@@ -1630,8 +1643,8 @@ define(['exports', './Transforms-40229881', './Matrix3-315394f6', './Matrix2-131
|
|
1630
1643
|
/**
|
1631
1644
|
* Retrieves an instance from a packed array.
|
1632
1645
|
*
|
1633
|
-
* @param {
|
1634
|
-
* @param {
|
1646
|
+
* @param {number[]} array The packed array.
|
1647
|
+
* @param {number} [startingIndex=0] The starting index of the element to be unpacked.
|
1635
1648
|
* @param {PerspectiveFrustum} [result] The object into which to store the result.
|
1636
1649
|
* @returns {PerspectiveFrustum} The modified result parameter or a new PerspectiveFrustum instance if one was not provided.
|
1637
1650
|
*/
|
@@ -1756,7 +1769,7 @@ define(['exports', './Transforms-40229881', './Matrix3-315394f6', './Matrix2-131
|
|
1756
1769
|
/**
|
1757
1770
|
* Gets the angle of the vertical field of view, in radians.
|
1758
1771
|
* @memberof PerspectiveFrustum.prototype
|
1759
|
-
* @type {
|
1772
|
+
* @type {number}
|
1760
1773
|
* @readonly
|
1761
1774
|
* @default undefined
|
1762
1775
|
*/
|
@@ -1777,6 +1790,20 @@ define(['exports', './Transforms-40229881', './Matrix3-315394f6', './Matrix2-131
|
|
1777
1790
|
return this._sseDenominator;
|
1778
1791
|
},
|
1779
1792
|
},
|
1793
|
+
|
1794
|
+
/**
|
1795
|
+
* Gets the orthographic projection matrix computed from the view frustum.
|
1796
|
+
* @memberof PerspectiveFrustum.prototype
|
1797
|
+
* @type {PerspectiveOffCenterFrustum}
|
1798
|
+
* @readonly
|
1799
|
+
* @private
|
1800
|
+
*/
|
1801
|
+
offCenterFrustum: {
|
1802
|
+
get: function () {
|
1803
|
+
update(this);
|
1804
|
+
return this._offCenterFrustum;
|
1805
|
+
},
|
1806
|
+
},
|
1780
1807
|
});
|
1781
1808
|
|
1782
1809
|
/**
|
@@ -1804,10 +1831,10 @@ define(['exports', './Transforms-40229881', './Matrix3-315394f6', './Matrix2-131
|
|
1804
1831
|
/**
|
1805
1832
|
* Returns the pixel's width and height in meters.
|
1806
1833
|
*
|
1807
|
-
* @param {
|
1808
|
-
* @param {
|
1809
|
-
* @param {
|
1810
|
-
* @param {
|
1834
|
+
* @param {number} drawingBufferWidth The width of the drawing buffer.
|
1835
|
+
* @param {number} drawingBufferHeight The height of the drawing buffer.
|
1836
|
+
* @param {number} distance The distance to the near plane in meters.
|
1837
|
+
* @param {number} pixelRatio The scaling factor from pixel space to coordinate space.
|
1811
1838
|
* @param {Cartesian2} result The object onto which to store the result.
|
1812
1839
|
* @returns {Cartesian2} The modified result parameter or a new instance of {@link Cartesian2} with the pixel's width and height in the x and y properties, respectively.
|
1813
1840
|
*
|
@@ -1880,7 +1907,7 @@ define(['exports', './Transforms-40229881', './Matrix3-315394f6', './Matrix2-131
|
|
1880
1907
|
* <code>true</code> if they are equal, <code>false</code> otherwise.
|
1881
1908
|
*
|
1882
1909
|
* @param {PerspectiveFrustum} [other] The right hand side PerspectiveFrustum.
|
1883
|
-
* @returns {
|
1910
|
+
* @returns {boolean} <code>true</code> if they are equal, <code>false</code> otherwise.
|
1884
1911
|
*/
|
1885
1912
|
PerspectiveFrustum.prototype.equals = function (other) {
|
1886
1913
|
if (!defaultValue.defined(other) || !(other instanceof PerspectiveFrustum)) {
|
@@ -1903,9 +1930,9 @@ define(['exports', './Transforms-40229881', './Matrix3-315394f6', './Matrix2-131
|
|
1903
1930
|
* <code>false</code> otherwise.
|
1904
1931
|
*
|
1905
1932
|
* @param {PerspectiveFrustum} other The right hand side PerspectiveFrustum.
|
1906
|
-
* @param {
|
1907
|
-
* @param {
|
1908
|
-
* @returns {
|
1933
|
+
* @param {number} relativeEpsilon The relative epsilon tolerance to use for equality testing.
|
1934
|
+
* @param {number} [absoluteEpsilon=relativeEpsilon] The absolute epsilon tolerance to use for equality testing.
|
1935
|
+
* @returns {boolean} <code>true</code> if this and other are within the provided epsilon, <code>false</code> otherwise.
|
1909
1936
|
*/
|
1910
1937
|
PerspectiveFrustum.prototype.equalsEpsilon = function (
|
1911
1938
|
other,
|
@@ -1949,7 +1976,7 @@ define(['exports', './Transforms-40229881', './Matrix3-315394f6', './Matrix2-131
|
|
1949
1976
|
* @alias FrustumGeometry
|
1950
1977
|
* @constructor
|
1951
1978
|
*
|
1952
|
-
* @param {
|
1979
|
+
* @param {object} options Object with the following properties:
|
1953
1980
|
* @param {PerspectiveFrustum|OrthographicFrustum} options.frustum The frustum.
|
1954
1981
|
* @param {Cartesian3} options.origin The origin of the frustum.
|
1955
1982
|
* @param {Quaternion} options.orientation The orientation of the frustum.
|
@@ -1993,7 +2020,7 @@ define(['exports', './Transforms-40229881', './Matrix3-315394f6', './Matrix2-131
|
|
1993
2020
|
|
1994
2021
|
/**
|
1995
2022
|
* The number of elements used to pack the object into an array.
|
1996
|
-
* @type {
|
2023
|
+
* @type {number}
|
1997
2024
|
*/
|
1998
2025
|
this.packedLength =
|
1999
2026
|
2 +
|
@@ -2007,10 +2034,10 @@ define(['exports', './Transforms-40229881', './Matrix3-315394f6', './Matrix2-131
|
|
2007
2034
|
* Stores the provided instance into the provided array.
|
2008
2035
|
*
|
2009
2036
|
* @param {FrustumGeometry} value The value to pack.
|
2010
|
-
* @param {
|
2011
|
-
* @param {
|
2037
|
+
* @param {number[]} array The array to pack into.
|
2038
|
+
* @param {number} [startingIndex=0] The index into the array at which to start packing the elements.
|
2012
2039
|
*
|
2013
|
-
* @returns {
|
2040
|
+
* @returns {number[]} The array that was packed into
|
2014
2041
|
*/
|
2015
2042
|
FrustumGeometry.pack = function (value, array, startingIndex) {
|
2016
2043
|
//>>includeStart('debug', pragmas.debug);
|
@@ -2053,8 +2080,8 @@ define(['exports', './Transforms-40229881', './Matrix3-315394f6', './Matrix2-131
|
|
2053
2080
|
/**
|
2054
2081
|
* Retrieves an instance from a packed array.
|
2055
2082
|
*
|
2056
|
-
* @param {
|
2057
|
-
* @param {
|
2083
|
+
* @param {number[]} array The packed array.
|
2084
|
+
* @param {number} [startingIndex=0] The starting index of the element to be unpacked.
|
2058
2085
|
* @param {FrustumGeometry} [result] The object into which to store the result.
|
2059
2086
|
*/
|
2060
2087
|
FrustumGeometry.unpack = function (array, startingIndex, result) {
|
@@ -2219,8 +2246,8 @@ define(['exports', './Transforms-40229881', './Matrix3-315394f6', './Matrix2-131
|
|
2219
2246
|
|
2220
2247
|
let inverseView;
|
2221
2248
|
let inverseViewProjection;
|
2249
|
+
const projection = frustum.projectionMatrix;
|
2222
2250
|
if (frustumType === PERSPECTIVE) {
|
2223
|
-
const projection = frustum.projectionMatrix;
|
2224
2251
|
const viewProjection = Matrix2.Matrix4.multiply(
|
2225
2252
|
projection,
|
2226
2253
|
view,
|
@@ -2251,8 +2278,9 @@ define(['exports', './Transforms-40229881', './Matrix3-315394f6', './Matrix2-131
|
|
2251
2278
|
);
|
2252
2279
|
|
2253
2280
|
if (!defaultValue.defined(inverseViewProjection)) {
|
2254
|
-
|
2255
|
-
|
2281
|
+
const offCenterFrustum = frustum.offCenterFrustum;
|
2282
|
+
if (defaultValue.defined(offCenterFrustum)) {
|
2283
|
+
frustum = offCenterFrustum;
|
2256
2284
|
}
|
2257
2285
|
|
2258
2286
|
const near = frustumSplits[i];
|