@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,14 +1,14 @@
|
|
1
|
-
define(['exports', './Matrix3-
|
1
|
+
define(['exports', './Matrix3-41c58dde', './Check-6ede7e26', './defaultValue-fe22d8c0', './Math-0a2ac845', './RuntimeError-ef395448'], (function (exports, Matrix3, Check, defaultValue, Math$1, RuntimeError) { 'use strict';
|
2
2
|
|
3
3
|
/**
|
4
4
|
* A 4D Cartesian point.
|
5
5
|
* @alias Cartesian4
|
6
6
|
* @constructor
|
7
7
|
*
|
8
|
-
* @param {
|
9
|
-
* @param {
|
10
|
-
* @param {
|
11
|
-
* @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
|
+
* @param {number} [w=0.0] The W component.
|
12
12
|
*
|
13
13
|
* @see Cartesian2
|
14
14
|
* @see Cartesian3
|
@@ -17,28 +17,28 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
17
17
|
function Cartesian4(x, y, z, w) {
|
18
18
|
/**
|
19
19
|
* The X component.
|
20
|
-
* @type {
|
20
|
+
* @type {number}
|
21
21
|
* @default 0.0
|
22
22
|
*/
|
23
23
|
this.x = defaultValue.defaultValue(x, 0.0);
|
24
24
|
|
25
25
|
/**
|
26
26
|
* The Y component.
|
27
|
-
* @type {
|
27
|
+
* @type {number}
|
28
28
|
* @default 0.0
|
29
29
|
*/
|
30
30
|
this.y = defaultValue.defaultValue(y, 0.0);
|
31
31
|
|
32
32
|
/**
|
33
33
|
* The Z component.
|
34
|
-
* @type {
|
34
|
+
* @type {number}
|
35
35
|
* @default 0.0
|
36
36
|
*/
|
37
37
|
this.z = defaultValue.defaultValue(z, 0.0);
|
38
38
|
|
39
39
|
/**
|
40
40
|
* The W component.
|
41
|
-
* @type {
|
41
|
+
* @type {number}
|
42
42
|
* @default 0.0
|
43
43
|
*/
|
44
44
|
this.w = defaultValue.defaultValue(w, 0.0);
|
@@ -47,10 +47,10 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
47
47
|
/**
|
48
48
|
* Creates a Cartesian4 instance from x, y, z and w coordinates.
|
49
49
|
*
|
50
|
-
* @param {
|
51
|
-
* @param {
|
52
|
-
* @param {
|
53
|
-
* @param {
|
50
|
+
* @param {number} x The x coordinate.
|
51
|
+
* @param {number} y The y coordinate.
|
52
|
+
* @param {number} z The z coordinate.
|
53
|
+
* @param {number} w The w coordinate.
|
54
54
|
* @param {Cartesian4} [result] The object onto which to store the result.
|
55
55
|
* @returns {Cartesian4} The modified result parameter or a new Cartesian4 instance if one was not provided.
|
56
56
|
*/
|
@@ -114,7 +114,7 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
114
114
|
|
115
115
|
/**
|
116
116
|
* The number of elements used to pack the object into an array.
|
117
|
-
* @type {
|
117
|
+
* @type {number}
|
118
118
|
*/
|
119
119
|
Cartesian4.packedLength = 4;
|
120
120
|
|
@@ -122,10 +122,10 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
122
122
|
* Stores the provided instance into the provided array.
|
123
123
|
*
|
124
124
|
* @param {Cartesian4} value The value to pack.
|
125
|
-
* @param {
|
126
|
-
* @param {
|
125
|
+
* @param {number[]} array The array to pack into.
|
126
|
+
* @param {number} [startingIndex=0] The index into the array at which to start packing the elements.
|
127
127
|
*
|
128
|
-
* @returns {
|
128
|
+
* @returns {number[]} The array that was packed into
|
129
129
|
*/
|
130
130
|
Cartesian4.pack = function (value, array, startingIndex) {
|
131
131
|
//>>includeStart('debug', pragmas.debug);
|
@@ -146,8 +146,8 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
146
146
|
/**
|
147
147
|
* Retrieves an instance from a packed array.
|
148
148
|
*
|
149
|
-
* @param {
|
150
|
-
* @param {
|
149
|
+
* @param {number[]} array The packed array.
|
150
|
+
* @param {number} [startingIndex=0] The starting index of the element to be unpacked.
|
151
151
|
* @param {Cartesian4} [result] The object into which to store the result.
|
152
152
|
* @returns {Cartesian4} The modified result parameter or a new Cartesian4 instance if one was not provided.
|
153
153
|
*/
|
@@ -172,8 +172,8 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
172
172
|
* Flattens an array of Cartesian4s into an array of components.
|
173
173
|
*
|
174
174
|
* @param {Cartesian4[]} 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 * 4 components, else a {@link DeveloperError} will be thrown. If it is a regular array, it will be resized to have (array.length * 4) elements.
|
176
|
+
* @returns {number[]} The packed array.
|
177
177
|
*/
|
178
178
|
Cartesian4.packArray = function (array, result) {
|
179
179
|
//>>includeStart('debug', pragmas.debug);
|
@@ -203,7 +203,7 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
203
203
|
/**
|
204
204
|
* Unpacks an array of cartesian components into an array of Cartesian4s.
|
205
205
|
*
|
206
|
-
* @param {
|
206
|
+
* @param {number[]} array The array of components to unpack.
|
207
207
|
* @param {Cartesian4[]} [result] The array onto which to store the result.
|
208
208
|
* @returns {Cartesian4[]} The unpacked array.
|
209
209
|
*/
|
@@ -234,8 +234,8 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
234
234
|
* Creates a Cartesian4 from four consecutive elements in an array.
|
235
235
|
* @function
|
236
236
|
*
|
237
|
-
* @param {
|
238
|
-
* @param {
|
237
|
+
* @param {number[]} array The array whose four consecutive elements correspond to the x, y, z, and w 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 {Cartesian4} [result] The object onto which to store the result.
|
240
240
|
* @returns {Cartesian4} The modified result parameter or a new Cartesian4 instance if one was not provided.
|
241
241
|
*
|
@@ -254,7 +254,7 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
254
254
|
* Computes the value of the maximum component for the supplied Cartesian.
|
255
255
|
*
|
256
256
|
* @param {Cartesian4} cartesian The cartesian to use.
|
257
|
-
* @returns {
|
257
|
+
* @returns {number} The value of the maximum component.
|
258
258
|
*/
|
259
259
|
Cartesian4.maximumComponent = function (cartesian) {
|
260
260
|
//>>includeStart('debug', pragmas.debug);
|
@@ -268,7 +268,7 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
268
268
|
* Computes the value of the minimum component for the supplied Cartesian.
|
269
269
|
*
|
270
270
|
* @param {Cartesian4} cartesian The cartesian to use.
|
271
|
-
* @returns {
|
271
|
+
* @returns {number} The value of the minimum component.
|
272
272
|
*/
|
273
273
|
Cartesian4.minimumComponent = function (cartesian) {
|
274
274
|
//>>includeStart('debug', pragmas.debug);
|
@@ -358,7 +358,7 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
358
358
|
* Computes the provided Cartesian's squared magnitude.
|
359
359
|
*
|
360
360
|
* @param {Cartesian4} cartesian The Cartesian instance whose squared magnitude is to be computed.
|
361
|
-
* @returns {
|
361
|
+
* @returns {number} The squared magnitude.
|
362
362
|
*/
|
363
363
|
Cartesian4.magnitudeSquared = function (cartesian) {
|
364
364
|
//>>includeStart('debug', pragmas.debug);
|
@@ -377,7 +377,7 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
377
377
|
* Computes the Cartesian's magnitude (length).
|
378
378
|
*
|
379
379
|
* @param {Cartesian4} cartesian The Cartesian instance whose magnitude is to be computed.
|
380
|
-
* @returns {
|
380
|
+
* @returns {number} The magnitude.
|
381
381
|
*/
|
382
382
|
Cartesian4.magnitude = function (cartesian) {
|
383
383
|
return Math.sqrt(Cartesian4.magnitudeSquared(cartesian));
|
@@ -390,7 +390,7 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
390
390
|
*
|
391
391
|
* @param {Cartesian4} left The first point to compute the distance from.
|
392
392
|
* @param {Cartesian4} right The second point to compute the distance to.
|
393
|
-
* @returns {
|
393
|
+
* @returns {number} The distance between two points.
|
394
394
|
*
|
395
395
|
* @example
|
396
396
|
* // Returns 1.0
|
@@ -414,7 +414,7 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
414
414
|
*
|
415
415
|
* @param {Cartesian4} left The first point to compute the distance from.
|
416
416
|
* @param {Cartesian4} right The second point to compute the distance to.
|
417
|
-
* @returns {
|
417
|
+
* @returns {number} The distance between two points.
|
418
418
|
*
|
419
419
|
* @example
|
420
420
|
* // Returns 4.0, not 2.0
|
@@ -471,7 +471,7 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
471
471
|
*
|
472
472
|
* @param {Cartesian4} left The first Cartesian.
|
473
473
|
* @param {Cartesian4} right The second Cartesian.
|
474
|
-
* @returns {
|
474
|
+
* @returns {number} The dot product.
|
475
475
|
*/
|
476
476
|
Cartesian4.dot = function (left, right) {
|
477
477
|
//>>includeStart('debug', pragmas.debug);
|
@@ -576,7 +576,7 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
576
576
|
* Multiplies the provided Cartesian componentwise by the provided scalar.
|
577
577
|
*
|
578
578
|
* @param {Cartesian4} cartesian The Cartesian to be scaled.
|
579
|
-
* @param {
|
579
|
+
* @param {number} scalar The scalar to multiply with.
|
580
580
|
* @param {Cartesian4} result The object onto which to store the result.
|
581
581
|
* @returns {Cartesian4} The modified result parameter.
|
582
582
|
*/
|
@@ -598,7 +598,7 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
598
598
|
* Divides the provided Cartesian componentwise by the provided scalar.
|
599
599
|
*
|
600
600
|
* @param {Cartesian4} cartesian The Cartesian to be divided.
|
601
|
-
* @param {
|
601
|
+
* @param {number} scalar The scalar to divide by.
|
602
602
|
* @param {Cartesian4} result The object onto which to store the result.
|
603
603
|
* @returns {Cartesian4} The modified result parameter.
|
604
604
|
*/
|
@@ -662,7 +662,7 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
662
662
|
*
|
663
663
|
* @param {Cartesian4} start The value corresponding to t at 0.0.
|
664
664
|
* @param {Cartesian4}end The value corresponding to t at 1.0.
|
665
|
-
* @param {
|
665
|
+
* @param {number} t The point along t at which to interpolate.
|
666
666
|
* @param {Cartesian4} result The object onto which to store the result.
|
667
667
|
* @returns {Cartesian4} The modified result parameter.
|
668
668
|
*/
|
@@ -729,7 +729,7 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
729
729
|
*
|
730
730
|
* @param {Cartesian4} [left] The first Cartesian.
|
731
731
|
* @param {Cartesian4} [right] The second Cartesian.
|
732
|
-
* @returns {
|
732
|
+
* @returns {boolean} <code>true</code> if left and right are equal, <code>false</code> otherwise.
|
733
733
|
*/
|
734
734
|
Cartesian4.equals = function (left, right) {
|
735
735
|
return (
|
@@ -762,9 +762,9 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
762
762
|
*
|
763
763
|
* @param {Cartesian4} [left] The first Cartesian.
|
764
764
|
* @param {Cartesian4} [right] The second Cartesian.
|
765
|
-
* @param {
|
766
|
-
* @param {
|
767
|
-
* @returns {
|
765
|
+
* @param {number} [relativeEpsilon=0] The relative epsilon tolerance to use for equality testing.
|
766
|
+
* @param {number} [absoluteEpsilon=relativeEpsilon] The absolute epsilon tolerance to use for equality testing.
|
767
|
+
* @returns {boolean} <code>true</code> if left and right are within the provided epsilon, <code>false</code> otherwise.
|
768
768
|
*/
|
769
769
|
Cartesian4.equalsEpsilon = function (
|
770
770
|
left,
|
@@ -866,7 +866,7 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
866
866
|
* <code>true</code> if they are equal, <code>false</code> otherwise.
|
867
867
|
*
|
868
868
|
* @param {Cartesian4} [right] The right hand side Cartesian.
|
869
|
-
* @returns {
|
869
|
+
* @returns {boolean} <code>true</code> if they are equal, <code>false</code> otherwise.
|
870
870
|
*/
|
871
871
|
Cartesian4.prototype.equals = function (right) {
|
872
872
|
return Cartesian4.equals(this, right);
|
@@ -878,9 +878,9 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
878
878
|
* <code>false</code> otherwise.
|
879
879
|
*
|
880
880
|
* @param {Cartesian4} [right] The right hand side Cartesian.
|
881
|
-
* @param {
|
882
|
-
* @param {
|
883
|
-
* @returns {
|
881
|
+
* @param {number} [relativeEpsilon=0] The relative epsilon tolerance to use for equality testing.
|
882
|
+
* @param {number} [absoluteEpsilon=relativeEpsilon] The absolute epsilon tolerance to use for equality testing.
|
883
|
+
* @returns {boolean} <code>true</code> if they are within the provided epsilon, <code>false</code> otherwise.
|
884
884
|
*/
|
885
885
|
Cartesian4.prototype.equalsEpsilon = function (
|
886
886
|
right,
|
@@ -898,7 +898,7 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
898
898
|
/**
|
899
899
|
* Creates a string representing this Cartesian in the format '(x, y, z, w)'.
|
900
900
|
*
|
901
|
-
* @returns {
|
901
|
+
* @returns {string} A string representing the provided Cartesian in the format '(x, y, z, w)'.
|
902
902
|
*/
|
903
903
|
Cartesian4.prototype.toString = function () {
|
904
904
|
return `(${this.x}, ${this.y}, ${this.z}, ${this.w})`;
|
@@ -915,7 +915,7 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
915
915
|
/**
|
916
916
|
* Packs an arbitrary floating point value to 4 values representable using uint8.
|
917
917
|
*
|
918
|
-
* @param {
|
918
|
+
* @param {number} value A floating point number.
|
919
919
|
* @param {Cartesian4} [result] The Cartesian4 that will contain the packed float.
|
920
920
|
* @returns {Cartesian4} A Cartesian4 representing the float packed to values in x, y, z, and w.
|
921
921
|
*/
|
@@ -950,7 +950,7 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
950
950
|
* Unpacks a float packed using Cartesian4.packFloat.
|
951
951
|
*
|
952
952
|
* @param {Cartesian4} packedFloat A Cartesian4 containing a float packed to 4 values representable using uint8.
|
953
|
-
* @returns {
|
953
|
+
* @returns {number} The unpacked float.
|
954
954
|
* @private
|
955
955
|
*/
|
956
956
|
Cartesian4.unpackFloat = function (packedFloat) {
|
@@ -981,22 +981,22 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
981
981
|
* @constructor
|
982
982
|
* @implements {ArrayLike<number>}
|
983
983
|
*
|
984
|
-
* @param {
|
985
|
-
* @param {
|
986
|
-
* @param {
|
987
|
-
* @param {
|
988
|
-
* @param {
|
989
|
-
* @param {
|
990
|
-
* @param {
|
991
|
-
* @param {
|
992
|
-
* @param {
|
993
|
-
* @param {
|
994
|
-
* @param {
|
995
|
-
* @param {
|
996
|
-
* @param {
|
997
|
-
* @param {
|
998
|
-
* @param {
|
999
|
-
* @param {
|
984
|
+
* @param {number} [column0Row0=0.0] The value for column 0, row 0.
|
985
|
+
* @param {number} [column1Row0=0.0] The value for column 1, row 0.
|
986
|
+
* @param {number} [column2Row0=0.0] The value for column 2, row 0.
|
987
|
+
* @param {number} [column3Row0=0.0] The value for column 3, row 0.
|
988
|
+
* @param {number} [column0Row1=0.0] The value for column 0, row 1.
|
989
|
+
* @param {number} [column1Row1=0.0] The value for column 1, row 1.
|
990
|
+
* @param {number} [column2Row1=0.0] The value for column 2, row 1.
|
991
|
+
* @param {number} [column3Row1=0.0] The value for column 3, row 1.
|
992
|
+
* @param {number} [column0Row2=0.0] The value for column 0, row 2.
|
993
|
+
* @param {number} [column1Row2=0.0] The value for column 1, row 2.
|
994
|
+
* @param {number} [column2Row2=0.0] The value for column 2, row 2.
|
995
|
+
* @param {number} [column3Row2=0.0] The value for column 3, row 2.
|
996
|
+
* @param {number} [column0Row3=0.0] The value for column 0, row 3.
|
997
|
+
* @param {number} [column1Row3=0.0] The value for column 1, row 3.
|
998
|
+
* @param {number} [column2Row3=0.0] The value for column 2, row 3.
|
999
|
+
* @param {number} [column3Row3=0.0] The value for column 3, row 3.
|
1000
1000
|
*
|
1001
1001
|
* @see Matrix4.fromArray
|
1002
1002
|
* @see Matrix4.fromColumnMajorArray
|
@@ -1057,7 +1057,7 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
1057
1057
|
|
1058
1058
|
/**
|
1059
1059
|
* The number of elements used to pack the object into an array.
|
1060
|
-
* @type {
|
1060
|
+
* @type {number}
|
1061
1061
|
*/
|
1062
1062
|
Matrix4.packedLength = 16;
|
1063
1063
|
|
@@ -1065,10 +1065,10 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
1065
1065
|
* Stores the provided instance into the provided array.
|
1066
1066
|
*
|
1067
1067
|
* @param {Matrix4} value The value to pack.
|
1068
|
-
* @param {
|
1069
|
-
* @param {
|
1068
|
+
* @param {number[]} array The array to pack into.
|
1069
|
+
* @param {number} [startingIndex=0] The index into the array at which to start packing the elements.
|
1070
1070
|
*
|
1071
|
-
* @returns {
|
1071
|
+
* @returns {number[]} The array that was packed into
|
1072
1072
|
*/
|
1073
1073
|
Matrix4.pack = function (value, array, startingIndex) {
|
1074
1074
|
//>>includeStart('debug', pragmas.debug);
|
@@ -1101,8 +1101,8 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
1101
1101
|
/**
|
1102
1102
|
* Retrieves an instance from a packed array.
|
1103
1103
|
*
|
1104
|
-
* @param {
|
1105
|
-
* @param {
|
1104
|
+
* @param {number[]} array The packed array.
|
1105
|
+
* @param {number} [startingIndex=0] The starting index of the element to be unpacked.
|
1106
1106
|
* @param {Matrix4} [result] The object into which to store the result.
|
1107
1107
|
* @returns {Matrix4} The modified result parameter or a new Matrix4 instance if one was not provided.
|
1108
1108
|
*/
|
@@ -1141,8 +1141,8 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
1141
1141
|
* are stored in column-major order.
|
1142
1142
|
*
|
1143
1143
|
* @param {Matrix4[]} array The array of matrices to pack.
|
1144
|
-
* @param {
|
1145
|
-
* @returns {
|
1144
|
+
* @param {number[]} [result] The array onto which to store the result. If this is a typed array, it must have array.length * 16 components, else a {@link DeveloperError} will be thrown. If it is a regular array, it will be resized to have (array.length * 16) elements.
|
1145
|
+
* @returns {number[]} The packed array.
|
1146
1146
|
*/
|
1147
1147
|
Matrix4.packArray = function (array, result) {
|
1148
1148
|
//>>includeStart('debug', pragmas.debug);
|
@@ -1172,7 +1172,7 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
1172
1172
|
/**
|
1173
1173
|
* Unpacks an array of column-major matrix components into an array of Matrix4s.
|
1174
1174
|
*
|
1175
|
-
* @param {
|
1175
|
+
* @param {number[]} array The array of components to unpack.
|
1176
1176
|
* @param {Matrix4[]} [result] The array onto which to store the result.
|
1177
1177
|
* @returns {Matrix4[]} The unpacked array.
|
1178
1178
|
*/
|
@@ -1253,8 +1253,8 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
1253
1253
|
* Creates a Matrix4 from 16 consecutive elements in an array.
|
1254
1254
|
* @function
|
1255
1255
|
*
|
1256
|
-
* @param {
|
1257
|
-
* @param {
|
1256
|
+
* @param {number[]} array The array whose 16 consecutive elements correspond to the positions of the matrix. Assumes column-major order.
|
1257
|
+
* @param {number} [startingIndex=0] The offset into the array of the first element, which corresponds to first column first row position in the matrix.
|
1258
1258
|
* @param {Matrix4} [result] The object onto which to store the result.
|
1259
1259
|
* @returns {Matrix4} The modified result parameter or a new Matrix4 instance if one was not provided.
|
1260
1260
|
*
|
@@ -1277,7 +1277,7 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
1277
1277
|
/**
|
1278
1278
|
* Computes a Matrix4 instance from a column-major order array.
|
1279
1279
|
*
|
1280
|
-
* @param {
|
1280
|
+
* @param {number[]} values The column-major order array.
|
1281
1281
|
* @param {Matrix4} [result] The object in which the result will be stored, if undefined a new instance will be created.
|
1282
1282
|
* @returns {Matrix4} The modified result parameter, or a new Matrix4 instance if one was not provided.
|
1283
1283
|
*/
|
@@ -1293,7 +1293,7 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
1293
1293
|
* Computes a Matrix4 instance from a row-major order array.
|
1294
1294
|
* The resulting matrix will be in column-major order.
|
1295
1295
|
*
|
1296
|
-
* @param {
|
1296
|
+
* @param {number[]} values The row-major order array.
|
1297
1297
|
* @param {Matrix4} [result] The object in which the result will be stored, if undefined a new instance will be created.
|
1298
1298
|
* @returns {Matrix4} The modified result parameter, or a new Matrix4 instance if one was not provided.
|
1299
1299
|
*/
|
@@ -1580,7 +1580,7 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
1580
1580
|
/**
|
1581
1581
|
* Computes a Matrix4 instance representing a uniform scale.
|
1582
1582
|
*
|
1583
|
-
* @param {
|
1583
|
+
* @param {number} scale The uniform scale factor.
|
1584
1584
|
* @param {Matrix4} [result] The object in which the result will be stored, if undefined a new instance will be created.
|
1585
1585
|
* @returns {Matrix4} The modified result parameter, or a new Matrix4 instance if one was not provided.
|
1586
1586
|
*
|
@@ -1784,10 +1784,10 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
1784
1784
|
/**
|
1785
1785
|
* Computes a Matrix4 instance representing a perspective transformation matrix.
|
1786
1786
|
*
|
1787
|
-
* @param {
|
1788
|
-
* @param {
|
1789
|
-
* @param {
|
1790
|
-
* @param {
|
1787
|
+
* @param {number} fovY The field of view along the Y axis in radians.
|
1788
|
+
* @param {number} aspectRatio The aspect ratio.
|
1789
|
+
* @param {number} near The distance to the near plane in meters.
|
1790
|
+
* @param {number} far The distance to the far plane in meters.
|
1791
1791
|
* @param {Matrix4} result The object in which the result will be stored.
|
1792
1792
|
* @returns {Matrix4} The modified result parameter.
|
1793
1793
|
*
|
@@ -1840,12 +1840,12 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
1840
1840
|
/**
|
1841
1841
|
* Computes a Matrix4 instance representing an orthographic transformation matrix.
|
1842
1842
|
*
|
1843
|
-
* @param {
|
1844
|
-
* @param {
|
1845
|
-
* @param {
|
1846
|
-
* @param {
|
1847
|
-
* @param {
|
1848
|
-
* @param {
|
1843
|
+
* @param {number} left The number of meters to the left of the camera that will be in view.
|
1844
|
+
* @param {number} right The number of meters to the right of the camera that will be in view.
|
1845
|
+
* @param {number} bottom The number of meters below of the camera that will be in view.
|
1846
|
+
* @param {number} top The number of meters above of the camera that will be in view.
|
1847
|
+
* @param {number} near The distance to the near plane in meters.
|
1848
|
+
* @param {number} far The distance to the far plane in meters.
|
1849
1849
|
* @param {Matrix4} result The object in which the result will be stored.
|
1850
1850
|
* @returns {Matrix4} The modified result parameter.
|
1851
1851
|
*/
|
@@ -1901,12 +1901,12 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
1901
1901
|
/**
|
1902
1902
|
* Computes a Matrix4 instance representing an off center perspective transformation.
|
1903
1903
|
*
|
1904
|
-
* @param {
|
1905
|
-
* @param {
|
1906
|
-
* @param {
|
1907
|
-
* @param {
|
1908
|
-
* @param {
|
1909
|
-
* @param {
|
1904
|
+
* @param {number} left The number of meters to the left of the camera that will be in view.
|
1905
|
+
* @param {number} right The number of meters to the right of the camera that will be in view.
|
1906
|
+
* @param {number} bottom The number of meters below of the camera that will be in view.
|
1907
|
+
* @param {number} top The number of meters above of the camera that will be in view.
|
1908
|
+
* @param {number} near The distance to the near plane in meters.
|
1909
|
+
* @param {number} far The distance to the far plane in meters.
|
1910
1910
|
* @param {Matrix4} result The object in which the result will be stored.
|
1911
1911
|
* @returns {Matrix4} The modified result parameter.
|
1912
1912
|
*/
|
@@ -1959,11 +1959,11 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
1959
1959
|
/**
|
1960
1960
|
* Computes a Matrix4 instance representing an infinite off center perspective transformation.
|
1961
1961
|
*
|
1962
|
-
* @param {
|
1963
|
-
* @param {
|
1964
|
-
* @param {
|
1965
|
-
* @param {
|
1966
|
-
* @param {
|
1962
|
+
* @param {number} left The number of meters to the left of the camera that will be in view.
|
1963
|
+
* @param {number} right The number of meters to the right of the camera that will be in view.
|
1964
|
+
* @param {number} bottom The number of meters below of the camera that will be in view.
|
1965
|
+
* @param {number} top The number of meters above of the camera that will be in view.
|
1966
|
+
* @param {number} near The distance to the near plane in meters.
|
1967
1967
|
* @param {Matrix4} result The object in which the result will be stored.
|
1968
1968
|
* @returns {Matrix4} The modified result parameter.
|
1969
1969
|
*/
|
@@ -2014,9 +2014,9 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
2014
2014
|
/**
|
2015
2015
|
* Computes a Matrix4 instance that transforms from normalized device coordinates to window coordinates.
|
2016
2016
|
*
|
2017
|
-
* @param {
|
2018
|
-
* @param {
|
2019
|
-
* @param {
|
2017
|
+
* @param {object} [viewport = { x : 0.0, y : 0.0, width : 0.0, height : 0.0 }] The viewport's corners as shown in Example 1.
|
2018
|
+
* @param {number} [nearDepthRange=0.0] The near plane distance in window coordinates.
|
2019
|
+
* @param {number} [farDepthRange=1.0] The far plane distance in window coordinates.
|
2020
2020
|
* @param {Matrix4} [result] The object in which the result will be stored.
|
2021
2021
|
* @returns {Matrix4} The modified result parameter.
|
2022
2022
|
*
|
@@ -2122,8 +2122,8 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
2122
2122
|
* The array will be in column-major order.
|
2123
2123
|
*
|
2124
2124
|
* @param {Matrix4} matrix The matrix to use..
|
2125
|
-
* @param {
|
2126
|
-
* @returns {
|
2125
|
+
* @param {number[]} [result] The Array onto which to store the result.
|
2126
|
+
* @returns {number[]} The modified Array parameter or a new Array instance if one was not provided.
|
2127
2127
|
*
|
2128
2128
|
* @example
|
2129
2129
|
* //create an array from an instance of Matrix4
|
@@ -2183,9 +2183,9 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
2183
2183
|
/**
|
2184
2184
|
* Computes the array index of the element at the provided row and column.
|
2185
2185
|
*
|
2186
|
-
* @param {
|
2187
|
-
* @param {
|
2188
|
-
* @returns {
|
2186
|
+
* @param {number} row The zero-based index of the row.
|
2187
|
+
* @param {number} column The zero-based index of the column.
|
2188
|
+
* @returns {number} The index of the element at the provided row and column.
|
2189
2189
|
*
|
2190
2190
|
* @exception {DeveloperError} row must be 0, 1, 2, or 3.
|
2191
2191
|
* @exception {DeveloperError} column must be 0, 1, 2, or 3.
|
@@ -2212,7 +2212,7 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
2212
2212
|
* Retrieves a copy of the matrix column at the provided index as a Cartesian4 instance.
|
2213
2213
|
*
|
2214
2214
|
* @param {Matrix4} matrix The matrix to use.
|
2215
|
-
* @param {
|
2215
|
+
* @param {number} index The zero-based index of the column to retrieve.
|
2216
2216
|
* @param {Cartesian4} result The object onto which to store the result.
|
2217
2217
|
* @returns {Cartesian4} The modified result parameter.
|
2218
2218
|
*
|
@@ -2262,7 +2262,7 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
2262
2262
|
* Computes a new matrix that replaces the specified column in the provided matrix with the provided Cartesian4 instance.
|
2263
2263
|
*
|
2264
2264
|
* @param {Matrix4} matrix The matrix to use.
|
2265
|
-
* @param {
|
2265
|
+
* @param {number} index The zero-based index of the column to set.
|
2266
2266
|
* @param {Cartesian4} cartesian The Cartesian whose values will be assigned to the specified column.
|
2267
2267
|
* @param {Matrix4} result The object onto which to store the result.
|
2268
2268
|
* @returns {Matrix4} The modified result parameter.
|
@@ -2308,7 +2308,7 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
2308
2308
|
* Retrieves a copy of the matrix row at the provided index as a Cartesian4 instance.
|
2309
2309
|
*
|
2310
2310
|
* @param {Matrix4} matrix The matrix to use.
|
2311
|
-
* @param {
|
2311
|
+
* @param {number} index The zero-based index of the row to retrieve.
|
2312
2312
|
* @param {Cartesian4} result The object onto which to store the result.
|
2313
2313
|
* @returns {Cartesian4} The modified result parameter.
|
2314
2314
|
*
|
@@ -2357,7 +2357,7 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
2357
2357
|
* Computes a new matrix that replaces the specified row in the provided matrix with the provided Cartesian4 instance.
|
2358
2358
|
*
|
2359
2359
|
* @param {Matrix4} matrix The matrix to use.
|
2360
|
-
* @param {
|
2360
|
+
* @param {number} index The zero-based index of the row to set.
|
2361
2361
|
* @param {Cartesian4} cartesian The Cartesian whose values will be assigned to the specified row.
|
2362
2362
|
* @param {Matrix4} result The object onto which to store the result.
|
2363
2363
|
* @returns {Matrix4} The modified result parameter.
|
@@ -2497,7 +2497,7 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
2497
2497
|
* This assumes the matrix is an affine transformation.
|
2498
2498
|
*
|
2499
2499
|
* @param {Matrix4} matrix The matrix to use.
|
2500
|
-
* @param {
|
2500
|
+
* @param {number} scale The uniform scale that replaces the scale of the provided matrix.
|
2501
2501
|
* @param {Matrix4} result The object onto which to store the result.
|
2502
2502
|
* @returns {Matrix4} The modified result parameter.
|
2503
2503
|
*
|
@@ -2585,7 +2585,7 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
2585
2585
|
* 3x3 matrix.
|
2586
2586
|
*
|
2587
2587
|
* @param {Matrix4} matrix The matrix.
|
2588
|
-
* @returns {
|
2588
|
+
* @returns {number} The maximum scale.
|
2589
2589
|
*/
|
2590
2590
|
Matrix4.getMaximumScale = function (matrix) {
|
2591
2591
|
Matrix4.getScale(matrix, scaleScratch3$1);
|
@@ -3120,7 +3120,7 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
3120
3120
|
* Computes the product of a matrix times a uniform scale, as if the scale were a scale matrix.
|
3121
3121
|
*
|
3122
3122
|
* @param {Matrix4} matrix The matrix on the left-hand side.
|
3123
|
-
* @param {
|
3123
|
+
* @param {number} scale The uniform scale on the right-hand side.
|
3124
3124
|
* @param {Matrix4} result The object onto which to store the result.
|
3125
3125
|
* @returns {Matrix4} The modified result parameter.
|
3126
3126
|
*
|
@@ -3272,7 +3272,7 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
3272
3272
|
* Computes the product of a matrix and a scalar.
|
3273
3273
|
*
|
3274
3274
|
* @param {Matrix4} matrix The matrix.
|
3275
|
-
* @param {
|
3275
|
+
* @param {number} scalar The number to multiply by.
|
3276
3276
|
* @param {Matrix4} result The object onto which to store the result.
|
3277
3277
|
* @returns {Matrix4} The modified result parameter.
|
3278
3278
|
*
|
@@ -3457,7 +3457,7 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
3457
3457
|
*
|
3458
3458
|
* @param {Matrix4} [left] The first matrix.
|
3459
3459
|
* @param {Matrix4} [right] The second matrix.
|
3460
|
-
* @returns {
|
3460
|
+
* @returns {boolean} <code>true</code> if left and right are equal, <code>false</code> otherwise.
|
3461
3461
|
*
|
3462
3462
|
* @example
|
3463
3463
|
* //compares two Matrix4 instances
|
@@ -3518,8 +3518,8 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
3518
3518
|
*
|
3519
3519
|
* @param {Matrix4} [left] The first matrix.
|
3520
3520
|
* @param {Matrix4} [right] The second matrix.
|
3521
|
-
* @param {
|
3522
|
-
* @returns {
|
3521
|
+
* @param {number} [epsilon=0] The epsilon to use for equality testing.
|
3522
|
+
* @returns {boolean} <code>true</code> if left and right are within the provided epsilon, <code>false</code> otherwise.
|
3523
3523
|
*
|
3524
3524
|
* @example
|
3525
3525
|
* //compares two Matrix4 instances
|
@@ -3985,7 +3985,7 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
3985
3985
|
/**
|
3986
3986
|
* The index into Matrix4 for column 0, row 0.
|
3987
3987
|
*
|
3988
|
-
* @type {
|
3988
|
+
* @type {number}
|
3989
3989
|
* @constant
|
3990
3990
|
*/
|
3991
3991
|
Matrix4.COLUMN0ROW0 = 0;
|
@@ -3993,7 +3993,7 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
3993
3993
|
/**
|
3994
3994
|
* The index into Matrix4 for column 0, row 1.
|
3995
3995
|
*
|
3996
|
-
* @type {
|
3996
|
+
* @type {number}
|
3997
3997
|
* @constant
|
3998
3998
|
*/
|
3999
3999
|
Matrix4.COLUMN0ROW1 = 1;
|
@@ -4001,7 +4001,7 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
4001
4001
|
/**
|
4002
4002
|
* The index into Matrix4 for column 0, row 2.
|
4003
4003
|
*
|
4004
|
-
* @type {
|
4004
|
+
* @type {number}
|
4005
4005
|
* @constant
|
4006
4006
|
*/
|
4007
4007
|
Matrix4.COLUMN0ROW2 = 2;
|
@@ -4009,7 +4009,7 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
4009
4009
|
/**
|
4010
4010
|
* The index into Matrix4 for column 0, row 3.
|
4011
4011
|
*
|
4012
|
-
* @type {
|
4012
|
+
* @type {number}
|
4013
4013
|
* @constant
|
4014
4014
|
*/
|
4015
4015
|
Matrix4.COLUMN0ROW3 = 3;
|
@@ -4017,7 +4017,7 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
4017
4017
|
/**
|
4018
4018
|
* The index into Matrix4 for column 1, row 0.
|
4019
4019
|
*
|
4020
|
-
* @type {
|
4020
|
+
* @type {number}
|
4021
4021
|
* @constant
|
4022
4022
|
*/
|
4023
4023
|
Matrix4.COLUMN1ROW0 = 4;
|
@@ -4025,7 +4025,7 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
4025
4025
|
/**
|
4026
4026
|
* The index into Matrix4 for column 1, row 1.
|
4027
4027
|
*
|
4028
|
-
* @type {
|
4028
|
+
* @type {number}
|
4029
4029
|
* @constant
|
4030
4030
|
*/
|
4031
4031
|
Matrix4.COLUMN1ROW1 = 5;
|
@@ -4033,7 +4033,7 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
4033
4033
|
/**
|
4034
4034
|
* The index into Matrix4 for column 1, row 2.
|
4035
4035
|
*
|
4036
|
-
* @type {
|
4036
|
+
* @type {number}
|
4037
4037
|
* @constant
|
4038
4038
|
*/
|
4039
4039
|
Matrix4.COLUMN1ROW2 = 6;
|
@@ -4041,7 +4041,7 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
4041
4041
|
/**
|
4042
4042
|
* The index into Matrix4 for column 1, row 3.
|
4043
4043
|
*
|
4044
|
-
* @type {
|
4044
|
+
* @type {number}
|
4045
4045
|
* @constant
|
4046
4046
|
*/
|
4047
4047
|
Matrix4.COLUMN1ROW3 = 7;
|
@@ -4049,7 +4049,7 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
4049
4049
|
/**
|
4050
4050
|
* The index into Matrix4 for column 2, row 0.
|
4051
4051
|
*
|
4052
|
-
* @type {
|
4052
|
+
* @type {number}
|
4053
4053
|
* @constant
|
4054
4054
|
*/
|
4055
4055
|
Matrix4.COLUMN2ROW0 = 8;
|
@@ -4057,7 +4057,7 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
4057
4057
|
/**
|
4058
4058
|
* The index into Matrix4 for column 2, row 1.
|
4059
4059
|
*
|
4060
|
-
* @type {
|
4060
|
+
* @type {number}
|
4061
4061
|
* @constant
|
4062
4062
|
*/
|
4063
4063
|
Matrix4.COLUMN2ROW1 = 9;
|
@@ -4065,7 +4065,7 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
4065
4065
|
/**
|
4066
4066
|
* The index into Matrix4 for column 2, row 2.
|
4067
4067
|
*
|
4068
|
-
* @type {
|
4068
|
+
* @type {number}
|
4069
4069
|
* @constant
|
4070
4070
|
*/
|
4071
4071
|
Matrix4.COLUMN2ROW2 = 10;
|
@@ -4073,7 +4073,7 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
4073
4073
|
/**
|
4074
4074
|
* The index into Matrix4 for column 2, row 3.
|
4075
4075
|
*
|
4076
|
-
* @type {
|
4076
|
+
* @type {number}
|
4077
4077
|
* @constant
|
4078
4078
|
*/
|
4079
4079
|
Matrix4.COLUMN2ROW3 = 11;
|
@@ -4081,7 +4081,7 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
4081
4081
|
/**
|
4082
4082
|
* The index into Matrix4 for column 3, row 0.
|
4083
4083
|
*
|
4084
|
-
* @type {
|
4084
|
+
* @type {number}
|
4085
4085
|
* @constant
|
4086
4086
|
*/
|
4087
4087
|
Matrix4.COLUMN3ROW0 = 12;
|
@@ -4089,7 +4089,7 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
4089
4089
|
/**
|
4090
4090
|
* The index into Matrix4 for column 3, row 1.
|
4091
4091
|
*
|
4092
|
-
* @type {
|
4092
|
+
* @type {number}
|
4093
4093
|
* @constant
|
4094
4094
|
*/
|
4095
4095
|
Matrix4.COLUMN3ROW1 = 13;
|
@@ -4097,7 +4097,7 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
4097
4097
|
/**
|
4098
4098
|
* The index into Matrix4 for column 3, row 2.
|
4099
4099
|
*
|
4100
|
-
* @type {
|
4100
|
+
* @type {number}
|
4101
4101
|
* @constant
|
4102
4102
|
*/
|
4103
4103
|
Matrix4.COLUMN3ROW2 = 14;
|
@@ -4105,7 +4105,7 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
4105
4105
|
/**
|
4106
4106
|
* The index into Matrix4 for column 3, row 3.
|
4107
4107
|
*
|
4108
|
-
* @type {
|
4108
|
+
* @type {number}
|
4109
4109
|
* @constant
|
4110
4110
|
*/
|
4111
4111
|
Matrix4.COLUMN3ROW3 = 15;
|
@@ -4115,7 +4115,7 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
4115
4115
|
* Gets the number of items in the collection.
|
4116
4116
|
* @memberof Matrix4.prototype
|
4117
4117
|
*
|
4118
|
-
* @type {
|
4118
|
+
* @type {number}
|
4119
4119
|
*/
|
4120
4120
|
length: {
|
4121
4121
|
get: function () {
|
@@ -4139,7 +4139,7 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
4139
4139
|
* <code>true</code> if they are equal, <code>false</code> otherwise.
|
4140
4140
|
*
|
4141
4141
|
* @param {Matrix4} [right] The right hand side matrix.
|
4142
|
-
* @returns {
|
4142
|
+
* @returns {boolean} <code>true</code> if they are equal, <code>false</code> otherwise.
|
4143
4143
|
*/
|
4144
4144
|
Matrix4.prototype.equals = function (right) {
|
4145
4145
|
return Matrix4.equals(this, right);
|
@@ -4175,8 +4175,8 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
4175
4175
|
* <code>false</code> otherwise.
|
4176
4176
|
*
|
4177
4177
|
* @param {Matrix4} [right] The right hand side matrix.
|
4178
|
-
* @param {
|
4179
|
-
* @returns {
|
4178
|
+
* @param {number} [epsilon=0] The epsilon to use for equality testing.
|
4179
|
+
* @returns {boolean} <code>true</code> if they are within the provided epsilon, <code>false</code> otherwise.
|
4180
4180
|
*/
|
4181
4181
|
Matrix4.prototype.equalsEpsilon = function (right, epsilon) {
|
4182
4182
|
return Matrix4.equalsEpsilon(this, right, epsilon);
|
@@ -4186,7 +4186,7 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
4186
4186
|
* Computes a string representing this Matrix with each row being
|
4187
4187
|
* on a separate line and in the format '(column0, column1, column2, column3)'.
|
4188
4188
|
*
|
4189
|
-
* @returns {
|
4189
|
+
* @returns {string} A string representing the provided Matrix with each row being on a separate line and in the format '(column0, column1, column2, column3)'.
|
4190
4190
|
*/
|
4191
4191
|
Matrix4.prototype.toString = function () {
|
4192
4192
|
return (
|
@@ -4203,10 +4203,10 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
4203
4203
|
* @alias Rectangle
|
4204
4204
|
* @constructor
|
4205
4205
|
*
|
4206
|
-
* @param {
|
4207
|
-
* @param {
|
4208
|
-
* @param {
|
4209
|
-
* @param {
|
4206
|
+
* @param {number} [west=0.0] The westernmost longitude, in radians, in the range [-Pi, Pi].
|
4207
|
+
* @param {number} [south=0.0] The southernmost latitude, in radians, in the range [-Pi/2, Pi/2].
|
4208
|
+
* @param {number} [east=0.0] The easternmost longitude, in radians, in the range [-Pi, Pi].
|
4209
|
+
* @param {number} [north=0.0] The northernmost latitude, in radians, in the range [-Pi/2, Pi/2].
|
4210
4210
|
*
|
4211
4211
|
* @see Packable
|
4212
4212
|
*/
|
@@ -4214,7 +4214,7 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
4214
4214
|
/**
|
4215
4215
|
* The westernmost longitude in radians in the range [-Pi, Pi].
|
4216
4216
|
*
|
4217
|
-
* @type {
|
4217
|
+
* @type {number}
|
4218
4218
|
* @default 0.0
|
4219
4219
|
*/
|
4220
4220
|
this.west = defaultValue.defaultValue(west, 0.0);
|
@@ -4222,7 +4222,7 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
4222
4222
|
/**
|
4223
4223
|
* The southernmost latitude in radians in the range [-Pi/2, Pi/2].
|
4224
4224
|
*
|
4225
|
-
* @type {
|
4225
|
+
* @type {number}
|
4226
4226
|
* @default 0.0
|
4227
4227
|
*/
|
4228
4228
|
this.south = defaultValue.defaultValue(south, 0.0);
|
@@ -4230,7 +4230,7 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
4230
4230
|
/**
|
4231
4231
|
* The easternmost longitude in radians in the range [-Pi, Pi].
|
4232
4232
|
*
|
4233
|
-
* @type {
|
4233
|
+
* @type {number}
|
4234
4234
|
* @default 0.0
|
4235
4235
|
*/
|
4236
4236
|
this.east = defaultValue.defaultValue(east, 0.0);
|
@@ -4238,7 +4238,7 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
4238
4238
|
/**
|
4239
4239
|
* The northernmost latitude in radians in the range [-Pi/2, Pi/2].
|
4240
4240
|
*
|
4241
|
-
* @type {
|
4241
|
+
* @type {number}
|
4242
4242
|
* @default 0.0
|
4243
4243
|
*/
|
4244
4244
|
this.north = defaultValue.defaultValue(north, 0.0);
|
@@ -4248,7 +4248,7 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
4248
4248
|
/**
|
4249
4249
|
* Gets the width of the rectangle in radians.
|
4250
4250
|
* @memberof Rectangle.prototype
|
4251
|
-
* @type {
|
4251
|
+
* @type {number}
|
4252
4252
|
* @readonly
|
4253
4253
|
*/
|
4254
4254
|
width: {
|
@@ -4260,7 +4260,7 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
4260
4260
|
/**
|
4261
4261
|
* Gets the height of the rectangle in radians.
|
4262
4262
|
* @memberof Rectangle.prototype
|
4263
|
-
* @type {
|
4263
|
+
* @type {number}
|
4264
4264
|
* @readonly
|
4265
4265
|
*/
|
4266
4266
|
height: {
|
@@ -4272,7 +4272,7 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
4272
4272
|
|
4273
4273
|
/**
|
4274
4274
|
* The number of elements used to pack the object into an array.
|
4275
|
-
* @type {
|
4275
|
+
* @type {number}
|
4276
4276
|
*/
|
4277
4277
|
Rectangle.packedLength = 4;
|
4278
4278
|
|
@@ -4280,10 +4280,10 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
4280
4280
|
* Stores the provided instance into the provided array.
|
4281
4281
|
*
|
4282
4282
|
* @param {Rectangle} value The value to pack.
|
4283
|
-
* @param {
|
4284
|
-
* @param {
|
4283
|
+
* @param {number[]} array The array to pack into.
|
4284
|
+
* @param {number} [startingIndex=0] The index into the array at which to start packing the elements.
|
4285
4285
|
*
|
4286
|
-
* @returns {
|
4286
|
+
* @returns {number[]} The array that was packed into
|
4287
4287
|
*/
|
4288
4288
|
Rectangle.pack = function (value, array, startingIndex) {
|
4289
4289
|
//>>includeStart('debug', pragmas.debug);
|
@@ -4304,8 +4304,8 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
4304
4304
|
/**
|
4305
4305
|
* Retrieves an instance from a packed array.
|
4306
4306
|
*
|
4307
|
-
* @param {
|
4308
|
-
* @param {
|
4307
|
+
* @param {number[]} array The packed array.
|
4308
|
+
* @param {number} [startingIndex=0] The starting index of the element to be unpacked.
|
4309
4309
|
* @param {Rectangle} [result] The object into which to store the result.
|
4310
4310
|
* @returns {Rectangle} The modified result parameter or a new Rectangle instance if one was not provided.
|
4311
4311
|
*/
|
@@ -4330,7 +4330,7 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
4330
4330
|
/**
|
4331
4331
|
* Computes the width of a rectangle in radians.
|
4332
4332
|
* @param {Rectangle} rectangle The rectangle to compute the width of.
|
4333
|
-
* @returns {
|
4333
|
+
* @returns {number} The width.
|
4334
4334
|
*/
|
4335
4335
|
Rectangle.computeWidth = function (rectangle) {
|
4336
4336
|
//>>includeStart('debug', pragmas.debug);
|
@@ -4347,7 +4347,7 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
4347
4347
|
/**
|
4348
4348
|
* Computes the height of a rectangle in radians.
|
4349
4349
|
* @param {Rectangle} rectangle The rectangle to compute the height of.
|
4350
|
-
* @returns {
|
4350
|
+
* @returns {number} The height.
|
4351
4351
|
*/
|
4352
4352
|
Rectangle.computeHeight = function (rectangle) {
|
4353
4353
|
//>>includeStart('debug', pragmas.debug);
|
@@ -4359,10 +4359,10 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
4359
4359
|
/**
|
4360
4360
|
* Creates a rectangle given the boundary longitude and latitude in degrees.
|
4361
4361
|
*
|
4362
|
-
* @param {
|
4363
|
-
* @param {
|
4364
|
-
* @param {
|
4365
|
-
* @param {
|
4362
|
+
* @param {number} [west=0.0] The westernmost longitude in degrees in the range [-180.0, 180.0].
|
4363
|
+
* @param {number} [south=0.0] The southernmost latitude in degrees in the range [-90.0, 90.0].
|
4364
|
+
* @param {number} [east=0.0] The easternmost longitude in degrees in the range [-180.0, 180.0].
|
4365
|
+
* @param {number} [north=0.0] The northernmost latitude in degrees in the range [-90.0, 90.0].
|
4366
4366
|
* @param {Rectangle} [result] The object onto which to store the result, or undefined if a new instance should be created.
|
4367
4367
|
* @returns {Rectangle} The modified result parameter or a new Rectangle instance if none was provided.
|
4368
4368
|
*
|
@@ -4390,10 +4390,10 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
4390
4390
|
/**
|
4391
4391
|
* Creates a rectangle given the boundary longitude and latitude in radians.
|
4392
4392
|
*
|
4393
|
-
* @param {
|
4394
|
-
* @param {
|
4395
|
-
* @param {
|
4396
|
-
* @param {
|
4393
|
+
* @param {number} [west=0.0] The westernmost longitude in radians in the range [-Math.PI, Math.PI].
|
4394
|
+
* @param {number} [south=0.0] The southernmost latitude in radians in the range [-Math.PI/2, Math.PI/2].
|
4395
|
+
* @param {number} [east=0.0] The easternmost longitude in radians in the range [-Math.PI, Math.PI].
|
4396
|
+
* @param {number} [north=0.0] The northernmost latitude in radians in the range [-Math.PI/2, Math.PI/2].
|
4397
4397
|
* @param {Rectangle} [result] The object onto which to store the result, or undefined if a new instance should be created.
|
4398
4398
|
* @returns {Rectangle} The modified result parameter or a new Rectangle instance if none was provided.
|
4399
4399
|
*
|
@@ -4564,8 +4564,8 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
4564
4564
|
*
|
4565
4565
|
* @param {Rectangle} [left] The first Rectangle.
|
4566
4566
|
* @param {Rectangle} [right] The second Rectangle.
|
4567
|
-
* @param {
|
4568
|
-
* @returns {
|
4567
|
+
* @param {number} [absoluteEpsilon=0] The absolute epsilon tolerance to use for equality testing.
|
4568
|
+
* @returns {boolean} <code>true</code> if left and right are within the provided epsilon, <code>false</code> otherwise.
|
4569
4569
|
*/
|
4570
4570
|
Rectangle.equalsEpsilon = function (left, right, absoluteEpsilon) {
|
4571
4571
|
absoluteEpsilon = defaultValue.defaultValue(absoluteEpsilon, 0);
|
@@ -4596,7 +4596,7 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
4596
4596
|
* <code>true</code> if they are equal, <code>false</code> otherwise.
|
4597
4597
|
*
|
4598
4598
|
* @param {Rectangle} [other] The Rectangle to compare.
|
4599
|
-
* @returns {
|
4599
|
+
* @returns {boolean} <code>true</code> if the Rectangles are equal, <code>false</code> otherwise.
|
4600
4600
|
*/
|
4601
4601
|
Rectangle.prototype.equals = function (other) {
|
4602
4602
|
return Rectangle.equals(this, other);
|
@@ -4608,7 +4608,7 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
4608
4608
|
*
|
4609
4609
|
* @param {Rectangle} [left] The first Rectangle.
|
4610
4610
|
* @param {Rectangle} [right] The second Rectangle.
|
4611
|
-
* @returns {
|
4611
|
+
* @returns {boolean} <code>true</code> if left and right are equal; otherwise <code>false</code>.
|
4612
4612
|
*/
|
4613
4613
|
Rectangle.equals = function (left, right) {
|
4614
4614
|
return (
|
@@ -4628,8 +4628,8 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
4628
4628
|
* <code>false</code> otherwise.
|
4629
4629
|
*
|
4630
4630
|
* @param {Rectangle} [other] The Rectangle to compare.
|
4631
|
-
* @param {
|
4632
|
-
* @returns {
|
4631
|
+
* @param {number} [epsilon=0] The epsilon to use for equality testing.
|
4632
|
+
* @returns {boolean} <code>true</code> if the Rectangles are within the provided epsilon, <code>false</code> otherwise.
|
4633
4633
|
*/
|
4634
4634
|
Rectangle.prototype.equalsEpsilon = function (other, epsilon) {
|
4635
4635
|
return Rectangle.equalsEpsilon(this, other, epsilon);
|
@@ -4978,7 +4978,7 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
4978
4978
|
*
|
4979
4979
|
* @param {Rectangle} rectangle The rectangle
|
4980
4980
|
* @param {Cartographic} cartographic The cartographic to test.
|
4981
|
-
* @returns {
|
4981
|
+
* @returns {boolean} true if the provided cartographic is inside the rectangle, false otherwise.
|
4982
4982
|
*/
|
4983
4983
|
Rectangle.contains = function (rectangle, cartographic) {
|
4984
4984
|
//>>includeStart('debug', pragmas.debug);
|
@@ -5016,7 +5016,7 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
5016
5016
|
*
|
5017
5017
|
* @param {Rectangle} rectangle The rectangle to subsample.
|
5018
5018
|
* @param {Ellipsoid} [ellipsoid=Ellipsoid.WGS84] The ellipsoid to use.
|
5019
|
-
* @param {
|
5019
|
+
* @param {number} [surfaceHeight=0.0] The height of the rectangle above the ellipsoid.
|
5020
5020
|
* @param {Cartesian3[]} [result] The array of Cartesians onto which to store the result.
|
5021
5021
|
* @returns {Cartesian3[]} The modified result parameter or a new Array of Cartesians instances if none was provided.
|
5022
5022
|
*/
|
@@ -5090,10 +5090,10 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
5090
5090
|
* Computes a subsection of a rectangle from normalized coordinates in the range [0.0, 1.0].
|
5091
5091
|
*
|
5092
5092
|
* @param {Rectangle} rectangle The rectangle to subsection.
|
5093
|
-
* @param {
|
5094
|
-
* @param {
|
5095
|
-
* @param {
|
5096
|
-
* @param {
|
5093
|
+
* @param {number} westLerp The west interpolation factor in the range [0.0, 1.0]. Must be less than or equal to eastLerp.
|
5094
|
+
* @param {number} southLerp The south interpolation factor in the range [0.0, 1.0]. Must be less than or equal to northLerp.
|
5095
|
+
* @param {number} eastLerp The east interpolation factor in the range [0.0, 1.0]. Must be greater than or equal to westLerp.
|
5096
|
+
* @param {number} northLerp The north interpolation factor in the range [0.0, 1.0]. Must be greater than or equal to southLerp.
|
5097
5097
|
* @param {Rectangle} [result] The object onto which to store the result.
|
5098
5098
|
* @returns {Rectangle} The modified result parameter or a new Rectangle instance if none was provided.
|
5099
5099
|
*/
|
@@ -5177,8 +5177,8 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
5177
5177
|
* @alias Cartesian2
|
5178
5178
|
* @constructor
|
5179
5179
|
*
|
5180
|
-
* @param {
|
5181
|
-
* @param {
|
5180
|
+
* @param {number} [x=0.0] The X component.
|
5181
|
+
* @param {number} [y=0.0] The Y component.
|
5182
5182
|
*
|
5183
5183
|
* @see Cartesian3
|
5184
5184
|
* @see Cartesian4
|
@@ -5187,14 +5187,14 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
5187
5187
|
function Cartesian2(x, y) {
|
5188
5188
|
/**
|
5189
5189
|
* The X component.
|
5190
|
-
* @type {
|
5190
|
+
* @type {number}
|
5191
5191
|
* @default 0.0
|
5192
5192
|
*/
|
5193
5193
|
this.x = defaultValue.defaultValue(x, 0.0);
|
5194
5194
|
|
5195
5195
|
/**
|
5196
5196
|
* The Y component.
|
5197
|
-
* @type {
|
5197
|
+
* @type {number}
|
5198
5198
|
* @default 0.0
|
5199
5199
|
*/
|
5200
5200
|
this.y = defaultValue.defaultValue(y, 0.0);
|
@@ -5203,8 +5203,8 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
5203
5203
|
/**
|
5204
5204
|
* Creates a Cartesian2 instance from x and y coordinates.
|
5205
5205
|
*
|
5206
|
-
* @param {
|
5207
|
-
* @param {
|
5206
|
+
* @param {number} x The x coordinate.
|
5207
|
+
* @param {number} y The y coordinate.
|
5208
5208
|
* @param {Cartesian2} [result] The object onto which to store the result.
|
5209
5209
|
* @returns {Cartesian2} The modified result parameter or a new Cartesian2 instance if one was not provided.
|
5210
5210
|
*/
|
@@ -5262,7 +5262,7 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
5262
5262
|
|
5263
5263
|
/**
|
5264
5264
|
* The number of elements used to pack the object into an array.
|
5265
|
-
* @type {
|
5265
|
+
* @type {number}
|
5266
5266
|
*/
|
5267
5267
|
Cartesian2.packedLength = 2;
|
5268
5268
|
|
@@ -5270,10 +5270,10 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
5270
5270
|
* Stores the provided instance into the provided array.
|
5271
5271
|
*
|
5272
5272
|
* @param {Cartesian2} value The value to pack.
|
5273
|
-
* @param {
|
5274
|
-
* @param {
|
5273
|
+
* @param {number[]} array The array to pack into.
|
5274
|
+
* @param {number} [startingIndex=0] The index into the array at which to start packing the elements.
|
5275
5275
|
*
|
5276
|
-
* @returns {
|
5276
|
+
* @returns {number[]} The array that was packed into
|
5277
5277
|
*/
|
5278
5278
|
Cartesian2.pack = function (value, array, startingIndex) {
|
5279
5279
|
//>>includeStart('debug', pragmas.debug);
|
@@ -5292,8 +5292,8 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
5292
5292
|
/**
|
5293
5293
|
* Retrieves an instance from a packed array.
|
5294
5294
|
*
|
5295
|
-
* @param {
|
5296
|
-
* @param {
|
5295
|
+
* @param {number[]} array The packed array.
|
5296
|
+
* @param {number} [startingIndex=0] The starting index of the element to be unpacked.
|
5297
5297
|
* @param {Cartesian2} [result] The object into which to store the result.
|
5298
5298
|
* @returns {Cartesian2} The modified result parameter or a new Cartesian2 instance if one was not provided.
|
5299
5299
|
*/
|
@@ -5316,8 +5316,8 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
5316
5316
|
* Flattens an array of Cartesian2s into an array of components.
|
5317
5317
|
*
|
5318
5318
|
* @param {Cartesian2[]} array The array of cartesians to pack.
|
5319
|
-
* @param {
|
5320
|
-
* @returns {
|
5319
|
+
* @param {number[]} [result] The array onto which to store the result. If this is a typed array, it must have array.length * 2 components, else a {@link DeveloperError} will be thrown. If it is a regular array, it will be resized to have (array.length * 2) elements.
|
5320
|
+
* @returns {number[]} The packed array.
|
5321
5321
|
*/
|
5322
5322
|
Cartesian2.packArray = function (array, result) {
|
5323
5323
|
//>>includeStart('debug', pragmas.debug);
|
@@ -5347,7 +5347,7 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
5347
5347
|
/**
|
5348
5348
|
* Unpacks an array of cartesian components into an array of Cartesian2s.
|
5349
5349
|
*
|
5350
|
-
* @param {
|
5350
|
+
* @param {number[]} array The array of components to unpack.
|
5351
5351
|
* @param {Cartesian2[]} [result] The array onto which to store the result.
|
5352
5352
|
* @returns {Cartesian2[]} The unpacked array.
|
5353
5353
|
*/
|
@@ -5378,8 +5378,8 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
5378
5378
|
* Creates a Cartesian2 from two consecutive elements in an array.
|
5379
5379
|
* @function
|
5380
5380
|
*
|
5381
|
-
* @param {
|
5382
|
-
* @param {
|
5381
|
+
* @param {number[]} array The array whose two consecutive elements correspond to the x and y components, respectively.
|
5382
|
+
* @param {number} [startingIndex=0] The offset into the array of the first element, which corresponds to the x component.
|
5383
5383
|
* @param {Cartesian2} [result] The object onto which to store the result.
|
5384
5384
|
* @returns {Cartesian2} The modified result parameter or a new Cartesian2 instance if one was not provided.
|
5385
5385
|
*
|
@@ -5398,7 +5398,7 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
5398
5398
|
* Computes the value of the maximum component for the supplied Cartesian.
|
5399
5399
|
*
|
5400
5400
|
* @param {Cartesian2} cartesian The cartesian to use.
|
5401
|
-
* @returns {
|
5401
|
+
* @returns {number} The value of the maximum component.
|
5402
5402
|
*/
|
5403
5403
|
Cartesian2.maximumComponent = function (cartesian) {
|
5404
5404
|
//>>includeStart('debug', pragmas.debug);
|
@@ -5412,7 +5412,7 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
5412
5412
|
* Computes the value of the minimum component for the supplied Cartesian.
|
5413
5413
|
*
|
5414
5414
|
* @param {Cartesian2} cartesian The cartesian to use.
|
5415
|
-
* @returns {
|
5415
|
+
* @returns {number} The value of the minimum component.
|
5416
5416
|
*/
|
5417
5417
|
Cartesian2.minimumComponent = function (cartesian) {
|
5418
5418
|
//>>includeStart('debug', pragmas.debug);
|
@@ -5493,7 +5493,7 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
5493
5493
|
* Computes the provided Cartesian's squared magnitude.
|
5494
5494
|
*
|
5495
5495
|
* @param {Cartesian2} cartesian The Cartesian instance whose squared magnitude is to be computed.
|
5496
|
-
* @returns {
|
5496
|
+
* @returns {number} The squared magnitude.
|
5497
5497
|
*/
|
5498
5498
|
Cartesian2.magnitudeSquared = function (cartesian) {
|
5499
5499
|
//>>includeStart('debug', pragmas.debug);
|
@@ -5507,7 +5507,7 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
5507
5507
|
* Computes the Cartesian's magnitude (length).
|
5508
5508
|
*
|
5509
5509
|
* @param {Cartesian2} cartesian The Cartesian instance whose magnitude is to be computed.
|
5510
|
-
* @returns {
|
5510
|
+
* @returns {number} The magnitude.
|
5511
5511
|
*/
|
5512
5512
|
Cartesian2.magnitude = function (cartesian) {
|
5513
5513
|
return Math.sqrt(Cartesian2.magnitudeSquared(cartesian));
|
@@ -5520,7 +5520,7 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
5520
5520
|
*
|
5521
5521
|
* @param {Cartesian2} left The first point to compute the distance from.
|
5522
5522
|
* @param {Cartesian2} right The second point to compute the distance to.
|
5523
|
-
* @returns {
|
5523
|
+
* @returns {number} The distance between two points.
|
5524
5524
|
*
|
5525
5525
|
* @example
|
5526
5526
|
* // Returns 1.0
|
@@ -5542,7 +5542,7 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
5542
5542
|
*
|
5543
5543
|
* @param {Cartesian2} left The first point to compute the distance from.
|
5544
5544
|
* @param {Cartesian2} right The second point to compute the distance to.
|
5545
|
-
* @returns {
|
5545
|
+
* @returns {number} The distance between two points.
|
5546
5546
|
*
|
5547
5547
|
* @example
|
5548
5548
|
* // Returns 4.0, not 2.0
|
@@ -5590,7 +5590,7 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
5590
5590
|
*
|
5591
5591
|
* @param {Cartesian2} left The first Cartesian.
|
5592
5592
|
* @param {Cartesian2} right The second Cartesian.
|
5593
|
-
* @returns {
|
5593
|
+
* @returns {number} The dot product.
|
5594
5594
|
*/
|
5595
5595
|
Cartesian2.dot = function (left, right) {
|
5596
5596
|
//>>includeStart('debug', pragmas.debug);
|
@@ -5606,7 +5606,7 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
5606
5606
|
*
|
5607
5607
|
* @param {Cartesian2} left The first Cartesian.
|
5608
5608
|
* @param {Cartesian2} right The second Cartesian.
|
5609
|
-
* @returns {
|
5609
|
+
* @returns {number} The cross product.
|
5610
5610
|
*/
|
5611
5611
|
Cartesian2.cross = function (left, right) {
|
5612
5612
|
//>>includeStart('debug', pragmas.debug);
|
@@ -5701,7 +5701,7 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
5701
5701
|
* Multiplies the provided Cartesian componentwise by the provided scalar.
|
5702
5702
|
*
|
5703
5703
|
* @param {Cartesian2} cartesian The Cartesian to be scaled.
|
5704
|
-
* @param {
|
5704
|
+
* @param {number} scalar The scalar to multiply with.
|
5705
5705
|
* @param {Cartesian2} result The object onto which to store the result.
|
5706
5706
|
* @returns {Cartesian2} The modified result parameter.
|
5707
5707
|
*/
|
@@ -5721,7 +5721,7 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
5721
5721
|
* Divides the provided Cartesian componentwise by the provided scalar.
|
5722
5722
|
*
|
5723
5723
|
* @param {Cartesian2} cartesian The Cartesian to be divided.
|
5724
|
-
* @param {
|
5724
|
+
* @param {number} scalar The scalar to divide by.
|
5725
5725
|
* @param {Cartesian2} result The object onto which to store the result.
|
5726
5726
|
* @returns {Cartesian2} The modified result parameter.
|
5727
5727
|
*/
|
@@ -5779,7 +5779,7 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
5779
5779
|
*
|
5780
5780
|
* @param {Cartesian2} start The value corresponding to t at 0.0.
|
5781
5781
|
* @param {Cartesian2} end The value corresponding to t at 1.0.
|
5782
|
-
* @param {
|
5782
|
+
* @param {number} t The point along t at which to interpolate.
|
5783
5783
|
* @param {Cartesian2} result The object onto which to store the result.
|
5784
5784
|
* @returns {Cartesian2} The modified result parameter.
|
5785
5785
|
*/
|
@@ -5803,7 +5803,7 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
5803
5803
|
*
|
5804
5804
|
* @param {Cartesian2} left The first Cartesian.
|
5805
5805
|
* @param {Cartesian2} right The second Cartesian.
|
5806
|
-
* @returns {
|
5806
|
+
* @returns {number} The angle between the Cartesians.
|
5807
5807
|
*/
|
5808
5808
|
Cartesian2.angleBetween = function (left, right) {
|
5809
5809
|
//>>includeStart('debug', pragmas.debug);
|
@@ -5850,7 +5850,7 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
5850
5850
|
*
|
5851
5851
|
* @param {Cartesian2} [left] The first Cartesian.
|
5852
5852
|
* @param {Cartesian2} [right] The second Cartesian.
|
5853
|
-
* @returns {
|
5853
|
+
* @returns {boolean} <code>true</code> if left and right are equal, <code>false</code> otherwise.
|
5854
5854
|
*/
|
5855
5855
|
Cartesian2.equals = function (left, right) {
|
5856
5856
|
return (
|
@@ -5876,9 +5876,9 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
5876
5876
|
*
|
5877
5877
|
* @param {Cartesian2} [left] The first Cartesian.
|
5878
5878
|
* @param {Cartesian2} [right] The second Cartesian.
|
5879
|
-
* @param {
|
5880
|
-
* @param {
|
5881
|
-
* @returns {
|
5879
|
+
* @param {number} [relativeEpsilon=0] The relative epsilon tolerance to use for equality testing.
|
5880
|
+
* @param {number} [absoluteEpsilon=relativeEpsilon] The absolute epsilon tolerance to use for equality testing.
|
5881
|
+
* @returns {boolean} <code>true</code> if left and right are within the provided epsilon, <code>false</code> otherwise.
|
5882
5882
|
*/
|
5883
5883
|
Cartesian2.equalsEpsilon = function (
|
5884
5884
|
left,
|
@@ -5952,7 +5952,7 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
5952
5952
|
* <code>true</code> if they are equal, <code>false</code> otherwise.
|
5953
5953
|
*
|
5954
5954
|
* @param {Cartesian2} [right] The right hand side Cartesian.
|
5955
|
-
* @returns {
|
5955
|
+
* @returns {boolean} <code>true</code> if they are equal, <code>false</code> otherwise.
|
5956
5956
|
*/
|
5957
5957
|
Cartesian2.prototype.equals = function (right) {
|
5958
5958
|
return Cartesian2.equals(this, right);
|
@@ -5964,9 +5964,9 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
5964
5964
|
* <code>false</code> otherwise.
|
5965
5965
|
*
|
5966
5966
|
* @param {Cartesian2} [right] The right hand side Cartesian.
|
5967
|
-
* @param {
|
5968
|
-
* @param {
|
5969
|
-
* @returns {
|
5967
|
+
* @param {number} [relativeEpsilon=0] The relative epsilon tolerance to use for equality testing.
|
5968
|
+
* @param {number} [absoluteEpsilon=relativeEpsilon] The absolute epsilon tolerance to use for equality testing.
|
5969
|
+
* @returns {boolean} <code>true</code> if they are within the provided epsilon, <code>false</code> otherwise.
|
5970
5970
|
*/
|
5971
5971
|
Cartesian2.prototype.equalsEpsilon = function (
|
5972
5972
|
right,
|
@@ -5984,7 +5984,7 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
5984
5984
|
/**
|
5985
5985
|
* Creates a string representing this Cartesian in the format '(x, y)'.
|
5986
5986
|
*
|
5987
|
-
* @returns {
|
5987
|
+
* @returns {string} A string representing the provided Cartesian in the format '(x, y)'.
|
5988
5988
|
*/
|
5989
5989
|
Cartesian2.prototype.toString = function () {
|
5990
5990
|
return `(${this.x}, ${this.y})`;
|
@@ -5997,10 +5997,10 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
5997
5997
|
* @constructor
|
5998
5998
|
* @implements {ArrayLike<number>}
|
5999
5999
|
*
|
6000
|
-
* @param {
|
6001
|
-
* @param {
|
6002
|
-
* @param {
|
6003
|
-
* @param {
|
6000
|
+
* @param {number} [column0Row0=0.0] The value for column 0, row 0.
|
6001
|
+
* @param {number} [column1Row0=0.0] The value for column 1, row 0.
|
6002
|
+
* @param {number} [column0Row1=0.0] The value for column 0, row 1.
|
6003
|
+
* @param {number} [column1Row1=0.0] The value for column 1, row 1.
|
6004
6004
|
*
|
6005
6005
|
* @see Matrix2.fromArray
|
6006
6006
|
* @see Matrix2.fromColumnMajorArray
|
@@ -6020,7 +6020,7 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
6020
6020
|
|
6021
6021
|
/**
|
6022
6022
|
* The number of elements used to pack the object into an array.
|
6023
|
-
* @type {
|
6023
|
+
* @type {number}
|
6024
6024
|
*/
|
6025
6025
|
Matrix2.packedLength = 4;
|
6026
6026
|
|
@@ -6028,10 +6028,10 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
6028
6028
|
* Stores the provided instance into the provided array.
|
6029
6029
|
*
|
6030
6030
|
* @param {Matrix2} value The value to pack.
|
6031
|
-
* @param {
|
6032
|
-
* @param {
|
6031
|
+
* @param {number[]} array The array to pack into.
|
6032
|
+
* @param {number} [startingIndex=0] The index into the array at which to start packing the elements.
|
6033
6033
|
*
|
6034
|
-
* @returns {
|
6034
|
+
* @returns {number[]} The array that was packed into
|
6035
6035
|
*/
|
6036
6036
|
Matrix2.pack = function (value, array, startingIndex) {
|
6037
6037
|
//>>includeStart('debug', pragmas.debug);
|
@@ -6052,8 +6052,8 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
6052
6052
|
/**
|
6053
6053
|
* Retrieves an instance from a packed array.
|
6054
6054
|
*
|
6055
|
-
* @param {
|
6056
|
-
* @param {
|
6055
|
+
* @param {number[]} array The packed array.
|
6056
|
+
* @param {number} [startingIndex=0] The starting index of the element to be unpacked.
|
6057
6057
|
* @param {Matrix2} [result] The object into which to store the result.
|
6058
6058
|
* @returns {Matrix2} The modified result parameter or a new Matrix2 instance if one was not provided.
|
6059
6059
|
*/
|
@@ -6080,8 +6080,8 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
6080
6080
|
* are stored in column-major order.
|
6081
6081
|
*
|
6082
6082
|
* @param {Matrix2[]} array The array of matrices to pack.
|
6083
|
-
* @param {
|
6084
|
-
* @returns {
|
6083
|
+
* @param {number[]} [result] The array onto which to store the result. If this is a typed array, it must have array.length * 4 components, else a {@link DeveloperError} will be thrown. If it is a regular array, it will be resized to have (array.length * 4) elements.
|
6084
|
+
* @returns {number[]} The packed array.
|
6085
6085
|
*/
|
6086
6086
|
Matrix2.packArray = function (array, result) {
|
6087
6087
|
//>>includeStart('debug', pragmas.debug);
|
@@ -6111,7 +6111,7 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
6111
6111
|
/**
|
6112
6112
|
* Unpacks an array of column-major matrix components into an array of Matrix2s.
|
6113
6113
|
*
|
6114
|
-
* @param {
|
6114
|
+
* @param {number[]} array The array of components to unpack.
|
6115
6115
|
* @param {Matrix2[]} [result] The array onto which to store the result.
|
6116
6116
|
* @returns {Matrix2[]} The unpacked array.
|
6117
6117
|
*/
|
@@ -6163,8 +6163,8 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
6163
6163
|
* Creates a Matrix2 from 4 consecutive elements in an array.
|
6164
6164
|
*
|
6165
6165
|
* @function
|
6166
|
-
* @param {
|
6167
|
-
* @param {
|
6166
|
+
* @param {number[]} array The array whose 4 consecutive elements correspond to the positions of the matrix. Assumes column-major order.
|
6167
|
+
* @param {number} [startingIndex=0] The offset into the array of the first element, which corresponds to first column first row position in the matrix.
|
6168
6168
|
* @param {Matrix2} [result] The object onto which to store the result.
|
6169
6169
|
* @returns {Matrix2} The modified result parameter or a new Matrix2 instance if one was not provided.
|
6170
6170
|
*
|
@@ -6184,7 +6184,7 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
6184
6184
|
/**
|
6185
6185
|
* Creates a Matrix2 instance from a column-major order array.
|
6186
6186
|
*
|
6187
|
-
* @param {
|
6187
|
+
* @param {number[]} values The column-major order array.
|
6188
6188
|
* @param {Matrix2} [result] The object in which the result will be stored, if undefined a new instance will be created.
|
6189
6189
|
* @returns {Matrix2} The modified result parameter, or a new Matrix2 instance if one was not provided.
|
6190
6190
|
*/
|
@@ -6200,7 +6200,7 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
6200
6200
|
* Creates a Matrix2 instance from a row-major order array.
|
6201
6201
|
* The resulting matrix will be in column-major order.
|
6202
6202
|
*
|
6203
|
-
* @param {
|
6203
|
+
* @param {number[]} values The row-major order array.
|
6204
6204
|
* @param {Matrix2} [result] The object in which the result will be stored, if undefined a new instance will be created.
|
6205
6205
|
* @returns {Matrix2} The modified result parameter, or a new Matrix2 instance if one was not provided.
|
6206
6206
|
*/
|
@@ -6251,7 +6251,7 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
6251
6251
|
/**
|
6252
6252
|
* Computes a Matrix2 instance representing a uniform scale.
|
6253
6253
|
*
|
6254
|
-
* @param {
|
6254
|
+
* @param {number} scale The uniform scale factor.
|
6255
6255
|
* @param {Matrix2} [result] The object in which the result will be stored, if undefined a new instance will be created.
|
6256
6256
|
* @returns {Matrix2} The modified result parameter, or a new Matrix2 instance if one was not provided.
|
6257
6257
|
*
|
@@ -6280,7 +6280,7 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
6280
6280
|
/**
|
6281
6281
|
* Creates a rotation matrix.
|
6282
6282
|
*
|
6283
|
-
* @param {
|
6283
|
+
* @param {number} angle The angle, in radians, of the rotation. Positive angles are counterclockwise.
|
6284
6284
|
* @param {Matrix2} [result] The object in which the result will be stored, if undefined a new instance will be created.
|
6285
6285
|
* @returns {Matrix2} The modified result parameter, or a new Matrix2 instance if one was not provided.
|
6286
6286
|
*
|
@@ -6313,8 +6313,8 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
6313
6313
|
* The array will be in column-major order.
|
6314
6314
|
*
|
6315
6315
|
* @param {Matrix2} matrix The matrix to use..
|
6316
|
-
* @param {
|
6317
|
-
* @returns {
|
6316
|
+
* @param {number[]} [result] The Array onto which to store the result.
|
6317
|
+
* @returns {number[]} The modified Array parameter or a new Array instance if one was not provided.
|
6318
6318
|
*/
|
6319
6319
|
Matrix2.toArray = function (matrix, result) {
|
6320
6320
|
//>>includeStart('debug', pragmas.debug);
|
@@ -6334,9 +6334,9 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
6334
6334
|
/**
|
6335
6335
|
* Computes the array index of the element at the provided row and column.
|
6336
6336
|
*
|
6337
|
-
* @param {
|
6338
|
-
* @param {
|
6339
|
-
* @returns {
|
6337
|
+
* @param {number} row The zero-based index of the row.
|
6338
|
+
* @param {number} column The zero-based index of the column.
|
6339
|
+
* @returns {number} The index of the element at the provided row and column.
|
6340
6340
|
*
|
6341
6341
|
* @exception {DeveloperError} row must be 0 or 1.
|
6342
6342
|
* @exception {DeveloperError} column must be 0 or 1.
|
@@ -6363,7 +6363,7 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
6363
6363
|
* Retrieves a copy of the matrix column at the provided index as a Cartesian2 instance.
|
6364
6364
|
*
|
6365
6365
|
* @param {Matrix2} matrix The matrix to use.
|
6366
|
-
* @param {
|
6366
|
+
* @param {number} index The zero-based index of the column to retrieve.
|
6367
6367
|
* @param {Cartesian2} result The object onto which to store the result.
|
6368
6368
|
* @returns {Cartesian2} The modified result parameter.
|
6369
6369
|
*
|
@@ -6392,7 +6392,7 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
6392
6392
|
* Computes a new matrix that replaces the specified column in the provided matrix with the provided Cartesian2 instance.
|
6393
6393
|
*
|
6394
6394
|
* @param {Matrix2} matrix The matrix to use.
|
6395
|
-
* @param {
|
6395
|
+
* @param {number} index The zero-based index of the column to set.
|
6396
6396
|
* @param {Cartesian2} cartesian The Cartesian whose values will be assigned to the specified column.
|
6397
6397
|
* @param {Cartesian2} result The object onto which to store the result.
|
6398
6398
|
* @returns {Matrix2} The modified result parameter.
|
@@ -6421,7 +6421,7 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
6421
6421
|
* Retrieves a copy of the matrix row at the provided index as a Cartesian2 instance.
|
6422
6422
|
*
|
6423
6423
|
* @param {Matrix2} matrix The matrix to use.
|
6424
|
-
* @param {
|
6424
|
+
* @param {number} index The zero-based index of the row to retrieve.
|
6425
6425
|
* @param {Cartesian2} result The object onto which to store the result.
|
6426
6426
|
* @returns {Cartesian2} The modified result parameter.
|
6427
6427
|
*
|
@@ -6449,7 +6449,7 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
6449
6449
|
* Computes a new matrix that replaces the specified row in the provided matrix with the provided Cartesian2 instance.
|
6450
6450
|
*
|
6451
6451
|
* @param {Matrix2} matrix The matrix to use.
|
6452
|
-
* @param {
|
6452
|
+
* @param {number} index The zero-based index of the row to set.
|
6453
6453
|
* @param {Cartesian2} cartesian The Cartesian whose values will be assigned to the specified row.
|
6454
6454
|
* @param {Matrix2} result The object onto which to store the result.
|
6455
6455
|
* @returns {Matrix2} The modified result parameter.
|
@@ -6517,7 +6517,7 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
6517
6517
|
* This assumes the matrix is an affine transformation.
|
6518
6518
|
*
|
6519
6519
|
* @param {Matrix2} matrix The matrix to use.
|
6520
|
-
* @param {
|
6520
|
+
* @param {number} scale The uniform scale that replaces the scale of the provided matrix.
|
6521
6521
|
* @param {Matrix2} result The object onto which to store the result.
|
6522
6522
|
* @returns {Matrix2} The modified result parameter.
|
6523
6523
|
*
|
@@ -6585,7 +6585,7 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
6585
6585
|
* The maximum scale is the maximum length of the column vectors.
|
6586
6586
|
*
|
6587
6587
|
* @param {Matrix2} matrix The matrix.
|
6588
|
-
* @returns {
|
6588
|
+
* @returns {number} The maximum scale.
|
6589
6589
|
*/
|
6590
6590
|
Matrix2.getMaximumScale = function (matrix) {
|
6591
6591
|
Matrix2.getScale(matrix, scaleScratch3);
|
@@ -6747,7 +6747,7 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
6747
6747
|
* Computes the product of a matrix and a scalar.
|
6748
6748
|
*
|
6749
6749
|
* @param {Matrix2} matrix The matrix.
|
6750
|
-
* @param {
|
6750
|
+
* @param {number} scalar The number to multiply by.
|
6751
6751
|
* @param {Matrix2} result The object onto which to store the result.
|
6752
6752
|
* @returns {Matrix2} The modified result parameter.
|
6753
6753
|
*/
|
@@ -6804,7 +6804,7 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
6804
6804
|
* Computes the product of a matrix times a uniform scale, as if the scale were a scale matrix.
|
6805
6805
|
*
|
6806
6806
|
* @param {Matrix2} matrix The matrix on the left-hand side.
|
6807
|
-
* @param {
|
6807
|
+
* @param {number} scale The uniform scale on the right-hand side.
|
6808
6808
|
* @param {Matrix2} result The object onto which to store the result.
|
6809
6809
|
* @returns {Matrix2} The modified result parameter.
|
6810
6810
|
*
|
@@ -6906,7 +6906,7 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
6906
6906
|
*
|
6907
6907
|
* @param {Matrix2} [left] The first matrix.
|
6908
6908
|
* @param {Matrix2} [right] The second matrix.
|
6909
|
-
* @returns {
|
6909
|
+
* @returns {boolean} <code>true</code> if left and right are equal, <code>false</code> otherwise.
|
6910
6910
|
*/
|
6911
6911
|
Matrix2.equals = function (left, right) {
|
6912
6912
|
return (
|
@@ -6939,8 +6939,8 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
6939
6939
|
*
|
6940
6940
|
* @param {Matrix2} [left] The first matrix.
|
6941
6941
|
* @param {Matrix2} [right] The second matrix.
|
6942
|
-
* @param {
|
6943
|
-
* @returns {
|
6942
|
+
* @param {number} [epsilon=0] The epsilon to use for equality testing.
|
6943
|
+
* @returns {boolean} <code>true</code> if left and right are within the provided epsilon, <code>false</code> otherwise.
|
6944
6944
|
*/
|
6945
6945
|
Matrix2.equalsEpsilon = function (left, right, epsilon) {
|
6946
6946
|
epsilon = defaultValue.defaultValue(epsilon, 0);
|
@@ -6974,7 +6974,7 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
6974
6974
|
/**
|
6975
6975
|
* The index into Matrix2 for column 0, row 0.
|
6976
6976
|
*
|
6977
|
-
* @type {
|
6977
|
+
* @type {number}
|
6978
6978
|
* @constant
|
6979
6979
|
*
|
6980
6980
|
* @example
|
@@ -6986,7 +6986,7 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
6986
6986
|
/**
|
6987
6987
|
* The index into Matrix2 for column 0, row 1.
|
6988
6988
|
*
|
6989
|
-
* @type {
|
6989
|
+
* @type {number}
|
6990
6990
|
* @constant
|
6991
6991
|
*
|
6992
6992
|
* @example
|
@@ -6998,7 +6998,7 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
6998
6998
|
/**
|
6999
6999
|
* The index into Matrix2 for column 1, row 0.
|
7000
7000
|
*
|
7001
|
-
* @type {
|
7001
|
+
* @type {number}
|
7002
7002
|
* @constant
|
7003
7003
|
*
|
7004
7004
|
* @example
|
@@ -7010,7 +7010,7 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
7010
7010
|
/**
|
7011
7011
|
* The index into Matrix2 for column 1, row 1.
|
7012
7012
|
*
|
7013
|
-
* @type {
|
7013
|
+
* @type {number}
|
7014
7014
|
* @constant
|
7015
7015
|
*
|
7016
7016
|
* @example
|
@@ -7024,7 +7024,7 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
7024
7024
|
* Gets the number of items in the collection.
|
7025
7025
|
* @memberof Matrix2.prototype
|
7026
7026
|
*
|
7027
|
-
* @type {
|
7027
|
+
* @type {number}
|
7028
7028
|
*/
|
7029
7029
|
length: {
|
7030
7030
|
get: function () {
|
@@ -7048,7 +7048,7 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
7048
7048
|
* <code>true</code> if they are equal, <code>false</code> otherwise.
|
7049
7049
|
*
|
7050
7050
|
* @param {Matrix2} [right] The right hand side matrix.
|
7051
|
-
* @returns {
|
7051
|
+
* @returns {boolean} <code>true</code> if they are equal, <code>false</code> otherwise.
|
7052
7052
|
*/
|
7053
7053
|
Matrix2.prototype.equals = function (right) {
|
7054
7054
|
return Matrix2.equals(this, right);
|
@@ -7060,8 +7060,8 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
7060
7060
|
* <code>false</code> otherwise.
|
7061
7061
|
*
|
7062
7062
|
* @param {Matrix2} [right] The right hand side matrix.
|
7063
|
-
* @param {
|
7064
|
-
* @returns {
|
7063
|
+
* @param {number} [epsilon=0] The epsilon to use for equality testing.
|
7064
|
+
* @returns {boolean} <code>true</code> if they are within the provided epsilon, <code>false</code> otherwise.
|
7065
7065
|
*/
|
7066
7066
|
Matrix2.prototype.equalsEpsilon = function (right, epsilon) {
|
7067
7067
|
return Matrix2.equalsEpsilon(this, right, epsilon);
|
@@ -7071,7 +7071,7 @@ define(['exports', './Matrix3-315394f6', './Check-666ab1a0', './defaultValue-0a9
|
|
7071
7071
|
* Creates a string representing this Matrix with each row being
|
7072
7072
|
* on a separate line and in the format '(column0, column1)'.
|
7073
7073
|
*
|
7074
|
-
* @returns {
|
7074
|
+
* @returns {string} A string representing the provided Matrix with each row being on a separate line and in the format '(column0, column1)'.
|
7075
7075
|
*/
|
7076
7076
|
Matrix2.prototype.toString = function () {
|
7077
7077
|
return `(${this[0]}, ${this[2]})\n` + `(${this[1]}, ${this[3]})`;
|