@openglobus/og 0.23.0 → 0.24.1
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/@openglobus/js/Clock.d.ts +2 -2
- package/lib/@openglobus/js/Globe.d.ts +10 -6
- package/lib/@openglobus/js/LonLat.d.ts +2 -2
- package/lib/@openglobus/js/Object3d.d.ts +3 -2
- package/lib/@openglobus/js/Popup.d.ts +7 -4
- package/lib/@openglobus/js/astro/astro.d.ts +1 -1
- package/lib/@openglobus/js/astro/earth.d.ts +1 -1
- package/lib/@openglobus/js/bv/Box.d.ts +1 -1
- package/lib/@openglobus/js/camera/Camera.d.ts +55 -19
- package/lib/@openglobus/js/camera/Frustum.d.ts +2 -2
- package/lib/@openglobus/js/camera/PlanetCamera.d.ts +14 -1
- package/lib/@openglobus/js/control/Atmosphere.d.ts +3 -3
- package/lib/@openglobus/js/control/AtmosphereConfig.d.ts +2 -2
- package/lib/@openglobus/js/control/CameraLock.d.ts +3 -3
- package/lib/@openglobus/js/control/CompassButton.d.ts +1 -1
- package/lib/@openglobus/js/control/DebugInfo.d.ts +1 -1
- package/lib/@openglobus/js/control/EarthCoordinates.d.ts +2 -2
- package/lib/@openglobus/js/control/GeoImageDragControl.d.ts +2 -2
- package/lib/@openglobus/js/control/KeyboardNavigation.d.ts +1 -1
- package/lib/@openglobus/js/control/LayerAnimation.d.ts +2 -2
- package/lib/@openglobus/js/control/LayerSwitcher.d.ts +4 -2
- package/lib/@openglobus/js/control/Lighting.d.ts +2 -1
- package/lib/@openglobus/js/control/MouseNavigation.d.ts +64 -52
- package/lib/@openglobus/js/control/OldMouseNavigation.d.ts +65 -0
- package/lib/@openglobus/js/control/RulerSwitcher.d.ts +2 -1
- package/lib/@openglobus/js/control/ScaleControl.d.ts +2 -1
- package/lib/@openglobus/js/control/SegmentBoundVisualization.d.ts +2 -1
- package/lib/@openglobus/js/control/ShowFps.d.ts +2 -1
- package/lib/@openglobus/js/control/SimpleNavigation.d.ts +3 -2
- package/lib/@openglobus/js/control/SimpleSkyBackground.d.ts +2 -1
- package/lib/@openglobus/js/control/Sun.d.ts +2 -1
- package/lib/@openglobus/js/control/ToggleWireframe.d.ts +2 -1
- package/lib/@openglobus/js/control/TouchNavigation.d.ts +3 -2
- package/lib/@openglobus/js/control/ZoomControl.d.ts +2 -1
- package/lib/@openglobus/js/control/drawing/DrawingControl.d.ts +1 -1
- package/lib/@openglobus/js/control/drawing/LineStringDrawingScene.d.ts +1 -1
- package/lib/@openglobus/js/control/drawing/PolygonDrawingScene.d.ts +3 -3
- package/lib/@openglobus/js/control/elevationProfile/ElevationProfile.d.ts +1 -1
- package/lib/@openglobus/js/control/elevationProfile/ElevationProfileButtonsView.d.ts +3 -2
- package/lib/@openglobus/js/control/elevationProfile/ElevationProfileControl.d.ts +2 -2
- package/lib/@openglobus/js/control/elevationProfile/ElevationProfileLegend.d.ts +1 -1
- package/lib/@openglobus/js/control/elevationProfile/ElevationProfileScene.d.ts +2 -2
- package/lib/@openglobus/js/control/elevationProfile/ElevationProfileView.d.ts +6 -4
- package/lib/@openglobus/js/control/elevationProfile/PointListDialog.d.ts +1 -1
- package/lib/@openglobus/js/control/geoObjectEditor/ArrowEntity.d.ts +1 -1
- package/lib/@openglobus/js/control/geoObjectEditor/AxisTrackEntity.d.ts +1 -1
- package/lib/@openglobus/js/control/geoObjectEditor/GeoObjectEditor.d.ts +1 -1
- package/lib/@openglobus/js/control/geoObjectEditor/GeoObjectEditorDialog.d.ts +1 -1
- package/lib/@openglobus/js/control/geoObjectEditor/GeoObjectEditorScene.d.ts +2 -2
- package/lib/@openglobus/js/control/geoObjectEditor/MoveAxisEntity.d.ts +1 -1
- package/lib/@openglobus/js/control/geoObjectEditor/MovePlaneEntity.d.ts +1 -1
- package/lib/@openglobus/js/control/geoObjectEditor/RotateEntity.d.ts +1 -1
- package/lib/@openglobus/js/control/heightRuler/HeightRuler.d.ts +1 -1
- package/lib/@openglobus/js/control/heightRuler/HeightRulerScene.d.ts +1 -1
- package/lib/@openglobus/js/control/index.d.ts +1 -2
- package/lib/@openglobus/js/control/ruler/Ruler.d.ts +2 -1
- package/lib/@openglobus/js/control/ruler/RulerScene.d.ts +2 -2
- package/lib/@openglobus/js/control/selection/Selection.d.ts +2 -1
- package/lib/@openglobus/js/control/timeline/TimelineControl.d.ts +1 -1
- package/lib/@openglobus/js/control/timeline/TimelineModel.d.ts +1 -1
- package/lib/@openglobus/js/control/timeline/TimelineView.d.ts +4 -3
- package/lib/@openglobus/js/ellipsoid/Ellipsoid.d.ts +1 -1
- package/lib/@openglobus/js/entity/BaseBillboard.d.ts +6 -3
- package/lib/@openglobus/js/entity/BaseBillboardHandler.d.ts +2 -2
- package/lib/@openglobus/js/entity/Billboard.d.ts +3 -2
- package/lib/@openglobus/js/entity/Entity.d.ts +47 -32
- package/lib/@openglobus/js/entity/EntityCollection.d.ts +4 -3
- package/lib/@openglobus/js/entity/GeoObject.d.ts +2 -11
- package/lib/@openglobus/js/entity/Geometry.d.ts +4 -3
- package/lib/@openglobus/js/entity/GeometryHandler.d.ts +3 -2
- package/lib/@openglobus/js/entity/InstanceData.d.ts +2 -2
- package/lib/@openglobus/js/entity/Label.d.ts +4 -2
- package/lib/@openglobus/js/entity/LabelHandler.d.ts +1 -1
- package/lib/@openglobus/js/entity/PointCloud.d.ts +1 -1
- package/lib/@openglobus/js/entity/Polyline.d.ts +9 -7
- package/lib/@openglobus/js/entity/Ray.d.ts +4 -2
- package/lib/@openglobus/js/entity/RayHandler.d.ts +2 -2
- package/lib/@openglobus/js/entity/Strip.d.ts +5 -3
- package/lib/@openglobus/js/input/KeyboardHandler.d.ts +1 -1
- package/lib/@openglobus/js/input/MouseHandler.d.ts +1 -0
- package/lib/@openglobus/js/layer/BaseGeoImage.d.ts +6 -5
- package/lib/@openglobus/js/layer/Bing.d.ts +2 -1
- package/lib/@openglobus/js/layer/CanvasTiles.d.ts +4 -3
- package/lib/@openglobus/js/layer/GeoImage.d.ts +2 -1
- package/lib/@openglobus/js/layer/GeoTexture2d.d.ts +3 -2
- package/lib/@openglobus/js/layer/GeoVideo.d.ts +2 -1
- package/lib/@openglobus/js/layer/KML.d.ts +5 -3
- package/lib/@openglobus/js/layer/Layer.d.ts +5 -4
- package/lib/@openglobus/js/layer/Material.d.ts +2 -2
- package/lib/@openglobus/js/layer/OpenStreetMap.d.ts +2 -1
- package/lib/@openglobus/js/layer/Vector.d.ts +9 -7
- package/lib/@openglobus/js/layer/WMS.d.ts +2 -1
- package/lib/@openglobus/js/layer/XYZ.d.ts +4 -3
- package/lib/@openglobus/js/math/Mat3.d.ts +1 -1
- package/lib/@openglobus/js/math/Mat4.d.ts +10 -1
- package/lib/@openglobus/js/math/Plane.d.ts +3 -1
- package/lib/@openglobus/js/math/Quat.d.ts +7 -1
- package/lib/@openglobus/js/math/Ray.d.ts +6 -16
- package/lib/@openglobus/js/math/Vec2.d.ts +22 -0
- package/lib/@openglobus/js/math/Vec3.d.ts +3 -2
- package/lib/@openglobus/js/math/coder.d.ts +5 -3
- package/lib/@openglobus/js/math/index.d.ts +6 -3
- package/lib/@openglobus/js/math.d.ts +2 -2
- package/lib/@openglobus/js/quadTree/earth/EarthEntityCollectionNodeLonLat.d.ts +2 -1
- package/lib/@openglobus/js/quadTree/earth/EarthQuadTreeStrategy.d.ts +0 -2
- package/lib/@openglobus/js/quadTree/equi/EquiEntityCollectionNodeLonLat.d.ts +2 -1
- package/lib/@openglobus/js/renderer/Renderer.d.ts +5 -3
- package/lib/@openglobus/js/renderer/RendererEvents.d.ts +7 -3
- package/lib/@openglobus/js/scene/Axes.d.ts +1 -1
- package/lib/@openglobus/js/scene/Planet.d.ts +12 -6
- package/lib/@openglobus/js/scene/SkyBox.d.ts +1 -1
- package/lib/@openglobus/js/segment/Segment.d.ts +7 -5
- package/lib/@openglobus/js/segment/SegmentLonLat.d.ts +1 -1
- package/lib/@openglobus/js/segment/SegmentLonLatEqui.d.ts +1 -1
- package/lib/@openglobus/js/shaders/atmos.d.ts +1 -1
- package/lib/@openglobus/js/shaders/drawnode.d.ts +1 -1
- package/lib/@openglobus/js/terrain/BilTerrain.d.ts +3 -2
- package/lib/@openglobus/js/terrain/EmptyTerrain.d.ts +1 -1
- package/lib/@openglobus/js/terrain/GlobusRgbTerrain.d.ts +2 -1
- package/lib/@openglobus/js/terrain/GlobusTerrain.d.ts +5 -4
- package/lib/@openglobus/js/terrain/RgbTerrain.d.ts +3 -2
- package/lib/@openglobus/js/ui/Button.d.ts +3 -2
- package/lib/@openglobus/js/ui/ButtonGroup.d.ts +1 -1
- package/lib/@openglobus/js/ui/Checkbox.d.ts +3 -2
- package/lib/@openglobus/js/ui/Color.d.ts +3 -2
- package/lib/@openglobus/js/ui/Dialog.d.ts +3 -2
- package/lib/@openglobus/js/ui/Input.d.ts +3 -2
- package/lib/@openglobus/js/ui/Slider.d.ts +3 -2
- package/lib/@openglobus/js/ui/ToggleButton.d.ts +4 -3
- package/lib/@openglobus/js/ui/View.d.ts +1 -1
- package/lib/@openglobus/js/utils/FontAtlas.d.ts +1 -1
- package/lib/@openglobus/js/utils/GeoImageCreator.d.ts +1 -1
- package/lib/@openglobus/js/utils/Loader.d.ts +1 -1
- package/lib/@openglobus/js/utils/NormalMapCreator.d.ts +2 -1
- package/lib/@openglobus/js/utils/TerrainWorker.d.ts +1 -1
- package/lib/@openglobus/js/utils/TextureAtlas.d.ts +4 -2
- package/lib/@openglobus/js/utils/objParser.d.ts +1 -1
- package/lib/@openglobus/js/utils/shared.d.ts +5 -3
- package/lib/@openglobus/js/webgl/Framebuffer.d.ts +3 -2
- package/lib/@openglobus/js/webgl/Handler.d.ts +32 -19
- package/lib/@openglobus/js/webgl/Multisample.d.ts +2 -1
- package/lib/@openglobus/js/webgl/Program.d.ts +2 -2
- package/lib/@openglobus/js/webgl/ProgramController.d.ts +2 -1
- package/lib/@openglobus/js/webgl/variableHandlers.d.ts +1 -1
- package/lib/@openglobus/og.esm.js +1 -1
- package/lib/@openglobus/og.esm.js.map +1 -1
- package/lib/@openglobus/og.umd.js +1 -1
- package/lib/@openglobus/og.umd.js.map +1 -1
- package/lib/js/Clock.d.ts +2 -2
- package/lib/js/Globe.d.ts +10 -6
- package/lib/js/Globe.js +10 -4
- package/lib/js/LonLat.d.ts +2 -2
- package/lib/js/Object3d.d.ts +3 -2
- package/lib/js/Popup.d.ts +7 -4
- package/lib/js/Popup.js +1 -1
- package/lib/js/astro/astro.d.ts +1 -1
- package/lib/js/astro/earth.d.ts +1 -1
- package/lib/js/bv/Box.d.ts +1 -1
- package/lib/js/camera/Camera.d.ts +55 -19
- package/lib/js/camera/Camera.js +82 -28
- package/lib/js/camera/Frustum.d.ts +2 -2
- package/lib/js/camera/PlanetCamera.d.ts +14 -1
- package/lib/js/camera/PlanetCamera.js +52 -5
- package/lib/js/control/Atmosphere.d.ts +3 -3
- package/lib/js/control/AtmosphereConfig.d.ts +2 -2
- package/lib/js/control/CameraLock.d.ts +3 -3
- package/lib/js/control/CameraLock.js +1 -1
- package/lib/js/control/CompassButton.d.ts +1 -1
- package/lib/js/control/DebugInfo.d.ts +1 -1
- package/lib/js/control/DebugInfo.js +30 -10
- package/lib/js/control/EarthCoordinates.d.ts +2 -2
- package/lib/js/control/GeoImageDragControl.d.ts +2 -2
- package/lib/js/control/KeyboardNavigation.d.ts +1 -1
- package/lib/js/control/KeyboardNavigation.js +8 -8
- package/lib/js/control/LayerAnimation.d.ts +2 -2
- package/lib/js/control/LayerSwitcher.d.ts +4 -2
- package/lib/js/control/Lighting.d.ts +2 -1
- package/lib/js/control/MouseNavigation.d.ts +64 -52
- package/lib/js/control/MouseNavigation.js +361 -305
- package/lib/js/control/MouseWheelZoomControl.d.ts +0 -44
- package/lib/js/control/MouseWheelZoomControl.js +270 -181
- package/lib/js/control/OldMouseNavigation.d.ts +65 -0
- package/lib/js/control/OldMouseNavigation.js +368 -0
- package/lib/js/control/RulerSwitcher.d.ts +2 -1
- package/lib/js/control/ScaleControl.d.ts +2 -1
- package/lib/js/control/ScaleControl.js +2 -2
- package/lib/js/control/SegmentBoundVisualization.d.ts +2 -1
- package/lib/js/control/ShowFps.d.ts +2 -1
- package/lib/js/control/SimpleNavigation.d.ts +3 -2
- package/lib/js/control/SimpleNavigation.js +8 -7
- package/lib/js/control/SimpleSkyBackground.d.ts +2 -1
- package/lib/js/control/Sun.d.ts +2 -1
- package/lib/js/control/Sun.js +5 -5
- package/lib/js/control/ToggleWireframe.d.ts +2 -1
- package/lib/js/control/TouchNavigation.d.ts +3 -2
- package/lib/js/control/TouchNavigation.js +11 -8
- package/lib/js/control/ZoomControl.d.ts +2 -1
- package/lib/js/control/drawing/DrawingControl.d.ts +1 -1
- package/lib/js/control/drawing/LineStringDrawingScene.d.ts +1 -1
- package/lib/js/control/drawing/PolygonDrawingScene.d.ts +3 -3
- package/lib/js/control/elevationProfile/ElevationProfile.d.ts +1 -1
- package/lib/js/control/elevationProfile/ElevationProfileButtonsView.d.ts +3 -2
- package/lib/js/control/elevationProfile/ElevationProfileControl.d.ts +2 -2
- package/lib/js/control/elevationProfile/ElevationProfileLegend.d.ts +1 -1
- package/lib/js/control/elevationProfile/ElevationProfileScene.d.ts +2 -2
- package/lib/js/control/elevationProfile/ElevationProfileScene.js +2 -1
- package/lib/js/control/elevationProfile/ElevationProfileView.d.ts +6 -4
- package/lib/js/control/elevationProfile/ElevationProfileView.js +1 -1
- package/lib/js/control/elevationProfile/PointListDialog.d.ts +1 -1
- package/lib/js/control/geoObjectEditor/ArrowEntity.d.ts +1 -1
- package/lib/js/control/geoObjectEditor/AxisTrackEntity.d.ts +1 -1
- package/lib/js/control/geoObjectEditor/GeoObjectEditor.d.ts +1 -1
- package/lib/js/control/geoObjectEditor/GeoObjectEditorDialog.d.ts +1 -1
- package/lib/js/control/geoObjectEditor/GeoObjectEditorDialog.js +19 -33
- package/lib/js/control/geoObjectEditor/GeoObjectEditorScene.d.ts +2 -2
- package/lib/js/control/geoObjectEditor/GeoObjectEditorScene.js +18 -18
- package/lib/js/control/geoObjectEditor/MoveAxisEntity.d.ts +1 -1
- package/lib/js/control/geoObjectEditor/MoveAxisEntity.js +3 -2
- package/lib/js/control/geoObjectEditor/MovePlaneEntity.d.ts +1 -1
- package/lib/js/control/geoObjectEditor/MovePlaneEntity.js +1 -4
- package/lib/js/control/geoObjectEditor/RotateEntity.d.ts +1 -1
- package/lib/js/control/geoObjectEditor/RotateEntity.js +1 -1
- package/lib/js/control/heightRuler/HeightRuler.d.ts +1 -1
- package/lib/js/control/heightRuler/HeightRulerScene.d.ts +1 -1
- package/lib/js/control/index.d.ts +1 -2
- package/lib/js/control/index.js +1 -2
- package/lib/js/control/ruler/Ruler.d.ts +2 -1
- package/lib/js/control/ruler/RulerScene.d.ts +2 -2
- package/lib/js/control/selection/Selection.d.ts +2 -1
- package/lib/js/control/timeline/TimelineControl.d.ts +1 -1
- package/lib/js/control/timeline/TimelineModel.d.ts +1 -1
- package/lib/js/control/timeline/TimelineView.d.ts +4 -3
- package/lib/js/control/visibleExtent/Segment.js +4 -4
- package/lib/js/ellipsoid/Ellipsoid.d.ts +1 -1
- package/lib/js/ellipsoid/Ellipsoid.js +1 -1
- package/lib/js/entity/BaseBillboard.d.ts +6 -3
- package/lib/js/entity/BaseBillboardHandler.d.ts +2 -2
- package/lib/js/entity/Billboard.d.ts +3 -2
- package/lib/js/entity/Entity.d.ts +47 -32
- package/lib/js/entity/Entity.js +62 -47
- package/lib/js/entity/EntityCollection.d.ts +4 -3
- package/lib/js/entity/GeoObject.d.ts +2 -11
- package/lib/js/entity/GeoObject.js +0 -3
- package/lib/js/entity/Geometry.d.ts +4 -3
- package/lib/js/entity/GeometryHandler.d.ts +3 -2
- package/lib/js/entity/InstanceData.d.ts +2 -2
- package/lib/js/entity/InstanceData.js +6 -3
- package/lib/js/entity/Label.d.ts +4 -2
- package/lib/js/entity/LabelHandler.d.ts +1 -1
- package/lib/js/entity/PointCloud.d.ts +1 -1
- package/lib/js/entity/Polyline.d.ts +9 -7
- package/lib/js/entity/Polyline.js +2 -1
- package/lib/js/entity/Ray.d.ts +4 -2
- package/lib/js/entity/RayHandler.d.ts +2 -2
- package/lib/js/entity/Strip.d.ts +5 -3
- package/lib/js/input/KeyboardHandler.d.ts +1 -1
- package/lib/js/input/MouseHandler.d.ts +1 -0
- package/lib/js/input/MouseHandler.js +12 -1
- package/lib/js/layer/BaseGeoImage.d.ts +6 -5
- package/lib/js/layer/Bing.d.ts +2 -1
- package/lib/js/layer/CanvasTiles.d.ts +4 -3
- package/lib/js/layer/GeoImage.d.ts +2 -1
- package/lib/js/layer/GeoTexture2d.d.ts +3 -2
- package/lib/js/layer/GeoVideo.d.ts +2 -1
- package/lib/js/layer/KML.d.ts +5 -3
- package/lib/js/layer/KML.js +1 -1
- package/lib/js/layer/Layer.d.ts +5 -4
- package/lib/js/layer/Material.d.ts +2 -2
- package/lib/js/layer/OpenStreetMap.d.ts +2 -1
- package/lib/js/layer/Vector.d.ts +9 -7
- package/lib/js/layer/Vector.js +1 -1
- package/lib/js/layer/WMS.d.ts +2 -1
- package/lib/js/layer/XYZ.d.ts +4 -3
- package/lib/js/math/Mat3.d.ts +1 -1
- package/lib/js/math/Mat3.js +1 -1
- package/lib/js/math/Mat4.d.ts +10 -1
- package/lib/js/math/Mat4.js +17 -1
- package/lib/js/math/Plane.d.ts +3 -1
- package/lib/js/math/Plane.js +11 -1
- package/lib/js/math/Quat.d.ts +7 -1
- package/lib/js/math/Quat.js +7 -1
- package/lib/js/math/Ray.d.ts +6 -16
- package/lib/js/math/Ray.js +53 -46
- package/lib/js/math/Vec2.d.ts +22 -0
- package/lib/js/math/Vec2.js +32 -0
- package/lib/js/math/Vec3.d.ts +3 -2
- package/lib/js/math/coder.d.ts +5 -3
- package/lib/js/math/index.d.ts +6 -3
- package/lib/js/math.d.ts +2 -2
- package/lib/js/math.js +2 -2
- package/lib/js/quadTree/earth/EarthEntityCollectionNodeLonLat.d.ts +2 -1
- package/lib/js/quadTree/earth/EarthQuadTreeStrategy.d.ts +0 -2
- package/lib/js/quadTree/equi/EquiEntityCollectionNodeLonLat.d.ts +2 -1
- package/lib/js/renderer/Renderer.d.ts +5 -3
- package/lib/js/renderer/Renderer.js +10 -6
- package/lib/js/renderer/RendererEvents.d.ts +7 -3
- package/lib/js/renderer/RendererEvents.js +5 -3
- package/lib/js/scene/Axes.d.ts +1 -1
- package/lib/js/scene/Planet.d.ts +12 -6
- package/lib/js/scene/Planet.js +24 -3
- package/lib/js/scene/SkyBox.d.ts +1 -1
- package/lib/js/segment/Segment.d.ts +7 -5
- package/lib/js/segment/Segment.js +4 -4
- package/lib/js/segment/SegmentLonLat.d.ts +1 -1
- package/lib/js/segment/SegmentLonLatEqui.d.ts +1 -1
- package/lib/js/shaders/atmos.d.ts +1 -1
- package/lib/js/shaders/drawnode.d.ts +1 -1
- package/lib/js/terrain/BilTerrain.d.ts +3 -2
- package/lib/js/terrain/EmptyTerrain.d.ts +1 -1
- package/lib/js/terrain/GlobusRgbTerrain.d.ts +2 -1
- package/lib/js/terrain/GlobusTerrain.d.ts +5 -4
- package/lib/js/terrain/GlobusTerrain.js +2 -2
- package/lib/js/terrain/RgbTerrain.d.ts +3 -2
- package/lib/js/ui/Button.d.ts +3 -2
- package/lib/js/ui/ButtonGroup.d.ts +1 -1
- package/lib/js/ui/Checkbox.d.ts +3 -2
- package/lib/js/ui/Color.d.ts +3 -2
- package/lib/js/ui/Dialog.d.ts +3 -2
- package/lib/js/ui/Input.d.ts +3 -2
- package/lib/js/ui/Slider.d.ts +3 -2
- package/lib/js/ui/ToggleButton.d.ts +4 -3
- package/lib/js/ui/View.d.ts +1 -1
- package/lib/js/utils/FontAtlas.d.ts +1 -1
- package/lib/js/utils/GeoImageCreator.d.ts +1 -1
- package/lib/js/utils/Loader.d.ts +1 -1
- package/lib/js/utils/NormalMapCreator.d.ts +2 -1
- package/lib/js/utils/TerrainWorker.d.ts +1 -1
- package/lib/js/utils/TextureAtlas.d.ts +4 -2
- package/lib/js/utils/objParser.d.ts +1 -1
- package/lib/js/utils/shared.d.ts +5 -3
- package/lib/js/webgl/Framebuffer.d.ts +3 -2
- package/lib/js/webgl/Handler.d.ts +32 -19
- package/lib/js/webgl/Handler.js +48 -36
- package/lib/js/webgl/Multisample.d.ts +2 -1
- package/lib/js/webgl/Program.d.ts +2 -2
- package/lib/js/webgl/ProgramController.d.ts +2 -1
- package/lib/js/webgl/variableHandlers.d.ts +1 -1
- package/package.json +2 -2
- package/lib/@openglobus/js/control/EarthNavigation.d.ts +0 -50
- package/lib/@openglobus/js/control/MouseWheelZoomControl.d.ts +0 -44
- package/lib/js/control/EarthNavigation.d.ts +0 -50
- package/lib/js/control/EarthNavigation.js +0 -202
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { Control
|
|
1
|
+
import { Control } from "./Control";
|
|
2
|
+
import type { IControlParams } from "./Control";
|
|
2
3
|
interface ISimpleSkyBackgroundParams extends IControlParams {
|
|
3
4
|
}
|
|
4
5
|
export declare class SimpleSkyBackground extends Control {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { Control
|
|
1
|
+
import { Control } from "./Control";
|
|
2
|
+
import type { IControlParams } from "./Control";
|
|
2
3
|
import { Clock } from "../Clock";
|
|
3
4
|
import { LightSource } from "../light/LightSource";
|
|
4
5
|
interface ISunParams extends IControlParams {
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { Control
|
|
1
|
+
import { Control } from "./Control";
|
|
2
|
+
import type { IControlParams } from "./Control";
|
|
2
3
|
import { Key } from "../Lock";
|
|
3
4
|
import { Quat } from "../math/Quat";
|
|
4
5
|
import { Sphere } from "../bv/Sphere";
|
|
5
6
|
import { Vec2 } from "../math/Vec2";
|
|
6
7
|
import { Vec3 } from "../math/Vec3";
|
|
7
|
-
import { ITouchState } from "../renderer/RendererEvents";
|
|
8
|
+
import type { ITouchState } from "../renderer/RendererEvents";
|
|
8
9
|
interface ITouchNavigationParams extends IControlParams {
|
|
9
10
|
}
|
|
10
11
|
declare class TouchExt {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Key } from "../Lock";
|
|
2
|
-
import { Control
|
|
2
|
+
import { Control } from "./Control";
|
|
3
|
+
import type { IControlParams } from "./Control";
|
|
3
4
|
import { Renderer } from "../renderer/Renderer";
|
|
4
5
|
import { Vec2 } from "../math/Vec2";
|
|
5
6
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Control, IControlParams } from "../Control";
|
|
1
|
+
import { Control, type IControlParams } from "../Control";
|
|
2
2
|
import { PolygonDrawingScene } from "./PolygonDrawingScene";
|
|
3
3
|
declare class DrawingControl extends Control {
|
|
4
4
|
protected _drawingScene: PolygonDrawingScene;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Vec2 } from "../../math/Vec2";
|
|
2
2
|
import { Vec3 } from "../../math/Vec3";
|
|
3
|
-
import { PolygonDrawingScene, IPolygonDrawingSceneParams } from "./PolygonDrawingScene";
|
|
3
|
+
import { PolygonDrawingScene, type IPolygonDrawingSceneParams } from "./PolygonDrawingScene";
|
|
4
4
|
declare class LineStringDrawingScene extends PolygonDrawingScene {
|
|
5
5
|
constructor(props: IPolygonDrawingSceneParams);
|
|
6
6
|
get geometryType(): string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { EventsHandler } from '../../Events';
|
|
2
|
-
import { CoordinatesType } from "../../entity/Geometry";
|
|
1
|
+
import { type EventsHandler } from '../../Events';
|
|
2
|
+
import type { CoordinatesType } from "../../entity/Geometry";
|
|
3
3
|
import { Entity } from '../../entity/Entity';
|
|
4
|
-
import { IMouseState } from "../../renderer/RendererEvents";
|
|
4
|
+
import type { IMouseState } from "../../renderer/RendererEvents";
|
|
5
5
|
import { Object3d } from '../../Object3d';
|
|
6
6
|
import { Planet } from '../../scene/Planet';
|
|
7
7
|
import { RenderNode } from '../../scene/RenderNode';
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { View
|
|
1
|
+
import { View } from "../../ui/View";
|
|
2
|
+
import type { IViewParams, ViewEventsList } from "../../ui/View";
|
|
2
3
|
import { ToggleButton } from "../../ui/ToggleButton";
|
|
3
|
-
import { EventsHandler } from "../../Events";
|
|
4
|
+
import type { EventsHandler } from "../../Events";
|
|
4
5
|
import { ElevationProfile } from "./ElevationProfile";
|
|
5
6
|
interface IElevationProfileButtonsViewParams extends IViewParams {
|
|
6
7
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Control, IControlParams } from "../Control";
|
|
1
|
+
import { Control, type IControlParams } from "../Control";
|
|
2
2
|
import { Dialog } from "../../ui/Dialog";
|
|
3
3
|
import { View } from "../../ui/View";
|
|
4
4
|
import { ToggleButton } from "../../ui/ToggleButton";
|
|
@@ -6,7 +6,7 @@ import { ElevationProfileView } from "./ElevationProfileView";
|
|
|
6
6
|
import { ElevationProfileScene } from "./ElevationProfileScene";
|
|
7
7
|
import { ElevationProfileButtonsView } from "./ElevationProfileButtonsView";
|
|
8
8
|
import { PointListDialog } from "./PointListDialog";
|
|
9
|
-
import { GroundItem, TrackItem } from "./ElevationProfile";
|
|
9
|
+
import type { GroundItem, TrackItem } from "./ElevationProfile";
|
|
10
10
|
import { ElevationProfileLegend } from "./ElevationProfileLegend";
|
|
11
11
|
interface IElevationProfileGraphParams extends IControlParams {
|
|
12
12
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { Entity } from '../../entity/Entity';
|
|
2
|
-
import { EventsHandler } from '../../Events';
|
|
2
|
+
import { type EventsHandler } from '../../Events';
|
|
3
3
|
import { LonLat } from "../../LonLat";
|
|
4
4
|
import { Planet } from "../../scene/Planet";
|
|
5
5
|
import { RenderNode } from '../../scene/RenderNode';
|
|
6
6
|
import { Vector } from '../../layer/Vector';
|
|
7
7
|
import { Vec2 } from '../../math/Vec2';
|
|
8
8
|
import { Vec3 } from '../../math/Vec3';
|
|
9
|
-
import { IMouseState } from "../../renderer/RendererEvents";
|
|
9
|
+
import type { IMouseState } from "../../renderer/RendererEvents";
|
|
10
10
|
import { Ellipsoid } from "../../ellipsoid/Ellipsoid";
|
|
11
11
|
export interface IElevationProfileSceneParams {
|
|
12
12
|
name?: string;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import { EventsHandler } from "../../Events";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import type { EventsHandler } from "../../Events";
|
|
2
|
+
import { View } from '../../ui/View';
|
|
3
|
+
import type { IViewParams, ViewEventsList } from '../../ui/View';
|
|
4
|
+
import { ElevationProfile } from './ElevationProfile';
|
|
5
|
+
import type { GroundItem, TrackItem } from './ElevationProfile';
|
|
6
|
+
import type { MouseEventExt } from "../../input/MouseHandler";
|
|
5
7
|
interface IElevationProfileViewParams extends IViewParams {
|
|
6
8
|
fillStyle?: string;
|
|
7
9
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IDialogParams, Dialog } from "../../ui/Dialog";
|
|
1
|
+
import { type IDialogParams, Dialog } from "../../ui/Dialog";
|
|
2
2
|
import { ElevationProfileScene } from "./ElevationProfileScene";
|
|
3
3
|
interface IPointListDialog extends IDialogParams {
|
|
4
4
|
model: ElevationProfileScene;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Control, IControlParams } from "../Control";
|
|
1
|
+
import { Control, type IControlParams } from "../Control";
|
|
2
2
|
import { GeoObjectEditorScene } from "./GeoObjectEditorScene";
|
|
3
3
|
import { GeoObjectPropertiesDialog } from "./GeoObjectEditorDialog";
|
|
4
4
|
export interface IGeoObjectEditorParams extends IControlParams {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Dialog, IDialogParams } from "../../ui/Dialog";
|
|
1
|
+
import { Dialog, type IDialogParams } from "../../ui/Dialog";
|
|
2
2
|
import { GeoObjectEditorScene } from "./GeoObjectEditorScene";
|
|
3
3
|
import { Entity } from "../../entity/Entity";
|
|
4
4
|
import { Input } from "../../ui/Input";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { EventsHandler } from '../../Events';
|
|
1
|
+
import { type EventsHandler } from '../../Events';
|
|
2
2
|
import { Planet } from "../../scene/Planet";
|
|
3
3
|
import { RenderNode } from '../../scene/RenderNode';
|
|
4
4
|
import { Vec2 } from '../../math/Vec2';
|
|
5
5
|
import { Vec3 } from '../../math/Vec3';
|
|
6
6
|
import { Quat } from '../../math/Quat';
|
|
7
|
-
import { IMouseState } from "../../renderer/RendererEvents";
|
|
7
|
+
import type { IMouseState } from "../../renderer/RendererEvents";
|
|
8
8
|
import { Ellipsoid } from "../../ellipsoid/Ellipsoid";
|
|
9
9
|
import { Entity } from "../../entity/Entity";
|
|
10
10
|
import { MoveAxisEntity } from "./MoveAxisEntity";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Entity, IEntityParams } from "../../entity/Entity";
|
|
1
|
+
import { Entity, type IEntityParams } from "../../entity/Entity";
|
|
2
2
|
import { Vec3 } from "../../math/Vec3";
|
|
3
3
|
import { ArrowEntity } from "./ArrowEntity";
|
|
4
4
|
export interface IAxisEntityParams extends IEntityParams {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Entity } from '../../entity/Entity';
|
|
2
2
|
import { LonLat } from "../../LonLat";
|
|
3
|
-
import { RulerScene, IRulerSceneParams } from "../ruler/RulerScene";
|
|
3
|
+
import { RulerScene, type IRulerSceneParams } from "../ruler/RulerScene";
|
|
4
4
|
import { Vector } from "../../layer/Vector";
|
|
5
5
|
import { Vec3 } from "../../math/Vec3";
|
|
6
6
|
interface IHeightRulerSceneParams extends IRulerSceneParams {
|
|
@@ -3,14 +3,13 @@ export * from "./Control";
|
|
|
3
3
|
export * from "./DebugInfo";
|
|
4
4
|
export * from "./DrawingSwitcher";
|
|
5
5
|
export * from "./EarthCoordinates";
|
|
6
|
-
export * from "./EarthNavigation";
|
|
7
6
|
export * from "./GeoImageDragControl";
|
|
8
7
|
export * from "./KeyboardNavigation";
|
|
9
8
|
export * from "./LayerAnimation";
|
|
10
9
|
export * from "./LayerSwitcher";
|
|
11
10
|
export * from "./Lighting";
|
|
11
|
+
export * from "./OldMouseNavigation";
|
|
12
12
|
export * from "./MouseNavigation";
|
|
13
|
-
export * from "./MouseWheelZoomControl";
|
|
14
13
|
export * from "./RulerSwitcher";
|
|
15
14
|
export * from "./ScaleControl";
|
|
16
15
|
export * from "./ShowFps";
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { Control
|
|
1
|
+
import { Control } from "../Control";
|
|
2
|
+
import type { IControlParams } from "../Control";
|
|
2
3
|
import { RulerScene } from "./RulerScene";
|
|
3
4
|
export interface IRulerParams extends IControlParams {
|
|
4
5
|
ignoreTerrain?: boolean;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { Entity } from '../../entity/Entity';
|
|
2
|
-
import { EventsHandler } from '../../Events';
|
|
2
|
+
import type { EventsHandler } from '../../Events';
|
|
3
3
|
import { LonLat } from "../../LonLat";
|
|
4
4
|
import { Planet } from "../../scene/Planet";
|
|
5
5
|
import { RenderNode } from '../../scene/RenderNode';
|
|
6
6
|
import { Vector } from '../../layer/Vector';
|
|
7
7
|
import { Vec2 } from '../../math/Vec2';
|
|
8
8
|
import { Vec3 } from '../../math/Vec3';
|
|
9
|
-
import { IMouseState } from "../../renderer/RendererEvents";
|
|
9
|
+
import type { IMouseState } from "../../renderer/RendererEvents";
|
|
10
10
|
import { Ellipsoid } from "../../ellipsoid/Ellipsoid";
|
|
11
11
|
export interface IRulerSceneParams {
|
|
12
12
|
name?: string;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { Control
|
|
1
|
+
import { Control } from "../Control";
|
|
2
|
+
import type { IControlParams } from "../Control";
|
|
2
3
|
import { SelectionScene } from "./SelectionScene";
|
|
3
4
|
import { ToggleButton } from "../../ui/ToggleButton";
|
|
4
5
|
interface ISelectionParams extends IControlParams {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Dialog } from "../../ui/Dialog";
|
|
2
2
|
import { ToggleButton } from "../../ui/ToggleButton";
|
|
3
|
-
import { Control, IControlParams } from '../Control';
|
|
3
|
+
import { Control, type IControlParams } from '../Control';
|
|
4
4
|
import { TimelineView } from './TimelineView';
|
|
5
5
|
interface ITimelineControlParams extends IControlParams {
|
|
6
6
|
name?: string;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { EventsHandler } from "../../Events";
|
|
1
|
+
import type { EventsHandler } from "../../Events";
|
|
2
2
|
import { ButtonGroup } from "../../ui/ButtonGroup";
|
|
3
|
-
import {
|
|
3
|
+
import { View } from '../../ui/View';
|
|
4
|
+
import type { IViewParams, ViewEventsList } from '../../ui/View';
|
|
4
5
|
import { ToggleButton } from "../../ui/ToggleButton";
|
|
5
6
|
import { TimelineModel } from './TimelineModel';
|
|
6
|
-
import { MouseEventExt } from "../../input/MouseHandler";
|
|
7
|
+
import type { MouseEventExt } from "../../input/MouseHandler";
|
|
7
8
|
interface ITimelineViewParams extends IViewParams {
|
|
8
9
|
currentDate?: Date;
|
|
9
10
|
rangeStart?: Date;
|
|
@@ -159,7 +159,7 @@ declare class Ellipsoid {
|
|
|
159
159
|
* @param {LonLat} lonLat - Origin coordinates
|
|
160
160
|
* @param {number} azimuth - View azimuth in degrees
|
|
161
161
|
* @param {number} dist - Distance to the destination point coordinates in meters
|
|
162
|
-
* @returns {{
|
|
162
|
+
* @returns {{destination: LonLat, finalAzimuth: number}} - Destination point coordinates
|
|
163
163
|
*/
|
|
164
164
|
direct(lonLat: LonLat, azimuth: number, dist: number): IDirectResult;
|
|
165
165
|
/**
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import { Entity } from "./Entity";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
2
|
+
import { Vec2 } from "../math/Vec2";
|
|
3
|
+
import { Vec3 } from "../math/Vec3";
|
|
4
|
+
import { Vec4 } from "../math/Vec4";
|
|
5
|
+
import type { NumberArray2 } from "../math/Vec2";
|
|
6
|
+
import type { NumberArray3 } from "../math/Vec3";
|
|
7
|
+
import type { NumberArray4 } from "../math/Vec4";
|
|
5
8
|
import { BaseBillboardHandler } from "./BaseBillboardHandler";
|
|
6
9
|
export interface IBaseBillboardParams {
|
|
7
10
|
position?: NumberArray3 | Vec3;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { TypedArray } from "../utils/shared";
|
|
1
|
+
import type { TypedArray } from "../utils/shared";
|
|
2
2
|
import { EntityCollection } from "./EntityCollection";
|
|
3
3
|
import { Renderer } from "../renderer/Renderer";
|
|
4
4
|
import { Vec3 } from "../math/Vec3";
|
|
5
5
|
import { Vec4 } from "../math/Vec4";
|
|
6
|
-
import { WebGLBufferExt } from "../webgl/Handler";
|
|
6
|
+
import type { WebGLBufferExt } from "../webgl/Handler";
|
|
7
7
|
import { BaseBillboard } from "./BaseBillboard";
|
|
8
8
|
/**
|
|
9
9
|
* @class BaseBillboardHandler
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { BaseBillboard
|
|
1
|
+
import { BaseBillboard } from "./BaseBillboard";
|
|
2
|
+
import type { IBaseBillboardParams } from "./BaseBillboard";
|
|
2
3
|
import { BillboardHandler } from "./BillboardHandler";
|
|
3
|
-
import { HTMLImageElementExt } from "../utils/ImagesCacheManager";
|
|
4
|
+
import type { HTMLImageElementExt } from "../utils/ImagesCacheManager";
|
|
4
5
|
export interface IBillboardParams extends IBaseBillboardParams {
|
|
5
6
|
src?: string;
|
|
6
7
|
image?: HTMLImageElement;
|
|
@@ -1,17 +1,28 @@
|
|
|
1
|
-
import { Billboard
|
|
2
|
-
import { EntityCollection
|
|
1
|
+
import { Billboard } from "./Billboard";
|
|
2
|
+
import { EntityCollection } from "./EntityCollection";
|
|
3
|
+
import type { IBillboardParams } from "./Billboard";
|
|
4
|
+
import type { EntityCollectionEvents } from "./EntityCollection";
|
|
3
5
|
import { Extent } from "../Extent";
|
|
4
|
-
import { Geometry
|
|
5
|
-
import { GeoObject
|
|
6
|
+
import { Geometry } from "./Geometry";
|
|
7
|
+
import { GeoObject } from "./GeoObject";
|
|
8
|
+
import type { IGeometryParams } from "./Geometry";
|
|
9
|
+
import type { IGeoObjectParams } from "./GeoObject";
|
|
6
10
|
import { LonLat } from "../LonLat";
|
|
7
|
-
import { Label
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
11
|
+
import { Label } from "./Label";
|
|
12
|
+
import type { ILabelParams } from "./Label";
|
|
13
|
+
import { Vec3 } from "../math/Vec3";
|
|
14
|
+
import type { NumberArray3 } from "../math/Vec3";
|
|
15
|
+
import type { NumberArray2 } from "../math/Vec2";
|
|
16
|
+
import { PointCloud } from "./PointCloud";
|
|
17
|
+
import { Polyline } from "./Polyline";
|
|
18
|
+
import type { IPointCloudParams } from "./PointCloud";
|
|
19
|
+
import type { IPolylineParams } from "./Polyline";
|
|
20
|
+
import { Ray } from "./Ray";
|
|
21
|
+
import type { IRayParams } from "./Ray";
|
|
22
|
+
import { Strip } from "./Strip";
|
|
23
|
+
import type { IStripParams } from "./Strip";
|
|
24
|
+
import { Vector } from "../layer/Vector";
|
|
25
|
+
import type { VectorEventsType } from "../layer/Vector";
|
|
15
26
|
import { EntityCollectionNode } from "../quadTree/EntityCollectionNode";
|
|
16
27
|
import { Quat } from "../math/Quat";
|
|
17
28
|
/**
|
|
@@ -37,7 +48,8 @@ import { Quat } from "../math/Quat";
|
|
|
37
48
|
* @property {number} [yaw] - Rotation around local Y-axis.
|
|
38
49
|
* @property {number} [roll] - Rotation around local Z-axis.
|
|
39
50
|
* @property {number | Vec3 | NumberArray3} [scale] - Scaling factor.
|
|
40
|
-
* @property {boolean} [forceGlobalPosition] - Forces global position for
|
|
51
|
+
* @property {boolean} [forceGlobalPosition] - Forces global position for entity make the same position as its parent.
|
|
52
|
+
* @property {boolean} [forceGlobalRotation] - Forces global rotation for the entity make the same rotation as its parent.
|
|
41
53
|
*/
|
|
42
54
|
export interface IEntityParams {
|
|
43
55
|
name?: string;
|
|
@@ -61,6 +73,8 @@ export interface IEntityParams {
|
|
|
61
73
|
roll?: number;
|
|
62
74
|
scale?: number | Vec3 | NumberArray3;
|
|
63
75
|
forceGlobalPosition?: boolean;
|
|
76
|
+
forceGlobalRotation?: boolean;
|
|
77
|
+
forceGlobalScale?: boolean;
|
|
64
78
|
localPosition?: Vec3 | NumberArray3;
|
|
65
79
|
}
|
|
66
80
|
/**
|
|
@@ -85,11 +99,13 @@ export interface IEntityParams {
|
|
|
85
99
|
* @param {Strip | IStripParams} [options.strip] - Strip object or parameters.
|
|
86
100
|
* @param {boolean} [options.independentPicking] - Independent picking flag.
|
|
87
101
|
* @param {boolean} [options.relativePosition] - Parent relative position flag, otherwise position is absolute.
|
|
88
|
-
* @param {number} [options.pitch] - Rotation around local X-axis.
|
|
89
|
-
* @param {number} [options.yaw] - Rotation around local Y-axis.
|
|
90
|
-
* @param {number} [options.roll] - Rotation around local Z-axis.
|
|
102
|
+
* @param {number} [options.pitch] - Rotation around local X-axis in radians.
|
|
103
|
+
* @param {number} [options.yaw] - Rotation around local Y-axis in radians.
|
|
104
|
+
* @param {number} [options.roll] - Rotation around local Z-axis in radians.
|
|
91
105
|
* @param {number | Vec3 | NumberArray3} [options.scale] - Scaling factor.
|
|
92
|
-
* @param {boolean} [options.forceGlobalPosition] - Forces global position for
|
|
106
|
+
* @param {boolean} [options.forceGlobalPosition] - Forces global position for the entity make the same position as its parent.
|
|
107
|
+
* @param {boolean} [options.forceGlobalRotation] - Forces global rotation for the entity make the same rotation as its parent.
|
|
108
|
+
* @param {boolean} [options.forceGlobalScale] - Forces global scale for the entity make the same scale as its parent.
|
|
93
109
|
*/
|
|
94
110
|
declare class Entity {
|
|
95
111
|
static __counter__: number;
|
|
@@ -112,6 +128,8 @@ declare class Entity {
|
|
|
112
128
|
*/
|
|
113
129
|
childEntities: Entity[];
|
|
114
130
|
forceGlobalPosition: boolean;
|
|
131
|
+
forceGlobalRotation: boolean;
|
|
132
|
+
forceGlobalScale: boolean;
|
|
115
133
|
/**
|
|
116
134
|
* Parent entity.
|
|
117
135
|
* @public
|
|
@@ -238,9 +256,6 @@ declare class Entity {
|
|
|
238
256
|
strip: Strip | null;
|
|
239
257
|
_nodePtr?: EntityCollectionNode;
|
|
240
258
|
protected _relativePosition: boolean;
|
|
241
|
-
protected _pitch: number;
|
|
242
|
-
protected _yaw: number;
|
|
243
|
-
protected _roll: number;
|
|
244
259
|
protected _pitchRad: number;
|
|
245
260
|
protected _yawRad: number;
|
|
246
261
|
protected _rollRad: number;
|
|
@@ -386,72 +401,72 @@ declare class Entity {
|
|
|
386
401
|
setRotation(rot: Quat): void;
|
|
387
402
|
/**
|
|
388
403
|
* Sets the pitch rotation of the entity.
|
|
389
|
-
* @param {number} val - The new pitch angle in
|
|
404
|
+
* @param {number} val - The new pitch angle in radians.
|
|
390
405
|
*/
|
|
391
406
|
setPitch(val: number): void;
|
|
392
407
|
/**
|
|
393
408
|
* Sets the yaw rotation of the entity.
|
|
394
|
-
* @param {number} val - The new yaw angle in
|
|
409
|
+
* @param {number} val - The new yaw angle in radians.
|
|
395
410
|
*/
|
|
396
411
|
setYaw(val: number): void;
|
|
397
412
|
/**
|
|
398
413
|
* Sets the roll rotation of the entity.
|
|
399
414
|
* @public
|
|
400
|
-
* @param {number} val - The new roll angle in
|
|
415
|
+
* @param {number} val - The new roll angle in radians.
|
|
401
416
|
*/
|
|
402
417
|
setRoll(val: number): void;
|
|
403
418
|
/**
|
|
404
419
|
* Gets the pitch angle of the entity.
|
|
405
420
|
* @public
|
|
406
|
-
* @returns {number} The pitch angle in
|
|
421
|
+
* @returns {number} The pitch angle in radians.
|
|
407
422
|
*/
|
|
408
423
|
getPitch(): number;
|
|
409
424
|
/**
|
|
410
425
|
* Gets the yaw angle of the entity.
|
|
411
426
|
* @public
|
|
412
|
-
* @returns {number} The yaw angle in
|
|
427
|
+
* @returns {number} The yaw angle in radians.
|
|
413
428
|
*/
|
|
414
429
|
getYaw(): number;
|
|
415
430
|
/**
|
|
416
431
|
* Gets the roll angle of the entity.
|
|
417
432
|
* @public
|
|
418
|
-
* @returns {number} The roll angle in
|
|
433
|
+
* @returns {number} The roll angle in radians.
|
|
419
434
|
*/
|
|
420
435
|
getRoll(): number;
|
|
421
436
|
/**
|
|
422
437
|
* Sets the absolute pitch of the entity.
|
|
423
438
|
* @public
|
|
424
|
-
* @param {number} val - The absolute pitch angle in
|
|
439
|
+
* @param {number} val - The absolute pitch angle in radians.
|
|
425
440
|
*/
|
|
426
441
|
setAbsolutePitch(val: number): void;
|
|
427
442
|
/**
|
|
428
443
|
* Sets the absolute yaw of the entity.
|
|
429
444
|
* @public
|
|
430
|
-
* @param {number} val - The absolute yaw angle in
|
|
445
|
+
* @param {number} val - The absolute yaw angle in radians.
|
|
431
446
|
*/
|
|
432
447
|
setAbsoluteYaw(val: number): void;
|
|
433
448
|
/**
|
|
434
449
|
* Sets the absolute roll of the entity.
|
|
435
450
|
* @public
|
|
436
|
-
* @param {number} val - The absolute roll angle in
|
|
451
|
+
* @param {number} val - The absolute roll angle in radians.
|
|
437
452
|
*/
|
|
438
453
|
setAbsoluteRoll(val: number): void;
|
|
439
454
|
/**
|
|
440
455
|
* Gets the absolute pitch angle of the entity.
|
|
441
456
|
* @public
|
|
442
|
-
* @returns {number} The absolute pitch angle in
|
|
457
|
+
* @returns {number} The absolute pitch angle in radians.
|
|
443
458
|
*/
|
|
444
459
|
getAbsolutePitch(): number;
|
|
445
460
|
/**
|
|
446
461
|
* Gets the absolute yaw angle of the entity.
|
|
447
462
|
* @public
|
|
448
|
-
* @returns {number} The absolute yaw angle in
|
|
463
|
+
* @returns {number} The absolute yaw angle in radians.
|
|
449
464
|
*/
|
|
450
465
|
getAbsoluteYaw(): number;
|
|
451
466
|
/**
|
|
452
467
|
* Gets the absolute roll angle of the entity.
|
|
453
468
|
* @public
|
|
454
|
-
* @returns {number} The absolute roll angle in
|
|
469
|
+
* @returns {number} The absolute roll angle in radians.
|
|
455
470
|
*/
|
|
456
471
|
getAbsoluteRoll(): number;
|
|
457
472
|
protected _getScaleByDistance(): number;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { BillboardHandler } from "./BillboardHandler";
|
|
2
|
-
import { EventsHandler } from "../Events";
|
|
2
|
+
import type { EventsHandler } from "../Events";
|
|
3
3
|
import { Entity } from "./Entity";
|
|
4
4
|
import { Ellipsoid } from "../ellipsoid/Ellipsoid";
|
|
5
5
|
import { EntityCollectionNode } from "../quadTree/EntityCollectionNode";
|
|
6
6
|
import { GeoObjectHandler } from "./GeoObjectHandler";
|
|
7
7
|
import { LabelHandler } from "./LabelHandler";
|
|
8
|
-
import { Vec3
|
|
8
|
+
import { Vec3 } from "../math/Vec3";
|
|
9
|
+
import type { NumberArray3 } from "../math/Vec3";
|
|
9
10
|
import { PointCloudHandler } from "./PointCloudHandler";
|
|
10
11
|
import { PolylineHandler } from "./PolylineHandler";
|
|
11
12
|
import { RayHandler } from "./RayHandler";
|
|
@@ -152,7 +153,7 @@ declare class EntityCollection {
|
|
|
152
153
|
* Second index - far distance to the entity, when entity becomes zero scale.
|
|
153
154
|
* Third index - far distance to the entity, when entity becomes invisible.
|
|
154
155
|
* @public
|
|
155
|
-
* @type {Array.<number>}
|
|
156
|
+
* @type {Array.<number>}
|
|
156
157
|
*/
|
|
157
158
|
scaleByDistance: NumberArray3;
|
|
158
159
|
pickingScale: Float32Array;
|
|
@@ -2,8 +2,8 @@ import { Entity } from "./Entity";
|
|
|
2
2
|
import { Quat, Vec3, Vec4 } from "../math/index";
|
|
3
3
|
import { GeoObjectHandler } from "./GeoObjectHandler";
|
|
4
4
|
import { InstanceData } from "./InstanceData";
|
|
5
|
-
import { NumberArray3 } from "../math/Vec3";
|
|
6
|
-
import { NumberArray4 } from "../math/Vec4";
|
|
5
|
+
import type { NumberArray3 } from "../math/Vec3";
|
|
6
|
+
import type { NumberArray4 } from "../math/Vec4";
|
|
7
7
|
import { Object3d } from "../Object3d";
|
|
8
8
|
export declare const LOCAL_FORWARD: Vec3;
|
|
9
9
|
/**
|
|
@@ -13,9 +13,6 @@ export declare const LOCAL_FORWARD: Vec3;
|
|
|
13
13
|
* @property {string} [objSrc] - Source url of the 3D object.
|
|
14
14
|
* @property {string} [tag] - Unique instancing drawing identifier tag.
|
|
15
15
|
* @property {Vec3 | NumberArray3} [position] - Position in Cartesian coordinates.
|
|
16
|
-
* @property {number} [pitch] - Rotation around X-axis in degrees.
|
|
17
|
-
* @property {number} [yaw] - Rotation around Y-axis in degrees.
|
|
18
|
-
* @property {number} [roll] - Rotation around Z-axis in degrees.
|
|
19
16
|
* @property {number | Vec3 | NumberArray3} [scale] - Scale of the object.
|
|
20
17
|
* @property {Vec3 | NumberArray3} [translate] - Translation offset.
|
|
21
18
|
* @property {Vec4 | NumberArray4 | string} [color] - RGBA color or HTML color string.
|
|
@@ -26,9 +23,6 @@ export interface IGeoObjectParams {
|
|
|
26
23
|
objSrc?: string;
|
|
27
24
|
tag?: string;
|
|
28
25
|
position?: Vec3 | NumberArray3;
|
|
29
|
-
pitch?: number;
|
|
30
|
-
yaw?: number;
|
|
31
|
-
roll?: number;
|
|
32
26
|
scale?: number | Vec3 | NumberArray3;
|
|
33
27
|
translate?: Vec3 | NumberArray3;
|
|
34
28
|
color?: Vec4 | NumberArray4 | string;
|
|
@@ -42,9 +36,6 @@ export interface IGeoObjectParams {
|
|
|
42
36
|
* @param {string} [options.objSrc] - Source url of the 3D object.
|
|
43
37
|
* @param {string} [options.tag] - Unique instancing drawing identifier tag.
|
|
44
38
|
* @param {Vec3 | NumberArray3} [options.position] - Position in Cartesian coordinates.
|
|
45
|
-
* @param {number} [options.pitch=0] - Rotation around X-axis in degrees.
|
|
46
|
-
* @param {number} [options.yaw=0] - Rotation around Y-axis in degrees.
|
|
47
|
-
* @param {number} [options.roll=0] - Rotation around Z-axis in degrees.
|
|
48
39
|
* @param {number | Vec3 | NumberArray3} [options.scale=1] - Scale of the object.
|
|
49
40
|
* @param {Vec3 | NumberArray3} [options.translate] - Translation offset.
|
|
50
41
|
* @param {Vec4 | NumberArray4 | string} [options.color] - RGBA color or HTML color string.
|