@openglobus/og 0.24.0 → 0.24.2

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.
Files changed (291) hide show
  1. package/lib/@openglobus/js/Clock.d.ts +2 -2
  2. package/lib/@openglobus/js/Globe.d.ts +10 -5
  3. package/lib/@openglobus/js/LonLat.d.ts +2 -2
  4. package/lib/@openglobus/js/Object3d.d.ts +3 -2
  5. package/lib/@openglobus/js/Popup.d.ts +7 -4
  6. package/lib/@openglobus/js/astro/astro.d.ts +1 -1
  7. package/lib/@openglobus/js/astro/earth.d.ts +1 -1
  8. package/lib/@openglobus/js/bv/Box.d.ts +1 -1
  9. package/lib/@openglobus/js/camera/Camera.d.ts +7 -4
  10. package/lib/@openglobus/js/camera/Frustum.d.ts +2 -2
  11. package/lib/@openglobus/js/camera/PlanetCamera.d.ts +1 -1
  12. package/lib/@openglobus/js/control/Atmosphere.d.ts +3 -3
  13. package/lib/@openglobus/js/control/AtmosphereConfig.d.ts +2 -2
  14. package/lib/@openglobus/js/control/CameraLock.d.ts +3 -3
  15. package/lib/@openglobus/js/control/CompassButton.d.ts +1 -1
  16. package/lib/@openglobus/js/control/DebugInfo.d.ts +1 -1
  17. package/lib/@openglobus/js/control/EarthCoordinates.d.ts +2 -2
  18. package/lib/@openglobus/js/control/GeoImageDragControl.d.ts +2 -2
  19. package/lib/@openglobus/js/control/KeyboardNavigation.d.ts +1 -1
  20. package/lib/@openglobus/js/control/LayerAnimation.d.ts +2 -2
  21. package/lib/@openglobus/js/control/LayerSwitcher.d.ts +4 -2
  22. package/lib/@openglobus/js/control/Lighting.d.ts +2 -1
  23. package/lib/@openglobus/js/control/MouseNavigation.d.ts +3 -2
  24. package/lib/@openglobus/js/control/OldMouseNavigation.d.ts +3 -2
  25. package/lib/@openglobus/js/control/RulerSwitcher.d.ts +2 -1
  26. package/lib/@openglobus/js/control/ScaleControl.d.ts +2 -1
  27. package/lib/@openglobus/js/control/SegmentBoundVisualization.d.ts +2 -1
  28. package/lib/@openglobus/js/control/ShowFps.d.ts +2 -1
  29. package/lib/@openglobus/js/control/SimpleNavigation.d.ts +3 -2
  30. package/lib/@openglobus/js/control/SimpleSkyBackground.d.ts +2 -1
  31. package/lib/@openglobus/js/control/Sun.d.ts +2 -1
  32. package/lib/@openglobus/js/control/ToggleWireframe.d.ts +2 -1
  33. package/lib/@openglobus/js/control/TouchNavigation.d.ts +3 -2
  34. package/lib/@openglobus/js/control/ZoomControl.d.ts +2 -1
  35. package/lib/@openglobus/js/control/drawing/DrawingControl.d.ts +1 -1
  36. package/lib/@openglobus/js/control/drawing/LineStringDrawingScene.d.ts +1 -1
  37. package/lib/@openglobus/js/control/drawing/PolygonDrawingScene.d.ts +3 -3
  38. package/lib/@openglobus/js/control/elevationProfile/ElevationProfile.d.ts +1 -1
  39. package/lib/@openglobus/js/control/elevationProfile/ElevationProfileButtonsView.d.ts +3 -2
  40. package/lib/@openglobus/js/control/elevationProfile/ElevationProfileControl.d.ts +2 -2
  41. package/lib/@openglobus/js/control/elevationProfile/ElevationProfileLegend.d.ts +1 -1
  42. package/lib/@openglobus/js/control/elevationProfile/ElevationProfileScene.d.ts +2 -2
  43. package/lib/@openglobus/js/control/elevationProfile/ElevationProfileView.d.ts +6 -4
  44. package/lib/@openglobus/js/control/elevationProfile/PointListDialog.d.ts +1 -1
  45. package/lib/@openglobus/js/control/geoObjectEditor/ArrowEntity.d.ts +1 -1
  46. package/lib/@openglobus/js/control/geoObjectEditor/AxisTrackEntity.d.ts +1 -1
  47. package/lib/@openglobus/js/control/geoObjectEditor/GeoObjectEditor.d.ts +1 -1
  48. package/lib/@openglobus/js/control/geoObjectEditor/GeoObjectEditorDialog.d.ts +1 -1
  49. package/lib/@openglobus/js/control/geoObjectEditor/GeoObjectEditorScene.d.ts +2 -2
  50. package/lib/@openglobus/js/control/geoObjectEditor/MoveAxisEntity.d.ts +1 -1
  51. package/lib/@openglobus/js/control/geoObjectEditor/MovePlaneEntity.d.ts +1 -1
  52. package/lib/@openglobus/js/control/geoObjectEditor/RotateEntity.d.ts +1 -1
  53. package/lib/@openglobus/js/control/heightRuler/HeightRuler.d.ts +1 -1
  54. package/lib/@openglobus/js/control/heightRuler/HeightRulerScene.d.ts +1 -1
  55. package/lib/@openglobus/js/control/ruler/Ruler.d.ts +2 -1
  56. package/lib/@openglobus/js/control/ruler/RulerScene.d.ts +2 -2
  57. package/lib/@openglobus/js/control/selection/Selection.d.ts +2 -1
  58. package/lib/@openglobus/js/control/timeline/TimelineControl.d.ts +1 -1
  59. package/lib/@openglobus/js/control/timeline/TimelineModel.d.ts +1 -1
  60. package/lib/@openglobus/js/control/timeline/TimelineView.d.ts +4 -3
  61. package/lib/@openglobus/js/ellipsoid/Ellipsoid.d.ts +1 -1
  62. package/lib/@openglobus/js/entity/BaseBillboard.d.ts +6 -3
  63. package/lib/@openglobus/js/entity/BaseBillboardHandler.d.ts +2 -2
  64. package/lib/@openglobus/js/entity/Billboard.d.ts +3 -2
  65. package/lib/@openglobus/js/entity/Entity.d.ts +23 -12
  66. package/lib/@openglobus/js/entity/EntityCollection.d.ts +4 -3
  67. package/lib/@openglobus/js/entity/GeoObject.d.ts +2 -2
  68. package/lib/@openglobus/js/entity/Geometry.d.ts +4 -3
  69. package/lib/@openglobus/js/entity/GeometryHandler.d.ts +3 -2
  70. package/lib/@openglobus/js/entity/InstanceData.d.ts +2 -2
  71. package/lib/@openglobus/js/entity/Label.d.ts +4 -2
  72. package/lib/@openglobus/js/entity/LabelHandler.d.ts +1 -1
  73. package/lib/@openglobus/js/entity/PointCloud.d.ts +1 -1
  74. package/lib/@openglobus/js/entity/Polyline.d.ts +9 -7
  75. package/lib/@openglobus/js/entity/Ray.d.ts +4 -2
  76. package/lib/@openglobus/js/entity/RayHandler.d.ts +2 -2
  77. package/lib/@openglobus/js/entity/Strip.d.ts +5 -3
  78. package/lib/@openglobus/js/input/KeyboardHandler.d.ts +1 -1
  79. package/lib/@openglobus/js/layer/BaseGeoImage.d.ts +6 -5
  80. package/lib/@openglobus/js/layer/Bing.d.ts +2 -1
  81. package/lib/@openglobus/js/layer/CanvasTiles.d.ts +4 -3
  82. package/lib/@openglobus/js/layer/GeoImage.d.ts +2 -1
  83. package/lib/@openglobus/js/layer/GeoTexture2d.d.ts +3 -2
  84. package/lib/@openglobus/js/layer/GeoVideo.d.ts +2 -1
  85. package/lib/@openglobus/js/layer/KML.d.ts +5 -3
  86. package/lib/@openglobus/js/layer/Layer.d.ts +5 -4
  87. package/lib/@openglobus/js/layer/Material.d.ts +2 -2
  88. package/lib/@openglobus/js/layer/OpenStreetMap.d.ts +2 -1
  89. package/lib/@openglobus/js/layer/Vector.d.ts +9 -7
  90. package/lib/@openglobus/js/layer/WMS.d.ts +2 -1
  91. package/lib/@openglobus/js/layer/XYZ.d.ts +4 -3
  92. package/lib/@openglobus/js/math/Quat.d.ts +6 -1
  93. package/lib/@openglobus/js/math/Vec3.d.ts +3 -2
  94. package/lib/@openglobus/js/math/coder.d.ts +5 -3
  95. package/lib/@openglobus/js/math/index.d.ts +6 -3
  96. package/lib/@openglobus/js/math.d.ts +2 -2
  97. package/lib/@openglobus/js/quadTree/earth/EarthEntityCollectionNodeLonLat.d.ts +2 -1
  98. package/lib/@openglobus/js/quadTree/earth/EarthQuadTreeStrategy.d.ts +0 -2
  99. package/lib/@openglobus/js/quadTree/equi/EquiEntityCollectionNodeLonLat.d.ts +2 -1
  100. package/lib/@openglobus/js/renderer/Renderer.d.ts +5 -3
  101. package/lib/@openglobus/js/renderer/RendererEvents.d.ts +6 -3
  102. package/lib/@openglobus/js/scene/Axes.d.ts +1 -1
  103. package/lib/@openglobus/js/scene/Planet.d.ts +8 -6
  104. package/lib/@openglobus/js/scene/SkyBox.d.ts +1 -1
  105. package/lib/@openglobus/js/segment/Segment.d.ts +7 -5
  106. package/lib/@openglobus/js/segment/SegmentLonLat.d.ts +1 -1
  107. package/lib/@openglobus/js/segment/SegmentLonLatEqui.d.ts +1 -1
  108. package/lib/@openglobus/js/shaders/atmos.d.ts +1 -1
  109. package/lib/@openglobus/js/shaders/drawnode.d.ts +1 -1
  110. package/lib/@openglobus/js/terrain/BilTerrain.d.ts +3 -2
  111. package/lib/@openglobus/js/terrain/EmptyTerrain.d.ts +1 -1
  112. package/lib/@openglobus/js/terrain/GlobusRgbTerrain.d.ts +2 -1
  113. package/lib/@openglobus/js/terrain/GlobusTerrain.d.ts +5 -4
  114. package/lib/@openglobus/js/terrain/RgbTerrain.d.ts +3 -2
  115. package/lib/@openglobus/js/ui/Button.d.ts +3 -2
  116. package/lib/@openglobus/js/ui/ButtonGroup.d.ts +1 -1
  117. package/lib/@openglobus/js/ui/Checkbox.d.ts +3 -2
  118. package/lib/@openglobus/js/ui/Color.d.ts +3 -2
  119. package/lib/@openglobus/js/ui/Dialog.d.ts +3 -2
  120. package/lib/@openglobus/js/ui/Input.d.ts +3 -2
  121. package/lib/@openglobus/js/ui/Slider.d.ts +3 -2
  122. package/lib/@openglobus/js/ui/ToggleButton.d.ts +4 -3
  123. package/lib/@openglobus/js/ui/View.d.ts +1 -1
  124. package/lib/@openglobus/js/utils/FontAtlas.d.ts +1 -1
  125. package/lib/@openglobus/js/utils/GeoImageCreator.d.ts +1 -1
  126. package/lib/@openglobus/js/utils/Loader.d.ts +1 -1
  127. package/lib/@openglobus/js/utils/NormalMapCreator.d.ts +2 -1
  128. package/lib/@openglobus/js/utils/TerrainWorker.d.ts +1 -1
  129. package/lib/@openglobus/js/utils/TextureAtlas.d.ts +4 -2
  130. package/lib/@openglobus/js/utils/objParser.d.ts +1 -1
  131. package/lib/@openglobus/js/utils/shared.d.ts +5 -3
  132. package/lib/@openglobus/js/webgl/Framebuffer.d.ts +3 -2
  133. package/lib/@openglobus/js/webgl/Handler.d.ts +11 -7
  134. package/lib/@openglobus/js/webgl/Multisample.d.ts +2 -1
  135. package/lib/@openglobus/js/webgl/Program.d.ts +2 -2
  136. package/lib/@openglobus/js/webgl/ProgramController.d.ts +2 -1
  137. package/lib/@openglobus/js/webgl/variableHandlers.d.ts +1 -1
  138. package/lib/@openglobus/og.esm.js +1 -1
  139. package/lib/@openglobus/og.esm.js.map +1 -1
  140. package/lib/@openglobus/og.umd.js +1 -1
  141. package/lib/@openglobus/og.umd.js.map +1 -1
  142. package/lib/js/Clock.d.ts +2 -2
  143. package/lib/js/Globe.d.ts +10 -5
  144. package/lib/js/Globe.js +6 -2
  145. package/lib/js/LonLat.d.ts +2 -2
  146. package/lib/js/Object3d.d.ts +3 -2
  147. package/lib/js/Popup.d.ts +7 -4
  148. package/lib/js/astro/astro.d.ts +1 -1
  149. package/lib/js/astro/earth.d.ts +1 -1
  150. package/lib/js/bv/Box.d.ts +1 -1
  151. package/lib/js/camera/Camera.d.ts +7 -4
  152. package/lib/js/camera/Frustum.d.ts +2 -2
  153. package/lib/js/camera/PlanetCamera.d.ts +1 -1
  154. package/lib/js/control/Atmosphere.d.ts +3 -3
  155. package/lib/js/control/AtmosphereConfig.d.ts +2 -2
  156. package/lib/js/control/CameraLock.d.ts +3 -3
  157. package/lib/js/control/CompassButton.d.ts +1 -1
  158. package/lib/js/control/DebugInfo.d.ts +1 -1
  159. package/lib/js/control/EarthCoordinates.d.ts +2 -2
  160. package/lib/js/control/GeoImageDragControl.d.ts +2 -2
  161. package/lib/js/control/KeyboardNavigation.d.ts +1 -1
  162. package/lib/js/control/LayerAnimation.d.ts +2 -2
  163. package/lib/js/control/LayerSwitcher.d.ts +4 -2
  164. package/lib/js/control/Lighting.d.ts +2 -1
  165. package/lib/js/control/MouseNavigation.d.ts +3 -2
  166. package/lib/js/control/OldMouseNavigation.d.ts +3 -2
  167. package/lib/js/control/RulerSwitcher.d.ts +2 -1
  168. package/lib/js/control/ScaleControl.d.ts +2 -1
  169. package/lib/js/control/SegmentBoundVisualization.d.ts +2 -1
  170. package/lib/js/control/ShowFps.d.ts +2 -1
  171. package/lib/js/control/SimpleNavigation.d.ts +3 -2
  172. package/lib/js/control/SimpleSkyBackground.d.ts +2 -1
  173. package/lib/js/control/Sun.d.ts +2 -1
  174. package/lib/js/control/ToggleWireframe.d.ts +2 -1
  175. package/lib/js/control/TouchNavigation.d.ts +3 -2
  176. package/lib/js/control/ZoomControl.d.ts +2 -1
  177. package/lib/js/control/drawing/DrawingControl.d.ts +1 -1
  178. package/lib/js/control/drawing/LineStringDrawingScene.d.ts +1 -1
  179. package/lib/js/control/drawing/PolygonDrawingScene.d.ts +3 -3
  180. package/lib/js/control/drawing/PolygonDrawingScene.js +0 -1
  181. package/lib/js/control/elevationProfile/ElevationProfile.d.ts +1 -1
  182. package/lib/js/control/elevationProfile/ElevationProfileButtonsView.d.ts +3 -2
  183. package/lib/js/control/elevationProfile/ElevationProfileControl.d.ts +2 -2
  184. package/lib/js/control/elevationProfile/ElevationProfileControl.js +0 -2
  185. package/lib/js/control/elevationProfile/ElevationProfileLegend.d.ts +1 -1
  186. package/lib/js/control/elevationProfile/ElevationProfileScene.d.ts +2 -2
  187. package/lib/js/control/elevationProfile/ElevationProfileView.d.ts +6 -4
  188. package/lib/js/control/elevationProfile/ElevationProfileView.js +1 -1
  189. package/lib/js/control/elevationProfile/PointListDialog.d.ts +1 -1
  190. package/lib/js/control/geoObjectEditor/ArrowEntity.d.ts +1 -1
  191. package/lib/js/control/geoObjectEditor/AxisTrackEntity.d.ts +1 -1
  192. package/lib/js/control/geoObjectEditor/GeoObjectEditor.d.ts +1 -1
  193. package/lib/js/control/geoObjectEditor/GeoObjectEditorDialog.d.ts +1 -1
  194. package/lib/js/control/geoObjectEditor/GeoObjectEditorScene.d.ts +2 -2
  195. package/lib/js/control/geoObjectEditor/MoveAxisEntity.d.ts +1 -1
  196. package/lib/js/control/geoObjectEditor/MovePlaneEntity.d.ts +1 -1
  197. package/lib/js/control/geoObjectEditor/RotateEntity.d.ts +1 -1
  198. package/lib/js/control/heightRuler/HeightRuler.d.ts +1 -1
  199. package/lib/js/control/heightRuler/HeightRulerScene.d.ts +1 -1
  200. package/lib/js/control/ruler/Ruler.d.ts +2 -1
  201. package/lib/js/control/ruler/RulerScene.d.ts +2 -2
  202. package/lib/js/control/selection/Selection.d.ts +2 -1
  203. package/lib/js/control/timeline/TimelineControl.d.ts +1 -1
  204. package/lib/js/control/timeline/TimelineModel.d.ts +1 -1
  205. package/lib/js/control/timeline/TimelineView.d.ts +4 -3
  206. package/lib/js/ellipsoid/Ellipsoid.d.ts +1 -1
  207. package/lib/js/ellipsoid/Ellipsoid.js +1 -1
  208. package/lib/js/entity/BaseBillboard.d.ts +6 -3
  209. package/lib/js/entity/BaseBillboardHandler.d.ts +2 -2
  210. package/lib/js/entity/Billboard.d.ts +3 -2
  211. package/lib/js/entity/Entity.d.ts +23 -12
  212. package/lib/js/entity/EntityCollection.d.ts +4 -3
  213. package/lib/js/entity/GeoObject.d.ts +2 -2
  214. package/lib/js/entity/Geometry.d.ts +4 -3
  215. package/lib/js/entity/GeometryHandler.d.ts +3 -2
  216. package/lib/js/entity/InstanceData.d.ts +2 -2
  217. package/lib/js/entity/Label.d.ts +4 -2
  218. package/lib/js/entity/LabelHandler.d.ts +1 -1
  219. package/lib/js/entity/PointCloud.d.ts +1 -1
  220. package/lib/js/entity/Polyline.d.ts +9 -7
  221. package/lib/js/entity/Polyline.js +2 -1
  222. package/lib/js/entity/Ray.d.ts +4 -2
  223. package/lib/js/entity/RayHandler.d.ts +2 -2
  224. package/lib/js/entity/Strip.d.ts +5 -3
  225. package/lib/js/input/KeyboardHandler.d.ts +1 -1
  226. package/lib/js/layer/BaseGeoImage.d.ts +6 -5
  227. package/lib/js/layer/Bing.d.ts +2 -1
  228. package/lib/js/layer/CanvasTiles.d.ts +4 -3
  229. package/lib/js/layer/GeoImage.d.ts +2 -1
  230. package/lib/js/layer/GeoTexture2d.d.ts +3 -2
  231. package/lib/js/layer/GeoVideo.d.ts +2 -1
  232. package/lib/js/layer/KML.d.ts +5 -3
  233. package/lib/js/layer/KML.js +1 -1
  234. package/lib/js/layer/Layer.d.ts +5 -4
  235. package/lib/js/layer/Material.d.ts +2 -2
  236. package/lib/js/layer/OpenStreetMap.d.ts +2 -1
  237. package/lib/js/layer/Vector.d.ts +9 -7
  238. package/lib/js/layer/Vector.js +1 -1
  239. package/lib/js/layer/WMS.d.ts +2 -1
  240. package/lib/js/layer/XYZ.d.ts +4 -3
  241. package/lib/js/math/Quat.d.ts +6 -1
  242. package/lib/js/math/Quat.js +6 -1
  243. package/lib/js/math/Vec3.d.ts +3 -2
  244. package/lib/js/math/coder.d.ts +5 -3
  245. package/lib/js/math/index.d.ts +6 -3
  246. package/lib/js/math.d.ts +2 -2
  247. package/lib/js/math.js +2 -2
  248. package/lib/js/quadTree/earth/EarthEntityCollectionNodeLonLat.d.ts +2 -1
  249. package/lib/js/quadTree/earth/EarthQuadTreeStrategy.d.ts +0 -2
  250. package/lib/js/quadTree/equi/EquiEntityCollectionNodeLonLat.d.ts +2 -1
  251. package/lib/js/renderer/Renderer.d.ts +5 -3
  252. package/lib/js/renderer/RendererEvents.d.ts +6 -3
  253. package/lib/js/renderer/RendererEvents.js +2 -2
  254. package/lib/js/scene/Axes.d.ts +1 -1
  255. package/lib/js/scene/Planet.d.ts +8 -6
  256. package/lib/js/scene/SkyBox.d.ts +1 -1
  257. package/lib/js/segment/Segment.d.ts +7 -5
  258. package/lib/js/segment/SegmentLonLat.d.ts +1 -1
  259. package/lib/js/segment/SegmentLonLatEqui.d.ts +1 -1
  260. package/lib/js/shaders/atmos.d.ts +1 -1
  261. package/lib/js/shaders/drawnode.d.ts +1 -1
  262. package/lib/js/terrain/BilTerrain.d.ts +3 -2
  263. package/lib/js/terrain/EmptyTerrain.d.ts +1 -1
  264. package/lib/js/terrain/GlobusRgbTerrain.d.ts +2 -1
  265. package/lib/js/terrain/GlobusTerrain.d.ts +5 -4
  266. package/lib/js/terrain/RgbTerrain.d.ts +3 -2
  267. package/lib/js/ui/Button.d.ts +3 -2
  268. package/lib/js/ui/ButtonGroup.d.ts +1 -1
  269. package/lib/js/ui/Checkbox.d.ts +3 -2
  270. package/lib/js/ui/Color.d.ts +3 -2
  271. package/lib/js/ui/Dialog.d.ts +3 -2
  272. package/lib/js/ui/Input.d.ts +3 -2
  273. package/lib/js/ui/Slider.d.ts +3 -2
  274. package/lib/js/ui/ToggleButton.d.ts +4 -3
  275. package/lib/js/ui/View.d.ts +1 -1
  276. package/lib/js/utils/FontAtlas.d.ts +1 -1
  277. package/lib/js/utils/GeoImageCreator.d.ts +1 -1
  278. package/lib/js/utils/Loader.d.ts +1 -1
  279. package/lib/js/utils/NormalMapCreator.d.ts +2 -1
  280. package/lib/js/utils/TerrainWorker.d.ts +1 -1
  281. package/lib/js/utils/TextureAtlas.d.ts +4 -2
  282. package/lib/js/utils/objParser.d.ts +1 -1
  283. package/lib/js/utils/shared.d.ts +5 -3
  284. package/lib/js/webgl/Framebuffer.d.ts +3 -2
  285. package/lib/js/webgl/Handler.d.ts +11 -7
  286. package/lib/js/webgl/Handler.js +6 -3
  287. package/lib/js/webgl/Multisample.d.ts +2 -1
  288. package/lib/js/webgl/Program.d.ts +2 -2
  289. package/lib/js/webgl/ProgramController.d.ts +2 -1
  290. package/lib/js/webgl/variableHandlers.d.ts +1 -1
  291. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
