@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
@@ -1,13 +1,13 @@
|
|
1
|
-
define(['exports', './Check-
|
1
|
+
define(['exports', './Check-6ede7e26', './defaultValue-fe22d8c0', './Math-0a2ac845'], (function (exports, Check, defaultValue, Math$1) { 'use strict';
|
2
2
|
|
3
3
|
/**
|
4
4
|
* A 3D Cartesian point.
|
5
5
|
* @alias Cartesian3
|
6
6
|
* @constructor
|
7
7
|
*
|
8
|
-
* @param {
|
9
|
-
* @param {
|
10
|
-
* @param {
|
8
|
+
* @param {number} [x=0.0] The X component.
|
9
|
+
* @param {number} [y=0.0] The Y component.
|
10
|
+
* @param {number} [z=0.0] The Z component.
|
11
11
|
*
|
12
12
|
* @see Cartesian2
|
13
13
|
* @see Cartesian4
|
@@ -16,21 +16,21 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67', './Math-2dbd6b
|
|
16
16
|
function Cartesian3(x, y, z) {
|
17
17
|
/**
|
18
18
|
* The X component.
|
19
|
-
* @type {
|
19
|
+
* @type {number}
|
20
20
|
* @default 0.0
|
21
21
|
*/
|
22
22
|
this.x = defaultValue.defaultValue(x, 0.0);
|
23
23
|
|
24
24
|
/**
|
25
25
|
* The Y component.
|
26
|
-
* @type {
|
26
|
+
* @type {number}
|
27
27
|
* @default 0.0
|
28
28
|
*/
|
29
29
|
this.y = defaultValue.defaultValue(y, 0.0);
|
30
30
|
|
31
31
|
/**
|
32
32
|
* The Z component.
|
33
|
-
* @type {
|
33
|
+
* @type {number}
|
34
34
|
* @default 0.0
|
35
35
|
*/
|
36
36
|
this.z = defaultValue.defaultValue(z, 0.0);
|
@@ -65,9 +65,9 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67', './Math-2dbd6b
|
|
65
65
|
/**
|
66
66
|
* Creates a Cartesian3 instance from x, y and z coordinates.
|
67
67
|
*
|
68
|
-
* @param {
|
69
|
-
* @param {
|
70
|
-
* @param {
|
68
|
+
* @param {number} x The x coordinate.
|
69
|
+
* @param {number} y The y coordinate.
|
70
|
+
* @param {number} z The z coordinate.
|
71
71
|
* @param {Cartesian3} [result] The object onto which to store the result.
|
72
72
|
* @returns {Cartesian3} The modified result parameter or a new Cartesian3 instance if one was not provided.
|
73
73
|
*/
|
@@ -116,7 +116,7 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67', './Math-2dbd6b
|
|
116
116
|
|
117
117
|
/**
|
118
118
|
* The number of elements used to pack the object into an array.
|
119
|
-
* @type {
|
119
|
+
* @type {number}
|
120
120
|
*/
|
121
121
|
Cartesian3.packedLength = 3;
|
122
122
|
|
@@ -124,10 +124,10 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67', './Math-2dbd6b
|
|
124
124
|
* Stores the provided instance into the provided array.
|
125
125
|
*
|
126
126
|
* @param {Cartesian3} value The value to pack.
|
127
|
-
* @param {
|
128
|
-
* @param {
|
127
|
+
* @param {number[]} array The array to pack into.
|
128
|
+
* @param {number} [startingIndex=0] The index into the array at which to start packing the elements.
|
129
129
|
*
|
130
|
-
* @returns {
|
130
|
+
* @returns {number[]} The array that was packed into
|
131
131
|
*/
|
132
132
|
Cartesian3.pack = function (value, array, startingIndex) {
|
133
133
|
//>>includeStart('debug', pragmas.debug);
|
@@ -147,8 +147,8 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67', './Math-2dbd6b
|
|
147
147
|
/**
|
148
148
|
* Retrieves an instance from a packed array.
|
149
149
|
*
|
150
|
-
* @param {
|
151
|
-
* @param {
|
150
|
+
* @param {number[]} array The packed array.
|
151
|
+
* @param {number} [startingIndex=0] The starting index of the element to be unpacked.
|
152
152
|
* @param {Cartesian3} [result] The object into which to store the result.
|
153
153
|
* @returns {Cartesian3} The modified result parameter or a new Cartesian3 instance if one was not provided.
|
154
154
|
*/
|
@@ -172,8 +172,8 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67', './Math-2dbd6b
|
|
172
172
|
* Flattens an array of Cartesian3s into an array of components.
|
173
173
|
*
|
174
174
|
* @param {Cartesian3[]} array The array of cartesians to pack.
|
175
|
-
* @param {
|
176
|
-
* @returns {
|
175
|
+
* @param {number[]} [result] The array onto which to store the result. If this is a typed array, it must have array.length * 3 components, else a {@link DeveloperError} will be thrown. If it is a regular array, it will be resized to have (array.length * 3) elements.
|
176
|
+
* @returns {number[]} The packed array.
|
177
177
|
*/
|
178
178
|
Cartesian3.packArray = function (array, result) {
|
179
179
|
//>>includeStart('debug', pragmas.debug);
|
@@ -203,7 +203,7 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67', './Math-2dbd6b
|
|
203
203
|
/**
|
204
204
|
* Unpacks an array of cartesian components into an array of Cartesian3s.
|
205
205
|
*
|
206
|
-
* @param {
|
206
|
+
* @param {number[]} array The array of components to unpack.
|
207
207
|
* @param {Cartesian3[]} [result] The array onto which to store the result.
|
208
208
|
* @returns {Cartesian3[]} The unpacked array.
|
209
209
|
*/
|
@@ -234,8 +234,8 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67', './Math-2dbd6b
|
|
234
234
|
* Creates a Cartesian3 from three consecutive elements in an array.
|
235
235
|
* @function
|
236
236
|
*
|
237
|
-
* @param {
|
238
|
-
* @param {
|
237
|
+
* @param {number[]} array The array whose three consecutive elements correspond to the x, y, and z components, respectively.
|
238
|
+
* @param {number} [startingIndex=0] The offset into the array of the first element, which corresponds to the x component.
|
239
239
|
* @param {Cartesian3} [result] The object onto which to store the result.
|
240
240
|
* @returns {Cartesian3} The modified result parameter or a new Cartesian3 instance if one was not provided.
|
241
241
|
*
|
@@ -254,7 +254,7 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67', './Math-2dbd6b
|
|
254
254
|
* Computes the value of the maximum component for the supplied Cartesian.
|
255
255
|
*
|
256
256
|
* @param {Cartesian3} cartesian The cartesian to use.
|
257
|
-
* @returns {
|
257
|
+
* @returns {number} The value of the maximum component.
|
258
258
|
*/
|
259
259
|
Cartesian3.maximumComponent = function (cartesian) {
|
260
260
|
//>>includeStart('debug', pragmas.debug);
|
@@ -268,7 +268,7 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67', './Math-2dbd6b
|
|
268
268
|
* Computes the value of the minimum component for the supplied Cartesian.
|
269
269
|
*
|
270
270
|
* @param {Cartesian3} cartesian The cartesian to use.
|
271
|
-
* @returns {
|
271
|
+
* @returns {number} The value of the minimum component.
|
272
272
|
*/
|
273
273
|
Cartesian3.minimumComponent = function (cartesian) {
|
274
274
|
//>>includeStart('debug', pragmas.debug);
|
@@ -353,7 +353,7 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67', './Math-2dbd6b
|
|
353
353
|
* Computes the provided Cartesian's squared magnitude.
|
354
354
|
*
|
355
355
|
* @param {Cartesian3} cartesian The Cartesian instance whose squared magnitude is to be computed.
|
356
|
-
* @returns {
|
356
|
+
* @returns {number} The squared magnitude.
|
357
357
|
*/
|
358
358
|
Cartesian3.magnitudeSquared = function (cartesian) {
|
359
359
|
//>>includeStart('debug', pragmas.debug);
|
@@ -371,7 +371,7 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67', './Math-2dbd6b
|
|
371
371
|
* Computes the Cartesian's magnitude (length).
|
372
372
|
*
|
373
373
|
* @param {Cartesian3} cartesian The Cartesian instance whose magnitude is to be computed.
|
374
|
-
* @returns {
|
374
|
+
* @returns {number} The magnitude.
|
375
375
|
*/
|
376
376
|
Cartesian3.magnitude = function (cartesian) {
|
377
377
|
return Math.sqrt(Cartesian3.magnitudeSquared(cartesian));
|
@@ -384,7 +384,7 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67', './Math-2dbd6b
|
|
384
384
|
*
|
385
385
|
* @param {Cartesian3} left The first point to compute the distance from.
|
386
386
|
* @param {Cartesian3} right The second point to compute the distance to.
|
387
|
-
* @returns {
|
387
|
+
* @returns {number} The distance between two points.
|
388
388
|
*
|
389
389
|
* @example
|
390
390
|
* // Returns 1.0
|
@@ -406,7 +406,7 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67', './Math-2dbd6b
|
|
406
406
|
*
|
407
407
|
* @param {Cartesian3} left The first point to compute the distance from.
|
408
408
|
* @param {Cartesian3} right The second point to compute the distance to.
|
409
|
-
* @returns {
|
409
|
+
* @returns {number} The distance between two points.
|
410
410
|
*
|
411
411
|
* @example
|
412
412
|
* // Returns 4.0, not 2.0
|
@@ -455,7 +455,7 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67', './Math-2dbd6b
|
|
455
455
|
*
|
456
456
|
* @param {Cartesian3} left The first Cartesian.
|
457
457
|
* @param {Cartesian3} right The second Cartesian.
|
458
|
-
* @returns {
|
458
|
+
* @returns {number} The dot product.
|
459
459
|
*/
|
460
460
|
Cartesian3.dot = function (left, right) {
|
461
461
|
//>>includeStart('debug', pragmas.debug);
|
@@ -554,7 +554,7 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67', './Math-2dbd6b
|
|
554
554
|
* Multiplies the provided Cartesian componentwise by the provided scalar.
|
555
555
|
*
|
556
556
|
* @param {Cartesian3} cartesian The Cartesian to be scaled.
|
557
|
-
* @param {
|
557
|
+
* @param {number} scalar The scalar to multiply with.
|
558
558
|
* @param {Cartesian3} result The object onto which to store the result.
|
559
559
|
* @returns {Cartesian3} The modified result parameter.
|
560
560
|
*/
|
@@ -575,7 +575,7 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67', './Math-2dbd6b
|
|
575
575
|
* Divides the provided Cartesian componentwise by the provided scalar.
|
576
576
|
*
|
577
577
|
* @param {Cartesian3} cartesian The Cartesian to be divided.
|
578
|
-
* @param {
|
578
|
+
* @param {number} scalar The scalar to divide by.
|
579
579
|
* @param {Cartesian3} result The object onto which to store the result.
|
580
580
|
* @returns {Cartesian3} The modified result parameter.
|
581
581
|
*/
|
@@ -636,7 +636,7 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67', './Math-2dbd6b
|
|
636
636
|
*
|
637
637
|
* @param {Cartesian3} start The value corresponding to t at 0.0.
|
638
638
|
* @param {Cartesian3} end The value corresponding to t at 1.0.
|
639
|
-
* @param {
|
639
|
+
* @param {number} t The point along t at which to interpolate.
|
640
640
|
* @param {Cartesian3} result The object onto which to store the result.
|
641
641
|
* @returns {Cartesian3} The modified result parameter.
|
642
642
|
*/
|
@@ -660,7 +660,7 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67', './Math-2dbd6b
|
|
660
660
|
*
|
661
661
|
* @param {Cartesian3} left The first Cartesian.
|
662
662
|
* @param {Cartesian3} right The second Cartesian.
|
663
|
-
* @returns {
|
663
|
+
* @returns {number} The angle between the Cartesians.
|
664
664
|
*/
|
665
665
|
Cartesian3.angleBetween = function (left, right) {
|
666
666
|
//>>includeStart('debug', pragmas.debug);
|
@@ -737,7 +737,7 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67', './Math-2dbd6b
|
|
737
737
|
*
|
738
738
|
* @param {Cartesian3} [left] The first Cartesian.
|
739
739
|
* @param {Cartesian3} [right] The second Cartesian.
|
740
|
-
* @returns {
|
740
|
+
* @returns {boolean} <code>true</code> if left and right are equal, <code>false</code> otherwise.
|
741
741
|
*/
|
742
742
|
Cartesian3.equals = function (left, right) {
|
743
743
|
return (
|
@@ -768,9 +768,9 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67', './Math-2dbd6b
|
|
768
768
|
*
|
769
769
|
* @param {Cartesian3} [left] The first Cartesian.
|
770
770
|
* @param {Cartesian3} [right] The second Cartesian.
|
771
|
-
* @param {
|
772
|
-
* @param {
|
773
|
-
* @returns {
|
771
|
+
* @param {number} [relativeEpsilon=0] The relative epsilon tolerance to use for equality testing.
|
772
|
+
* @param {number} [absoluteEpsilon=relativeEpsilon] The absolute epsilon tolerance to use for equality testing.
|
773
|
+
* @returns {boolean} <code>true</code> if left and right are within the provided epsilon, <code>false</code> otherwise.
|
774
774
|
*/
|
775
775
|
Cartesian3.equalsEpsilon = function (
|
776
776
|
left,
|
@@ -859,9 +859,9 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67', './Math-2dbd6b
|
|
859
859
|
/**
|
860
860
|
* Returns a Cartesian3 position from longitude and latitude values given in degrees.
|
861
861
|
*
|
862
|
-
* @param {
|
863
|
-
* @param {
|
864
|
-
* @param {
|
862
|
+
* @param {number} longitude The longitude, in degrees
|
863
|
+
* @param {number} latitude The latitude, in degrees
|
864
|
+
* @param {number} [height=0.0] The height, in meters, above the ellipsoid.
|
865
865
|
* @param {Ellipsoid} [ellipsoid=Ellipsoid.WGS84] The ellipsoid on which the position lies.
|
866
866
|
* @param {Cartesian3} [result] The object onto which to store the result.
|
867
867
|
* @returns {Cartesian3} The position
|
@@ -897,9 +897,9 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67', './Math-2dbd6b
|
|
897
897
|
/**
|
898
898
|
* Returns a Cartesian3 position from longitude and latitude values given in radians.
|
899
899
|
*
|
900
|
-
* @param {
|
901
|
-
* @param {
|
902
|
-
* @param {
|
900
|
+
* @param {number} longitude The longitude, in radians
|
901
|
+
* @param {number} latitude The latitude, in radians
|
902
|
+
* @param {number} [height=0.0] The height, in meters, above the ellipsoid.
|
903
903
|
* @param {Ellipsoid} [ellipsoid=Ellipsoid.WGS84] The ellipsoid on which the position lies.
|
904
904
|
* @param {Cartesian3} [result] The object onto which to store the result.
|
905
905
|
* @returns {Cartesian3} The position
|
@@ -944,7 +944,7 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67', './Math-2dbd6b
|
|
944
944
|
/**
|
945
945
|
* Returns an array of Cartesian3 positions given an array of longitude and latitude values given in degrees.
|
946
946
|
*
|
947
|
-
* @param {
|
947
|
+
* @param {number[]} coordinates A list of longitude and latitude values. Values alternate [longitude, latitude, longitude, latitude...].
|
948
948
|
* @param {Ellipsoid} [ellipsoid=Ellipsoid.WGS84] The ellipsoid on which the coordinates lie.
|
949
949
|
* @param {Cartesian3[]} [result] An array of Cartesian3 objects to store the result.
|
950
950
|
* @returns {Cartesian3[]} The array of positions.
|
@@ -988,7 +988,7 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67', './Math-2dbd6b
|
|
988
988
|
/**
|
989
989
|
* Returns an array of Cartesian3 positions given an array of longitude and latitude values given in radians.
|
990
990
|
*
|
991
|
-
* @param {
|
991
|
+
* @param {number[]} coordinates A list of longitude and latitude values. Values alternate [longitude, latitude, longitude, latitude...].
|
992
992
|
* @param {Ellipsoid} [ellipsoid=Ellipsoid.WGS84] The ellipsoid on which the coordinates lie.
|
993
993
|
* @param {Cartesian3[]} [result] An array of Cartesian3 objects to store the result.
|
994
994
|
* @returns {Cartesian3[]} The array of positions.
|
@@ -1032,7 +1032,7 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67', './Math-2dbd6b
|
|
1032
1032
|
/**
|
1033
1033
|
* Returns an array of Cartesian3 positions given an array of longitude, latitude and height values where longitude and latitude are given in degrees.
|
1034
1034
|
*
|
1035
|
-
* @param {
|
1035
|
+
* @param {number[]} coordinates A list of longitude, latitude and height values. Values alternate [longitude, latitude, height, longitude, latitude, height...].
|
1036
1036
|
* @param {Ellipsoid} [ellipsoid=Ellipsoid.WGS84] The ellipsoid on which the position lies.
|
1037
1037
|
* @param {Cartesian3[]} [result] An array of Cartesian3 objects to store the result.
|
1038
1038
|
* @returns {Cartesian3[]} The array of positions.
|
@@ -1077,7 +1077,7 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67', './Math-2dbd6b
|
|
1077
1077
|
/**
|
1078
1078
|
* Returns an array of Cartesian3 positions given an array of longitude, latitude and height values where longitude and latitude are given in radians.
|
1079
1079
|
*
|
1080
|
-
* @param {
|
1080
|
+
* @param {number[]} coordinates A list of longitude, latitude and height values. Values alternate [longitude, latitude, height, longitude, latitude, height...].
|
1081
1081
|
* @param {Ellipsoid} [ellipsoid=Ellipsoid.WGS84] The ellipsoid on which the position lies.
|
1082
1082
|
* @param {Cartesian3[]} [result] An array of Cartesian3 objects to store the result.
|
1083
1083
|
* @returns {Cartesian3[]} The array of positions.
|
@@ -1174,7 +1174,7 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67', './Math-2dbd6b
|
|
1174
1174
|
* <code>true</code> if they are equal, <code>false</code> otherwise.
|
1175
1175
|
*
|
1176
1176
|
* @param {Cartesian3} [right] The right hand side Cartesian.
|
1177
|
-
* @returns {
|
1177
|
+
* @returns {boolean} <code>true</code> if they are equal, <code>false</code> otherwise.
|
1178
1178
|
*/
|
1179
1179
|
Cartesian3.prototype.equals = function (right) {
|
1180
1180
|
return Cartesian3.equals(this, right);
|
@@ -1186,9 +1186,9 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67', './Math-2dbd6b
|
|
1186
1186
|
* <code>false</code> otherwise.
|
1187
1187
|
*
|
1188
1188
|
* @param {Cartesian3} [right] The right hand side Cartesian.
|
1189
|
-
* @param {
|
1190
|
-
* @param {
|
1191
|
-
* @returns {
|
1189
|
+
* @param {number} [relativeEpsilon=0] The relative epsilon tolerance to use for equality testing.
|
1190
|
+
* @param {number} [absoluteEpsilon=relativeEpsilon] The absolute epsilon tolerance to use for equality testing.
|
1191
|
+
* @returns {boolean} <code>true</code> if they are within the provided epsilon, <code>false</code> otherwise.
|
1192
1192
|
*/
|
1193
1193
|
Cartesian3.prototype.equalsEpsilon = function (
|
1194
1194
|
right,
|
@@ -1206,7 +1206,7 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67', './Math-2dbd6b
|
|
1206
1206
|
/**
|
1207
1207
|
* Creates a string representing this Cartesian in the format '(x, y, z)'.
|
1208
1208
|
*
|
1209
|
-
* @returns {
|
1209
|
+
* @returns {string} A string representing this Cartesian in the format '(x, y, z)'.
|
1210
1210
|
*/
|
1211
1211
|
Cartesian3.prototype.toString = function () {
|
1212
1212
|
return `(${this.x}, ${this.y}, ${this.z})`;
|
@@ -1223,7 +1223,7 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67', './Math-2dbd6b
|
|
1223
1223
|
* @param {Cartesian3} cartesian The Cartesian position to scale.
|
1224
1224
|
* @param {Cartesian3} oneOverRadii One over radii of the ellipsoid.
|
1225
1225
|
* @param {Cartesian3} oneOverRadiiSquared One over radii squared of the ellipsoid.
|
1226
|
-
* @param {
|
1226
|
+
* @param {number} centerToleranceSquared Tolerance for closeness to the center.
|
1227
1227
|
* @param {Cartesian3} [result] The object onto which to store the result.
|
1228
1228
|
* @returns {Cartesian3} The modified result parameter, a new Cartesian3 instance if none was provided, or undefined if the position is at the center.
|
1229
1229
|
*
|
@@ -1359,30 +1359,30 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67', './Math-2dbd6b
|
|
1359
1359
|
* @alias Cartographic
|
1360
1360
|
* @constructor
|
1361
1361
|
*
|
1362
|
-
* @param {
|
1363
|
-
* @param {
|
1364
|
-
* @param {
|
1362
|
+
* @param {number} [longitude=0.0] The longitude, in radians.
|
1363
|
+
* @param {number} [latitude=0.0] The latitude, in radians.
|
1364
|
+
* @param {number} [height=0.0] The height, in meters, above the ellipsoid.
|
1365
1365
|
*
|
1366
1366
|
* @see Ellipsoid
|
1367
1367
|
*/
|
1368
1368
|
function Cartographic(longitude, latitude, height) {
|
1369
1369
|
/**
|
1370
1370
|
* The longitude, in radians.
|
1371
|
-
* @type {
|
1371
|
+
* @type {number}
|
1372
1372
|
* @default 0.0
|
1373
1373
|
*/
|
1374
1374
|
this.longitude = defaultValue.defaultValue(longitude, 0.0);
|
1375
1375
|
|
1376
1376
|
/**
|
1377
1377
|
* The latitude, in radians.
|
1378
|
-
* @type {
|
1378
|
+
* @type {number}
|
1379
1379
|
* @default 0.0
|
1380
1380
|
*/
|
1381
1381
|
this.latitude = defaultValue.defaultValue(latitude, 0.0);
|
1382
1382
|
|
1383
1383
|
/**
|
1384
1384
|
* The height, in meters, above the ellipsoid.
|
1385
|
-
* @type {
|
1385
|
+
* @type {number}
|
1386
1386
|
* @default 0.0
|
1387
1387
|
*/
|
1388
1388
|
this.height = defaultValue.defaultValue(height, 0.0);
|
@@ -1392,9 +1392,9 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67', './Math-2dbd6b
|
|
1392
1392
|
* Creates a new Cartographic instance from longitude and latitude
|
1393
1393
|
* specified in radians.
|
1394
1394
|
*
|
1395
|
-
* @param {
|
1396
|
-
* @param {
|
1397
|
-
* @param {
|
1395
|
+
* @param {number} longitude The longitude, in radians.
|
1396
|
+
* @param {number} latitude The latitude, in radians.
|
1397
|
+
* @param {number} [height=0.0] The height, in meters, above the ellipsoid.
|
1398
1398
|
* @param {Cartographic} [result] The object onto which to store the result.
|
1399
1399
|
* @returns {Cartographic} The modified result parameter or a new Cartographic instance if one was not provided.
|
1400
1400
|
*/
|
@@ -1421,9 +1421,9 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67', './Math-2dbd6b
|
|
1421
1421
|
* specified in degrees. The values in the resulting object will
|
1422
1422
|
* be in radians.
|
1423
1423
|
*
|
1424
|
-
* @param {
|
1425
|
-
* @param {
|
1426
|
-
* @param {
|
1424
|
+
* @param {number} longitude The longitude, in degrees.
|
1425
|
+
* @param {number} latitude The latitude, in degrees.
|
1426
|
+
* @param {number} [height=0.0] The height, in meters, above the ellipsoid.
|
1427
1427
|
* @param {Cartographic} [result] The object onto which to store the result.
|
1428
1428
|
* @returns {Cartographic} The modified result parameter or a new Cartographic instance if one was not provided.
|
1429
1429
|
*/
|
@@ -1562,7 +1562,7 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67', './Math-2dbd6b
|
|
1562
1562
|
*
|
1563
1563
|
* @param {Cartographic} [left] The first cartographic.
|
1564
1564
|
* @param {Cartographic} [right] The second cartographic.
|
1565
|
-
* @returns {
|
1565
|
+
* @returns {boolean} <code>true</code> if left and right are equal, <code>false</code> otherwise.
|
1566
1566
|
*/
|
1567
1567
|
Cartographic.equals = function (left, right) {
|
1568
1568
|
return (
|
@@ -1582,8 +1582,8 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67', './Math-2dbd6b
|
|
1582
1582
|
*
|
1583
1583
|
* @param {Cartographic} [left] The first cartographic.
|
1584
1584
|
* @param {Cartographic} [right] The second cartographic.
|
1585
|
-
* @param {
|
1586
|
-
* @returns {
|
1585
|
+
* @param {number} [epsilon=0] The epsilon to use for equality testing.
|
1586
|
+
* @returns {boolean} <code>true</code> if left and right are within the provided epsilon, <code>false</code> otherwise.
|
1587
1587
|
*/
|
1588
1588
|
Cartographic.equalsEpsilon = function (left, right, epsilon) {
|
1589
1589
|
epsilon = defaultValue.defaultValue(epsilon, 0);
|
@@ -1621,7 +1621,7 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67', './Math-2dbd6b
|
|
1621
1621
|
* <code>true</code> if they are equal, <code>false</code> otherwise.
|
1622
1622
|
*
|
1623
1623
|
* @param {Cartographic} [right] The second cartographic.
|
1624
|
-
* @returns {
|
1624
|
+
* @returns {boolean} <code>true</code> if left and right are equal, <code>false</code> otherwise.
|
1625
1625
|
*/
|
1626
1626
|
Cartographic.prototype.equals = function (right) {
|
1627
1627
|
return Cartographic.equals(this, right);
|
@@ -1633,8 +1633,8 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67', './Math-2dbd6b
|
|
1633
1633
|
* <code>false</code> otherwise.
|
1634
1634
|
*
|
1635
1635
|
* @param {Cartographic} [right] The second cartographic.
|
1636
|
-
* @param {
|
1637
|
-
* @returns {
|
1636
|
+
* @param {number} [epsilon=0] The epsilon to use for equality testing.
|
1637
|
+
* @returns {boolean} <code>true</code> if left and right are within the provided epsilon, <code>false</code> otherwise.
|
1638
1638
|
*/
|
1639
1639
|
Cartographic.prototype.equalsEpsilon = function (right, epsilon) {
|
1640
1640
|
return Cartographic.equalsEpsilon(this, right, epsilon);
|
@@ -1643,7 +1643,7 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67', './Math-2dbd6b
|
|
1643
1643
|
/**
|
1644
1644
|
* Creates a string representing this cartographic in the format '(longitude, latitude, height)'.
|
1645
1645
|
*
|
1646
|
-
* @returns {
|
1646
|
+
* @returns {string} A string representing the provided cartographic in the format '(longitude, latitude, height)'.
|
1647
1647
|
*/
|
1648
1648
|
Cartographic.prototype.toString = function () {
|
1649
1649
|
return `(${this.longitude}, ${this.latitude}, ${this.height})`;
|
@@ -1704,9 +1704,9 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67', './Math-2dbd6b
|
|
1704
1704
|
* @alias Ellipsoid
|
1705
1705
|
* @constructor
|
1706
1706
|
*
|
1707
|
-
* @param {
|
1708
|
-
* @param {
|
1709
|
-
* @param {
|
1707
|
+
* @param {number} [x=0] The radius in the x direction.
|
1708
|
+
* @param {number} [y=0] The radius in the y direction.
|
1709
|
+
* @param {number} [z=0] The radius in the z direction.
|
1710
1710
|
*
|
1711
1711
|
* @exception {DeveloperError} All radii components must be greater than or equal to zero.
|
1712
1712
|
*
|
@@ -1787,7 +1787,7 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67', './Math-2dbd6b
|
|
1787
1787
|
/**
|
1788
1788
|
* Gets the minimum radius of the ellipsoid.
|
1789
1789
|
* @memberof Ellipsoid.prototype
|
1790
|
-
* @type {
|
1790
|
+
* @type {number}
|
1791
1791
|
* @readonly
|
1792
1792
|
*/
|
1793
1793
|
minimumRadius: {
|
@@ -1798,7 +1798,7 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67', './Math-2dbd6b
|
|
1798
1798
|
/**
|
1799
1799
|
* Gets the maximum radius of the ellipsoid.
|
1800
1800
|
* @memberof Ellipsoid.prototype
|
1801
|
-
* @type {
|
1801
|
+
* @type {number}
|
1802
1802
|
* @readonly
|
1803
1803
|
*/
|
1804
1804
|
maximumRadius: {
|
@@ -1909,7 +1909,7 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67', './Math-2dbd6b
|
|
1909
1909
|
|
1910
1910
|
/**
|
1911
1911
|
* The number of elements used to pack the object into an array.
|
1912
|
-
* @type {
|
1912
|
+
* @type {number}
|
1913
1913
|
*/
|
1914
1914
|
Ellipsoid.packedLength = Cartesian3.packedLength;
|
1915
1915
|
|
@@ -1917,10 +1917,10 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67', './Math-2dbd6b
|
|
1917
1917
|
* Stores the provided instance into the provided array.
|
1918
1918
|
*
|
1919
1919
|
* @param {Ellipsoid} value The value to pack.
|
1920
|
-
* @param {
|
1921
|
-
* @param {
|
1920
|
+
* @param {number[]} array The array to pack into.
|
1921
|
+
* @param {number} [startingIndex=0] The index into the array at which to start packing the elements.
|
1922
1922
|
*
|
1923
|
-
* @returns {
|
1923
|
+
* @returns {number[]} The array that was packed into
|
1924
1924
|
*/
|
1925
1925
|
Ellipsoid.pack = function (value, array, startingIndex) {
|
1926
1926
|
//>>includeStart('debug', pragmas.debug);
|
@@ -1938,8 +1938,8 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67', './Math-2dbd6b
|
|
1938
1938
|
/**
|
1939
1939
|
* Retrieves an instance from a packed array.
|
1940
1940
|
*
|
1941
|
-
* @param {
|
1942
|
-
* @param {
|
1941
|
+
* @param {number[]} array The packed array.
|
1942
|
+
* @param {number} [startingIndex=0] The starting index of the element to be unpacked.
|
1943
1943
|
* @param {Ellipsoid} [result] The object into which to store the result.
|
1944
1944
|
* @returns {Ellipsoid} The modified result parameter or a new Ellipsoid instance if one was not provided.
|
1945
1945
|
*/
|
@@ -2260,7 +2260,7 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67', './Math-2dbd6b
|
|
2260
2260
|
* <code>true</code> if they are equal, <code>false</code> otherwise.
|
2261
2261
|
*
|
2262
2262
|
* @param {Ellipsoid} [right] The other Ellipsoid.
|
2263
|
-
* @returns {
|
2263
|
+
* @returns {boolean} <code>true</code> if they are equal, <code>false</code> otherwise.
|
2264
2264
|
*/
|
2265
2265
|
Ellipsoid.prototype.equals = function (right) {
|
2266
2266
|
return (
|
@@ -2272,7 +2272,7 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67', './Math-2dbd6b
|
|
2272
2272
|
/**
|
2273
2273
|
* Creates a string representing this Ellipsoid in the format '(radii.x, radii.y, radii.z)'.
|
2274
2274
|
*
|
2275
|
-
* @returns {
|
2275
|
+
* @returns {string} A string representing this ellipsoid in the format '(radii.x, radii.y, radii.z)'.
|
2276
2276
|
*/
|
2277
2277
|
Ellipsoid.prototype.toString = function () {
|
2278
2278
|
return this._radii.toString();
|
@@ -2282,7 +2282,7 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67', './Math-2dbd6b
|
|
2282
2282
|
* Computes a point which is the intersection of the surface normal with the z-axis.
|
2283
2283
|
*
|
2284
2284
|
* @param {Cartesian3} position the position. must be on the surface of the ellipsoid.
|
2285
|
-
* @param {
|
2285
|
+
* @param {number} [buffer = 0.0] A buffer to subtract from the ellipsoid size when checking if the point is inside the ellipsoid.
|
2286
2286
|
* In earth case, with common earth datums, there is no need for this buffer since the intersection point is always (relatively) very close to the center.
|
2287
2287
|
* In WGS84 datum, intersection point is at max z = +-42841.31151331382 (0.673% of z-axis).
|
2288
2288
|
* Intersection point could be outside the ellipsoid if the ratio of MajorAxis / AxisOfRotation is bigger than the square root of 2
|
@@ -2356,10 +2356,10 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67', './Math-2dbd6b
|
|
2356
2356
|
/**
|
2357
2357
|
* Compute the 10th order Gauss-Legendre Quadrature of the given definite integral.
|
2358
2358
|
*
|
2359
|
-
* @param {
|
2360
|
-
* @param {
|
2359
|
+
* @param {number} a The lower bound for the integration.
|
2360
|
+
* @param {number} b The upper bound for the integration.
|
2361
2361
|
* @param {Ellipsoid~RealValuedScalarFunction} func The function to integrate.
|
2362
|
-
* @returns {
|
2362
|
+
* @returns {number} The value of the integral of the given function over the given domain.
|
2363
2363
|
*
|
2364
2364
|
* @private
|
2365
2365
|
*/
|
@@ -2390,8 +2390,8 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67', './Math-2dbd6b
|
|
2390
2390
|
* A real valued scalar function.
|
2391
2391
|
* @callback Ellipsoid~RealValuedScalarFunction
|
2392
2392
|
*
|
2393
|
-
* @param {
|
2394
|
-
* @returns {
|
2393
|
+
* @param {number} x The value used to evaluate the function.
|
2394
|
+
* @returns {number} The value of the function at x.
|
2395
2395
|
*
|
2396
2396
|
* @private
|
2397
2397
|
*/
|
@@ -2401,7 +2401,7 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67', './Math-2dbd6b
|
|
2401
2401
|
* Gauss-Legendre 10th order quadrature.
|
2402
2402
|
*
|
2403
2403
|
* @param {Rectangle} rectangle The rectangle used for computing the surface area.
|
2404
|
-
* @returns {
|
2404
|
+
* @returns {number} The approximate area of the rectangle on the surface of this ellipsoid.
|
2405
2405
|
*/
|
2406
2406
|
Ellipsoid.prototype.surfaceArea = function (rectangle) {
|
2407
2407
|
//>>includeStart('debug', pragmas.debug);
|
@@ -2450,15 +2450,15 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67', './Math-2dbd6b
|
|
2450
2450
|
* @constructor
|
2451
2451
|
* @implements {ArrayLike<number>}
|
2452
2452
|
*
|
2453
|
-
* @param {
|
2454
|
-
* @param {
|
2455
|
-
* @param {
|
2456
|
-
* @param {
|
2457
|
-
* @param {
|
2458
|
-
* @param {
|
2459
|
-
* @param {
|
2460
|
-
* @param {
|
2461
|
-
* @param {
|
2453
|
+
* @param {number} [column0Row0=0.0] The value for column 0, row 0.
|
2454
|
+
* @param {number} [column1Row0=0.0] The value for column 1, row 0.
|
2455
|
+
* @param {number} [column2Row0=0.0] The value for column 2, row 0.
|
2456
|
+
* @param {number} [column0Row1=0.0] The value for column 0, row 1.
|
2457
|
+
* @param {number} [column1Row1=0.0] The value for column 1, row 1.
|
2458
|
+
* @param {number} [column2Row1=0.0] The value for column 2, row 1.
|
2459
|
+
* @param {number} [column0Row2=0.0] The value for column 0, row 2.
|
2460
|
+
* @param {number} [column1Row2=0.0] The value for column 1, row 2.
|
2461
|
+
* @param {number} [column2Row2=0.0] The value for column 2, row 2.
|
2462
2462
|
*
|
2463
2463
|
* @see Matrix3.fromArray
|
2464
2464
|
* @see Matrix3.fromColumnMajorArray
|
@@ -2498,7 +2498,7 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67', './Math-2dbd6b
|
|
2498
2498
|
|
2499
2499
|
/**
|
2500
2500
|
* The number of elements used to pack the object into an array.
|
2501
|
-
* @type {
|
2501
|
+
* @type {number}
|
2502
2502
|
*/
|
2503
2503
|
Matrix3.packedLength = 9;
|
2504
2504
|
|
@@ -2506,10 +2506,10 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67', './Math-2dbd6b
|
|
2506
2506
|
* Stores the provided instance into the provided array.
|
2507
2507
|
*
|
2508
2508
|
* @param {Matrix3} value The value to pack.
|
2509
|
-
* @param {
|
2510
|
-
* @param {
|
2509
|
+
* @param {number[]} array The array to pack into.
|
2510
|
+
* @param {number} [startingIndex=0] The index into the array at which to start packing the elements.
|
2511
2511
|
*
|
2512
|
-
* @returns {
|
2512
|
+
* @returns {number[]} The array that was packed into
|
2513
2513
|
*/
|
2514
2514
|
Matrix3.pack = function (value, array, startingIndex) {
|
2515
2515
|
//>>includeStart('debug', pragmas.debug);
|
@@ -2535,8 +2535,8 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67', './Math-2dbd6b
|
|
2535
2535
|
/**
|
2536
2536
|
* Retrieves an instance from a packed array.
|
2537
2537
|
*
|
2538
|
-
* @param {
|
2539
|
-
* @param {
|
2538
|
+
* @param {number[]} array The packed array.
|
2539
|
+
* @param {number} [startingIndex=0] The starting index of the element to be unpacked.
|
2540
2540
|
* @param {Matrix3} [result] The object into which to store the result.
|
2541
2541
|
* @returns {Matrix3} The modified result parameter or a new Matrix3 instance if one was not provided.
|
2542
2542
|
*/
|
@@ -2568,8 +2568,8 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67', './Math-2dbd6b
|
|
2568
2568
|
* are stored in column-major order.
|
2569
2569
|
*
|
2570
2570
|
* @param {Matrix3[]} array The array of matrices to pack.
|
2571
|
-
* @param {
|
2572
|
-
* @returns {
|
2571
|
+
* @param {number[]} [result] The array onto which to store the result. If this is a typed array, it must have array.length * 9 components, else a {@link DeveloperError} will be thrown. If it is a regular array, it will be resized to have (array.length * 9) elements.
|
2572
|
+
* @returns {number[]} The packed array.
|
2573
2573
|
*/
|
2574
2574
|
Matrix3.packArray = function (array, result) {
|
2575
2575
|
//>>includeStart('debug', pragmas.debug);
|
@@ -2599,7 +2599,7 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67', './Math-2dbd6b
|
|
2599
2599
|
/**
|
2600
2600
|
* Unpacks an array of column-major matrix components into an array of Matrix3s.
|
2601
2601
|
*
|
2602
|
-
* @param {
|
2602
|
+
* @param {number[]} array The array of components to unpack.
|
2603
2603
|
* @param {Matrix3[]} [result] The array onto which to store the result.
|
2604
2604
|
* @returns {Matrix3[]} The unpacked array.
|
2605
2605
|
*/
|
@@ -2666,8 +2666,8 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67', './Math-2dbd6b
|
|
2666
2666
|
* Creates a Matrix3 from 9 consecutive elements in an array.
|
2667
2667
|
*
|
2668
2668
|
* @function
|
2669
|
-
* @param {
|
2670
|
-
* @param {
|
2669
|
+
* @param {number[]} array The array whose 9 consecutive elements correspond to the positions of the matrix. Assumes column-major order.
|
2670
|
+
* @param {number} [startingIndex=0] The offset into the array of the first element, which corresponds to first column first row position in the matrix.
|
2671
2671
|
* @param {Matrix3} [result] The object onto which to store the result.
|
2672
2672
|
* @returns {Matrix3} The modified result parameter or a new Matrix3 instance if one was not provided.
|
2673
2673
|
*
|
@@ -2689,7 +2689,7 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67', './Math-2dbd6b
|
|
2689
2689
|
/**
|
2690
2690
|
* Creates a Matrix3 instance from a column-major order array.
|
2691
2691
|
*
|
2692
|
-
* @param {
|
2692
|
+
* @param {number[]} values The column-major order array.
|
2693
2693
|
* @param {Matrix3} [result] The object in which the result will be stored, if undefined a new instance will be created.
|
2694
2694
|
* @returns {Matrix3} The modified result parameter, or a new Matrix3 instance if one was not provided.
|
2695
2695
|
*/
|
@@ -2705,7 +2705,7 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67', './Math-2dbd6b
|
|
2705
2705
|
* Creates a Matrix3 instance from a row-major order array.
|
2706
2706
|
* The resulting matrix will be in column-major order.
|
2707
2707
|
*
|
2708
|
-
* @param {
|
2708
|
+
* @param {number[]} values The row-major order array.
|
2709
2709
|
* @param {Matrix3} [result] The object in which the result will be stored, if undefined a new instance will be created.
|
2710
2710
|
* @returns {Matrix3} The modified result parameter, or a new Matrix3 instance if one was not provided.
|
2711
2711
|
*/
|
@@ -2873,7 +2873,7 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67', './Math-2dbd6b
|
|
2873
2873
|
/**
|
2874
2874
|
* Computes a Matrix3 instance representing a uniform scale.
|
2875
2875
|
*
|
2876
|
-
* @param {
|
2876
|
+
* @param {number} scale The uniform scale factor.
|
2877
2877
|
* @param {Matrix3} [result] The object in which the result will be stored, if undefined a new instance will be created.
|
2878
2878
|
* @returns {Matrix3} The modified result parameter, or a new Matrix3 instance if one was not provided.
|
2879
2879
|
*
|
@@ -2953,7 +2953,7 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67', './Math-2dbd6b
|
|
2953
2953
|
/**
|
2954
2954
|
* Creates a rotation matrix around the x-axis.
|
2955
2955
|
*
|
2956
|
-
* @param {
|
2956
|
+
* @param {number} angle The angle, in radians, of the rotation. Positive angles are counterclockwise.
|
2957
2957
|
* @param {Matrix3} [result] The object in which the result will be stored, if undefined a new instance will be created.
|
2958
2958
|
* @returns {Matrix3} The modified result parameter, or a new Matrix3 instance if one was not provided.
|
2959
2959
|
*
|
@@ -3001,7 +3001,7 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67', './Math-2dbd6b
|
|
3001
3001
|
/**
|
3002
3002
|
* Creates a rotation matrix around the y-axis.
|
3003
3003
|
*
|
3004
|
-
* @param {
|
3004
|
+
* @param {number} angle The angle, in radians, of the rotation. Positive angles are counterclockwise.
|
3005
3005
|
* @param {Matrix3} [result] The object in which the result will be stored, if undefined a new instance will be created.
|
3006
3006
|
* @returns {Matrix3} The modified result parameter, or a new Matrix3 instance if one was not provided.
|
3007
3007
|
*
|
@@ -3049,7 +3049,7 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67', './Math-2dbd6b
|
|
3049
3049
|
/**
|
3050
3050
|
* Creates a rotation matrix around the z-axis.
|
3051
3051
|
*
|
3052
|
-
* @param {
|
3052
|
+
* @param {number} angle The angle, in radians, of the rotation. Positive angles are counterclockwise.
|
3053
3053
|
* @param {Matrix3} [result] The object in which the result will be stored, if undefined a new instance will be created.
|
3054
3054
|
* @returns {Matrix3} The modified result parameter, or a new Matrix3 instance if one was not provided.
|
3055
3055
|
*
|
@@ -3099,8 +3099,8 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67', './Math-2dbd6b
|
|
3099
3099
|
* The array will be in column-major order.
|
3100
3100
|
*
|
3101
3101
|
* @param {Matrix3} matrix The matrix to use..
|
3102
|
-
* @param {
|
3103
|
-
* @returns {
|
3102
|
+
* @param {number[]} [result] The Array onto which to store the result.
|
3103
|
+
* @returns {number[]} The modified Array parameter or a new Array instance if one was not provided.
|
3104
3104
|
*/
|
3105
3105
|
Matrix3.toArray = function (matrix, result) {
|
3106
3106
|
//>>includeStart('debug', pragmas.debug);
|
@@ -3135,9 +3135,9 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67', './Math-2dbd6b
|
|
3135
3135
|
/**
|
3136
3136
|
* Computes the array index of the element at the provided row and column.
|
3137
3137
|
*
|
3138
|
-
* @param {
|
3139
|
-
* @param {
|
3140
|
-
* @returns {
|
3138
|
+
* @param {number} column The zero-based index of the column.
|
3139
|
+
* @param {number} row The zero-based index of the row.
|
3140
|
+
* @returns {number} The index of the element at the provided row and column.
|
3141
3141
|
*
|
3142
3142
|
* @exception {DeveloperError} row must be 0, 1, or 2.
|
3143
3143
|
* @exception {DeveloperError} column must be 0, 1, or 2.
|
@@ -3163,7 +3163,7 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67', './Math-2dbd6b
|
|
3163
3163
|
* Retrieves a copy of the matrix column at the provided index as a Cartesian3 instance.
|
3164
3164
|
*
|
3165
3165
|
* @param {Matrix3} matrix The matrix to use.
|
3166
|
-
* @param {
|
3166
|
+
* @param {number} index The zero-based index of the column to retrieve.
|
3167
3167
|
* @param {Cartesian3} result The object onto which to store the result.
|
3168
3168
|
* @returns {Cartesian3} The modified result parameter.
|
3169
3169
|
*
|
@@ -3192,7 +3192,7 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67', './Math-2dbd6b
|
|
3192
3192
|
* Computes a new matrix that replaces the specified column in the provided matrix with the provided Cartesian3 instance.
|
3193
3193
|
*
|
3194
3194
|
* @param {Matrix3} matrix The matrix to use.
|
3195
|
-
* @param {
|
3195
|
+
* @param {number} index The zero-based index of the column to set.
|
3196
3196
|
* @param {Cartesian3} cartesian The Cartesian whose values will be assigned to the specified column.
|
3197
3197
|
* @param {Matrix3} result The object onto which to store the result.
|
3198
3198
|
* @returns {Matrix3} The modified result parameter.
|
@@ -3220,7 +3220,7 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67', './Math-2dbd6b
|
|
3220
3220
|
* Retrieves a copy of the matrix row at the provided index as a Cartesian3 instance.
|
3221
3221
|
*
|
3222
3222
|
* @param {Matrix3} matrix The matrix to use.
|
3223
|
-
* @param {
|
3223
|
+
* @param {number} index The zero-based index of the row to retrieve.
|
3224
3224
|
* @param {Cartesian3} result The object onto which to store the result.
|
3225
3225
|
* @returns {Cartesian3} The modified result parameter.
|
3226
3226
|
*
|
@@ -3248,7 +3248,7 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67', './Math-2dbd6b
|
|
3248
3248
|
* Computes a new matrix that replaces the specified row in the provided matrix with the provided Cartesian3 instance.
|
3249
3249
|
*
|
3250
3250
|
* @param {Matrix3} matrix The matrix to use.
|
3251
|
-
* @param {
|
3251
|
+
* @param {number} index The zero-based index of the row to set.
|
3252
3252
|
* @param {Cartesian3} cartesian The Cartesian whose values will be assigned to the specified row.
|
3253
3253
|
* @param {Matrix3} result The object onto which to store the result.
|
3254
3254
|
* @returns {Matrix3} The modified result parameter.
|
@@ -3321,7 +3321,7 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67', './Math-2dbd6b
|
|
3321
3321
|
* This assumes the matrix is an affine transformation.
|
3322
3322
|
*
|
3323
3323
|
* @param {Matrix3} matrix The matrix to use.
|
3324
|
-
* @param {
|
3324
|
+
* @param {number} scale The uniform scale that replaces the scale of the provided matrix.
|
3325
3325
|
* @param {Matrix3} result The object onto which to store the result.
|
3326
3326
|
* @returns {Matrix3} The modified result parameter.
|
3327
3327
|
*
|
@@ -3398,7 +3398,7 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67', './Math-2dbd6b
|
|
3398
3398
|
* The maximum scale is the maximum length of the column vectors.
|
3399
3399
|
*
|
3400
3400
|
* @param {Matrix3} matrix The matrix.
|
3401
|
-
* @returns {
|
3401
|
+
* @returns {number} The maximum scale.
|
3402
3402
|
*/
|
3403
3403
|
Matrix3.getMaximumScale = function (matrix) {
|
3404
3404
|
Matrix3.getScale(matrix, scaleScratch3);
|
@@ -3605,7 +3605,7 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67', './Math-2dbd6b
|
|
3605
3605
|
* Computes the product of a matrix and a scalar.
|
3606
3606
|
*
|
3607
3607
|
* @param {Matrix3} matrix The matrix.
|
3608
|
-
* @param {
|
3608
|
+
* @param {number} scalar The number to multiply by.
|
3609
3609
|
* @param {Matrix3} result The object onto which to store the result.
|
3610
3610
|
* @returns {Matrix3} The modified result parameter.
|
3611
3611
|
*/
|
@@ -3672,7 +3672,7 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67', './Math-2dbd6b
|
|
3672
3672
|
* Computes the product of a matrix times a uniform scale, as if the scale were a scale matrix.
|
3673
3673
|
*
|
3674
3674
|
* @param {Matrix3} matrix The matrix on the left-hand side.
|
3675
|
-
* @param {
|
3675
|
+
* @param {number} scale The uniform scale on the right-hand side.
|
3676
3676
|
* @param {Matrix3} result The object onto which to store the result.
|
3677
3677
|
* @returns {Matrix3} The modified result parameter.
|
3678
3678
|
*
|
@@ -3867,8 +3867,8 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67', './Math-2dbd6b
|
|
3867
3867
|
* </p>
|
3868
3868
|
*
|
3869
3869
|
* @param {Matrix3} matrix The matrix to decompose into diagonal and unitary matrix. Expected to be symmetric.
|
3870
|
-
* @param {
|
3871
|
-
* @returns {
|
3870
|
+
* @param {object} [result] An object with unitary and diagonal properties which are matrices onto which to store the result.
|
3871
|
+
* @returns {object} An object with unitary and diagonal properties which are the unitary and diagonal matrices, respectively.
|
3872
3872
|
*
|
3873
3873
|
* @example
|
3874
3874
|
* const a = //... symetric matrix
|
@@ -3958,7 +3958,7 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67', './Math-2dbd6b
|
|
3958
3958
|
* Computes the determinant of the provided matrix.
|
3959
3959
|
*
|
3960
3960
|
* @param {Matrix3} matrix The matrix to use.
|
3961
|
-
* @returns {
|
3961
|
+
* @returns {number} The value of the determinant of the matrix.
|
3962
3962
|
*/
|
3963
3963
|
Matrix3.determinant = function (matrix) {
|
3964
3964
|
//>>includeStart('debug', pragmas.debug);
|
@@ -4056,7 +4056,7 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67', './Math-2dbd6b
|
|
4056
4056
|
*
|
4057
4057
|
* @param {Matrix3} [left] The first matrix.
|
4058
4058
|
* @param {Matrix3} [right] The second matrix.
|
4059
|
-
* @returns {
|
4059
|
+
* @returns {boolean} <code>true</code> if left and right are equal, <code>false</code> otherwise.
|
4060
4060
|
*/
|
4061
4061
|
Matrix3.equals = function (left, right) {
|
4062
4062
|
return (
|
@@ -4082,8 +4082,8 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67', './Math-2dbd6b
|
|
4082
4082
|
*
|
4083
4083
|
* @param {Matrix3} [left] The first matrix.
|
4084
4084
|
* @param {Matrix3} [right] The second matrix.
|
4085
|
-
* @param {
|
4086
|
-
* @returns {
|
4085
|
+
* @param {number} [epsilon=0] The epsilon to use for equality testing.
|
4086
|
+
* @returns {boolean} <code>true</code> if left and right are within the provided epsilon, <code>false</code> otherwise.
|
4087
4087
|
*/
|
4088
4088
|
Matrix3.equalsEpsilon = function (left, right, epsilon) {
|
4089
4089
|
epsilon = defaultValue.defaultValue(epsilon, 0);
|
@@ -4127,7 +4127,7 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67', './Math-2dbd6b
|
|
4127
4127
|
/**
|
4128
4128
|
* The index into Matrix3 for column 0, row 0.
|
4129
4129
|
*
|
4130
|
-
* @type {
|
4130
|
+
* @type {number}
|
4131
4131
|
* @constant
|
4132
4132
|
*/
|
4133
4133
|
Matrix3.COLUMN0ROW0 = 0;
|
@@ -4135,7 +4135,7 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67', './Math-2dbd6b
|
|
4135
4135
|
/**
|
4136
4136
|
* The index into Matrix3 for column 0, row 1.
|
4137
4137
|
*
|
4138
|
-
* @type {
|
4138
|
+
* @type {number}
|
4139
4139
|
* @constant
|
4140
4140
|
*/
|
4141
4141
|
Matrix3.COLUMN0ROW1 = 1;
|
@@ -4143,7 +4143,7 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67', './Math-2dbd6b
|
|
4143
4143
|
/**
|
4144
4144
|
* The index into Matrix3 for column 0, row 2.
|
4145
4145
|
*
|
4146
|
-
* @type {
|
4146
|
+
* @type {number}
|
4147
4147
|
* @constant
|
4148
4148
|
*/
|
4149
4149
|
Matrix3.COLUMN0ROW2 = 2;
|
@@ -4151,7 +4151,7 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67', './Math-2dbd6b
|
|
4151
4151
|
/**
|
4152
4152
|
* The index into Matrix3 for column 1, row 0.
|
4153
4153
|
*
|
4154
|
-
* @type {
|
4154
|
+
* @type {number}
|
4155
4155
|
* @constant
|
4156
4156
|
*/
|
4157
4157
|
Matrix3.COLUMN1ROW0 = 3;
|
@@ -4159,7 +4159,7 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67', './Math-2dbd6b
|
|
4159
4159
|
/**
|
4160
4160
|
* The index into Matrix3 for column 1, row 1.
|
4161
4161
|
*
|
4162
|
-
* @type {
|
4162
|
+
* @type {number}
|
4163
4163
|
* @constant
|
4164
4164
|
*/
|
4165
4165
|
Matrix3.COLUMN1ROW1 = 4;
|
@@ -4167,7 +4167,7 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67', './Math-2dbd6b
|
|
4167
4167
|
/**
|
4168
4168
|
* The index into Matrix3 for column 1, row 2.
|
4169
4169
|
*
|
4170
|
-
* @type {
|
4170
|
+
* @type {number}
|
4171
4171
|
* @constant
|
4172
4172
|
*/
|
4173
4173
|
Matrix3.COLUMN1ROW2 = 5;
|
@@ -4175,7 +4175,7 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67', './Math-2dbd6b
|
|
4175
4175
|
/**
|
4176
4176
|
* The index into Matrix3 for column 2, row 0.
|
4177
4177
|
*
|
4178
|
-
* @type {
|
4178
|
+
* @type {number}
|
4179
4179
|
* @constant
|
4180
4180
|
*/
|
4181
4181
|
Matrix3.COLUMN2ROW0 = 6;
|
@@ -4183,7 +4183,7 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67', './Math-2dbd6b
|
|
4183
4183
|
/**
|
4184
4184
|
* The index into Matrix3 for column 2, row 1.
|
4185
4185
|
*
|
4186
|
-
* @type {
|
4186
|
+
* @type {number}
|
4187
4187
|
* @constant
|
4188
4188
|
*/
|
4189
4189
|
Matrix3.COLUMN2ROW1 = 7;
|
@@ -4191,7 +4191,7 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67', './Math-2dbd6b
|
|
4191
4191
|
/**
|
4192
4192
|
* The index into Matrix3 for column 2, row 2.
|
4193
4193
|
*
|
4194
|
-
* @type {
|
4194
|
+
* @type {number}
|
4195
4195
|
* @constant
|
4196
4196
|
*/
|
4197
4197
|
Matrix3.COLUMN2ROW2 = 8;
|
@@ -4201,7 +4201,7 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67', './Math-2dbd6b
|
|
4201
4201
|
* Gets the number of items in the collection.
|
4202
4202
|
* @memberof Matrix3.prototype
|
4203
4203
|
*
|
4204
|
-
* @type {
|
4204
|
+
* @type {number}
|
4205
4205
|
*/
|
4206
4206
|
length: {
|
4207
4207
|
get: function () {
|
@@ -4225,7 +4225,7 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67', './Math-2dbd6b
|
|
4225
4225
|
* <code>true</code> if they are equal, <code>false</code> otherwise.
|
4226
4226
|
*
|
4227
4227
|
* @param {Matrix3} [right] The right hand side matrix.
|
4228
|
-
* @returns {
|
4228
|
+
* @returns {boolean} <code>true</code> if they are equal, <code>false</code> otherwise.
|
4229
4229
|
*/
|
4230
4230
|
Matrix3.prototype.equals = function (right) {
|
4231
4231
|
return Matrix3.equals(this, right);
|
@@ -4254,8 +4254,8 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67', './Math-2dbd6b
|
|
4254
4254
|
* <code>false</code> otherwise.
|
4255
4255
|
*
|
4256
4256
|
* @param {Matrix3} [right] The right hand side matrix.
|
4257
|
-
* @param {
|
4258
|
-
* @returns {
|
4257
|
+
* @param {number} [epsilon=0] The epsilon to use for equality testing.
|
4258
|
+
* @returns {boolean} <code>true</code> if they are within the provided epsilon, <code>false</code> otherwise.
|
4259
4259
|
*/
|
4260
4260
|
Matrix3.prototype.equalsEpsilon = function (right, epsilon) {
|
4261
4261
|
return Matrix3.equalsEpsilon(this, right, epsilon);
|
@@ -4265,7 +4265,7 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67', './Math-2dbd6b
|
|
4265
4265
|
* Creates a string representing this Matrix with each row being
|
4266
4266
|
* on a separate line and in the format '(column0, column1, column2)'.
|
4267
4267
|
*
|
4268
|
-
* @returns {
|
4268
|
+
* @returns {string} A string representing the provided Matrix with each row being on a separate line and in the format '(column0, column1, column2)'.
|
4269
4269
|
*/
|
4270
4270
|
Matrix3.prototype.toString = function () {
|
4271
4271
|
return (
|