@vcmap/ui 5.0.0-rc.22 → 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 +38 -20
- package/app.config.json +3 -0
- 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 +9 -6
- 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 +18 -44
- package/config/base.config.json +72 -246
- package/config/codes.config.json +4 -0
- package/config/dev.config.json +11 -13
- package/config/graphFeatureInfo.config.json +58 -17
- package/config/projects.config.json +30 -0
- package/config/www.config.json +98 -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.88cffd.js → cesium.253914.js} +36578 -33768
- package/dist/assets/cesium.js +1 -1
- package/dist/assets/{core.a66593.js → core.3a8205.js} +7824 -5377
- package/dist/assets/core.js +1 -1
- package/dist/assets/index.91ae2d55.js +1 -0
- package/dist/assets/{ol.d4539f.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.d760e4.js → ui.0025be.js} +6260 -5164
- package/dist/assets/ui.js +1 -1
- package/dist/assets/vue.js +2 -2
- package/dist/assets/{vuetify.427322.css → vuetify.6efa21.css} +2 -2
- package/dist/assets/{vuetify.427322.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 +68 -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 +19 -10
- 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/{ContextsListComponent.vue → ModulesListComponent.vue} +14 -18
- package/plugins/@vcmap/project-selector/ProjectSelectorComponent.vue +19 -24
- package/plugins/@vcmap/project-selector/README.md +16 -20
- package/plugins/@vcmap/project-selector/config.json +13 -13
- package/plugins/@vcmap/project-selector/de.json +4 -1
- package/plugins/@vcmap/project-selector/en.json +4 -1
- package/plugins/@vcmap/project-selector/index.js +117 -107
- 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 +2 -2
- 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 +144 -117
- package/plugins/@vcmap-show-case/category-tester/Category.vue +46 -29
- package/plugins/@vcmap-show-case/category-tester/index.js +9 -3
- package/plugins/@vcmap-show-case/config-editor/ConfigEditor.vue +62 -0
- 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 +97 -109
- 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 +42 -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 +183 -0
- package/plugins/@vcmap-show-case/table-example/README.md +3 -0
- package/plugins/@vcmap-show-case/table-example/index.js +49 -0
- package/plugins/@vcmap-show-case/table-example/package.json +5 -0
- 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 +64 -37
- package/src/actions/styleSelector.vue +40 -24
- 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 +142 -0
- 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 +44 -19
- package/src/components/form-inputs-controls/VcsWizard.vue +79 -77
- 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 +20 -60
- 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 +226 -97
- 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 +398 -0
- package/src/components/tables/VcsTable.vue +63 -300
- package/src/contentTree/LayerTree.vue +2 -3
- package/src/contentTree/contentTreeCollection.js +49 -23
- package/src/contentTree/contentTreeItem.js +36 -14
- package/src/contentTree/groupContentTreeItem.js +44 -22
- package/src/contentTree/layerContentTreeItem.js +45 -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 +52 -0
- package/src/featureInfo/AddressBalloonComponent.vue +11 -16
- package/src/featureInfo/BalloonComponent.vue +41 -31
- package/src/featureInfo/abstractFeatureInfoView.js +30 -14
- 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 +74 -34
- package/src/featureInfo/featureInfoInteraction.js +13 -7
- package/src/featureInfo/iframeFeatureInfoView.js +3 -1
- package/src/featureInfo/tableFeatureInfoView.js +15 -5
- package/src/i18n/de.js +8 -0
- package/src/i18n/en.js +8 -0
- package/src/i18n/i18nCollection.js +183 -155
- package/src/init.js +124 -38
- 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 +99 -63
- package/src/manager/categoryManager/CategoryComponentList.vue +33 -8
- package/src/manager/categoryManager/CategoryManager.vue +23 -11
- package/src/manager/categoryManager/categoryManager.js +90 -45
- 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 +28 -3
- 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 +24 -32
- package/src/manager/window/WindowComponentHeader.vue +38 -28
- package/src/manager/window/WindowManager.vue +45 -35
- package/src/manager/window/windowHelper.js +80 -24
- package/src/manager/window/windowManager.js +79 -39
- package/src/navigation/mapNavCompass.vue +18 -4
- package/src/navigation/mapNavigation.vue +65 -46
- package/src/navigation/obliqueRotation.vue +34 -13
- package/src/navigation/orientationToolsButton.vue +6 -10
- package/src/navigation/overviewMap.js +76 -45
- 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 +36 -11
- package/src/notifier/notifier.js +22 -13
- package/src/notifier/notifierComponent.vue +21 -21
- package/src/pluginHelper.js +39 -5
- package/src/search/resultItem.vue +10 -15
- package/src/search/resultsComponent.vue +30 -24
- package/src/search/search.js +48 -22
- package/src/search/searchComponent.vue +35 -10
- package/src/setup.js +9 -9
- package/src/state.js +28 -12
- 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 +6 -4
- package/src/vcsUiApp.js +192 -91
- package/src/vuePlugins/i18n.js +5 -4
- package/src/vuePlugins/vuetify.js +4 -0
- package/start.js +8 -2
- package/dist/assets/cesium/Workers/PolygonPipeline-844aab0a.js +0 -1345
- package/dist/assets/cesium/Workers/Transforms-40229881.js +0 -14696
- package/dist/assets/index.8b833ead.js +0 -1
- package/dist/assets/ui.d760e4.css +0 -5
- package/map.config.json +0 -44
- package/plugins/@vcmap-show-case/config-editor/editor.vue +0 -66
- /package/dist/assets/cesium/Workers/{GeometryOffsetAttribute-04332ce7.js → GeometryOffsetAttribute-9ad0019c.js} +0 -0
- /package/dist/assets/{vue.db5102.js → vue.c1ece7.js} +0 -0
@@ -1,4 +1,10 @@
|
|
1
|
-
define(['exports', './Check-
|
1
|
+
define(['exports', './Check-6ede7e26', './defaultValue-fe22d8c0'], (function (exports, Check, defaultValue) { 'use strict';
|
2
|
+
|
3
|
+
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
4
|
+
|
5
|
+
function getDefaultExportFromCjs (x) {
|
6
|
+
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
|
7
|
+
}
|
2
8
|
|
3
9
|
/*
|
4
10
|
https://github.com/banksean wrapped Makoto Matsumoto and Takuji Nishimura's code in a namespace
|
@@ -211,6 +217,8 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67'], (function (ex
|
|
211
217
|
|
212
218
|
var mersenneTwister = MersenneTwister;
|
213
219
|
|
220
|
+
var MersenneTwister$1 = /*@__PURE__*/getDefaultExportFromCjs(mersenneTwister);
|
221
|
+
|
214
222
|
/**
|
215
223
|
* Math functions.
|
216
224
|
*
|
@@ -221,147 +229,147 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67'], (function (ex
|
|
221
229
|
|
222
230
|
/**
|
223
231
|
* 0.1
|
224
|
-
* @type {
|
232
|
+
* @type {number}
|
225
233
|
* @constant
|
226
234
|
*/
|
227
235
|
CesiumMath.EPSILON1 = 0.1;
|
228
236
|
|
229
237
|
/**
|
230
238
|
* 0.01
|
231
|
-
* @type {
|
239
|
+
* @type {number}
|
232
240
|
* @constant
|
233
241
|
*/
|
234
242
|
CesiumMath.EPSILON2 = 0.01;
|
235
243
|
|
236
244
|
/**
|
237
245
|
* 0.001
|
238
|
-
* @type {
|
246
|
+
* @type {number}
|
239
247
|
* @constant
|
240
248
|
*/
|
241
249
|
CesiumMath.EPSILON3 = 0.001;
|
242
250
|
|
243
251
|
/**
|
244
252
|
* 0.0001
|
245
|
-
* @type {
|
253
|
+
* @type {number}
|
246
254
|
* @constant
|
247
255
|
*/
|
248
256
|
CesiumMath.EPSILON4 = 0.0001;
|
249
257
|
|
250
258
|
/**
|
251
259
|
* 0.00001
|
252
|
-
* @type {
|
260
|
+
* @type {number}
|
253
261
|
* @constant
|
254
262
|
*/
|
255
263
|
CesiumMath.EPSILON5 = 0.00001;
|
256
264
|
|
257
265
|
/**
|
258
266
|
* 0.000001
|
259
|
-
* @type {
|
267
|
+
* @type {number}
|
260
268
|
* @constant
|
261
269
|
*/
|
262
270
|
CesiumMath.EPSILON6 = 0.000001;
|
263
271
|
|
264
272
|
/**
|
265
273
|
* 0.0000001
|
266
|
-
* @type {
|
274
|
+
* @type {number}
|
267
275
|
* @constant
|
268
276
|
*/
|
269
277
|
CesiumMath.EPSILON7 = 0.0000001;
|
270
278
|
|
271
279
|
/**
|
272
280
|
* 0.00000001
|
273
|
-
* @type {
|
281
|
+
* @type {number}
|
274
282
|
* @constant
|
275
283
|
*/
|
276
284
|
CesiumMath.EPSILON8 = 0.00000001;
|
277
285
|
|
278
286
|
/**
|
279
287
|
* 0.000000001
|
280
|
-
* @type {
|
288
|
+
* @type {number}
|
281
289
|
* @constant
|
282
290
|
*/
|
283
291
|
CesiumMath.EPSILON9 = 0.000000001;
|
284
292
|
|
285
293
|
/**
|
286
294
|
* 0.0000000001
|
287
|
-
* @type {
|
295
|
+
* @type {number}
|
288
296
|
* @constant
|
289
297
|
*/
|
290
298
|
CesiumMath.EPSILON10 = 0.0000000001;
|
291
299
|
|
292
300
|
/**
|
293
301
|
* 0.00000000001
|
294
|
-
* @type {
|
302
|
+
* @type {number}
|
295
303
|
* @constant
|
296
304
|
*/
|
297
305
|
CesiumMath.EPSILON11 = 0.00000000001;
|
298
306
|
|
299
307
|
/**
|
300
308
|
* 0.000000000001
|
301
|
-
* @type {
|
309
|
+
* @type {number}
|
302
310
|
* @constant
|
303
311
|
*/
|
304
312
|
CesiumMath.EPSILON12 = 0.000000000001;
|
305
313
|
|
306
314
|
/**
|
307
315
|
* 0.0000000000001
|
308
|
-
* @type {
|
316
|
+
* @type {number}
|
309
317
|
* @constant
|
310
318
|
*/
|
311
319
|
CesiumMath.EPSILON13 = 0.0000000000001;
|
312
320
|
|
313
321
|
/**
|
314
322
|
* 0.00000000000001
|
315
|
-
* @type {
|
323
|
+
* @type {number}
|
316
324
|
* @constant
|
317
325
|
*/
|
318
326
|
CesiumMath.EPSILON14 = 0.00000000000001;
|
319
327
|
|
320
328
|
/**
|
321
329
|
* 0.000000000000001
|
322
|
-
* @type {
|
330
|
+
* @type {number}
|
323
331
|
* @constant
|
324
332
|
*/
|
325
333
|
CesiumMath.EPSILON15 = 0.000000000000001;
|
326
334
|
|
327
335
|
/**
|
328
336
|
* 0.0000000000000001
|
329
|
-
* @type {
|
337
|
+
* @type {number}
|
330
338
|
* @constant
|
331
339
|
*/
|
332
340
|
CesiumMath.EPSILON16 = 0.0000000000000001;
|
333
341
|
|
334
342
|
/**
|
335
343
|
* 0.00000000000000001
|
336
|
-
* @type {
|
344
|
+
* @type {number}
|
337
345
|
* @constant
|
338
346
|
*/
|
339
347
|
CesiumMath.EPSILON17 = 0.00000000000000001;
|
340
348
|
|
341
349
|
/**
|
342
350
|
* 0.000000000000000001
|
343
|
-
* @type {
|
351
|
+
* @type {number}
|
344
352
|
* @constant
|
345
353
|
*/
|
346
354
|
CesiumMath.EPSILON18 = 0.000000000000000001;
|
347
355
|
|
348
356
|
/**
|
349
357
|
* 0.0000000000000000001
|
350
|
-
* @type {
|
358
|
+
* @type {number}
|
351
359
|
* @constant
|
352
360
|
*/
|
353
361
|
CesiumMath.EPSILON19 = 0.0000000000000000001;
|
354
362
|
|
355
363
|
/**
|
356
364
|
* 0.00000000000000000001
|
357
|
-
* @type {
|
365
|
+
* @type {number}
|
358
366
|
* @constant
|
359
367
|
*/
|
360
368
|
CesiumMath.EPSILON20 = 0.00000000000000000001;
|
361
369
|
|
362
370
|
/**
|
363
371
|
* 0.000000000000000000001
|
364
|
-
* @type {
|
372
|
+
* @type {number}
|
365
373
|
* @constant
|
366
374
|
*/
|
367
375
|
CesiumMath.EPSILON21 = 0.000000000000000000001;
|
@@ -369,14 +377,14 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67'], (function (ex
|
|
369
377
|
/**
|
370
378
|
* The gravitational parameter of the Earth in meters cubed
|
371
379
|
* per second squared as defined by the WGS84 model: 3.986004418e14
|
372
|
-
* @type {
|
380
|
+
* @type {number}
|
373
381
|
* @constant
|
374
382
|
*/
|
375
383
|
CesiumMath.GRAVITATIONALPARAMETER = 3.986004418e14;
|
376
384
|
|
377
385
|
/**
|
378
386
|
* Radius of the sun in meters: 6.955e8
|
379
|
-
* @type {
|
387
|
+
* @type {number}
|
380
388
|
* @constant
|
381
389
|
*/
|
382
390
|
CesiumMath.SOLAR_RADIUS = 6.955e8;
|
@@ -385,21 +393,21 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67'], (function (ex
|
|
385
393
|
* The mean radius of the moon, according to the "Report of the IAU/IAG Working Group on
|
386
394
|
* Cartographic Coordinates and Rotational Elements of the Planets and satellites: 2000",
|
387
395
|
* Celestial Mechanics 82: 83-110, 2002.
|
388
|
-
* @type {
|
396
|
+
* @type {number}
|
389
397
|
* @constant
|
390
398
|
*/
|
391
399
|
CesiumMath.LUNAR_RADIUS = 1737400.0;
|
392
400
|
|
393
401
|
/**
|
394
402
|
* 64 * 1024
|
395
|
-
* @type {
|
403
|
+
* @type {number}
|
396
404
|
* @constant
|
397
405
|
*/
|
398
406
|
CesiumMath.SIXTY_FOUR_KILOBYTES = 64 * 1024;
|
399
407
|
|
400
408
|
/**
|
401
409
|
* 4 * 1024 * 1024 * 1024
|
402
|
-
* @type {
|
410
|
+
* @type {number}
|
403
411
|
* @constant
|
404
412
|
*/
|
405
413
|
CesiumMath.FOUR_GIGABYTES = 4 * 1024 * 1024 * 1024;
|
@@ -409,8 +417,8 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67'], (function (ex
|
|
409
417
|
* negative, or 0 if the value is 0.
|
410
418
|
*
|
411
419
|
* @function
|
412
|
-
* @param {
|
413
|
-
* @returns {
|
420
|
+
* @param {number} value The value to return the sign of.
|
421
|
+
* @returns {number} The sign of value.
|
414
422
|
*/
|
415
423
|
// eslint-disable-next-line es/no-math-sign
|
416
424
|
CesiumMath.sign = defaultValue.defaultValue(Math.sign, function sign(value) {
|
@@ -426,8 +434,8 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67'], (function (ex
|
|
426
434
|
* Returns 1.0 if the given value is positive or zero, and -1.0 if it is negative.
|
427
435
|
* This is similar to {@link CesiumMath#sign} except that returns 1.0 instead of
|
428
436
|
* 0.0 when the input value is 0.0.
|
429
|
-
* @param {
|
430
|
-
* @returns {
|
437
|
+
* @param {number} value The value to return the sign of.
|
438
|
+
* @returns {number} The sign of value.
|
431
439
|
*/
|
432
440
|
CesiumMath.signNotZero = function (value) {
|
433
441
|
return value < 0.0 ? -1.0 : 1.0;
|
@@ -435,9 +443,9 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67'], (function (ex
|
|
435
443
|
|
436
444
|
/**
|
437
445
|
* Converts a scalar value in the range [-1.0, 1.0] to a SNORM in the range [0, rangeMaximum]
|
438
|
-
* @param {
|
439
|
-
* @param {
|
440
|
-
* @returns {
|
446
|
+
* @param {number} value The scalar value in the range [-1.0, 1.0]
|
447
|
+
* @param {number} [rangeMaximum=255] The maximum value in the mapped range, 255 by default.
|
448
|
+
* @returns {number} A SNORM value, where 0 maps to -1.0 and rangeMaximum maps to 1.0.
|
441
449
|
*
|
442
450
|
* @see CesiumMath.fromSNorm
|
443
451
|
*/
|
@@ -450,9 +458,9 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67'], (function (ex
|
|
450
458
|
|
451
459
|
/**
|
452
460
|
* Converts a SNORM value in the range [0, rangeMaximum] to a scalar in the range [-1.0, 1.0].
|
453
|
-
* @param {
|
454
|
-
* @param {
|
455
|
-
* @returns {
|
461
|
+
* @param {number} value SNORM value in the range [0, rangeMaximum]
|
462
|
+
* @param {number} [rangeMaximum=255] The maximum value in the SNORM range, 255 by default.
|
463
|
+
* @returns {number} Scalar in the range [-1.0, 1.0].
|
456
464
|
*
|
457
465
|
* @see CesiumMath.toSNorm
|
458
466
|
*/
|
@@ -465,10 +473,10 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67'], (function (ex
|
|
465
473
|
|
466
474
|
/**
|
467
475
|
* Converts a scalar value in the range [rangeMinimum, rangeMaximum] to a scalar in the range [0.0, 1.0]
|
468
|
-
* @param {
|
469
|
-
* @param {
|
470
|
-
* @param {
|
471
|
-
* @returns {
|
476
|
+
* @param {number} value The scalar value in the range [rangeMinimum, rangeMaximum]
|
477
|
+
* @param {number} rangeMinimum The minimum value in the mapped range.
|
478
|
+
* @param {number} rangeMaximum The maximum value in the mapped range.
|
479
|
+
* @returns {number} A scalar value, where rangeMinimum maps to 0.0 and rangeMaximum maps to 1.0.
|
472
480
|
*/
|
473
481
|
CesiumMath.normalize = function (value, rangeMinimum, rangeMaximum) {
|
474
482
|
rangeMaximum = Math.max(rangeMaximum - rangeMinimum, 0.0);
|
@@ -496,8 +504,8 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67'], (function (ex
|
|
496
504
|
*</p>
|
497
505
|
*
|
498
506
|
* @function
|
499
|
-
* @param {
|
500
|
-
* @returns {
|
507
|
+
* @param {number} value The number whose hyperbolic sine is to be returned.
|
508
|
+
* @returns {number} The hyperbolic sine of <code>value</code>.
|
501
509
|
*/
|
502
510
|
// eslint-disable-next-line es/no-math-sinh
|
503
511
|
CesiumMath.sinh = defaultValue.defaultValue(Math.sinh, function sinh(value) {
|
@@ -521,8 +529,8 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67'], (function (ex
|
|
521
529
|
*</p>
|
522
530
|
*
|
523
531
|
* @function
|
524
|
-
* @param {
|
525
|
-
* @returns {
|
532
|
+
* @param {number} value The number whose hyperbolic cosine is to be returned.
|
533
|
+
* @returns {number} The hyperbolic cosine of <code>value</code>.
|
526
534
|
*/
|
527
535
|
// eslint-disable-next-line es/no-math-cosh
|
528
536
|
CesiumMath.cosh = defaultValue.defaultValue(Math.cosh, function cosh(value) {
|
@@ -532,10 +540,10 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67'], (function (ex
|
|
532
540
|
/**
|
533
541
|
* Computes the linear interpolation of two values.
|
534
542
|
*
|
535
|
-
* @param {
|
536
|
-
* @param {
|
537
|
-
* @param {
|
538
|
-
* @returns {
|
543
|
+
* @param {number} p The start value to interpolate.
|
544
|
+
* @param {number} q The end value to interpolate.
|
545
|
+
* @param {number} time The time of interpolation generally in the range <code>[0.0, 1.0]</code>.
|
546
|
+
* @returns {number} The linearly interpolated value.
|
539
547
|
*
|
540
548
|
* @example
|
541
549
|
* const n = Cesium.Math.lerp(0.0, 2.0, 0.5); // returns 1.0
|
@@ -547,7 +555,7 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67'], (function (ex
|
|
547
555
|
/**
|
548
556
|
* pi
|
549
557
|
*
|
550
|
-
* @type {
|
558
|
+
* @type {number}
|
551
559
|
* @constant
|
552
560
|
*/
|
553
561
|
CesiumMath.PI = Math.PI;
|
@@ -555,7 +563,7 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67'], (function (ex
|
|
555
563
|
/**
|
556
564
|
* 1/pi
|
557
565
|
*
|
558
|
-
* @type {
|
566
|
+
* @type {number}
|
559
567
|
* @constant
|
560
568
|
*/
|
561
569
|
CesiumMath.ONE_OVER_PI = 1.0 / Math.PI;
|
@@ -563,7 +571,7 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67'], (function (ex
|
|
563
571
|
/**
|
564
572
|
* pi/2
|
565
573
|
*
|
566
|
-
* @type {
|
574
|
+
* @type {number}
|
567
575
|
* @constant
|
568
576
|
*/
|
569
577
|
CesiumMath.PI_OVER_TWO = Math.PI / 2.0;
|
@@ -571,7 +579,7 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67'], (function (ex
|
|
571
579
|
/**
|
572
580
|
* pi/3
|
573
581
|
*
|
574
|
-
* @type {
|
582
|
+
* @type {number}
|
575
583
|
* @constant
|
576
584
|
*/
|
577
585
|
CesiumMath.PI_OVER_THREE = Math.PI / 3.0;
|
@@ -579,7 +587,7 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67'], (function (ex
|
|
579
587
|
/**
|
580
588
|
* pi/4
|
581
589
|
*
|
582
|
-
* @type {
|
590
|
+
* @type {number}
|
583
591
|
* @constant
|
584
592
|
*/
|
585
593
|
CesiumMath.PI_OVER_FOUR = Math.PI / 4.0;
|
@@ -587,7 +595,7 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67'], (function (ex
|
|
587
595
|
/**
|
588
596
|
* pi/6
|
589
597
|
*
|
590
|
-
* @type {
|
598
|
+
* @type {number}
|
591
599
|
* @constant
|
592
600
|
*/
|
593
601
|
CesiumMath.PI_OVER_SIX = Math.PI / 6.0;
|
@@ -595,7 +603,7 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67'], (function (ex
|
|
595
603
|
/**
|
596
604
|
* 3pi/2
|
597
605
|
*
|
598
|
-
* @type {
|
606
|
+
* @type {number}
|
599
607
|
* @constant
|
600
608
|
*/
|
601
609
|
CesiumMath.THREE_PI_OVER_TWO = (3.0 * Math.PI) / 2.0;
|
@@ -603,7 +611,7 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67'], (function (ex
|
|
603
611
|
/**
|
604
612
|
* 2pi
|
605
613
|
*
|
606
|
-
* @type {
|
614
|
+
* @type {number}
|
607
615
|
* @constant
|
608
616
|
*/
|
609
617
|
CesiumMath.TWO_PI = 2.0 * Math.PI;
|
@@ -611,7 +619,7 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67'], (function (ex
|
|
611
619
|
/**
|
612
620
|
* 1/2pi
|
613
621
|
*
|
614
|
-
* @type {
|
622
|
+
* @type {number}
|
615
623
|
* @constant
|
616
624
|
*/
|
617
625
|
CesiumMath.ONE_OVER_TWO_PI = 1.0 / (2.0 * Math.PI);
|
@@ -619,7 +627,7 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67'], (function (ex
|
|
619
627
|
/**
|
620
628
|
* The number of radians in a degree.
|
621
629
|
*
|
622
|
-
* @type {
|
630
|
+
* @type {number}
|
623
631
|
* @constant
|
624
632
|
*/
|
625
633
|
CesiumMath.RADIANS_PER_DEGREE = Math.PI / 180.0;
|
@@ -627,7 +635,7 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67'], (function (ex
|
|
627
635
|
/**
|
628
636
|
* The number of degrees in a radian.
|
629
637
|
*
|
630
|
-
* @type {
|
638
|
+
* @type {number}
|
631
639
|
* @constant
|
632
640
|
*/
|
633
641
|
CesiumMath.DEGREES_PER_RADIAN = 180.0 / Math.PI;
|
@@ -635,15 +643,15 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67'], (function (ex
|
|
635
643
|
/**
|
636
644
|
* The number of radians in an arc second.
|
637
645
|
*
|
638
|
-
* @type {
|
646
|
+
* @type {number}
|
639
647
|
* @constant
|
640
648
|
*/
|
641
649
|
CesiumMath.RADIANS_PER_ARCSECOND = CesiumMath.RADIANS_PER_DEGREE / 3600.0;
|
642
650
|
|
643
651
|
/**
|
644
652
|
* Converts degrees to radians.
|
645
|
-
* @param {
|
646
|
-
* @returns {
|
653
|
+
* @param {number} degrees The angle to convert in degrees.
|
654
|
+
* @returns {number} The corresponding angle in radians.
|
647
655
|
*/
|
648
656
|
CesiumMath.toRadians = function (degrees) {
|
649
657
|
//>>includeStart('debug', pragmas.debug);
|
@@ -656,8 +664,8 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67'], (function (ex
|
|
656
664
|
|
657
665
|
/**
|
658
666
|
* Converts radians to degrees.
|
659
|
-
* @param {
|
660
|
-
* @returns {
|
667
|
+
* @param {number} radians The angle to convert in radians.
|
668
|
+
* @returns {number} The corresponding angle in degrees.
|
661
669
|
*/
|
662
670
|
CesiumMath.toDegrees = function (radians) {
|
663
671
|
//>>includeStart('debug', pragmas.debug);
|
@@ -671,8 +679,8 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67'], (function (ex
|
|
671
679
|
/**
|
672
680
|
* Converts a longitude value, in radians, to the range [<code>-Math.PI</code>, <code>Math.PI</code>).
|
673
681
|
*
|
674
|
-
* @param {
|
675
|
-
* @returns {
|
682
|
+
* @param {number} angle The longitude value, in radians, to convert to the range [<code>-Math.PI</code>, <code>Math.PI</code>).
|
683
|
+
* @returns {number} The equivalent longitude value in the range [<code>-Math.PI</code>, <code>Math.PI</code>).
|
676
684
|
*
|
677
685
|
* @example
|
678
686
|
* // Convert 270 degrees to -90 degrees longitude
|
@@ -702,8 +710,8 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67'], (function (ex
|
|
702
710
|
* Convenience function that clamps a latitude value, in radians, to the range [<code>-Math.PI/2</code>, <code>Math.PI/2</code>).
|
703
711
|
* Useful for sanitizing data before use in objects requiring correct range.
|
704
712
|
*
|
705
|
-
* @param {
|
706
|
-
* @returns {
|
713
|
+
* @param {number} angle The latitude value, in radians, to clamp to the range [<code>-Math.PI/2</code>, <code>Math.PI/2</code>).
|
714
|
+
* @returns {number} The latitude value clamped to the range [<code>-Math.PI/2</code>, <code>Math.PI/2</code>).
|
707
715
|
*
|
708
716
|
* @example
|
709
717
|
* // Clamp 108 degrees latitude to 90 degrees latitude
|
@@ -726,8 +734,8 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67'], (function (ex
|
|
726
734
|
/**
|
727
735
|
* Produces an angle in the range -Pi <= angle <= Pi which is equivalent to the provided angle.
|
728
736
|
*
|
729
|
-
* @param {
|
730
|
-
* @returns {
|
737
|
+
* @param {number} angle in radians
|
738
|
+
* @returns {number} The angle in the range [<code>-CesiumMath.PI</code>, <code>CesiumMath.PI</code>].
|
731
739
|
*/
|
732
740
|
CesiumMath.negativePiToPi = function (angle) {
|
733
741
|
//>>includeStart('debug', pragmas.debug);
|
@@ -746,8 +754,8 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67'], (function (ex
|
|
746
754
|
/**
|
747
755
|
* Produces an angle in the range 0 <= angle <= 2Pi which is equivalent to the provided angle.
|
748
756
|
*
|
749
|
-
* @param {
|
750
|
-
* @returns {
|
757
|
+
* @param {number} angle in radians
|
758
|
+
* @returns {number} The angle in the range [0, <code>CesiumMath.TWO_PI</code>].
|
751
759
|
*/
|
752
760
|
CesiumMath.zeroToTwoPi = function (angle) {
|
753
761
|
//>>includeStart('debug', pragmas.debug);
|
@@ -773,9 +781,9 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67'], (function (ex
|
|
773
781
|
/**
|
774
782
|
* The modulo operation that also works for negative dividends.
|
775
783
|
*
|
776
|
-
* @param {
|
777
|
-
* @param {
|
778
|
-
* @returns {
|
784
|
+
* @param {number} m The dividend.
|
785
|
+
* @param {number} n The divisor.
|
786
|
+
* @returns {number} The remainder.
|
779
787
|
*/
|
780
788
|
CesiumMath.mod = function (m, n) {
|
781
789
|
//>>includeStart('debug', pragmas.debug);
|
@@ -804,11 +812,11 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67'], (function (ex
|
|
804
812
|
* first compared using an absolute tolerance test. If that fails, a relative tolerance test is performed.
|
805
813
|
* Use this test if you are unsure of the magnitudes of left and right.
|
806
814
|
*
|
807
|
-
* @param {
|
808
|
-
* @param {
|
809
|
-
* @param {
|
810
|
-
* @param {
|
811
|
-
* @returns {
|
815
|
+
* @param {number} left The first value to compare.
|
816
|
+
* @param {number} right The other value to compare.
|
817
|
+
* @param {number} [relativeEpsilon=0] The maximum inclusive delta between <code>left</code> and <code>right</code> for the relative tolerance test.
|
818
|
+
* @param {number} [absoluteEpsilon=relativeEpsilon] The maximum inclusive delta between <code>left</code> and <code>right</code> for the absolute tolerance test.
|
819
|
+
* @returns {boolean} <code>true</code> if the values are equal within the epsilon; otherwise, <code>false</code>.
|
812
820
|
*
|
813
821
|
* @example
|
814
822
|
* const a = Cesium.Math.equalsEpsilon(0.0, 0.01, Cesium.Math.EPSILON2); // true
|
@@ -844,10 +852,10 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67'], (function (ex
|
|
844
852
|
* Determines if the left value is less than the right value. If the two values are within
|
845
853
|
* <code>absoluteEpsilon</code> of each other, they are considered equal and this function returns false.
|
846
854
|
*
|
847
|
-
* @param {
|
848
|
-
* @param {
|
849
|
-
* @param {
|
850
|
-
* @returns {
|
855
|
+
* @param {number} left The first number to compare.
|
856
|
+
* @param {number} right The second number to compare.
|
857
|
+
* @param {number} absoluteEpsilon The absolute epsilon to use in comparison.
|
858
|
+
* @returns {boolean} <code>true</code> if <code>left</code> is less than <code>right</code> by more than
|
851
859
|
* <code>absoluteEpsilon<code>. <code>false</code> if <code>left</code> is greater or if the two
|
852
860
|
* values are nearly equal.
|
853
861
|
*/
|
@@ -870,10 +878,10 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67'], (function (ex
|
|
870
878
|
* Determines if the left value is less than or equal to the right value. If the two values are within
|
871
879
|
* <code>absoluteEpsilon</code> of each other, they are considered equal and this function returns true.
|
872
880
|
*
|
873
|
-
* @param {
|
874
|
-
* @param {
|
875
|
-
* @param {
|
876
|
-
* @returns {
|
881
|
+
* @param {number} left The first number to compare.
|
882
|
+
* @param {number} right The second number to compare.
|
883
|
+
* @param {number} absoluteEpsilon The absolute epsilon to use in comparison.
|
884
|
+
* @returns {boolean} <code>true</code> if <code>left</code> is less than <code>right</code> or if the
|
877
885
|
* the values are nearly equal.
|
878
886
|
*/
|
879
887
|
CesiumMath.lessThanOrEquals = function (left, right, absoluteEpsilon) {
|
@@ -895,10 +903,10 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67'], (function (ex
|
|
895
903
|
* Determines if the left value is greater the right value. If the two values are within
|
896
904
|
* <code>absoluteEpsilon</code> of each other, they are considered equal and this function returns false.
|
897
905
|
*
|
898
|
-
* @param {
|
899
|
-
* @param {
|
900
|
-
* @param {
|
901
|
-
* @returns {
|
906
|
+
* @param {number} left The first number to compare.
|
907
|
+
* @param {number} right The second number to compare.
|
908
|
+
* @param {number} absoluteEpsilon The absolute epsilon to use in comparison.
|
909
|
+
* @returns {boolean} <code>true</code> if <code>left</code> is greater than <code>right</code> by more than
|
902
910
|
* <code>absoluteEpsilon<code>. <code>false</code> if <code>left</code> is less or if the two
|
903
911
|
* values are nearly equal.
|
904
912
|
*/
|
@@ -921,10 +929,10 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67'], (function (ex
|
|
921
929
|
* Determines if the left value is greater than or equal to the right value. If the two values are within
|
922
930
|
* <code>absoluteEpsilon</code> of each other, they are considered equal and this function returns true.
|
923
931
|
*
|
924
|
-
* @param {
|
925
|
-
* @param {
|
926
|
-
* @param {
|
927
|
-
* @returns {
|
932
|
+
* @param {number} left The first number to compare.
|
933
|
+
* @param {number} right The second number to compare.
|
934
|
+
* @param {number} absoluteEpsilon The absolute epsilon to use in comparison.
|
935
|
+
* @returns {boolean} <code>true</code> if <code>left</code> is greater than <code>right</code> or if the
|
928
936
|
* the values are nearly equal.
|
929
937
|
*/
|
930
938
|
CesiumMath.greaterThanOrEquals = function (left, right, absoluteEpsilon) {
|
@@ -947,8 +955,8 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67'], (function (ex
|
|
947
955
|
/**
|
948
956
|
* Computes the factorial of the provided number.
|
949
957
|
*
|
950
|
-
* @param {
|
951
|
-
* @returns {
|
958
|
+
* @param {number} n The number whose factorial is to be computed.
|
959
|
+
* @returns {number} The factorial of the provided number or undefined if the number is less than 0.
|
952
960
|
*
|
953
961
|
* @exception {DeveloperError} A number greater than or equal to 0 is required.
|
954
962
|
*
|
@@ -983,10 +991,10 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67'], (function (ex
|
|
983
991
|
/**
|
984
992
|
* Increments a number with a wrapping to a minimum value if the number exceeds the maximum value.
|
985
993
|
*
|
986
|
-
* @param {
|
987
|
-
* @param {
|
988
|
-
* @param {
|
989
|
-
* @returns {
|
994
|
+
* @param {number} [n] The number to be incremented.
|
995
|
+
* @param {number} [maximumValue] The maximum incremented value before rolling over to the minimum value.
|
996
|
+
* @param {number} [minimumValue=0.0] The number reset to after the maximum value has been exceeded.
|
997
|
+
* @returns {number} The incremented number.
|
990
998
|
*
|
991
999
|
* @exception {DeveloperError} Maximum value must be greater than minimum value.
|
992
1000
|
*
|
@@ -1017,8 +1025,8 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67'], (function (ex
|
|
1017
1025
|
* Determines if a non-negative integer is a power of two.
|
1018
1026
|
* The maximum allowed input is (2^32)-1 due to 32-bit bitwise operator limitation in Javascript.
|
1019
1027
|
*
|
1020
|
-
* @param {
|
1021
|
-
* @returns {
|
1028
|
+
* @param {number} n The integer to test in the range [0, (2^32)-1].
|
1029
|
+
* @returns {boolean} <code>true</code> if the number if a power of two; otherwise, <code>false</code>.
|
1022
1030
|
*
|
1023
1031
|
* @exception {DeveloperError} A number between 0 and (2^32)-1 is required.
|
1024
1032
|
*
|
@@ -1040,8 +1048,8 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67'], (function (ex
|
|
1040
1048
|
* Computes the next power-of-two integer greater than or equal to the provided non-negative integer.
|
1041
1049
|
* The maximum allowed input is 2^31 due to 32-bit bitwise operator limitation in Javascript.
|
1042
1050
|
*
|
1043
|
-
* @param {
|
1044
|
-
* @returns {
|
1051
|
+
* @param {number} n The integer to test in the range [0, 2^31].
|
1052
|
+
* @returns {number} The next power-of-two integer.
|
1045
1053
|
*
|
1046
1054
|
* @exception {DeveloperError} A number between 0 and 2^31 is required.
|
1047
1055
|
*
|
@@ -1072,8 +1080,8 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67'], (function (ex
|
|
1072
1080
|
* Computes the previous power-of-two integer less than or equal to the provided non-negative integer.
|
1073
1081
|
* The maximum allowed input is (2^32)-1 due to 32-bit bitwise operator limitation in Javascript.
|
1074
1082
|
*
|
1075
|
-
* @param {
|
1076
|
-
* @returns {
|
1083
|
+
* @param {number} n The integer to test in the range [0, (2^32)-1].
|
1084
|
+
* @returns {number} The previous power-of-two integer.
|
1077
1085
|
*
|
1078
1086
|
* @exception {DeveloperError} A number between 0 and (2^32)-1 is required.
|
1079
1087
|
*
|
@@ -1104,10 +1112,10 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67'], (function (ex
|
|
1104
1112
|
/**
|
1105
1113
|
* Constraint a value to lie between two values.
|
1106
1114
|
*
|
1107
|
-
* @param {
|
1108
|
-
* @param {
|
1109
|
-
* @param {
|
1110
|
-
* @returns {
|
1115
|
+
* @param {number} value The value to clamp.
|
1116
|
+
* @param {number} min The minimum value.
|
1117
|
+
* @param {number} max The maximum value.
|
1118
|
+
* @returns {number} The clamped value such that min <= result <= max.
|
1111
1119
|
*/
|
1112
1120
|
CesiumMath.clamp = function (value, min, max) {
|
1113
1121
|
//>>includeStart('debug', pragmas.debug);
|
@@ -1119,13 +1127,13 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67'], (function (ex
|
|
1119
1127
|
return value < min ? min : value > max ? max : value;
|
1120
1128
|
};
|
1121
1129
|
|
1122
|
-
let randomNumberGenerator = new
|
1130
|
+
let randomNumberGenerator = new MersenneTwister$1();
|
1123
1131
|
|
1124
1132
|
/**
|
1125
1133
|
* Sets the seed used by the random number generator
|
1126
1134
|
* in {@link CesiumMath#nextRandomNumber}.
|
1127
1135
|
*
|
1128
|
-
* @param {
|
1136
|
+
* @param {number} seed An integer used as the seed.
|
1129
1137
|
*/
|
1130
1138
|
CesiumMath.setRandomNumberSeed = function (seed) {
|
1131
1139
|
//>>includeStart('debug', pragmas.debug);
|
@@ -1134,14 +1142,14 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67'], (function (ex
|
|
1134
1142
|
}
|
1135
1143
|
//>>includeEnd('debug');
|
1136
1144
|
|
1137
|
-
randomNumberGenerator = new
|
1145
|
+
randomNumberGenerator = new MersenneTwister$1(seed);
|
1138
1146
|
};
|
1139
1147
|
|
1140
1148
|
/**
|
1141
1149
|
* Generates a random floating point number in the range of [0.0, 1.0)
|
1142
1150
|
* using a Mersenne twister.
|
1143
1151
|
*
|
1144
|
-
* @returns {
|
1152
|
+
* @returns {number} A random number in the range of [0.0, 1.0).
|
1145
1153
|
*
|
1146
1154
|
* @see CesiumMath.setRandomNumberSeed
|
1147
1155
|
* @see {@link http://en.wikipedia.org/wiki/Mersenne_twister|Mersenne twister on Wikipedia}
|
@@ -1153,9 +1161,9 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67'], (function (ex
|
|
1153
1161
|
/**
|
1154
1162
|
* Generates a random number between two numbers.
|
1155
1163
|
*
|
1156
|
-
* @param {
|
1157
|
-
* @param {
|
1158
|
-
* @returns {
|
1164
|
+
* @param {number} min The minimum value.
|
1165
|
+
* @param {number} max The maximum value.
|
1166
|
+
* @returns {number} A random number between the min and max.
|
1159
1167
|
*/
|
1160
1168
|
CesiumMath.randomBetween = function (min, max) {
|
1161
1169
|
return CesiumMath.nextRandomNumber() * (max - min) + min;
|
@@ -1165,8 +1173,8 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67'], (function (ex
|
|
1165
1173
|
* Computes <code>Math.acos(value)</code>, but first clamps <code>value</code> to the range [-1.0, 1.0]
|
1166
1174
|
* so that the function will never return NaN.
|
1167
1175
|
*
|
1168
|
-
* @param {
|
1169
|
-
* @returns {
|
1176
|
+
* @param {number} value The value for which to compute acos.
|
1177
|
+
* @returns {number} The acos of the value if the value is in the range [-1.0, 1.0], or the acos of -1.0 or 1.0,
|
1170
1178
|
* whichever is closer, if the value is outside the range.
|
1171
1179
|
*/
|
1172
1180
|
CesiumMath.acosClamped = function (value) {
|
@@ -1182,8 +1190,8 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67'], (function (ex
|
|
1182
1190
|
* Computes <code>Math.asin(value)</code>, but first clamps <code>value</code> to the range [-1.0, 1.0]
|
1183
1191
|
* so that the function will never return NaN.
|
1184
1192
|
*
|
1185
|
-
* @param {
|
1186
|
-
* @returns {
|
1193
|
+
* @param {number} value The value for which to compute asin.
|
1194
|
+
* @returns {number} The asin of the value if the value is in the range [-1.0, 1.0], or the asin of -1.0 or 1.0,
|
1187
1195
|
* whichever is closer, if the value is outside the range.
|
1188
1196
|
*/
|
1189
1197
|
CesiumMath.asinClamped = function (value) {
|
@@ -1198,9 +1206,9 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67'], (function (ex
|
|
1198
1206
|
/**
|
1199
1207
|
* Finds the chord length between two points given the circle's radius and the angle between the points.
|
1200
1208
|
*
|
1201
|
-
* @param {
|
1202
|
-
* @param {
|
1203
|
-
* @returns {
|
1209
|
+
* @param {number} angle The angle between the two points.
|
1210
|
+
* @param {number} radius The radius of the circle.
|
1211
|
+
* @returns {number} The chord length.
|
1204
1212
|
*/
|
1205
1213
|
CesiumMath.chordLength = function (angle, radius) {
|
1206
1214
|
//>>includeStart('debug', pragmas.debug);
|
@@ -1217,9 +1225,9 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67'], (function (ex
|
|
1217
1225
|
/**
|
1218
1226
|
* Finds the logarithm of a number to a base.
|
1219
1227
|
*
|
1220
|
-
* @param {
|
1221
|
-
* @param {
|
1222
|
-
* @returns {
|
1228
|
+
* @param {number} number The number.
|
1229
|
+
* @param {number} base The base.
|
1230
|
+
* @returns {number} The result.
|
1223
1231
|
*/
|
1224
1232
|
CesiumMath.logBase = function (number, base) {
|
1225
1233
|
//>>includeStart('debug', pragmas.debug);
|
@@ -1238,8 +1246,8 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67'], (function (ex
|
|
1238
1246
|
* Returns NaN if <code>number</code> is not provided.
|
1239
1247
|
*
|
1240
1248
|
* @function
|
1241
|
-
* @param {
|
1242
|
-
* @returns {
|
1249
|
+
* @param {number} [number] The number.
|
1250
|
+
* @returns {number} The result.
|
1243
1251
|
*/
|
1244
1252
|
// eslint-disable-next-line es/no-math-cbrt
|
1245
1253
|
CesiumMath.cbrt = defaultValue.defaultValue(Math.cbrt, function cbrt(number) {
|
@@ -1251,8 +1259,8 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67'], (function (ex
|
|
1251
1259
|
* Finds the base 2 logarithm of a number.
|
1252
1260
|
*
|
1253
1261
|
* @function
|
1254
|
-
* @param {
|
1255
|
-
* @returns {
|
1262
|
+
* @param {number} number The number.
|
1263
|
+
* @returns {number} The result.
|
1256
1264
|
*/
|
1257
1265
|
// eslint-disable-next-line es/no-math-log2
|
1258
1266
|
CesiumMath.log2 = defaultValue.defaultValue(Math.log2, function log2(number) {
|
@@ -1275,8 +1283,8 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67'], (function (ex
|
|
1275
1283
|
* Rajan, S. Sichun Wang Inkol, R. Joyal, A., May 2006.
|
1276
1284
|
* Adapted from ShaderFastLibs under MIT License.
|
1277
1285
|
*
|
1278
|
-
* @param {
|
1279
|
-
* @returns {
|
1286
|
+
* @param {number} x An input number in the range [-1, 1]
|
1287
|
+
* @returns {number} An approximation of atan(x)
|
1280
1288
|
*/
|
1281
1289
|
CesiumMath.fastApproximateAtan = function (x) {
|
1282
1290
|
//>>includeStart('debug', pragmas.debug);
|
@@ -1291,9 +1299,9 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67'], (function (ex
|
|
1291
1299
|
*
|
1292
1300
|
* Range reduction math based on nvidia's cg reference implementation: http://developer.download.nvidia.com/cg/atan2.html
|
1293
1301
|
*
|
1294
|
-
* @param {
|
1295
|
-
* @param {
|
1296
|
-
* @returns {
|
1302
|
+
* @param {number} x An input number that isn't zero if y is zero.
|
1303
|
+
* @param {number} y An input number that isn't zero if x is zero.
|
1304
|
+
* @returns {number} An approximation of atan2(x, y)
|
1297
1305
|
*/
|
1298
1306
|
CesiumMath.fastApproximateAtan2 = function (x, y) {
|
1299
1307
|
//>>includeStart('debug', pragmas.debug);
|
@@ -1326,5 +1334,7 @@ define(['exports', './Check-666ab1a0', './defaultValue-0a909f67'], (function (ex
|
|
1326
1334
|
var CesiumMath$1 = CesiumMath;
|
1327
1335
|
|
1328
1336
|
exports.CesiumMath = CesiumMath$1;
|
1337
|
+
exports.commonjsGlobal = commonjsGlobal;
|
1338
|
+
exports.getDefaultExportFromCjs = getDefaultExportFromCjs;
|
1329
1339
|
|
1330
1340
|
}));
|