- import { EventsHandler } from "./Events";
2
- import { JulianDate } from "./astro/jd";
1
+ import { type EventsHandler } from "./Events";
2
+ import type { JulianDate } from "./astro/jd";
3
3
  import { Handler } from "./webgl/Handler";
4
4
  type ClockEventsList = ["tick", "end", "start", "stop"];
5
5
  export interface IClockParams {
@@ -2,14 +2,15 @@ import { Control } from "./control/Control";
2
2
  import { Ellipsoid } from "./ellipsoid/Ellipsoid";
3
3
  import { EmptyTerrain } from "./terrain/EmptyTerrain";
4
4
  import { Layer } from "./layer/Layer";
5
- import { NumberArray2 } from "./math/Vec2";
6
- import { NumberArray4 } from "./math/Vec4";
5
+ import type { NumberArray2 } from "./math/Vec2";
6
+ import type { NumberArray4 } from "./math/Vec4";
7
7
  import { Planet } from "./scene/Planet";
8
8
  import { Sun } from "./control/Sun";
9
- import { HTMLDivElementExt, Renderer } from "./renderer/Renderer";
9
+ import { Renderer } from "./renderer/Renderer";
10
+ import type { HTMLDivElementExt } from "./renderer/Renderer";
10
11
  import { RenderNode } from "./scene/RenderNode";
11
12
  import { Extent } from "./Extent";
12
- import { IAtmosphereParams } from "./control/Atmosphere";
13
+ import type { IAtmosphereParams } from "./control/Atmosphere";
13
14
  export interface IGlobeParams {
14
15
  attributionContainer?: HTMLElement;
15
16
  target?: string | HTMLElement;
@@ -47,6 +48,10 @@ export interface IGlobeParams {
47
48
  gamma?: number;
48
49
  exposure?: number;
49
50
  }
51
+ /**
52
+ * @typedef {Array<number>} LonLatCoordinate
53
+ * @typedef {Array<LonLatCoordinate>} ExtentBoundingBox
54
+ */
50
55
  /**
51
56
  * Creates a WebGL context with globe.
52
57
  * @class
@@ -78,7 +83,7 @@ export interface IGlobeParams {
78
83
  * @param {EmptyTerrain} [options.terrain] - Terrain provider. Default no terrain - og.terrain.EmptyTerrain.
79
84
  * @param {Array.<Control>} [options.controls] - Renderer controls array.
80
85
  * @param {Array.<Layer>} [options.layers] - Planet layers.
81
- * @param {Extent| [[number, number],[number, number]]} [options.viewExtent] - Viewable starting extent.
86
+ * @param {Extent | ExtentBoundingBox} [options.viewExtent] [options.viewExtent] - Viewable starting extent.
82
87
  * @param {boolean} [options.autoActivate=true] - Globe rendering auto activation flag. True is default.
83
88
  * @param {HTMLElement} [options.attributionContainer] - Container for attribution list.
84
89
  * @param {number} [options.maxGridSize=128] = Maximal segment grid size. 128 is default
@@ -1,5 +1,5 @@
1
- import { NumberArray2 } from "./math/Vec2";
2
- import { NumberArray3 } from "./math/Vec3";
1
+ import type { NumberArray2 } from "./math/Vec2";
2
+ import type { NumberArray3 } from "./math/Vec3";
3
3
  /**
4
4
  * Represents a geographical point with a certain latitude, longitude and height.
5
5
  * @class
@@ -1,5 +1,6 @@
1
- import { TypedArray } from './utils/shared';
2
- import { NumberArray3, Vec3 } from './math/Vec3';
1
+ import type { TypedArray } from './utils/shared';
2
+ import { Vec3 } from './math/Vec3';
3
+ import type { NumberArray3 } from './math/Vec3';
3
4
  import { Mat4 } from "./math/Mat4";
4
5
  interface IObject3dParams {
5
6
  name?: string;
@@ -1,9 +1,12 @@
1
- import { EventsHandler } from "./Events";
1
+ import type { EventsHandler } from "./Events";
2
2
  import { LonLat } from "./LonLat";
3
3
  import { Planet } from "./scene/Planet";
4
- import { NumberArray2, Vec2 } from "./math/Vec2";
5
- import { NumberArray3, Vec3 } from "./math/Vec3";
6
- import { View, IViewParams, ViewEventsList } from './ui/View';
4
+ import { Vec2 } from "./math/Vec2";
5
+ import { Vec3 } from "./math/Vec3";
6
+ import type { NumberArray2 } from "./math/Vec2";
7
+ import type { NumberArray3 } from "./math/Vec3";
8
+ import { View } from './ui/View';
9
+ import type { IViewParams, ViewEventsList } from './ui/View';
7
10
  interface IPopupParams extends IViewParams {
8
11
  planet: Planet;
9
12
  title?: string;
@@ -1,4 +1,4 @@
1
- import { JulianDate } from "./jd";
1
+ import { type JulianDate } from "./jd";
2
2
  /**
3
3
  * Angle between J2000 mean equator and the ecliptic plane.
4
4
  * 23 deg 26' 21".448 (Seidelmann, _Explanatory Supplement to the
@@ -1,5 +1,5 @@
1
1
  import { Vec3 } from "../math/Vec3";
2
- import { JulianDate } from "./jd";
2
+ import type { JulianDate } from "./jd";
3
3
  /**
4
4
  * Returns Sun position in the geocentric coordinate system by the time.
5
5
  * @param {JulianDate} jDate - Julian date time.
@@ -1,5 +1,5 @@
1
1
  import { Vec3 } from "../math/Vec3";
2
- import { NumberArray6 } from "./Sphere";
2
+ import type { NumberArray6 } from "./Sphere";
3
3
  import { Ellipsoid } from "../ellipsoid/Ellipsoid";
4
4
  import { Extent } from "../Extent";
5
5
  type Vec3Array8 = [Vec3, Vec3, Vec3, Vec3, Vec3, Vec3, Vec3, Vec3];
@@ -1,9 +1,12 @@
1
- import { EventsHandler } from "../Events";
1
+ import { type EventsHandler } from "../Events";
2
2
  import { Frustum } from "./Frustum";
3
- import { Mat3, NumberArray9 } from "../math/Mat3";
4
- import { Mat4, NumberArray16 } from "../math/Mat4";
3
+ import { Mat3 } from "../math/Mat3";
4
+ import type { NumberArray9 } from "../math/Mat3";
5
+ import { Mat4 } from "../math/Mat4";
6
+ import type { NumberArray16 } from "../math/Mat4";
5
7
  import { Renderer } from "../renderer/Renderer";
6
- import { Vec2, NumberArray2 } from "../math/Vec2";
8
+ import { Vec2 } from "../math/Vec2";
9
+ import type { NumberArray2 } from "../math/Vec2";
7
10
  import { Vec3 } from "../math/Vec3";
8
11
  import { Sphere } from "../bv/Sphere";
9
12
  import { Quat } from "../math/Quat";
@@ -1,6 +1,6 @@
1
1
  import { Box } from "../bv/Box";
2
- import { Mat4, NumberArray16 } from "../math/Mat4";
3
- import { NumberArray4 } from "../math/Vec4";
2
+ import { Mat4, type NumberArray16 } from "../math/Mat4";
3
+ import type { NumberArray4 } from "../math/Vec4";
4
4
  import { Sphere } from "../bv/Sphere";
5
5
  import { Vec3 } from "../math/Vec3";
6
6
  interface IFrustumParams {
@@ -1,4 +1,4 @@
1
- import { Camera, ICameraParams } from "./Camera";
1
+ import { Camera, type ICameraParams } from "./Camera";
2
2
  import { Key } from "../Lock";
3
3
  import { LonLat } from "../LonLat";
4
4
  import { Planet } from "../scene/Planet";
@@ -1,7 +1,7 @@
1
- import { AtmosphereParameters } from "../shaders/atmos";
1
+ import { type AtmosphereParameters } from "../shaders/atmos";
2
2
  import { Framebuffer } from "../webgl/Framebuffer";
3
- import { Control, IControlParams } from "./Control";
4
- import { NumberArray3 } from '../math/Vec3';
3
+ import { Control, type IControlParams } from "./Control";
4
+ import type { NumberArray3 } from '../math/Vec3';
5
5
  export interface IAtmosphereParams extends IControlParams {
6
6
  height?: number;
7
7
  rayleighScale?: number;
@@ -1,9 +1,9 @@
1
- import { Control, IControlParams } from "./Control";
1
+ import { Control, type IControlParams } from "./Control";
2
2
  import { Dialog } from '../ui/Dialog';
3
3
  import { Slider } from "../ui/Slider";
4
4
  import { ToggleButton } from "../ui/ToggleButton";
5
5
  import { View } from '../ui/View';
6
- import { AtmosphereParameters } from "../shaders/atmos";
6
+ import type { AtmosphereParameters } from "../shaders/atmos";
7
7
  interface IAtmosphereConfigParams extends IControlParams {
8
8
  }
9
9
  /**
@@ -1,9 +1,9 @@
1
- import { Control, IControlParams } from "./Control";
1
+ import { Control, type IControlParams } from "./Control";
2
2
  import { LonLat } from "../LonLat";
3
3
  import { Vec3 } from "../math/Vec3";
4
- import { EventsHandler } from "../Events";
4
+ import { type EventsHandler } from "../Events";
5
5
  import { Entity } from "../entity/Entity";
6
- import { IMouseState } from "../renderer/RendererEvents";
6
+ import type { IMouseState } from "../renderer/RendererEvents";
7
7
  import { Planet } from "../scene/Planet";
8
8
  type CameraLockEventsList = ["lockview", "unlockview"];
9
9
  interface ICameraLockParams extends IControlParams {
@@ -1,4 +1,4 @@
1
- import { Control, IControlParams } from "./Control";
1
+ import { Control, type IControlParams } from "./Control";
2
2
  interface ICompasButtonParams extends IControlParams {
3
3
  }
4
4
  /**
@@ -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 { ToggleButton } from "../ui/ToggleButton";
4
4
  import { CanvasTiles } from "../layer/CanvasTiles";
@@ -1,6 +1,6 @@
1
- import { Control, IControlParams } from './Control';
1
+ import { Control, type IControlParams } from './Control';
2
2
  import { LonLat } from '../LonLat';
3
- import { IMouseState } from "../renderer/RendererEvents";
3
+ import type { IMouseState } from "../renderer/RendererEvents";
4
4
  interface IEarthCoordinatesParams extends IControlParams {
5
5
  heightMode?: string;
6
6
  centerMode?: boolean;
@@ -1,7 +1,7 @@
1
- import { Control, IControlParams } from './Control';
1
+ import { Control, type IControlParams } from './Control';
2
2
  import { Layer } from "../layer/Layer";
3
3
  import { ToggleButton } from "../ui/ToggleButton";
4
- import { IMouseState } from "../renderer/RendererEvents";
4
+ import type { IMouseState } from "../renderer/RendererEvents";
5
5
  interface IGeoImageDragControlParams extends IControlParams {
6
6
  }
7
7
  export declare class GeoImageDragControl extends Control {
@@ -1,4 +1,4 @@
1
- import { Control, IControlParams } from "./Control";
1
+ import { Control, type IControlParams } from "./Control";
2
2
  interface IKeyboardNavigationParams extends IControlParams {
3
3
  step?: number;
4
4
  }
@@ -1,6 +1,6 @@
1
- import { EventsHandler } from '../Events';
1
+ import { type EventsHandler } from '../Events';
2
2
  import { Layer } from '../layer/Layer';
3
- import { Control, IControlParams } from "./Control";
3
+ import { Control, type IControlParams } from "./Control";
4
4
  type LayerAnimationEventsList = ["change", "idle", "play", "pause", "stop"];
5
5
  interface ILayerAnimationParams extends IControlParams {
6
6
  layers?: Layer;
@@ -1,8 +1,10 @@
1
- import { Control, IControlParams } from "./Control";
1
+ import { Control } from "./Control";
2
+ import type { IControlParams } from "./Control";
2
3
  import { Dialog } from "../ui/Dialog";
3
4
  import { Layer } from "../layer/Layer";
4
5
  import { ToggleButton } from "../ui/ToggleButton";
5
- import { IViewParams, View } from "../ui/View";
6
+ import { View } from "../ui/View";
7
+ import type { IViewParams } from "../ui/View";
6
8
  interface ILayerSwitcherParams extends IControlParams {
7
9
  }
8
10
  declare class LayerButtonView extends View<Layer> {
@@ -1,4 +1,5 @@
1
- import { Control, IControlParams } from "./Control";
1
+ import { Control } from "./Control";
2
+ import type { IControlParams } from "./Control";
2
3
  import { Dialog } from '../ui/Dialog';
3
4
  import { Layer } from "../layer/Layer";
4
5
  import { Slider } from "../ui/Slider";
@@ -1,5 +1,6 @@
1
- import { Control, IControlParams } from "./Control";
2
- import { IMouseState } from "../renderer/RendererEvents";
1
+ import { Control } from "./Control";
2
+ import type { IControlParams } from "./Control";
3
+ import type { IMouseState } from "../renderer/RendererEvents";
3
4
  import { Quat } from "../math/Quat";
4
5
  import { Sphere } from "../bv/Sphere";
5
6
  import { Vec2 } from "../math/Vec2";
@@ -1,4 +1,5 @@
1
- import { Control, IControlParams } from "./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";
@@ -6,7 +7,7 @@ import { Vec3 } from "../math/Vec3";
6
7
  import { Vec2 } from "../math/Vec2";
7
8
  import { Planet } from "../scene/Planet";
8
9
  import { PlanetCamera } from "../camera/PlanetCamera";
9
- import { IMouseState } from "../renderer/RendererEvents";
10
+ import type { IMouseState } from "../renderer/RendererEvents";
10
11
  export interface IStepForward {
11
12
  eye: Vec3;
12
13
  v: Vec3;
@@ -1,4 +1,5 @@
1
- import { Control, IControlParams } from "./Control";
1
+ import { Control } from "./Control";
2
+ import type { IControlParams } from "./Control";
2
3
  import { HeightRuler } from "./heightRuler/HeightRuler";
3
4
  interface IRulerSwitcherParams extends IControlParams {
4
5
  ignoreTerrain?: boolean;
@@ -1,4 +1,5 @@
1
- import { Control, IControlParams } from "./Control";
1
+ import { Control } from "./Control";
2
+ import type { IControlParams } from "./Control";
2
3
  import { Vec2 } from "../math/Vec2";
3
4
  interface IScaleControlParams extends IControlParams {
4
5
  isCenter?: boolean;
@@ -1,5 +1,6 @@
1
1
  import { EntityCollection } from "../entity/EntityCollection";
2
- import { Control, IControlParams } from "./Control";
2
+ import { Control } from "./Control";
3
+ import type { IControlParams } from "./Control";
3
4
  /**
4
5
  * Frame per second(FPS) display control.
5
6
  */
@@ -1,4 +1,5 @@
1
- import { Control, IControlParams } from "./Control";
1
+ import { Control } from "./Control";
2
+ import type { IControlParams } from "./Control";
2
3
  /**
3
4
  * Frame per second(FPS) display control.
4
5
  */
@@ -1,5 +1,6 @@
1
- import { Control, IControlParams } from "./Control";
2
- import { IMouseState } from "../renderer/RendererEvents";
1
+ import { Control } from "./Control";
2
+ import type { IControlParams } from "./Control";
3
+ import type { IMouseState } from "../renderer/RendererEvents";
3
4
  import { Vec3 } from "../math/Vec3";
4
5
  interface ISimpleNavigationParams extends IControlParams {
5
6
  speed?: number;
@@ -1,4 +1,5 @@
1
- import { Control, IControlParams } from "./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, IControlParams } from "./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,4 +1,5 @@
1
- import { Control, IControlParams } from "./Control";
1
+ import { Control } from "./Control";
2
+ import type { IControlParams } from "./Control";
2
3
  interface IToggleWireframe extends IControlParams {
3
4
  isActive?: boolean;
4
5
  }
@@ -1,10 +1,11 @@
1
- import { Control, IControlParams } from "./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, IControlParams } from "./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,4 +1,4 @@
1
- import { EventsHandler } from '../../Events';
1
+ import { type EventsHandler } from '../../Events';
2
2
  import { Vec3 } from "../../math/Vec3";
3
3
  import { Planet } from "../../scene/Planet";
4
4
  import { LonLat } from "../../LonLat";
@@ -1,6 +1,7 @@
1
- import { View, IViewParams, ViewEventsList } from "../../ui/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,4 +1,4 @@
1
- import { IViewParams, View } from '../../ui/View';
1
+ import { type IViewParams, View } from '../../ui/View';
2
2
  export interface IElevationProfileLegendParams extends IViewParams {
3
3
  }
4
4
  export declare class ElevationProfileLegend extends View<null> {
@@ -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 { IViewParams, View, ViewEventsList } from '../../ui/View';
3
- import { ElevationProfile, GroundItem, TrackItem } from './ElevationProfile';
4
- import { MouseEventExt } from "../../input/MouseHandler";
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 { Entity, IEntityParams } from "../../entity/Entity";
1
+ import { Entity, type IEntityParams } from "../../entity/Entity";
2
2
  export interface IArrowEntityParams extends IEntityParams {
3
3
  yaw?: number;
4
4
  pitch?: number;
@@ -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
  export interface IAxisTrackEntityParams extends IEntityParams {
4
4
  }
@@ -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,4 +1,4 @@
1
- import { Entity, IEntityParams } from "../../entity/Entity";
1
+ import { Entity, type IEntityParams } from "../../entity/Entity";
2
2
  export interface IMovePlaneEntityParams extends IEntityParams {
3
3
  }
4
4
  export declare class MovePlaneEntity extends Entity {
@@ -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
  export interface IRotationEntityParams extends IEntityParams {
4
4
  }
@@ -1,4 +1,4 @@
1
- import { Ruler, IRulerParams } from "../ruler/Ruler";
1
+ import { Ruler, type IRulerParams } from "../ruler/Ruler";
2
2
  interface IHeightRulerParams extends IRulerParams {
3
3
  }
4
4
  export declare class HeightRuler extends Ruler {
@@ -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 {
@@ -1,4 +1,5 @@
1
- import { Control, IControlParams } from "../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, IControlParams } from "../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 {