@openglobus/og 0.24.2 → 0.25.0
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/lib/{js/Globe.d.ts → Globe.d.ts} +16 -18
- package/lib/{js/Object3d.d.ts → Object3d.d.ts} +1 -1
- package/lib/{@openglobus/js/camera → camera}/Camera.d.ts +16 -22
- package/lib/{@openglobus/js/camera → camera}/Frustum.d.ts +1 -1
- package/lib/control/CameraFrameComposer.d.ts +35 -0
- package/lib/control/KeyboardNavigation.d.ts +32 -0
- package/lib/control/MouseWheelZoomControl.d.ts +1 -0
- package/lib/{js/control → control/atmosphere}/Atmosphere.d.ts +9 -6
- package/lib/{@openglobus/js/control → control/atmosphere}/AtmosphereConfig.d.ts +6 -6
- package/lib/{js/control → control}/index.d.ts +3 -1
- package/lib/control/object3dManager/Object3dCollection.d.ts +21 -0
- package/lib/control/object3dManager/Object3dCollectionView.d.ts +15 -0
- package/lib/control/object3dManager/Object3dItemView.d.ts +10 -0
- package/lib/control/object3dManager/Object3dManager.d.ts +28 -0
- package/lib/control/object3dManager/Object3dManagerDialog.d.ts +23 -0
- package/lib/{js/control → control}/visibleExtent/Segment.d.ts +3 -3
- package/lib/entity/LabelWorker.worker.d.ts +1 -0
- package/lib/{@openglobus/js/index.d.ts → index.d.ts} +1 -0
- package/lib/og.css +1 -0
- package/lib/og.es.js +1 -0
- package/lib/{@openglobus/js/renderer → renderer}/Renderer.d.ts +28 -28
- package/lib/{@openglobus/js/scene → scene}/Planet.d.ts +3 -3
- package/lib/{@openglobus/js/segment → segment}/Segment.d.ts +1 -1
- package/lib/{js/segment → segment}/segmentHelper.d.ts +1 -1
- package/lib/{@openglobus/js/shaders → shaders/atmos}/atmos.d.ts +7 -5
- package/lib/{@openglobus/js/shaders → shaders/billboard}/billboard.d.ts +1 -1
- package/lib/shaders/drawnode/drawnode.d.ts +8 -0
- package/lib/{@openglobus/js/shaders/geoObject.d.ts → shaders/geo_object/geo_object.d.ts} +1 -1
- package/lib/{@openglobus/js/shaders → shaders/label}/label.d.ts +1 -1
- package/lib/{@openglobus/js/shaders → shaders/polyline}/polyline.d.ts +1 -1
- package/lib/shaders/ray/ray.d.ts +2 -0
- package/lib/{@openglobus/js/shaders → shaders/tone_mapping}/toneMapping.d.ts +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -0
- package/lib/{@openglobus/js/ui → ui}/Dialog.d.ts +1 -1
- package/lib/{@openglobus/js/ui → ui}/View.d.ts +1 -0
- package/lib/{@openglobus/js/utils → utils}/BaseWorker.d.ts +2 -2
- package/lib/utils/PlainSegmentWorker.worker.d.ts +1 -0
- package/lib/utils/TerrainWorker.worker.d.ts +1 -0
- package/lib/{@openglobus/js/utils → utils}/objParser.d.ts +1 -1
- package/lib/{js/utils → utils}/shared.d.ts +16 -0
- package/lib/{js/webgl → webgl}/Framebuffer.d.ts +21 -5
- package/lib/{@openglobus/js/webgl → webgl}/Handler.d.ts +0 -1
- package/package.json +76 -68
- package/res/fonts/Ephesis-Regular.json +4648 -0
- package/res/fonts/Ephesis-Regular.ttf.cfg +1282 -0
- package/res/fonts/Ephesis-Regular.ttf.png +0 -0
- package/res/fonts/Karla-Bold.json +5252 -0
- package/res/fonts/Karla-Bold.ttf.cfg +920 -0
- package/res/fonts/Karla-Bold.ttf.png +0 -0
- package/res/fonts/Karla-Light.json +5252 -0
- package/res/fonts/Karla-Light.ttf.cfg +830 -0
- package/res/fonts/Karla-Light.ttf.png +0 -0
- package/res/fonts/Karla-Medium.json +5252 -0
- package/res/fonts/Karla-Medium.ttf.cfg +1196 -0
- package/res/fonts/Karla-Medium.ttf.png +0 -0
- package/res/fonts/NotoSansArabic-Regular.json +3332 -0
- package/res/fonts/NotoSansArabic-Regular.ttf.cfg +1370 -0
- package/res/fonts/NotoSansArabic-Regular.ttf.png +0 -0
- package/res/fonts/Roboto-Regular.json +37147 -0
- package/res/fonts/Roboto-Regular.ttf.cfg +1340 -0
- package/res/fonts/Roboto-Regular.ttf.png +0 -0
- package/res/fonts/arial.js +4325 -0
- package/res/fonts/arial.json +4321 -0
- package/res/fonts/arial.ttf.cfg +1570 -0
- package/res/fonts/arial.ttf.png +0 -0
- package/res/night-4326.png +0 -0
- package/res/night.png +0 -0
- package/res/spec.png +0 -0
- package/css/og.css +0 -1342
- package/lib/@openglobus/js/Globe.d.ts +0 -145
- package/lib/@openglobus/js/Object3d.d.ts +0 -81
- package/lib/@openglobus/js/control/Atmosphere.d.ts +0 -40
- package/lib/@openglobus/js/control/KeyboardNavigation.d.ts +0 -28
- package/lib/@openglobus/js/control/index.d.ts +0 -30
- package/lib/@openglobus/js/segment/segmentHelper.d.ts +0 -18
- package/lib/@openglobus/js/shaders/bloom.d.ts +0 -2
- package/lib/@openglobus/js/shaders/blur.d.ts +0 -3
- package/lib/@openglobus/js/shaders/drawnode.d.ts +0 -10
- package/lib/@openglobus/js/shaders/lumFilter.d.ts +0 -2
- package/lib/@openglobus/js/shaders/ray.d.ts +0 -2
- package/lib/@openglobus/js/shaders/utils.d.ts +0 -1
- package/lib/@openglobus/js/utils/shared.d.ts +0 -287
- package/lib/@openglobus/js/webgl/Framebuffer.d.ts +0 -97
- package/lib/@openglobus/og.css +0 -1
- package/lib/@openglobus/og.esm.js +0 -2
- package/lib/@openglobus/og.esm.js.map +0 -1
- package/lib/@openglobus/og.umd.js +0 -2
- package/lib/@openglobus/og.umd.js.map +0 -1
- package/lib/js/Clock.d.ts +0 -106
- package/lib/js/Clock.js +0 -141
- package/lib/js/Deferred.d.ts +0 -6
- package/lib/js/Deferred.js +0 -13
- package/lib/js/Events.d.ts +0 -90
- package/lib/js/Events.js +0 -145
- package/lib/js/Extent.d.ts +0 -145
- package/lib/js/Extent.js +0 -278
- package/lib/js/Globe.js +0 -289
- package/lib/js/ImageCanvas.d.ts +0 -128
- package/lib/js/ImageCanvas.js +0 -203
- package/lib/js/Lock.d.ts +0 -15
- package/lib/js/Lock.js +0 -27
- package/lib/js/LonLat.d.ts +0 -128
- package/lib/js/LonLat.js +0 -192
- package/lib/js/Object3d.js +0 -508
- package/lib/js/Popup.d.ts +0 -49
- package/lib/js/Popup.js +0 -160
- package/lib/js/QueueArray.d.ts +0 -16
- package/lib/js/QueueArray.js +0 -63
- package/lib/js/Rectangle.d.ts +0 -76
- package/lib/js/Rectangle.js +0 -77
- package/lib/js/Stack.d.ts +0 -20
- package/lib/js/Stack.js +0 -42
- package/lib/js/astro/astro.d.ts +0 -39
- package/lib/js/astro/astro.js +0 -43
- package/lib/js/astro/earth.d.ts +0 -8
- package/lib/js/astro/earth.js +0 -75
- package/lib/js/astro/jd.d.ts +0 -234
- package/lib/js/astro/jd.js +0 -416
- package/lib/js/astro/orbit.d.ts +0 -5
- package/lib/js/astro/orbit.js +0 -104
- package/lib/js/astro/rotation.d.ts +0 -2
- package/lib/js/astro/rotation.js +0 -25
- package/lib/js/bv/Box.d.ts +0 -32
- package/lib/js/bv/Box.js +0 -53
- package/lib/js/bv/Sphere.d.ts +0 -37
- package/lib/js/bv/Sphere.js +0 -31
- package/lib/js/bv/index.d.ts +0 -3
- package/lib/js/bv/index.js +0 -3
- package/lib/js/camera/Camera.d.ts +0 -361
- package/lib/js/camera/Camera.js +0 -541
- package/lib/js/camera/Frustum.d.ts +0 -142
- package/lib/js/camera/Frustum.js +0 -246
- package/lib/js/camera/PlanetCamera.d.ts +0 -247
- package/lib/js/camera/PlanetCamera.js +0 -513
- package/lib/js/camera/index.d.ts +0 -3
- package/lib/js/camera/index.js +0 -3
- package/lib/js/cons.d.ts +0 -40
- package/lib/js/cons.js +0 -92
- package/lib/js/control/Atmosphere.js +0 -401
- package/lib/js/control/AtmosphereConfig.d.ts +0 -59
- package/lib/js/control/AtmosphereConfig.js +0 -348
- package/lib/js/control/CameraLock.d.ts +0 -38
- package/lib/js/control/CameraLock.js +0 -216
- package/lib/js/control/CompassButton.d.ts +0 -16
- package/lib/js/control/CompassButton.js +0 -118
- package/lib/js/control/Control.d.ts +0 -100
- package/lib/js/control/Control.js +0 -137
- package/lib/js/control/DebugInfo.d.ts +0 -25
- package/lib/js/control/DebugInfo.js +0 -318
- package/lib/js/control/DrawingSwitcher.d.ts +0 -13
- package/lib/js/control/DrawingSwitcher.js +0 -94
- package/lib/js/control/EarthCoordinates.d.ts +0 -41
- package/lib/js/control/EarthCoordinates.js +0 -161
- package/lib/js/control/GeoImageDragControl.d.ts +0 -22
- package/lib/js/control/GeoImageDragControl.js +0 -102
- package/lib/js/control/KeyboardNavigation.d.ts +0 -28
- package/lib/js/control/KeyboardNavigation.js +0 -143
- package/lib/js/control/LayerAnimation.d.ts +0 -71
- package/lib/js/control/LayerAnimation.js +0 -283
- package/lib/js/control/LayerSwitcher.d.ts +0 -38
- package/lib/js/control/LayerSwitcher.js +0 -151
- package/lib/js/control/Lighting.d.ts +0 -54
- package/lib/js/control/Lighting.js +0 -459
- package/lib/js/control/MouseNavigation.d.ts +0 -76
- package/lib/js/control/MouseNavigation.js +0 -414
- package/lib/js/control/MouseWheelZoomControl.d.ts +0 -0
- package/lib/js/control/MouseWheelZoomControl.js +0 -270
- package/lib/js/control/OldMouseNavigation.d.ts +0 -65
- package/lib/js/control/OldMouseNavigation.js +0 -368
- package/lib/js/control/RulerSwitcher.d.ts +0 -18
- package/lib/js/control/RulerSwitcher.js +0 -57
- package/lib/js/control/ScaleControl.d.ts +0 -25
- package/lib/js/control/ScaleControl.js +0 -97
- package/lib/js/control/SegmentBoundVisualization.d.ts +0 -13
- package/lib/js/control/SegmentBoundVisualization.js +0 -37
- package/lib/js/control/ShowFps.d.ts +0 -10
- package/lib/js/control/ShowFps.js +0 -20
- package/lib/js/control/SimpleNavigation.d.ts +0 -43
- package/lib/js/control/SimpleNavigation.js +0 -196
- package/lib/js/control/SimpleSkyBackground.d.ts +0 -18
- package/lib/js/control/SimpleSkyBackground.js +0 -187
- package/lib/js/control/Sun.d.ts +0 -34
- package/lib/js/control/Sun.js +0 -117
- package/lib/js/control/ToggleWireframe.d.ts +0 -15
- package/lib/js/control/ToggleWireframe.js +0 -28
- package/lib/js/control/TouchNavigation.d.ts +0 -53
- package/lib/js/control/TouchNavigation.js +0 -266
- package/lib/js/control/ZoomControl.d.ts +0 -28
- package/lib/js/control/ZoomControl.js +0 -86
- package/lib/js/control/drawing/DrawingControl.d.ts +0 -12
- package/lib/js/control/drawing/DrawingControl.js +0 -35
- package/lib/js/control/drawing/LineStringDrawingScene.d.ts +0 -15
- package/lib/js/control/drawing/LineStringDrawingScene.js +0 -139
- package/lib/js/control/drawing/PolygonDrawingScene.d.ts +0 -98
- package/lib/js/control/drawing/PolygonDrawingScene.js +0 -533
- package/lib/js/control/elevationProfile/ElevationProfile.d.ts +0 -77
- package/lib/js/control/elevationProfile/ElevationProfile.js +0 -248
- package/lib/js/control/elevationProfile/ElevationProfileButtonsView.d.ts +0 -15
- package/lib/js/control/elevationProfile/ElevationProfileButtonsView.js +0 -61
- package/lib/js/control/elevationProfile/ElevationProfileControl.d.ts +0 -33
- package/lib/js/control/elevationProfile/ElevationProfileControl.js +0 -151
- package/lib/js/control/elevationProfile/ElevationProfileLegend.d.ts +0 -20
- package/lib/js/control/elevationProfile/ElevationProfileLegend.js +0 -82
- package/lib/js/control/elevationProfile/ElevationProfileScene.d.ts +0 -80
- package/lib/js/control/elevationProfile/ElevationProfileScene.js +0 -542
- package/lib/js/control/elevationProfile/ElevationProfileView.d.ts +0 -65
- package/lib/js/control/elevationProfile/ElevationProfileView.js +0 -504
- package/lib/js/control/elevationProfile/PointListDialog.d.ts +0 -12
- package/lib/js/control/elevationProfile/PointListDialog.js +0 -57
- package/lib/js/control/geoObjectEditor/ArrowEntity.d.ts +0 -15
- package/lib/js/control/geoObjectEditor/ArrowEntity.js +0 -59
- package/lib/js/control/geoObjectEditor/AxisTrackEntity.d.ts +0 -9
- package/lib/js/control/geoObjectEditor/AxisTrackEntity.js +0 -93
- package/lib/js/control/geoObjectEditor/GeoObjectEditor.d.ts +0 -13
- package/lib/js/control/geoObjectEditor/GeoObjectEditor.js +0 -30
- package/lib/js/control/geoObjectEditor/GeoObjectEditorDialog.d.ts +0 -69
- package/lib/js/control/geoObjectEditor/GeoObjectEditorDialog.js +0 -488
- package/lib/js/control/geoObjectEditor/GeoObjectEditorScene.d.ts +0 -127
- package/lib/js/control/geoObjectEditor/GeoObjectEditorScene.js +0 -549
- package/lib/js/control/geoObjectEditor/MoveAxisEntity.d.ts +0 -17
- package/lib/js/control/geoObjectEditor/MoveAxisEntity.js +0 -107
- package/lib/js/control/geoObjectEditor/MovePlaneEntity.d.ts +0 -7
- package/lib/js/control/geoObjectEditor/MovePlaneEntity.js +0 -31
- package/lib/js/control/geoObjectEditor/RotateEntity.d.ts +0 -9
- package/lib/js/control/geoObjectEditor/RotateEntity.js +0 -105
- package/lib/js/control/geoObjectEditor/colors.d.ts +0 -8
- package/lib/js/control/geoObjectEditor/colors.js +0 -8
- package/lib/js/control/heightRuler/HeightRuler.d.ts +0 -7
- package/lib/js/control/heightRuler/HeightRuler.js +0 -11
- package/lib/js/control/heightRuler/HeightRulerScene.d.ts +0 -35
- package/lib/js/control/heightRuler/HeightRulerScene.js +0 -181
- package/lib/js/control/heightRuler/HeightRulerSwitcher.d.ts +0 -6
- package/lib/js/control/heightRuler/HeightRulerSwitcher.js +0 -13
- package/lib/js/control/index.js +0 -30
- package/lib/js/control/ruler/Ruler.d.ts +0 -14
- package/lib/js/control/ruler/Ruler.js +0 -23
- package/lib/js/control/ruler/RulerScene.d.ts +0 -88
- package/lib/js/control/ruler/RulerScene.js +0 -324
- package/lib/js/control/selection/Selection.d.ts +0 -56
- package/lib/js/control/selection/Selection.js +0 -78
- package/lib/js/control/selection/SelectionScene.d.ts +0 -44
- package/lib/js/control/selection/SelectionScene.js +0 -272
- package/lib/js/control/timeline/TimelineControl.d.ts +0 -18
- package/lib/js/control/timeline/TimelineControl.js +0 -81
- package/lib/js/control/timeline/TimelineModel.d.ts +0 -41
- package/lib/js/control/timeline/TimelineModel.js +0 -104
- package/lib/js/control/timeline/TimelineView.d.ts +0 -86
- package/lib/js/control/timeline/TimelineView.js +0 -363
- package/lib/js/control/timeline/timelineUtils.d.ts +0 -12
- package/lib/js/control/timeline/timelineUtils.js +0 -112
- package/lib/js/control/visibleExtent/Segment.js +0 -1301
- package/lib/js/control/visibleExtent/VisibleExtent.js +0 -56
- package/lib/js/control/visibleExtent/drawnode.d.ts +0 -7
- package/lib/js/control/visibleExtent/drawnode.js +0 -718
- package/lib/js/ellipsoid/Ellipsoid.d.ts +0 -194
- package/lib/js/ellipsoid/Ellipsoid.js +0 -459
- package/lib/js/ellipsoid/index.d.ts +0 -4
- package/lib/js/ellipsoid/index.js +0 -4
- package/lib/js/ellipsoid/mars.d.ts +0 -6
- package/lib/js/ellipsoid/mars.js +0 -6
- package/lib/js/ellipsoid/moon.d.ts +0 -6
- package/lib/js/ellipsoid/moon.js +0 -6
- package/lib/js/ellipsoid/wgs84.d.ts +0 -6
- package/lib/js/ellipsoid/wgs84.js +0 -6
- package/lib/js/entity/BaseBillboard.d.ts +0 -225
- package/lib/js/entity/BaseBillboard.js +0 -284
- package/lib/js/entity/BaseBillboardHandler.d.ts +0 -81
- package/lib/js/entity/BaseBillboardHandler.js +0 -546
- package/lib/js/entity/Billboard.d.ts +0 -114
- package/lib/js/entity/Billboard.js +0 -127
- package/lib/js/entity/BillboardHandler.d.ts +0 -15
- package/lib/js/entity/BillboardHandler.js +0 -103
- package/lib/js/entity/Entity.d.ts +0 -630
- package/lib/js/entity/Entity.js +0 -957
- package/lib/js/entity/EntityCollection.d.ts +0 -368
- package/lib/js/entity/EntityCollection.js +0 -655
- package/lib/js/entity/GeoObject.d.ts +0 -257
- package/lib/js/entity/GeoObject.js +0 -318
- package/lib/js/entity/GeoObjectHandler.d.ts +0 -81
- package/lib/js/entity/GeoObjectHandler.js +0 -515
- package/lib/js/entity/Geometry.d.ts +0 -125
- package/lib/js/entity/Geometry.js +0 -291
- package/lib/js/entity/GeometryHandler.d.ts +0 -86
- package/lib/js/entity/GeometryHandler.js +0 -745
- package/lib/js/entity/InstanceData.d.ts +0 -76
- package/lib/js/entity/InstanceData.js +0 -347
- package/lib/js/entity/Label.d.ts +0 -230
- package/lib/js/entity/Label.js +0 -322
- package/lib/js/entity/LabelHandler.d.ts +0 -65
- package/lib/js/entity/LabelHandler.js +0 -696
- package/lib/js/entity/LabelWorker.d.ts +0 -15
- package/lib/js/entity/LabelWorker.js +0 -163
- package/lib/js/entity/PointCloud.d.ts +0 -179
- package/lib/js/entity/PointCloud.js +0 -327
- package/lib/js/entity/PointCloudHandler.d.ts +0 -42
- package/lib/js/entity/PointCloudHandler.js +0 -82
- package/lib/js/entity/Polyline.d.ts +0 -360
- package/lib/js/entity/Polyline.js +0 -1635
- package/lib/js/entity/PolylineHandler.d.ts +0 -29
- package/lib/js/entity/PolylineHandler.js +0 -103
- package/lib/js/entity/Ray.d.ts +0 -135
- package/lib/js/entity/Ray.js +0 -171
- package/lib/js/entity/RayHandler.d.ts +0 -70
- package/lib/js/entity/RayHandler.js +0 -496
- package/lib/js/entity/Strip.d.ts +0 -141
- package/lib/js/entity/Strip.js +0 -417
- package/lib/js/entity/StripHandler.d.ts +0 -42
- package/lib/js/entity/StripHandler.js +0 -110
- package/lib/js/entity/index.d.ts +0 -10
- package/lib/js/entity/index.js +0 -10
- package/lib/js/index.d.ts +0 -34
- package/lib/js/index.js +0 -34
- package/lib/js/input/KeyboardHandler.d.ts +0 -33
- package/lib/js/input/KeyboardHandler.js +0 -159
- package/lib/js/input/MouseHandler.d.ts +0 -17
- package/lib/js/input/MouseHandler.js +0 -92
- package/lib/js/input/TouchHandler.d.ts +0 -11
- package/lib/js/input/TouchHandler.js +0 -42
- package/lib/js/input/input.d.ts +0 -3
- package/lib/js/input/input.js +0 -47
- package/lib/js/layer/BaseGeoImage.d.ts +0 -146
- package/lib/js/layer/BaseGeoImage.js +0 -382
- package/lib/js/layer/Bing.d.ts +0 -5
- package/lib/js/layer/Bing.js +0 -41
- package/lib/js/layer/CanvasTiles.d.ts +0 -104
- package/lib/js/layer/CanvasTiles.js +0 -292
- package/lib/js/layer/GeoImage.d.ts +0 -62
- package/lib/js/layer/GeoImage.js +0 -133
- package/lib/js/layer/GeoTexture2d.d.ts +0 -18
- package/lib/js/layer/GeoTexture2d.js +0 -37
- package/lib/js/layer/GeoVideo.d.ts +0 -69
- package/lib/js/layer/GeoVideo.js +0 -157
- package/lib/js/layer/KML.d.ts +0 -74
- package/lib/js/layer/KML.js +0 -303
- package/lib/js/layer/Layer.d.ts +0 -416
- package/lib/js/layer/Layer.js +0 -734
- package/lib/js/layer/Material.d.ts +0 -34
- package/lib/js/layer/Material.js +0 -69
- package/lib/js/layer/OpenStreetMap.d.ts +0 -5
- package/lib/js/layer/OpenStreetMap.js +0 -19
- package/lib/js/layer/Vector.d.ts +0 -240
- package/lib/js/layer/Vector.js +0 -767
- package/lib/js/layer/WMS.d.ts +0 -76
- package/lib/js/layer/WMS.js +0 -112
- package/lib/js/layer/XYZ.d.ts +0 -149
- package/lib/js/layer/XYZ.js +0 -299
- package/lib/js/layer/index.d.ts +0 -12
- package/lib/js/layer/index.js +0 -12
- package/lib/js/light/LightSource.d.ts +0 -36
- package/lib/js/light/LightSource.js +0 -86
- package/lib/js/math/Line2.d.ts +0 -11
- package/lib/js/math/Line2.js +0 -21
- package/lib/js/math/Line3.d.ts +0 -28
- package/lib/js/math/Line3.js +0 -85
- package/lib/js/math/Mat3.d.ts +0 -77
- package/lib/js/math/Mat3.js +0 -139
- package/lib/js/math/Mat4.d.ts +0 -204
- package/lib/js/math/Mat4.js +0 -487
- package/lib/js/math/Plane.d.ts +0 -22
- package/lib/js/math/Plane.js +0 -118
- package/lib/js/math/Quat.d.ts +0 -393
- package/lib/js/math/Quat.js +0 -794
- package/lib/js/math/Ray.d.ts +0 -72
- package/lib/js/math/Ray.js +0 -211
- package/lib/js/math/Vec2.d.ts +0 -332
- package/lib/js/math/Vec2.js +0 -495
- package/lib/js/math/Vec3.d.ts +0 -488
- package/lib/js/math/Vec3.js +0 -828
- package/lib/js/math/Vec4.d.ts +0 -163
- package/lib/js/math/Vec4.js +0 -211
- package/lib/js/math/coder.d.ts +0 -53
- package/lib/js/math/coder.js +0 -101
- package/lib/js/math/index.d.ts +0 -14
- package/lib/js/math/index.js +0 -11
- package/lib/js/math.d.ts +0 -266
- package/lib/js/math.js +0 -379
- package/lib/js/mercator.d.ts +0 -92
- package/lib/js/mercator.js +0 -120
- package/lib/js/proj/EPSG3857.d.ts +0 -9
- package/lib/js/proj/EPSG3857.js +0 -9
- package/lib/js/proj/EPSG4326.d.ts +0 -9
- package/lib/js/proj/EPSG4326.js +0 -9
- package/lib/js/proj/Proj.d.ts +0 -43
- package/lib/js/proj/Proj.js +0 -38
- package/lib/js/proj/equi.d.ts +0 -9
- package/lib/js/proj/equi.js +0 -9
- package/lib/js/quadTree/EPSG4326/EPSG4326QuadTreeStrategy.d.ts +0 -6
- package/lib/js/quadTree/EPSG4326/EPSG4326QuadTreeStrategy.js +0 -16
- package/lib/js/quadTree/EntityCollectionNode.d.ts +0 -46
- package/lib/js/quadTree/EntityCollectionNode.js +0 -262
- package/lib/js/quadTree/EntityCollectionsTreeStrategy.d.ts +0 -25
- package/lib/js/quadTree/EntityCollectionsTreeStrategy.js +0 -49
- package/lib/js/quadTree/Node.d.ts +0 -80
- package/lib/js/quadTree/Node.js +0 -712
- package/lib/js/quadTree/QuadTreeStrategy.d.ts +0 -39
- package/lib/js/quadTree/QuadTreeStrategy.js +0 -98
- package/lib/js/quadTree/earth/EarthEntityCollectionNodeLonLat.d.ts +0 -19
- package/lib/js/quadTree/earth/EarthEntityCollectionNodeLonLat.js +0 -74
- package/lib/js/quadTree/earth/EarthEntityCollectionsTreeStrategy.d.ts +0 -19
- package/lib/js/quadTree/earth/EarthEntityCollectionsTreeStrategy.js +0 -103
- package/lib/js/quadTree/earth/EarthQuadTreeStrategy.d.ts +0 -27
- package/lib/js/quadTree/earth/EarthQuadTreeStrategy.js +0 -77
- package/lib/js/quadTree/equi/EquiEntityCollectionNodeLonLat.d.ts +0 -18
- package/lib/js/quadTree/equi/EquiEntityCollectionNodeLonLat.js +0 -70
- package/lib/js/quadTree/equi/EquiEntityCollectionsTreeStrategy.d.ts +0 -17
- package/lib/js/quadTree/equi/EquiEntityCollectionsTreeStrategy.js +0 -75
- package/lib/js/quadTree/equi/EquiQuadTreeStrategy.d.ts +0 -19
- package/lib/js/quadTree/equi/EquiQuadTreeStrategy.js +0 -62
- package/lib/js/quadTree/index.d.ts +0 -12
- package/lib/js/quadTree/index.js +0 -12
- package/lib/js/quadTree/quadTree.d.ts +0 -40
- package/lib/js/quadTree/quadTree.js +0 -66
- package/lib/js/quadTree/wgs84/Wgs84QuadTreeStrategy.d.ts +0 -6
- package/lib/js/quadTree/wgs84/Wgs84QuadTreeStrategy.js +0 -15
- package/lib/js/renderer/Renderer.d.ts +0 -343
- package/lib/js/renderer/Renderer.js +0 -969
- package/lib/js/renderer/RendererEvents.d.ts +0 -245
- package/lib/js/renderer/RendererEvents.js +0 -870
- package/lib/js/scene/Axes.d.ts +0 -12
- package/lib/js/scene/Axes.js +0 -59
- package/lib/js/scene/BaseNode.d.ts +0 -61
- package/lib/js/scene/BaseNode.js +0 -69
- package/lib/js/scene/Planet.d.ts +0 -641
- package/lib/js/scene/Planet.js +0 -1617
- package/lib/js/scene/RenderNode.d.ts +0 -135
- package/lib/js/scene/RenderNode.js +0 -313
- package/lib/js/scene/SkyBox.d.ts +0 -13
- package/lib/js/scene/SkyBox.js +0 -87
- package/lib/js/scene/index.d.ts +0 -5
- package/lib/js/scene/index.js +0 -5
- package/lib/js/segment/Segment.d.ts +0 -289
- package/lib/js/segment/Segment.js +0 -1212
- package/lib/js/segment/SegmentLonLat.d.ts +0 -40
- package/lib/js/segment/SegmentLonLat.js +0 -111
- package/lib/js/segment/SegmentLonLatEqui.d.ts +0 -13
- package/lib/js/segment/SegmentLonLatEqui.js +0 -46
- package/lib/js/segment/Slice.d.ts +0 -13
- package/lib/js/segment/Slice.js +0 -33
- package/lib/js/segment/segmentHelper.js +0 -180
- package/lib/js/shaders/atmos.d.ts +0 -20
- package/lib/js/shaders/atmos.js +0 -326
- package/lib/js/shaders/billboard.d.ts +0 -3
- package/lib/js/shaders/billboard.js +0 -214
- package/lib/js/shaders/bloom.d.ts +0 -2
- package/lib/js/shaders/bloom.js +0 -32
- package/lib/js/shaders/blur.d.ts +0 -3
- package/lib/js/shaders/blur.js +0 -68
- package/lib/js/shaders/depth.d.ts +0 -2
- package/lib/js/shaders/depth.js +0 -40
- package/lib/js/shaders/drawnode.d.ts +0 -10
- package/lib/js/shaders/drawnode.js +0 -1008
- package/lib/js/shaders/geoObject.d.ts +0 -4
- package/lib/js/shaders/geoObject.js +0 -294
- package/lib/js/shaders/label.d.ts +0 -4
- package/lib/js/shaders/label.js +0 -589
- package/lib/js/shaders/lumFilter.d.ts +0 -2
- package/lib/js/shaders/lumFilter.js +0 -36
- package/lib/js/shaders/pointCloud.d.ts +0 -2
- package/lib/js/shaders/pointCloud.js +0 -32
- package/lib/js/shaders/polyline.d.ts +0 -3
- package/lib/js/shaders/polyline.js +0 -364
- package/lib/js/shaders/ray.d.ts +0 -2
- package/lib/js/shaders/ray.js +0 -80
- package/lib/js/shaders/screenFrame.d.ts +0 -2
- package/lib/js/shaders/screenFrame.js +0 -26
- package/lib/js/shaders/skybox.d.ts +0 -2
- package/lib/js/shaders/skybox.js +0 -28
- package/lib/js/shaders/toneMapping.d.ts +0 -2
- package/lib/js/shaders/toneMapping.js +0 -85
- package/lib/js/shaders/utils.d.ts +0 -1
- package/lib/js/shaders/utils.js +0 -97
- package/lib/js/terrain/BilTerrain.d.ts +0 -19
- package/lib/js/terrain/BilTerrain.js +0 -153
- package/lib/js/terrain/EmptyTerrain.d.ts +0 -113
- package/lib/js/terrain/EmptyTerrain.js +0 -113
- package/lib/js/terrain/Geoid.d.ts +0 -33
- package/lib/js/terrain/Geoid.js +0 -191
- package/lib/js/terrain/GlobusRgbTerrain.d.ts +0 -7
- package/lib/js/terrain/GlobusRgbTerrain.js +0 -25
- package/lib/js/terrain/GlobusTerrain.d.ts +0 -140
- package/lib/js/terrain/GlobusTerrain.js +0 -351
- package/lib/js/terrain/RgbTerrain.d.ts +0 -43
- package/lib/js/terrain/RgbTerrain.js +0 -428
- package/lib/js/terrain/index.d.ts +0 -6
- package/lib/js/terrain/index.js +0 -6
- package/lib/js/ui/Button.d.ts +0 -33
- package/lib/js/ui/Button.js +0 -78
- package/lib/js/ui/ButtonGroup.d.ts +0 -16
- package/lib/js/ui/ButtonGroup.js +0 -41
- package/lib/js/ui/Checkbox.d.ts +0 -32
- package/lib/js/ui/Checkbox.js +0 -110
- package/lib/js/ui/Color.d.ts +0 -23
- package/lib/js/ui/Color.js +0 -59
- package/lib/js/ui/Dialog.d.ts +0 -59
- package/lib/js/ui/Dialog.js +0 -193
- package/lib/js/ui/Input.d.ts +0 -33
- package/lib/js/ui/Input.js +0 -107
- package/lib/js/ui/Slider.d.ts +0 -39
- package/lib/js/ui/Slider.js +0 -129
- package/lib/js/ui/ToggleButton.d.ts +0 -21
- package/lib/js/ui/ToggleButton.js +0 -42
- package/lib/js/ui/View.d.ts +0 -39
- package/lib/js/ui/View.js +0 -157
- package/lib/js/ui/icons.d.ts +0 -1
- package/lib/js/ui/icons.js +0 -3
- package/lib/js/utils/BaseWorker.d.ts +0 -14
- package/lib/js/utils/BaseWorker.js +0 -47
- package/lib/js/utils/FontAtlas.d.ts +0 -82
- package/lib/js/utils/FontAtlas.js +0 -220
- package/lib/js/utils/GeoImageCreator.d.ts +0 -34
- package/lib/js/utils/GeoImageCreator.js +0 -163
- package/lib/js/utils/ImagesCacheManager.d.ts +0 -22
- package/lib/js/utils/ImagesCacheManager.js +0 -63
- package/lib/js/utils/Loader.d.ts +0 -63
- package/lib/js/utils/Loader.js +0 -156
- package/lib/js/utils/NormalMapCreator.d.ts +0 -53
- package/lib/js/utils/NormalMapCreator.js +0 -310
- package/lib/js/utils/PlainSegmentWorker.d.ts +0 -24
- package/lib/js/utils/PlainSegmentWorker.js +0 -385
- package/lib/js/utils/TerrainWorker.d.ts +0 -28
- package/lib/js/utils/TerrainWorker.js +0 -551
- package/lib/js/utils/TextureAtlas.d.ts +0 -115
- package/lib/js/utils/TextureAtlas.js +0 -231
- package/lib/js/utils/VectorTileCreator.d.ts +0 -18
- package/lib/js/utils/VectorTileCreator.js +0 -320
- package/lib/js/utils/colorTable.d.ts +0 -3
- package/lib/js/utils/colorTable.js +0 -143
- package/lib/js/utils/earcut.d.ts +0 -7
- package/lib/js/utils/earcut.js +0 -536
- package/lib/js/utils/objParser.d.ts +0 -56
- package/lib/js/utils/objParser.js +0 -293
- package/lib/js/utils/shared.js +0 -961
- package/lib/js/utils/units.d.ts +0 -16
- package/lib/js/utils/units.js +0 -61
- package/lib/js/webgl/BaseFramebuffer.d.ts +0 -52
- package/lib/js/webgl/BaseFramebuffer.js +0 -88
- package/lib/js/webgl/Framebuffer.js +0 -256
- package/lib/js/webgl/Handler.d.ts +0 -491
- package/lib/js/webgl/Handler.js +0 -1035
- package/lib/js/webgl/Multisample.d.ts +0 -28
- package/lib/js/webgl/Multisample.js +0 -77
- package/lib/js/webgl/Program.d.ts +0 -159
- package/lib/js/webgl/Program.js +0 -306
- package/lib/js/webgl/ProgramController.d.ts +0 -87
- package/lib/js/webgl/ProgramController.js +0 -110
- package/lib/js/webgl/index.d.ts +0 -6
- package/lib/js/webgl/index.js +0 -6
- package/lib/js/webgl/types.d.ts +0 -9
- package/lib/js/webgl/types.js +0 -26
- package/lib/js/webgl/variableHandlers.d.ts +0 -22
- package/lib/js/webgl/variableHandlers.js +0 -78
- /package/lib/{@openglobus/js/Clock.d.ts → Clock.d.ts} +0 -0
- /package/lib/{@openglobus/js/Deferred.d.ts → Deferred.d.ts} +0 -0
- /package/lib/{@openglobus/js/Events.d.ts → Events.d.ts} +0 -0
- /package/lib/{@openglobus/js/Extent.d.ts → Extent.d.ts} +0 -0
- /package/lib/{@openglobus/js/ImageCanvas.d.ts → ImageCanvas.d.ts} +0 -0
- /package/lib/{@openglobus/js/Lock.d.ts → Lock.d.ts} +0 -0
- /package/lib/{@openglobus/js/LonLat.d.ts → LonLat.d.ts} +0 -0
- /package/lib/{@openglobus/js/Popup.d.ts → Popup.d.ts} +0 -0
- /package/lib/{@openglobus/js/QueueArray.d.ts → QueueArray.d.ts} +0 -0
- /package/lib/{@openglobus/js/Rectangle.d.ts → Rectangle.d.ts} +0 -0
- /package/lib/{@openglobus/js/Stack.d.ts → Stack.d.ts} +0 -0
- /package/lib/{@openglobus/js/astro → astro}/astro.d.ts +0 -0
- /package/lib/{@openglobus/js/astro → astro}/earth.d.ts +0 -0
- /package/lib/{@openglobus/js/astro → astro}/jd.d.ts +0 -0
- /package/lib/{@openglobus/js/astro → astro}/orbit.d.ts +0 -0
- /package/lib/{@openglobus/js/astro → astro}/rotation.d.ts +0 -0
- /package/lib/{@openglobus/js/bv → bv}/Box.d.ts +0 -0
- /package/lib/{@openglobus/js/bv → bv}/Sphere.d.ts +0 -0
- /package/lib/{@openglobus/js/bv → bv}/index.d.ts +0 -0
- /package/lib/{@openglobus/js/camera → camera}/PlanetCamera.d.ts +0 -0
- /package/lib/{@openglobus/js/camera → camera}/index.d.ts +0 -0
- /package/lib/{@openglobus/js/cons.d.ts → cons.d.ts} +0 -0
- /package/lib/{@openglobus/js/control → control}/CameraLock.d.ts +0 -0
- /package/lib/{@openglobus/js/control → control}/CompassButton.d.ts +0 -0
- /package/lib/{@openglobus/js/control → control}/Control.d.ts +0 -0
- /package/lib/{@openglobus/js/control → control}/DebugInfo.d.ts +0 -0
- /package/lib/{@openglobus/js/control → control}/DrawingSwitcher.d.ts +0 -0
- /package/lib/{@openglobus/js/control → control}/EarthCoordinates.d.ts +0 -0
- /package/lib/{@openglobus/js/control → control}/GeoImageDragControl.d.ts +0 -0
- /package/lib/{@openglobus/js/control → control}/LayerAnimation.d.ts +0 -0
- /package/lib/{@openglobus/js/control → control}/LayerSwitcher.d.ts +0 -0
- /package/lib/{@openglobus/js/control → control}/Lighting.d.ts +0 -0
- /package/lib/{@openglobus/js/control → control}/MouseNavigation.d.ts +0 -0
- /package/lib/{@openglobus/js/control → control}/OldMouseNavigation.d.ts +0 -0
- /package/lib/{@openglobus/js/control → control}/RulerSwitcher.d.ts +0 -0
- /package/lib/{@openglobus/js/control → control}/ScaleControl.d.ts +0 -0
- /package/lib/{@openglobus/js/control → control}/SegmentBoundVisualization.d.ts +0 -0
- /package/lib/{@openglobus/js/control → control}/ShowFps.d.ts +0 -0
- /package/lib/{@openglobus/js/control → control}/SimpleNavigation.d.ts +0 -0
- /package/lib/{@openglobus/js/control → control}/SimpleSkyBackground.d.ts +0 -0
- /package/lib/{@openglobus/js/control → control}/Sun.d.ts +0 -0
- /package/lib/{@openglobus/js/control → control}/ToggleWireframe.d.ts +0 -0
- /package/lib/{@openglobus/js/control → control}/TouchNavigation.d.ts +0 -0
- /package/lib/{@openglobus/js/control → control}/ZoomControl.d.ts +0 -0
- /package/lib/{@openglobus/js/control → control}/drawing/DrawingControl.d.ts +0 -0
- /package/lib/{@openglobus/js/control → control}/drawing/LineStringDrawingScene.d.ts +0 -0
- /package/lib/{@openglobus/js/control → control}/drawing/PolygonDrawingScene.d.ts +0 -0
- /package/lib/{@openglobus/js/control → control}/elevationProfile/ElevationProfile.d.ts +0 -0
- /package/lib/{@openglobus/js/control → control}/elevationProfile/ElevationProfileButtonsView.d.ts +0 -0
- /package/lib/{@openglobus/js/control → control}/elevationProfile/ElevationProfileControl.d.ts +0 -0
- /package/lib/{@openglobus/js/control → control}/elevationProfile/ElevationProfileLegend.d.ts +0 -0
- /package/lib/{@openglobus/js/control → control}/elevationProfile/ElevationProfileScene.d.ts +0 -0
- /package/lib/{@openglobus/js/control → control}/elevationProfile/ElevationProfileView.d.ts +0 -0
- /package/lib/{@openglobus/js/control → control}/elevationProfile/PointListDialog.d.ts +0 -0
- /package/lib/{@openglobus/js/control → control}/geoObjectEditor/ArrowEntity.d.ts +0 -0
- /package/lib/{@openglobus/js/control → control}/geoObjectEditor/AxisTrackEntity.d.ts +0 -0
- /package/lib/{@openglobus/js/control → control}/geoObjectEditor/GeoObjectEditor.d.ts +0 -0
- /package/lib/{@openglobus/js/control → control}/geoObjectEditor/GeoObjectEditorDialog.d.ts +0 -0
- /package/lib/{@openglobus/js/control → control}/geoObjectEditor/GeoObjectEditorScene.d.ts +0 -0
- /package/lib/{@openglobus/js/control → control}/geoObjectEditor/MoveAxisEntity.d.ts +0 -0
- /package/lib/{@openglobus/js/control → control}/geoObjectEditor/MovePlaneEntity.d.ts +0 -0
- /package/lib/{@openglobus/js/control → control}/geoObjectEditor/RotateEntity.d.ts +0 -0
- /package/lib/{@openglobus/js/control → control}/geoObjectEditor/colors.d.ts +0 -0
- /package/lib/{@openglobus/js/control → control}/heightRuler/HeightRuler.d.ts +0 -0
- /package/lib/{@openglobus/js/control → control}/heightRuler/HeightRulerScene.d.ts +0 -0
- /package/lib/{@openglobus/js/control → control}/heightRuler/HeightRulerSwitcher.d.ts +0 -0
- /package/lib/{@openglobus/js/control → control}/ruler/Ruler.d.ts +0 -0
- /package/lib/{@openglobus/js/control → control}/ruler/RulerScene.d.ts +0 -0
- /package/lib/{@openglobus/js/control → control}/selection/Selection.d.ts +0 -0
- /package/lib/{@openglobus/js/control → control}/selection/SelectionScene.d.ts +0 -0
- /package/lib/{@openglobus/js/control → control}/timeline/TimelineControl.d.ts +0 -0
- /package/lib/{@openglobus/js/control → control}/timeline/TimelineModel.d.ts +0 -0
- /package/lib/{@openglobus/js/control → control}/timeline/TimelineView.d.ts +0 -0
- /package/lib/{@openglobus/js/control → control}/timeline/timelineUtils.d.ts +0 -0
- /package/lib/{js/control → control}/visibleExtent/VisibleExtent.d.ts +0 -0
- /package/lib/{@openglobus/js/control → control}/visibleExtent/drawnode.d.ts +0 -0
- /package/lib/{@openglobus/js/ellipsoid → ellipsoid}/Ellipsoid.d.ts +0 -0
- /package/lib/{@openglobus/js/ellipsoid → ellipsoid}/index.d.ts +0 -0
- /package/lib/{@openglobus/js/ellipsoid → ellipsoid}/mars.d.ts +0 -0
- /package/lib/{@openglobus/js/ellipsoid → ellipsoid}/moon.d.ts +0 -0
- /package/lib/{@openglobus/js/ellipsoid → ellipsoid}/wgs84.d.ts +0 -0
- /package/lib/{@openglobus/js/entity → entity}/BaseBillboard.d.ts +0 -0
- /package/lib/{@openglobus/js/entity → entity}/BaseBillboardHandler.d.ts +0 -0
- /package/lib/{@openglobus/js/entity → entity}/Billboard.d.ts +0 -0
- /package/lib/{@openglobus/js/entity → entity}/BillboardHandler.d.ts +0 -0
- /package/lib/{@openglobus/js/entity → entity}/Entity.d.ts +0 -0
- /package/lib/{@openglobus/js/entity → entity}/EntityCollection.d.ts +0 -0
- /package/lib/{@openglobus/js/entity → entity}/GeoObject.d.ts +0 -0
- /package/lib/{@openglobus/js/entity → entity}/GeoObjectHandler.d.ts +0 -0
- /package/lib/{@openglobus/js/entity → entity}/Geometry.d.ts +0 -0
- /package/lib/{@openglobus/js/entity → entity}/GeometryHandler.d.ts +0 -0
- /package/lib/{@openglobus/js/entity → entity}/InstanceData.d.ts +0 -0
- /package/lib/{@openglobus/js/entity → entity}/Label.d.ts +0 -0
- /package/lib/{@openglobus/js/entity → entity}/LabelHandler.d.ts +0 -0
- /package/lib/{@openglobus/js/entity → entity}/LabelWorker.d.ts +0 -0
- /package/lib/{@openglobus/js/entity → entity}/PointCloud.d.ts +0 -0
- /package/lib/{@openglobus/js/entity → entity}/PointCloudHandler.d.ts +0 -0
- /package/lib/{@openglobus/js/entity → entity}/Polyline.d.ts +0 -0
- /package/lib/{@openglobus/js/entity → entity}/PolylineHandler.d.ts +0 -0
- /package/lib/{@openglobus/js/entity → entity}/Ray.d.ts +0 -0
- /package/lib/{@openglobus/js/entity → entity}/RayHandler.d.ts +0 -0
- /package/lib/{@openglobus/js/entity → entity}/Strip.d.ts +0 -0
- /package/lib/{@openglobus/js/entity → entity}/StripHandler.d.ts +0 -0
- /package/lib/{@openglobus/js/entity → entity}/index.d.ts +0 -0
- /package/lib/{@openglobus/js/input → input}/KeyboardHandler.d.ts +0 -0
- /package/lib/{@openglobus/js/input → input}/MouseHandler.d.ts +0 -0
- /package/lib/{@openglobus/js/input → input}/TouchHandler.d.ts +0 -0
- /package/lib/{@openglobus/js/input → input}/input.d.ts +0 -0
- /package/lib/{@openglobus/js/layer → layer}/BaseGeoImage.d.ts +0 -0
- /package/lib/{@openglobus/js/layer → layer}/Bing.d.ts +0 -0
- /package/lib/{@openglobus/js/layer → layer}/CanvasTiles.d.ts +0 -0
- /package/lib/{@openglobus/js/layer → layer}/GeoImage.d.ts +0 -0
- /package/lib/{@openglobus/js/layer → layer}/GeoTexture2d.d.ts +0 -0
- /package/lib/{@openglobus/js/layer → layer}/GeoVideo.d.ts +0 -0
- /package/lib/{@openglobus/js/layer → layer}/KML.d.ts +0 -0
- /package/lib/{@openglobus/js/layer → layer}/Layer.d.ts +0 -0
- /package/lib/{@openglobus/js/layer → layer}/Material.d.ts +0 -0
- /package/lib/{@openglobus/js/layer → layer}/OpenStreetMap.d.ts +0 -0
- /package/lib/{@openglobus/js/layer → layer}/Vector.d.ts +0 -0
- /package/lib/{@openglobus/js/layer → layer}/WMS.d.ts +0 -0
- /package/lib/{@openglobus/js/layer → layer}/XYZ.d.ts +0 -0
- /package/lib/{@openglobus/js/layer → layer}/index.d.ts +0 -0
- /package/lib/{@openglobus/js/light → light}/LightSource.d.ts +0 -0
- /package/lib/{@openglobus/js/math → math}/Line2.d.ts +0 -0
- /package/lib/{@openglobus/js/math → math}/Line3.d.ts +0 -0
- /package/lib/{@openglobus/js/math → math}/Mat3.d.ts +0 -0
- /package/lib/{@openglobus/js/math → math}/Mat4.d.ts +0 -0
- /package/lib/{@openglobus/js/math → math}/Plane.d.ts +0 -0
- /package/lib/{@openglobus/js/math → math}/Quat.d.ts +0 -0
- /package/lib/{@openglobus/js/math → math}/Ray.d.ts +0 -0
- /package/lib/{@openglobus/js/math → math}/Vec2.d.ts +0 -0
- /package/lib/{@openglobus/js/math → math}/Vec3.d.ts +0 -0
- /package/lib/{@openglobus/js/math → math}/Vec4.d.ts +0 -0
- /package/lib/{@openglobus/js/math → math}/coder.d.ts +0 -0
- /package/lib/{@openglobus/js/math → math}/index.d.ts +0 -0
- /package/lib/{@openglobus/js/math.d.ts → math.d.ts} +0 -0
- /package/lib/{@openglobus/js/mercator.d.ts → mercator.d.ts} +0 -0
- /package/lib/{@openglobus/js/proj → proj}/EPSG3857.d.ts +0 -0
- /package/lib/{@openglobus/js/proj → proj}/EPSG4326.d.ts +0 -0
- /package/lib/{@openglobus/js/proj → proj}/Proj.d.ts +0 -0
- /package/lib/{@openglobus/js/proj → proj}/equi.d.ts +0 -0
- /package/lib/{@openglobus/js/quadTree → quadTree}/EPSG4326/EPSG4326QuadTreeStrategy.d.ts +0 -0
- /package/lib/{@openglobus/js/quadTree → quadTree}/EntityCollectionNode.d.ts +0 -0
- /package/lib/{@openglobus/js/quadTree → quadTree}/EntityCollectionsTreeStrategy.d.ts +0 -0
- /package/lib/{@openglobus/js/quadTree → quadTree}/Node.d.ts +0 -0
- /package/lib/{@openglobus/js/quadTree → quadTree}/QuadTreeStrategy.d.ts +0 -0
- /package/lib/{@openglobus/js/quadTree → quadTree}/earth/EarthEntityCollectionNodeLonLat.d.ts +0 -0
- /package/lib/{@openglobus/js/quadTree → quadTree}/earth/EarthEntityCollectionsTreeStrategy.d.ts +0 -0
- /package/lib/{@openglobus/js/quadTree → quadTree}/earth/EarthQuadTreeStrategy.d.ts +0 -0
- /package/lib/{@openglobus/js/quadTree → quadTree}/equi/EquiEntityCollectionNodeLonLat.d.ts +0 -0
- /package/lib/{@openglobus/js/quadTree → quadTree}/equi/EquiEntityCollectionsTreeStrategy.d.ts +0 -0
- /package/lib/{@openglobus/js/quadTree → quadTree}/equi/EquiQuadTreeStrategy.d.ts +0 -0
- /package/lib/{@openglobus/js/quadTree → quadTree}/index.d.ts +0 -0
- /package/lib/{@openglobus/js/quadTree → quadTree}/quadTree.d.ts +0 -0
- /package/lib/{@openglobus/js/quadTree → quadTree}/wgs84/Wgs84QuadTreeStrategy.d.ts +0 -0
- /package/lib/{@openglobus/js/renderer → renderer}/RendererEvents.d.ts +0 -0
- /package/lib/{@openglobus/res → res}/fonts/Ephesis-Regular.json +0 -0
- /package/lib/{@openglobus/res → res}/fonts/Ephesis-Regular.ttf.cfg +0 -0
- /package/lib/{@openglobus/res → res}/fonts/Ephesis-Regular.ttf.png +0 -0
- /package/lib/{@openglobus/res → res}/fonts/Karla-Bold.json +0 -0
- /package/lib/{@openglobus/res → res}/fonts/Karla-Bold.ttf.cfg +0 -0
- /package/lib/{@openglobus/res → res}/fonts/Karla-Bold.ttf.png +0 -0
- /package/lib/{@openglobus/res → res}/fonts/Karla-Light.json +0 -0
- /package/lib/{@openglobus/res → res}/fonts/Karla-Light.ttf.cfg +0 -0
- /package/lib/{@openglobus/res → res}/fonts/Karla-Light.ttf.png +0 -0
- /package/lib/{@openglobus/res → res}/fonts/Karla-Medium.json +0 -0
- /package/lib/{@openglobus/res → res}/fonts/Karla-Medium.ttf.cfg +0 -0
- /package/lib/{@openglobus/res → res}/fonts/Karla-Medium.ttf.png +0 -0
- /package/lib/{@openglobus/res → res}/fonts/NotoSansArabic-Regular.json +0 -0
- /package/lib/{@openglobus/res → res}/fonts/NotoSansArabic-Regular.ttf.cfg +0 -0
- /package/lib/{@openglobus/res → res}/fonts/NotoSansArabic-Regular.ttf.png +0 -0
- /package/lib/{@openglobus/res → res}/fonts/Roboto-Regular.json +0 -0
- /package/lib/{@openglobus/res → res}/fonts/Roboto-Regular.ttf.cfg +0 -0
- /package/lib/{@openglobus/res → res}/fonts/Roboto-Regular.ttf.png +0 -0
- /package/lib/{@openglobus/res → res}/fonts/arial.js +0 -0
- /package/lib/{@openglobus/res → res}/fonts/arial.json +0 -0
- /package/lib/{@openglobus/res → res}/fonts/arial.ttf.cfg +0 -0
- /package/lib/{@openglobus/res → res}/fonts/arial.ttf.png +0 -0
- /package/lib/{@openglobus/res → res}/night-4326.png +0 -0
- /package/lib/{@openglobus/res → res}/night.png +0 -0
- /package/lib/{@openglobus/res → res}/spec.png +0 -0
- /package/lib/{@openglobus/js/scene → scene}/Axes.d.ts +0 -0
- /package/lib/{@openglobus/js/scene → scene}/BaseNode.d.ts +0 -0
- /package/lib/{@openglobus/js/scene → scene}/RenderNode.d.ts +0 -0
- /package/lib/{@openglobus/js/scene → scene}/SkyBox.d.ts +0 -0
- /package/lib/{@openglobus/js/scene → scene}/index.d.ts +0 -0
- /package/lib/{@openglobus/js/segment → segment}/SegmentLonLat.d.ts +0 -0
- /package/lib/{@openglobus/js/segment → segment}/SegmentLonLatEqui.d.ts +0 -0
- /package/lib/{@openglobus/js/segment → segment}/Slice.d.ts +0 -0
- /package/lib/{@openglobus/js/shaders → shaders}/depth.d.ts +0 -0
- /package/lib/{@openglobus/js/shaders → shaders}/pointCloud.d.ts +0 -0
- /package/lib/{@openglobus/js/shaders → shaders}/screenFrame.d.ts +0 -0
- /package/lib/{@openglobus/js/shaders → shaders}/skybox.d.ts +0 -0
- /package/lib/{@openglobus/js/terrain → terrain}/BilTerrain.d.ts +0 -0
- /package/lib/{@openglobus/js/terrain → terrain}/EmptyTerrain.d.ts +0 -0
- /package/lib/{@openglobus/js/terrain → terrain}/Geoid.d.ts +0 -0
- /package/lib/{@openglobus/js/terrain → terrain}/GlobusRgbTerrain.d.ts +0 -0
- /package/lib/{@openglobus/js/terrain → terrain}/GlobusTerrain.d.ts +0 -0
- /package/lib/{@openglobus/js/terrain → terrain}/RgbTerrain.d.ts +0 -0
- /package/lib/{@openglobus/js/terrain → terrain}/index.d.ts +0 -0
- /package/lib/{@openglobus/js/ui → ui}/Button.d.ts +0 -0
- /package/lib/{@openglobus/js/ui → ui}/ButtonGroup.d.ts +0 -0
- /package/lib/{@openglobus/js/ui → ui}/Checkbox.d.ts +0 -0
- /package/lib/{@openglobus/js/ui → ui}/Color.d.ts +0 -0
- /package/lib/{@openglobus/js/ui → ui}/Input.d.ts +0 -0
- /package/lib/{@openglobus/js/ui → ui}/Slider.d.ts +0 -0
- /package/lib/{@openglobus/js/ui → ui}/ToggleButton.d.ts +0 -0
- /package/lib/{@openglobus/js/ui → ui}/icons.d.ts +0 -0
- /package/lib/{@openglobus/js/utils → utils}/FontAtlas.d.ts +0 -0
- /package/lib/{@openglobus/js/utils → utils}/GeoImageCreator.d.ts +0 -0
- /package/lib/{@openglobus/js/utils → utils}/ImagesCacheManager.d.ts +0 -0
- /package/lib/{@openglobus/js/utils → utils}/Loader.d.ts +0 -0
- /package/lib/{@openglobus/js/utils → utils}/NormalMapCreator.d.ts +0 -0
- /package/lib/{@openglobus/js/utils → utils}/PlainSegmentWorker.d.ts +0 -0
- /package/lib/{@openglobus/js/utils → utils}/TerrainWorker.d.ts +0 -0
- /package/lib/{@openglobus/js/utils → utils}/TextureAtlas.d.ts +0 -0
- /package/lib/{@openglobus/js/utils → utils}/VectorTileCreator.d.ts +0 -0
- /package/lib/{@openglobus/js/utils → utils}/colorTable.d.ts +0 -0
- /package/lib/{@openglobus/js/utils → utils}/earcut.d.ts +0 -0
- /package/lib/{@openglobus/js/utils → utils}/units.d.ts +0 -0
- /package/lib/{@openglobus/js/webgl → webgl}/BaseFramebuffer.d.ts +0 -0
- /package/lib/{@openglobus/js/webgl → webgl}/Multisample.d.ts +0 -0
- /package/lib/{@openglobus/js/webgl → webgl}/Program.d.ts +0 -0
- /package/lib/{@openglobus/js/webgl → webgl}/ProgramController.d.ts +0 -0
- /package/lib/{@openglobus/js/webgl → webgl}/index.d.ts +0 -0
- /package/lib/{@openglobus/js/webgl → webgl}/types.d.ts +0 -0
- /package/lib/{@openglobus/js/webgl → webgl}/variableHandlers.d.ts +0 -0
|
@@ -1,145 +0,0 @@
|
|
|
1
|
-
import { Control } from "./control/Control";
|
|
2
|
-
import { Ellipsoid } from "./ellipsoid/Ellipsoid";
|
|
3
|
-
import { EmptyTerrain } from "./terrain/EmptyTerrain";
|
|
4
|
-
import { Layer } from "./layer/Layer";
|
|
5
|
-
import type { NumberArray2 } from "./math/Vec2";
|
|
6
|
-
import type { NumberArray4 } from "./math/Vec4";
|
|
7
|
-
import { Planet } from "./scene/Planet";
|
|
8
|
-
import { Sun } from "./control/Sun";
|
|
9
|
-
import { Renderer } from "./renderer/Renderer";
|
|
10
|
-
import type { HTMLDivElementExt } from "./renderer/Renderer";
|
|
11
|
-
import { RenderNode } from "./scene/RenderNode";
|
|
12
|
-
import { Extent } from "./Extent";
|
|
13
|
-
import type { IAtmosphereParams } from "./control/Atmosphere";
|
|
14
|
-
export interface IGlobeParams {
|
|
15
|
-
attributionContainer?: HTMLElement;
|
|
16
|
-
target?: string | HTMLElement;
|
|
17
|
-
skybox?: RenderNode;
|
|
18
|
-
dpi?: number;
|
|
19
|
-
msaa?: number;
|
|
20
|
-
name?: string;
|
|
21
|
-
frustums?: NumberArray2[];
|
|
22
|
-
ellipsoid?: Ellipsoid;
|
|
23
|
-
maxGridSize?: number;
|
|
24
|
-
nightTextureSrc?: string | null;
|
|
25
|
-
specularTextureSrc?: string | null;
|
|
26
|
-
minAltitude?: number;
|
|
27
|
-
maxAltitude?: number;
|
|
28
|
-
maxEqualZoomAltitude?: number;
|
|
29
|
-
minEqualZoomAltitude?: number;
|
|
30
|
-
minEqualZoomCameraSlope?: number;
|
|
31
|
-
quadTreeStrategyPrototype?: any;
|
|
32
|
-
maxLoadingRequests?: number;
|
|
33
|
-
atmosphereEnabled?: boolean;
|
|
34
|
-
transitionOpacityEnabled?: boolean;
|
|
35
|
-
terrain?: EmptyTerrain;
|
|
36
|
-
controls?: Control[];
|
|
37
|
-
minSlope?: number;
|
|
38
|
-
sun?: {
|
|
39
|
-
active?: boolean;
|
|
40
|
-
stopped?: boolean;
|
|
41
|
-
};
|
|
42
|
-
layers?: Layer[];
|
|
43
|
-
viewExtent?: Extent | NumberArray4;
|
|
44
|
-
autoActivate?: boolean;
|
|
45
|
-
fontsSrc?: string;
|
|
46
|
-
resourcesSrc?: string;
|
|
47
|
-
atmosphereParameters?: IAtmosphereParams;
|
|
48
|
-
gamma?: number;
|
|
49
|
-
exposure?: number;
|
|
50
|
-
}
|
|
51
|
-
/**
|
|
52
|
-
* @typedef {Array<number>} LonLatCoordinate
|
|
53
|
-
* @typedef {Array<LonLatCoordinate>} ExtentBoundingBox
|
|
54
|
-
*/
|
|
55
|
-
/**
|
|
56
|
-
* Creates a WebGL context with globe.
|
|
57
|
-
* @class
|
|
58
|
-
*
|
|
59
|
-
* @example <caption>Basic initialization</caption>
|
|
60
|
-
* globus = new Globe({
|
|
61
|
-
* 'atmosphere': false,
|
|
62
|
-
* 'target': 'globus',
|
|
63
|
-
* 'name': 'Earth',
|
|
64
|
-
* 'controls': [
|
|
65
|
-
* new control.MouseNavigation({ autoActivate: true }),
|
|
66
|
-
* new control.KeyboardNavigation({ autoActivate: true }),
|
|
67
|
-
* new control.EarthCoordinates({ autoActivate: true, center: false }),
|
|
68
|
-
* new control.LayerSwitcher({ autoActivate: true }),
|
|
69
|
-
* new control.ZoomControl({ autoActivate: true }),
|
|
70
|
-
* new control.TouchNavigation({ autoActivate: true }),
|
|
71
|
-
* new control.Sun({ autoActivate: true })
|
|
72
|
-
* ],
|
|
73
|
-
* 'terrain': new GlobusTerrain(),
|
|
74
|
-
* 'layers': [
|
|
75
|
-
* new XYZ("OpenStreetMap", { isBaseLayer: true, url: "http://b.tile.openstreetmap.org/{z}/{x}/{y}.png", visibility: true, attribution: 'Data @ <a href="http://www.openstreetmap.org/">OpenStreetMap</a> contributors, <a href="http://www.openstreetmap.org/copyright">ODbL</a>' })
|
|
76
|
-
* ],
|
|
77
|
-
* 'autoActivate': true
|
|
78
|
-
* });
|
|
79
|
-
*
|
|
80
|
-
* @param {IGlobeParams} options - Options:
|
|
81
|
-
* @param {string|HTMLElement} options.target - HTML element id where planet canvas have to be created.
|
|
82
|
-
* @param {string} [options.name] - Planet name. Default is uniq identifier.
|
|
83
|
-
* @param {EmptyTerrain} [options.terrain] - Terrain provider. Default no terrain - og.terrain.EmptyTerrain.
|
|
84
|
-
* @param {Array.<Control>} [options.controls] - Renderer controls array.
|
|
85
|
-
* @param {Array.<Layer>} [options.layers] - Planet layers.
|
|
86
|
-
* @param {Extent | ExtentBoundingBox} [options.viewExtent] [options.viewExtent] - Viewable starting extent.
|
|
87
|
-
* @param {boolean} [options.autoActivate=true] - Globe rendering auto activation flag. True is default.
|
|
88
|
-
* @param {HTMLElement} [options.attributionContainer] - Container for attribution list.
|
|
89
|
-
* @param {number} [options.maxGridSize=128] = Maximal segment grid size. 128 is default
|
|
90
|
-
* @param {string} [options.fontsSrc] - Fonts collection url.
|
|
91
|
-
* @param {string} [options.resourcesSrc] - Resources root src.
|
|
92
|
-
* @param {string} [options.nightTextureSrc] - Night glowing image sources
|
|
93
|
-
* @param {string} [options.specularTextureSrc] - Specular water mask image sourcr
|
|
94
|
-
* @param {number} [options.maxAltitude=15000000.0] - Maximal camera altitude above terrain
|
|
95
|
-
* @param {number} [options.minAltitude=1.0] - Minimal camera altitude above terrain
|
|
96
|
-
* @param {number} [options.maxEqualZoomAltitude=15000000.0] - Maximal altitude since segments on the screen became the same zoom level
|
|
97
|
-
* @param {number} [options.minEqualZoomAltitude=10000.0] - Minimal altitude since segments on the screen became the same zoom level
|
|
98
|
-
* @param {number} [options.minEqualZoomCameraSlope=0.8] - Minimal camera slope above te globe where segments on the screen became the same zoom level
|
|
99
|
-
* @param {number} [options.loadingBatchSize=12] -
|
|
100
|
-
* @param {number} [options.quadTreeStrategyPrototype] - Prototype of quadTree. QuadTreeStrategy for Earth is default.
|
|
101
|
-
* @param {number} [options.msaa=0] - MSAA antialiasing parameter: 2,4,8,16. Default is 0.
|
|
102
|
-
* @param {number} [options.dpi] - Device pixel ratio. Default is current screen DPI.
|
|
103
|
-
* @param {boolean} [options.atmosphereEnabled] - Enables atmosphere effect.
|
|
104
|
-
* @param {boolean} [options.transtitionOpacityEnabled] - Enables terrain smooth opacity transition effect.
|
|
105
|
-
* @param {IAtmosphereParams} [options.atmosphereParameters] - Atmosphere model parameters.
|
|
106
|
-
* @param {number} [options.gamma] - Gamma
|
|
107
|
-
* @param {number} [options.exposure] - Exposure
|
|
108
|
-
*/
|
|
109
|
-
declare class Globe {
|
|
110
|
-
static __counter__: number;
|
|
111
|
-
$target: HTMLElement | null;
|
|
112
|
-
protected _instanceID: string;
|
|
113
|
-
protected _canvas: HTMLCanvasElement;
|
|
114
|
-
$inner: HTMLDivElementExt;
|
|
115
|
-
/**
|
|
116
|
-
* Interface for the renderer context(events, input states, renderer nodes etc.)
|
|
117
|
-
* @public
|
|
118
|
-
* @type {Renderer}
|
|
119
|
-
*/
|
|
120
|
-
renderer: Renderer;
|
|
121
|
-
/**
|
|
122
|
-
* Planet node name. Access with this.renderer.<name>
|
|
123
|
-
* @private
|
|
124
|
-
* @type {String}
|
|
125
|
-
*/
|
|
126
|
-
protected _planetName: string;
|
|
127
|
-
planet: Planet;
|
|
128
|
-
sun: Sun;
|
|
129
|
-
constructor(options: IGlobeParams);
|
|
130
|
-
start(): void;
|
|
131
|
-
/**
|
|
132
|
-
* Starts screen brightness fading in effect by the duration time.
|
|
133
|
-
* @public
|
|
134
|
-
*/
|
|
135
|
-
fadeIn(): void;
|
|
136
|
-
/**
|
|
137
|
-
* Starts screen brightness fading out effect by the duration time.
|
|
138
|
-
* @public
|
|
139
|
-
*/
|
|
140
|
-
fadeOut(): void;
|
|
141
|
-
attachTo(target: HTMLElement | string, isFirst?: boolean): void;
|
|
142
|
-
detach(): void;
|
|
143
|
-
destroy(): void;
|
|
144
|
-
}
|
|
145
|
-
export { Globe };
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
import type { TypedArray } from './utils/shared';
|
|
2
|
-
import { Vec3 } from './math/Vec3';
|
|
3
|
-
import type { NumberArray3 } from './math/Vec3';
|
|
4
|
-
import { Mat4 } from "./math/Mat4";
|
|
5
|
-
interface IObject3dParams {
|
|
6
|
-
name?: string;
|
|
7
|
-
vertices?: number[];
|
|
8
|
-
texCoords?: number[];
|
|
9
|
-
indices?: number[];
|
|
10
|
-
normals?: number[];
|
|
11
|
-
center?: boolean;
|
|
12
|
-
color?: number[] | TypedArray | string;
|
|
13
|
-
scale?: number | Vec3;
|
|
14
|
-
ambient?: string | NumberArray3;
|
|
15
|
-
diffuse?: string | NumberArray3;
|
|
16
|
-
specular?: string | NumberArray3;
|
|
17
|
-
shininess?: number;
|
|
18
|
-
colorTexture?: string;
|
|
19
|
-
normalTexture?: string;
|
|
20
|
-
metallicRoughnessTexture?: string;
|
|
21
|
-
}
|
|
22
|
-
declare class Object3d {
|
|
23
|
-
protected _name: string;
|
|
24
|
-
protected _vertices: number[];
|
|
25
|
-
protected _numVertices: number;
|
|
26
|
-
protected _texCoords: number[];
|
|
27
|
-
protected _indices: number[];
|
|
28
|
-
protected _normals: number[];
|
|
29
|
-
color: Float32Array;
|
|
30
|
-
ambient: Float32Array;
|
|
31
|
-
diffuse: Float32Array;
|
|
32
|
-
specular: Float32Array;
|
|
33
|
-
shininess: number;
|
|
34
|
-
colorTexture: string;
|
|
35
|
-
normalTexture: string;
|
|
36
|
-
metallicRoughnessTexture: string;
|
|
37
|
-
center: Vec3;
|
|
38
|
-
constructor(data?: IObject3dParams);
|
|
39
|
-
static getCenter(verts: number[]): Vec3;
|
|
40
|
-
static centering(verts: number[]): void;
|
|
41
|
-
centering(): this;
|
|
42
|
-
applyMat4(m: Mat4): this;
|
|
43
|
-
scale(s: Vec3): this;
|
|
44
|
-
translate(v: Vec3): this;
|
|
45
|
-
get name(): string;
|
|
46
|
-
get vertices(): number[];
|
|
47
|
-
get normals(): number[];
|
|
48
|
-
get indices(): number[];
|
|
49
|
-
get texCoords(): number[];
|
|
50
|
-
get numVertices(): number;
|
|
51
|
-
static scale(vertices: number[], s: Vec3): void;
|
|
52
|
-
static centroid(vertices: number[]): number[];
|
|
53
|
-
static translate(vertices: number[], v: NumberArray3): void;
|
|
54
|
-
static getNormals(vertices: number[]): number[];
|
|
55
|
-
static createSphere(lonBands?: number, latBands?: number, radius?: number, offsetX?: number, offsetY?: number, offsetZ?: number): Object3d;
|
|
56
|
-
static createDisc(radius?: number, height?: number, radialSegments?: number, isTop?: boolean, startIndex?: number, offsetX?: number, offsetY?: number, offsetZ?: number): Object3d;
|
|
57
|
-
/**
|
|
58
|
-
* Returns scale parameters for a frustum geoObject created with only Object3d.createFrustum();
|
|
59
|
-
* @param length
|
|
60
|
-
* @param horizontalAngle
|
|
61
|
-
* @param verticalAngle
|
|
62
|
-
*/
|
|
63
|
-
static getFrustumScaleByCameraAngles(length: number, horizontalAngle: number, verticalAngle: number): Vec3;
|
|
64
|
-
/**
|
|
65
|
-
* Returns scale parameters for a frustum geoObject created with only Object3d.createFrustum();
|
|
66
|
-
* @param length
|
|
67
|
-
* @param horizontalAngle
|
|
68
|
-
* @param aspectRatio
|
|
69
|
-
*/
|
|
70
|
-
static getFrustumScaleByCameraAspectRatio(length: number, horizontalAngle: number, aspectRatio: number): Vec3;
|
|
71
|
-
static createFrustum(length?: number, width?: number, height?: number, xOffset?: number, yOffset?: number, zOffset?: number): Object3d;
|
|
72
|
-
static createCylinder(radiusTop?: number, radiusBottom?: number, height?: number, radialSegments?: number, heightSegments?: number, isTop?: boolean, isBottom?: boolean, offsetX?: number, offsetY?: number, offsetZ?: number): Object3d;
|
|
73
|
-
static createCube(length?: number, height?: number, depth?: number, xOffset?: number, yOffset?: number, zOffset?: number): Object3d;
|
|
74
|
-
static createPlane(width?: number, height?: number, xOffset?: number, yOffset?: number, zOffset?: number): Object3d;
|
|
75
|
-
static createArrow(back?: number, height?: number, front?: number): Object3d;
|
|
76
|
-
static readFileObj(objFile: File, mtlFile?: File): Promise<Object3d[]>;
|
|
77
|
-
static loadObj(src: string): Promise<Object3d[]>;
|
|
78
|
-
merge(other: Object3d): Object3d;
|
|
79
|
-
static merge(objects: Object3d[], maxSize?: number): Object3d;
|
|
80
|
-
}
|
|
81
|
-
export { Object3d };
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { type AtmosphereParameters } from "../shaders/atmos";
|
|
2
|
-
import { Framebuffer } from "../webgl/Framebuffer";
|
|
3
|
-
import { Control, type IControlParams } from "./Control";
|
|
4
|
-
import type { NumberArray3 } from '../math/Vec3';
|
|
5
|
-
export interface IAtmosphereParams extends IControlParams {
|
|
6
|
-
height?: number;
|
|
7
|
-
rayleighScale?: number;
|
|
8
|
-
mieScale?: number;
|
|
9
|
-
groundAlbedo?: number;
|
|
10
|
-
bottomRadius?: number;
|
|
11
|
-
rayleighScatteringCoefficient?: NumberArray3;
|
|
12
|
-
mieScatteringCoefficient?: number;
|
|
13
|
-
mieExtinctionCoefficient?: number;
|
|
14
|
-
ozoneAbsorptionCoefficient?: NumberArray3;
|
|
15
|
-
sunAngularRadius?: number;
|
|
16
|
-
sunIntensity?: number;
|
|
17
|
-
ozoneDensityHeight?: number;
|
|
18
|
-
ozoneDensityWide?: number;
|
|
19
|
-
}
|
|
20
|
-
export declare class Atmosphere extends Control {
|
|
21
|
-
_transmittanceBuffer: Framebuffer | null;
|
|
22
|
-
_scatteringBuffer: Framebuffer | null;
|
|
23
|
-
opacity: number;
|
|
24
|
-
protected _parameters: AtmosphereParameters;
|
|
25
|
-
constructor(options?: IAtmosphereParams);
|
|
26
|
-
setParameters(parameters: AtmosphereParameters): void;
|
|
27
|
-
get parameters(): AtmosphereParameters;
|
|
28
|
-
initPlanetAtmosphereShader(): void;
|
|
29
|
-
oninit(): void;
|
|
30
|
-
initLookupTexturesShaders(): void;
|
|
31
|
-
initBackgroundShader(): void;
|
|
32
|
-
removeBackgroundShader(): void;
|
|
33
|
-
removeLookupTexturesShaders(): void;
|
|
34
|
-
onactivate(): void;
|
|
35
|
-
ondeactivate(): void;
|
|
36
|
-
protected _initLookupTextures(): void;
|
|
37
|
-
protected _renderLookupTextures(): void;
|
|
38
|
-
drawLookupTextures(): void;
|
|
39
|
-
protected _drawBackground(): void;
|
|
40
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { Control, type IControlParams } from "./Control";
|
|
2
|
-
interface IKeyboardNavigationParams extends IControlParams {
|
|
3
|
-
step?: number;
|
|
4
|
-
}
|
|
5
|
-
/**
|
|
6
|
-
* Planet camera keyboard navigation. Use W,S,A,D and left shift key for fly around a planet.
|
|
7
|
-
*/
|
|
8
|
-
export declare class KeyboardNavigation extends Control {
|
|
9
|
-
step: number;
|
|
10
|
-
constructor(options?: IKeyboardNavigationParams);
|
|
11
|
-
onactivate(): void;
|
|
12
|
-
ondeactivate(): void;
|
|
13
|
-
oninit(): void;
|
|
14
|
-
protected onCameraMoveForward(): void;
|
|
15
|
-
protected onCameraMoveBackward(): void;
|
|
16
|
-
protected onCameraStrifeLeft(): void;
|
|
17
|
-
protected onCameraStrifeRight(): void;
|
|
18
|
-
protected onCameraLookUp(): void;
|
|
19
|
-
protected onCameraLookDown(): void;
|
|
20
|
-
protected onCameraLookLeft(): void;
|
|
21
|
-
protected onCameraLookRight(): void;
|
|
22
|
-
protected onCameraTurnLeft(): void;
|
|
23
|
-
protected onCameraTurnRight(): void;
|
|
24
|
-
protected onCameraRollNorth(): void;
|
|
25
|
-
protected onCameraRollLeft(): void;
|
|
26
|
-
protected onCameraRollRight(): void;
|
|
27
|
-
}
|
|
28
|
-
export {};
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
export * from "./CompassButton";
|
|
2
|
-
export * from "./Control";
|
|
3
|
-
export * from "./DebugInfo";
|
|
4
|
-
export * from "./DrawingSwitcher";
|
|
5
|
-
export * from "./EarthCoordinates";
|
|
6
|
-
export * from "./GeoImageDragControl";
|
|
7
|
-
export * from "./KeyboardNavigation";
|
|
8
|
-
export * from "./LayerAnimation";
|
|
9
|
-
export * from "./LayerSwitcher";
|
|
10
|
-
export * from "./Lighting";
|
|
11
|
-
export * from "./OldMouseNavigation";
|
|
12
|
-
export * from "./MouseNavigation";
|
|
13
|
-
export * from "./RulerSwitcher";
|
|
14
|
-
export * from "./ScaleControl";
|
|
15
|
-
export * from "./ShowFps";
|
|
16
|
-
export * from "./SimpleNavigation";
|
|
17
|
-
export * from "./SimpleSkyBackground";
|
|
18
|
-
export * from "./Sun";
|
|
19
|
-
export * from "./ToggleWireframe";
|
|
20
|
-
export * from "./TouchNavigation";
|
|
21
|
-
export * from "./ZoomControl";
|
|
22
|
-
export * from "./drawing/DrawingControl";
|
|
23
|
-
export * from "./heightRuler/HeightRuler";
|
|
24
|
-
export * from "./ruler/Ruler";
|
|
25
|
-
export * from "./selection/Selection";
|
|
26
|
-
export * from "./timeline/TimelineControl";
|
|
27
|
-
export * from "./elevationProfile/ElevationProfileControl";
|
|
28
|
-
export * from "./AtmosphereConfig";
|
|
29
|
-
export * from "./geoObjectEditor/GeoObjectEditor";
|
|
30
|
-
export * from "./CameraLock";
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @module og/segment/SegmentHelper
|
|
3
|
-
*/
|
|
4
|
-
type IndexTypeArray = Uint32Array;
|
|
5
|
-
type IndexesTable = [IndexTypeArray[][], IndexTypeArray[][], IndexTypeArray[][], IndexTypeArray[][]];
|
|
6
|
-
declare class SegmentHelper {
|
|
7
|
-
protected _maxGridSize: number;
|
|
8
|
-
centerIndexesTable: IndexTypeArray[];
|
|
9
|
-
skirtsIndexesTable: IndexesTable;
|
|
10
|
-
constructor(maxGridSize?: number);
|
|
11
|
-
get maxGridSize(): number;
|
|
12
|
-
init(): void;
|
|
13
|
-
setMaxGridSize(gridSize: number): void;
|
|
14
|
-
createSegmentIndexes(size: number, sidesSizes: [number, number, number, number]): Uint32Array;
|
|
15
|
-
initTextureCoordsTable(pow: number): Uint16Array[];
|
|
16
|
-
}
|
|
17
|
-
export declare function getInstance(): SegmentHelper;
|
|
18
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { AtmosphereParameters } from "./atmos";
|
|
2
|
-
import { Program } from "../webgl/Program";
|
|
3
|
-
export declare const ENCODE24 = "vec3 encode24(highp float f) {\n float F = abs(f);\n float s = step( 0.0, -f );\n float e = floor( log2(F) );\n float m = exp2(- e) * F;\n e = floor( log2(F) + 127.0 ) + floor( log2(m) );\n return vec3(\n ( 128.0 * s + floor( e * exp2(-1.0) ) ) / 255.0,\n ( 128.0 * mod( e, 2.0 ) + mod( floor( m * 128.0 ), 128.0 ) ) / 255.0,\n floor( mod( floor( m * exp2( 23.0 - 8.0) ), exp2(8.0) ) ) / 255.0);\n }";
|
|
4
|
-
export declare function drawnode_screen_nl(): Program;
|
|
5
|
-
export declare function drawnode_screen_wl_webgl1NoAtmos(): Program;
|
|
6
|
-
export declare function drawnode_screen_wl_webgl2NoAtmos(): Program;
|
|
7
|
-
export declare function drawnode_screen_wl_webgl2Atmos(atmosParams?: AtmosphereParameters): Program;
|
|
8
|
-
export declare function drawnode_colorPicking(): Program;
|
|
9
|
-
export declare function drawnode_heightPicking(): Program;
|
|
10
|
-
export declare function drawnode_depth(): Program;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const UTILS = "\n float getLerpValue(in float min, in float max, in float between)\n {\n return (clamp(between, min, max) - min) / (max - min);\n }\n \n vec3 aces(vec3 color) \n {\n float a = 2.51;\n float b = 0.03;\n float c = 2.43;\n float d = 0.59;\n float e = 0.14;\n return clamp((color * (a * color + b)) / (color * (c * color + d ) + e), 0.0, 1.0);\n }\n \n bool intersectSphere(vec3 rayOrigin, vec3 rayDirection, float radius, inout float t1, inout float t2) \n {\n float b = dot(rayDirection, rayOrigin);\n float c = dot(rayOrigin, rayOrigin) - radius * radius;\n float d = b * b - c;\n if (d < 0.0) {\n return false;\n }\n t1 = -b - sqrt(d);\n t2 = -b + sqrt(d);\n return true;\n }\n \n bool intersectSphere(vec3 rayOrigin, vec3 rayDirection, float radius, inout float t) \n {\n float b = dot(rayDirection, rayOrigin);\n float c = dot(rayOrigin, rayOrigin) - radius * radius;\n float d = b * b - c;\n if (d < 0.0) {\n return false;\n }\n t = -b - sqrt(d);\n return true;\n }\n \n float intersectSphere( vec3 ro, vec3 rd, vec4 sph )\n {\n vec3 oc = ro - sph.xyz;\n float b = dot( oc, rd );\n float c = dot( oc, oc ) - sph.w*sph.w;\n float h = b*b - c;\n if( h<0.0 ) return -1.0;\n h = sqrt( h );\n return -b - h;\n }\n \n bool intersectEllipsoid( in vec3 ro, in vec3 rd, in vec3 ra, inout float t )\n {\n vec3 ocn = ro/ra;\n vec3 rdn = rd/ra;\n float a = dot( rdn, rdn );\n float b = dot( ocn, rdn );\n float c = dot( ocn, ocn );\n float h = b*b - a*(c-1.0);\n \n if (h < 0.0) \n { \n return false; \n }\n \n t = (-b-sqrt(h))/a;\n \n return true;\n }\n \n bool intersectEllipsoid( in vec3 ro, in vec3 rd, in vec3 ra, inout float t1, inout float t2)\n {\n vec3 ocn = ro/ra;\n vec3 rdn = rd/ra;\n float a = dot( rdn, rdn );\n float b = dot( ocn, rdn );\n float c = dot( ocn, ocn );\n float h = b*b - a*(c-1.0);\n \n if (h < 0.0) \n { \n return false; \n }\n \n h = sqrt(h);\n t1 = (-b-h)/a;\n t2 = (-b+h)/a;\n \n return true;\n }\n \n vec3 normalEllipsoid( in vec3 pos, in vec3 ra )\n {\n return normalize( pos/(ra*ra) );\n }\n";
|
|
@@ -1,287 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @module og/utils/shared
|
|
3
|
-
*/
|
|
4
|
-
import { Extent } from "../Extent";
|
|
5
|
-
import { LonLat } from "../LonLat";
|
|
6
|
-
import { Vec2 } from "../math/Vec2";
|
|
7
|
-
import type { NumberArray2 } from "../math/Vec2";
|
|
8
|
-
import { Vec3 } from "../math/Vec3";
|
|
9
|
-
import type { NumberArray3 } from "../math/Vec3";
|
|
10
|
-
import { Vec4 } from "../math/Vec4";
|
|
11
|
-
import type { NumberArray4 } from "../math/Vec4";
|
|
12
|
-
import { Ellipsoid } from "../ellipsoid/Ellipsoid";
|
|
13
|
-
export declare function getDefault(param?: any, def?: any): boolean;
|
|
14
|
-
export declare function isEmpty(v: any): boolean;
|
|
15
|
-
/**
|
|
16
|
-
* Returns true if the object pointer is undefined.
|
|
17
|
-
* @function
|
|
18
|
-
* @param {Object} obj - Object pointer.
|
|
19
|
-
* @returns {boolean} Returns true if object is undefined.
|
|
20
|
-
*/
|
|
21
|
-
export declare function isUndef(obj?: any): boolean;
|
|
22
|
-
export declare function isUndefExt(obj: any, defVal: any): any;
|
|
23
|
-
export declare function stamp(obj: any): number;
|
|
24
|
-
export declare function isString(s: any): boolean;
|
|
25
|
-
export declare function rgbToStringHTML(rgb: NumberArray3 | Vec3): string;
|
|
26
|
-
/**
|
|
27
|
-
* Convert html color string to the RGBA number vector.
|
|
28
|
-
* @param {string} htmlColor - HTML string("#C6C6C6" or "#EF5" or "rgb(8,8,8)" or "rgba(8,8,8)") color.
|
|
29
|
-
* @param {number} [opacity] - Opacity for the output vector.
|
|
30
|
-
* @returns {Vec4} -
|
|
31
|
-
*/
|
|
32
|
-
export declare function htmlColorToRgba(htmlColor: string, opacity?: number): Vec4;
|
|
33
|
-
export declare function htmlColorToFloat32Array(htmlColor: string, opacity?: number): Float32Array;
|
|
34
|
-
/**
|
|
35
|
-
* Convert html color string to the RGB number vector.
|
|
36
|
-
* @param {string} htmlColor - HTML string("#C6C6C6" or "#EF5" or "rgb(8,8,8)" or "rgba(8,8,8)") color.
|
|
37
|
-
* @returns {Vec3} -
|
|
38
|
-
*/
|
|
39
|
-
export declare function htmlColorToRgb(htmlColor: string): Vec3;
|
|
40
|
-
/**
|
|
41
|
-
* Replace template substrings between '{' and '}' tokens.
|
|
42
|
-
* @param {string} template - String with templates in "{" and "}"
|
|
43
|
-
* @param {Object} params - Template named object with subsrtings.
|
|
44
|
-
* @returns {string} -
|
|
45
|
-
*
|
|
46
|
-
* @example <caption>Example from og.terrain that replaces tile indexes in url:</caption>
|
|
47
|
-
* var substrings = {
|
|
48
|
-
* "x": 12,
|
|
49
|
-
* "y": 15,
|
|
50
|
-
* "z": 8
|
|
51
|
-
* }
|
|
52
|
-
* og.utils.stringTemplate("http://earth3.openglobus.org/{z}/{y}/{x}.ddm", substrings);
|
|
53
|
-
* //returns http://earth3.openglobus.org/8/15/12.ddm
|
|
54
|
-
*/
|
|
55
|
-
export declare function stringTemplate(template: string, params?: any): string;
|
|
56
|
-
export declare function getHTML(template: string, params?: any): string;
|
|
57
|
-
export declare function parseHTML(htmlStr: string): HTMLElement[];
|
|
58
|
-
export declare function print2d(id: string, text: string, x: number, y: number): void;
|
|
59
|
-
export declare function isNumber(value: any): boolean;
|
|
60
|
-
export declare function defaultString(str?: string, def?: string): string;
|
|
61
|
-
export declare function createVector3(v?: number | Vec3 | Vec2 | NumberArray3 | NumberArray2 | null, def?: Vec3): Vec3;
|
|
62
|
-
export declare function createVector4(v?: Vec4 | NumberArray4 | null, def?: Vec4): Vec4;
|
|
63
|
-
export declare function createColorRGBA(c?: string | NumberArray4 | Vec4 | null, def?: Vec4): Vec4;
|
|
64
|
-
export declare function createColorRGB(c?: string | NumberArray3 | Vec3 | null, def?: Vec3): Vec3;
|
|
65
|
-
export declare function createExtent(e?: Extent | [[number, number], [number, number]] | null, def?: Extent): Extent;
|
|
66
|
-
export declare function createLonLat(l?: LonLat | NumberArray2 | NumberArray3, def?: LonLat): LonLat;
|
|
67
|
-
export declare function binarySearchFast(arr: number[] | TypedArray, x: number): number;
|
|
68
|
-
/**
|
|
69
|
-
* Finds an item in a sorted array.
|
|
70
|
-
* @param {any[]} ar The sorted array to search.
|
|
71
|
-
* @param {any} el The item to find in the array.
|
|
72
|
-
* @param {Function} compare_fn comparator The function to use to compare the item to
|
|
73
|
-
* elements in the array.
|
|
74
|
-
* @returns {number} a negative number if 'a' is less than 'b'; 0 if 'a' is equal to 'b'; 'a' positive number of 'a' is greater than 'b'.
|
|
75
|
-
*
|
|
76
|
-
* @example
|
|
77
|
-
* // Create a comparator function to search through an array of numbers.
|
|
78
|
-
* function comparator(a, b) {
|
|
79
|
-
* return a - b;
|
|
80
|
-
* };
|
|
81
|
-
* var numbers = [0, 2, 4, 6, 8];
|
|
82
|
-
* var index = og.utils.binarySearch(numbers, 6, comparator); // 3
|
|
83
|
-
*/
|
|
84
|
-
export declare function binarySearch(ar: any[], el: any, compare_fn: Function): number;
|
|
85
|
-
/**
|
|
86
|
-
* @todo: replace any with generic
|
|
87
|
-
* Binary insertion that uses binarySearch algorithm.
|
|
88
|
-
* @param {any[]} ar - The sorted array to insert.
|
|
89
|
-
* @param {any} el - The item to insert.
|
|
90
|
-
* @param {Function} compare_fn - comparator The function to use to compare the item to
|
|
91
|
-
* elements in the array.
|
|
92
|
-
* @returns {number} Array index position in which item inserted in.
|
|
93
|
-
*/
|
|
94
|
-
export declare function binaryInsert(ar: any[], el: any, compare_fn: Function): number;
|
|
95
|
-
/**
|
|
96
|
-
* Returns two segment lines intersection coordinate.
|
|
97
|
-
* @static
|
|
98
|
-
* @param {Vec2} start1 - First line first coordinate.
|
|
99
|
-
* @param {Vec2} end1 - First line second coordinate.
|
|
100
|
-
* @param {Vec2} start2 - Second line first coordinate.
|
|
101
|
-
* @param {Vec2} end2 - Second line second coordinate.
|
|
102
|
-
* @param {boolean} [isSegment] - Lines are segments.
|
|
103
|
-
* @return {Vec2} - Intersection coordinate.
|
|
104
|
-
*/
|
|
105
|
-
export declare function getLinesIntersection2v(start1: Vec2, end1: Vec2, start2: Vec2, end2: Vec2, isSegment: boolean): Vec2 | undefined;
|
|
106
|
-
/**
|
|
107
|
-
* Returns two segment lines intersection coordinate.
|
|
108
|
-
* @static
|
|
109
|
-
* @param {Vec2} start1 - First line first coordinate.
|
|
110
|
-
* @param {Vec2} end1 - First line second coordinate.
|
|
111
|
-
* @param {Vec2} start2 - Second line first coordinate.
|
|
112
|
-
* @param {Vec2} end2 - Second line second coordinate.
|
|
113
|
-
* @param {boolean} [isSegment=false] - Lines are segments.
|
|
114
|
-
* @return {Vec2} - Intersection coordinate.
|
|
115
|
-
*/
|
|
116
|
-
export declare function getLinesIntersectionLonLat(start1: LonLat, end1: LonLat, start2: LonLat, end2: LonLat, isSegment?: boolean): LonLat | undefined;
|
|
117
|
-
/**
|
|
118
|
-
* Converts XML to JSON
|
|
119
|
-
* @static
|
|
120
|
-
* @param {Object} xml - Xml object
|
|
121
|
-
* @return {Object} - Json converted object.
|
|
122
|
-
*/
|
|
123
|
-
export declare function xmlToJson(xml: any): any;
|
|
124
|
-
export declare const castType: {
|
|
125
|
-
string: (v: any) => any;
|
|
126
|
-
date: (v: any) => any;
|
|
127
|
-
datetime: (v: any) => any;
|
|
128
|
-
time: (v: any) => any;
|
|
129
|
-
integer: (v: any) => any;
|
|
130
|
-
float: (v: any) => any;
|
|
131
|
-
boolean: (str: any) => any;
|
|
132
|
-
};
|
|
133
|
-
export declare function base64toBlob(base64Data: string, contentType?: string): Blob;
|
|
134
|
-
export declare function base64StringToBlog(string: string): Blob;
|
|
135
|
-
/**
|
|
136
|
-
* Callback throttling
|
|
137
|
-
* @param {any} func
|
|
138
|
-
* @param {Number} limit
|
|
139
|
-
* @param {boolean} [skip]
|
|
140
|
-
*/
|
|
141
|
-
export declare function throttle(func: Function, limit: number, skip?: boolean): () => void;
|
|
142
|
-
/**
|
|
143
|
-
*
|
|
144
|
-
* y2-----Q12--------------Q22---
|
|
145
|
-
* | | | |
|
|
146
|
-
* | | | |
|
|
147
|
-
* y-------|-----P----------|----
|
|
148
|
-
* | | | |
|
|
149
|
-
* | | | |
|
|
150
|
-
* | | | |
|
|
151
|
-
* | | | |
|
|
152
|
-
* | | | |
|
|
153
|
-
* y1-----Q11----|---------Q21---
|
|
154
|
-
* | | |
|
|
155
|
-
* | | |
|
|
156
|
-
* x1 x x2
|
|
157
|
-
*
|
|
158
|
-
*
|
|
159
|
-
* @param {Number} x -
|
|
160
|
-
* @param {Number} y -
|
|
161
|
-
* @param {Number} fQ11 -
|
|
162
|
-
* @param {Number} fQ21 -
|
|
163
|
-
* @param {Number} fQ12 -
|
|
164
|
-
* @param {Number} fQ22 -
|
|
165
|
-
* @param {Number} [x1=0.0] -
|
|
166
|
-
* @param {Number} [x2=1.0] -
|
|
167
|
-
* @param {Number} [y1=0.0] -
|
|
168
|
-
* @param {Number} [y2=1.0] -
|
|
169
|
-
*/
|
|
170
|
-
export declare function blerp(x: number, y: number, fQ11: number, fQ21: number, fQ12: number, fQ22: number, x1?: number, x2?: number, y1?: number, y2?: number): number;
|
|
171
|
-
export declare function blerp2(x: number, y: number, fQ11: number, fQ21: number, fQ12: number, fQ22: number): number;
|
|
172
|
-
export declare function extractElevationTiles(rgbaData: number[] | TypedArray, outCurrenElevations: number[] | TypedArray, outChildrenElevations: number[][][] | TypedArray[][]): void;
|
|
173
|
-
export type TypedArray = Int8Array | Uint8Array | Uint8ClampedArray | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array;
|
|
174
|
-
/**
|
|
175
|
-
* Concatenates two the same type arrays
|
|
176
|
-
* @param {TypedArray} a
|
|
177
|
-
* @param {TypedArray | number[]} b
|
|
178
|
-
*/
|
|
179
|
-
export declare function concatTypedArrays(a: TypedArray, b: TypedArray | number[]): TypedArray;
|
|
180
|
-
/**
|
|
181
|
-
* Concatenates two the same arrays
|
|
182
|
-
* @param {TypedArray | number[]} [a=[]] - First array
|
|
183
|
-
* @param {TypedArray | number[]} [b=[]] - Second array
|
|
184
|
-
* @return {TypedArray | number[]} -
|
|
185
|
-
*/
|
|
186
|
-
export declare function concatArrays(a?: TypedArray | number[], b?: TypedArray | number[]): TypedArray | number[];
|
|
187
|
-
/**
|
|
188
|
-
* Convert simple array to typed
|
|
189
|
-
* @param arr {number[]}
|
|
190
|
-
* @param ctor {Float32Array}
|
|
191
|
-
* @returns {TypedArray}
|
|
192
|
-
*/
|
|
193
|
-
export declare function makeArrayTyped(arr: TypedArray | number[], ctor?: Function): any;
|
|
194
|
-
/**
|
|
195
|
-
* Convert typed array to array
|
|
196
|
-
* @param arr {TypedArray | number[]}
|
|
197
|
-
* @returns {number[]}
|
|
198
|
-
*/
|
|
199
|
-
export declare function makeArray(arr: TypedArray | number[]): number[];
|
|
200
|
-
/**
|
|
201
|
-
*
|
|
202
|
-
* @param {TypedArray | Array} arr
|
|
203
|
-
* @param {Number} starting
|
|
204
|
-
* @param {Number} deleteCount
|
|
205
|
-
* @param {{ result: number[] }} [out]
|
|
206
|
-
*/
|
|
207
|
-
export declare function spliceArray(arr: TypedArray | number[], starting: number, deleteCount: number, out?: {
|
|
208
|
-
result: number[];
|
|
209
|
-
} | {
|
|
210
|
-
result: TypedArray;
|
|
211
|
-
}): TypedArray | number[];
|
|
212
|
-
/**
|
|
213
|
-
*
|
|
214
|
-
* @param {TypedArray} arr
|
|
215
|
-
* @param {Number} starting
|
|
216
|
-
* @param {Number} deleteCount
|
|
217
|
-
* @param {{ result: TypedArray }} [out]
|
|
218
|
-
*/
|
|
219
|
-
export declare function spliceTypedArray<T extends TypedArray>(arr: T, starting: number, deleteCount: number, out?: {
|
|
220
|
-
result: T;
|
|
221
|
-
}): T;
|
|
222
|
-
/**
|
|
223
|
-
* Returns 64-bit triangle coordinate array from inside of the source triangle array.
|
|
224
|
-
* @static
|
|
225
|
-
* @param {TypedArray | number[]} sourceArr - Source array
|
|
226
|
-
* @param {number} gridSize - Source array square matrix size
|
|
227
|
-
* @param {number} i0 - First row index source array matrix
|
|
228
|
-
* @param {number} j0 - First column index
|
|
229
|
-
* @param {number} size - Square matrix result size.
|
|
230
|
-
* @return {Float64Array} Triangle coordinates array from the source array.
|
|
231
|
-
* @TODO: optimization
|
|
232
|
-
*/
|
|
233
|
-
export declare function getMatrixSubArray64(sourceArr: TypedArray | number[], gridSize: number, i0: number, j0: number, size: number): Float64Array;
|
|
234
|
-
/**
|
|
235
|
-
* Returns 32-bit triangle coordinate array from inside of the source triangle array.
|
|
236
|
-
* @static
|
|
237
|
-
* @param {TypedArray | number[]} sourceArr - Source array
|
|
238
|
-
* @param {number} gridSize - Source array square matrix size
|
|
239
|
-
* @param {number} i0 - First row index source array matrix
|
|
240
|
-
* @param {number} j0 - First column index
|
|
241
|
-
* @param {number} size - Square matrix result size.
|
|
242
|
-
* @return {Float32Array} Triangle coordinates array from the source array.
|
|
243
|
-
*/
|
|
244
|
-
export declare function getMatrixSubArray32(sourceArr: TypedArray | number[], gridSize: number, i0: number, j0: number, size: number): Float32Array;
|
|
245
|
-
/**
|
|
246
|
-
* Returns two float32 triangle coordinate arrays from inside of the source triangle array.
|
|
247
|
-
* @TODO: optimization
|
|
248
|
-
*/
|
|
249
|
-
export declare function getMatrixSubArrayBoundsExt(sourceArr: TypedArray | number[], sourceArrHigh: TypedArray | number[], sourceArrLow: TypedArray | number[], noDataVertices: TypedArray | number[] | undefined, gridSize: number, i0: number, j0: number, size: number, outArr: TypedArray | number[], outArrHigh: TypedArray | number[], outArrLow: TypedArray | number[], outBounds: any, outNoDataVertices: TypedArray | number[]): void;
|
|
250
|
-
export declare function cloneArray(items: any[]): any[];
|
|
251
|
-
/**
|
|
252
|
-
* Promise for load images
|
|
253
|
-
* @function
|
|
254
|
-
* @param {string} url - link to image.
|
|
255
|
-
* @returns {Promise<Image>} Returns promise.
|
|
256
|
-
*/
|
|
257
|
-
export declare function loadImage(url: string): Promise<HTMLImageElement>;
|
|
258
|
-
/**
|
|
259
|
-
* Gets image is loaded
|
|
260
|
-
* @param {HTMLImageElement} image
|
|
261
|
-
* @returns {boolean} Returns true is the image is loaded
|
|
262
|
-
*/
|
|
263
|
-
export declare function isImageLoaded(image: HTMLImageElement): boolean;
|
|
264
|
-
export declare function distanceFormat(v: number): string;
|
|
265
|
-
export declare function distanceFormatExt(v: number): [string, string];
|
|
266
|
-
export declare function getUrlParam(paramName: string): number | undefined;
|
|
267
|
-
/**
|
|
268
|
-
*
|
|
269
|
-
* @param x
|
|
270
|
-
* @param y
|
|
271
|
-
* @param z
|
|
272
|
-
* @param imageSize
|
|
273
|
-
* @param ellipsoid
|
|
274
|
-
*
|
|
275
|
-
* console.log(1, getTileImageResolution(0, 0, 1));
|
|
276
|
-
* console.log(7, getTileImageResolution(66, 44, 7));
|
|
277
|
-
* console.log(10, getTileImageResolution(536, 358, 10));
|
|
278
|
-
* console.log(12, getTileImageResolution(2149, 1446, 12));
|
|
279
|
-
* console.log(13, getTileImageResolution(4301, 2892, 13));
|
|
280
|
-
* console.log(14, getTileImageResolution(8582, 5736, 14));
|
|
281
|
-
* console.log(15, getTileImageResolution(17205, 11569, 15));
|
|
282
|
-
* console.log(16, getTileImageResolution(34419, 23138, 16));
|
|
283
|
-
* console.log(17, getTileImageResolution(68661, 45892, 17));
|
|
284
|
-
* console.log(18, getTileImageResolution(137650, 92555, 18));
|
|
285
|
-
*/
|
|
286
|
-
export declare function getTileImageResolution(x: number, y: number, z: number, imageSize?: number, ellipsoid?: Ellipsoid): number[];
|
|
287
|
-
export declare function toFixedMax(value: number, maxFixed?: number): string;
|