@metagl/sdk-plotting 0.0.1 → 0.0.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 (485) hide show
  1. package/lacdt.plotting.d.ts +30265 -0
  2. package/lacdt.plotting.js +474 -0
  3. package/package.json +14 -12
  4. package/resources/image/Height.png +0 -0
  5. package/resources/image/JPlace/capital.png +0 -0
  6. package/resources/image/JPlace/chengzhen.png +0 -0
  7. package/resources/image/JPlace/shenghui.png +0 -0
  8. package/resources/image/Move.png +0 -0
  9. package/resources/image/Scale.png +0 -0
  10. package/resources/image/arrow-down.png +0 -0
  11. package/resources/image/arrow-left.png +0 -0
  12. package/resources/image/arrow-right.png +0 -0
  13. package/resources/image/arrow-up.png +0 -0
  14. package/resources/image/arrow.png +0 -0
  15. package/resources/image/cm_gray.png +0 -0
  16. package/resources/image/cm_viridis.png +0 -0
  17. package/resources/image/excavate_bottom_min.jpg +0 -0
  18. package/resources/image/excavate_side_min.jpg +0 -0
  19. package/resources/image/eye.png +0 -0
  20. package/resources/image/facility.gif +0 -0
  21. package/resources/image/fire.png +0 -0
  22. package/resources/image/fountain2.png +0 -0
  23. package/resources/image/globe.jpg +0 -0
  24. package/resources/image/gpoint.svg +1 -0
  25. package/resources/image/redflag.png +0 -0
  26. package/resources/image/smoke.png +0 -0
  27. package/resources/image/tuodong.png +0 -0
  28. package/resources/image//346/227/213/350/275/254.png +0 -0
  29. package/resources/images/circular_particle.png +0 -0
  30. package/resources/images/cloud.png +0 -0
  31. package/resources/images/dash.png +0 -0
  32. package/resources/images/daylight/Daylight_Box_Back.jpg +0 -0
  33. package/resources/images/daylight/Daylight_Box_Bottom.jpg +0 -0
  34. package/resources/images/daylight/Daylight_Box_Front.jpg +0 -0
  35. package/resources/images/daylight/Daylight_Box_Left.jpg +0 -0
  36. package/resources/images/daylight/Daylight_Box_Right.jpg +0 -0
  37. package/resources/images/daylight/Daylight_Box_Top.jpg +0 -0
  38. package/resources/images/daylight/Daylight_Box_mx.jpg +0 -0
  39. package/resources/images/daylight/Daylight_Box_my.jpg +0 -0
  40. package/resources/images/daylight/Daylight_Box_mz.jpg +0 -0
  41. package/resources/images/daylight/Daylight_Box_px.jpg +0 -0
  42. package/resources/images/daylight/Daylight_Box_py.jpg +0 -0
  43. package/resources/images/daylight/Daylight_Box_pz.jpg +0 -0
  44. package/resources/images/earthclouds1k.jpg +0 -0
  45. package/resources/images/earthclouds1k.png +0 -0
  46. package/resources/images/night_1-2k.jpg +0 -0
  47. package/resources/images/scan.png +0 -0
  48. package/resources/images/smoke.png +0 -0
  49. package/resources/images/specialLine/ArrowOpacity.png +0 -0
  50. package/resources/images/specialLine/ArrowTransparent.png +0 -0
  51. package/resources/images/specialLine/DataTransLine.png +0 -0
  52. package/resources/images/specialLine/DotTransparent.png +0 -0
  53. package/resources/images/specialLine/LinkPulse.png +0 -0
  54. package/resources/images/specialLine/LinkTrail.png +0 -0
  55. package/resources/images/specialLine/Trail.png +0 -0
  56. package/resources/images/specialLine/Trail1.png +0 -0
  57. package/resources/images/specialLine/alpha.png +0 -0
  58. package/resources/images/starmap/starmap_2020_16k_mx.webp +0 -0
  59. package/resources/images/starmap/starmap_2020_16k_my.webp +0 -0
  60. package/resources/images/starmap/starmap_2020_16k_mz.webp +0 -0
  61. package/resources/images/starmap/starmap_2020_16k_px.webp +0 -0
  62. package/resources/images/starmap/starmap_2020_16k_py.webp +0 -0
  63. package/resources/images/starmap/starmap_2020_16k_pz.webp +0 -0
  64. package/resources/images/wx.png +0 -0
  65. package/resources/images/wx2.jpg +0 -0
  66. package/resources/readme.txt +1 -0
  67. package/resources/textures/grey.png +0 -0
  68. package/resources/textures/mesh.png +0 -0
  69. package/resources/textures/waterNormalsSmall.jpg +0 -0
  70. package/resources/thirdParty/html2canvas/0.5.0-beta4/html2canvas.js +3519 -0
  71. package/resources/thirdParty/html2canvas/0.5.0-beta4/html2canvas.min.js +8 -0
  72. package/resources/thirdParty/wangEditor/colorpicker.js +481 -0
  73. package/resources/thirdParty/wangEditor/wangEditor.js +50897 -0
  74. package/resources/thirdParty/wangEditor/wangeditor.css +945 -0
  75. package/resources/water/sea 50_1.json.json +578 -0
  76. package/resources/workers/satellite.worker.js +3175 -0
  77. package/types/Common/ArrayHelper.d.ts +8 -0
  78. package/types/Common/Guid.d.ts +4 -0
  79. package/types/Common/KeyValue.d.ts +5 -0
  80. package/types/Core/Common/Cesium/Core/xz_Color.d.ts +1545 -0
  81. package/types/Core/Common/Cesium/Core/xz_measureSize.d.ts +4 -0
  82. package/types/Core/Common/Cesium/Core/xz_writeTextToCanvas.d.ts +27 -0
  83. package/types/Core/Common/Cesium/ThirdParty/xz_measureText.d.ts +30 -0
  84. package/types/Core/Event.d.ts +72 -0
  85. package/types/Core/GvolLayer.d.ts +39 -0
  86. package/types/Core/GvolPoint.d.ts +206 -0
  87. package/types/Core/Music.d.ts +18 -0
  88. package/types/Core/Register.d.ts +36 -0
  89. package/types/Core/index.d.ts +46 -0
  90. package/types/Core/property-item-meta.d.ts +36 -0
  91. package/types/FixCesium/index.d.ts +0 -0
  92. package/types/Global/array.d.ts +21 -0
  93. package/types/Global/global.d.ts +9 -0
  94. package/types/Global/link.d.ts +32 -0
  95. package/types/Global/linq.d.ts +15 -0
  96. package/types/Global/math.d.ts +7 -0
  97. package/types/Global/number.d.ts +15 -0
  98. package/types/Global/object.d.ts +7 -0
  99. package/types/Global/regex.d.ts +6 -0
  100. package/types/Global/static.d.ts +6 -0
  101. package/types/Global/string.d.ts +14 -0
  102. package/types/LayerManager/DynamicLayer/DynamicLayer.d.ts +294 -0
  103. package/types/LayerManager/GpLayer/GpLayer.d.ts +56 -0
  104. package/types/LayerManager/GraphicLayer/GraphicLayer.d.ts +209 -0
  105. package/types/LayerManager/ImageLayer/BaiduImageryProvider.d.ts +33 -0
  106. package/types/LayerManager/LayerManager.d.ts +59 -0
  107. package/types/LayerManager/LayerTools.d.ts +3 -0
  108. package/types/LayerManager/MapBox/CesiumInstance.d.ts +78 -0
  109. package/types/LayerManager/MapBox/CesiumLayer.d.ts +54 -0
  110. package/types/LayerManager/MapBox/CesiumLayerOptions.d.ts +34 -0
  111. package/types/LayerManager/MapBox/MVTImageryProvider/mapboxVectorRender.d.ts +44 -0
  112. package/types/LayerManager/MapBox/MapboxPlaceName.d.ts +30 -0
  113. package/types/LayerManager/MapBox/index.d.ts +25 -0
  114. package/types/LayerManager/MapBox/shaders/colorscales.d.ts +123 -0
  115. package/types/LayerManager/MapBox/shaders/raster_frag.d.ts +2 -0
  116. package/types/LayerManager/MapBox/shaders/raster_rpg_frag.d.ts +2 -0
  117. package/types/LayerManager/MapBox/shaders/raster_rpg_vert.d.ts +2 -0
  118. package/types/LayerManager/MapBox/shaders/raster_vert.d.ts +2 -0
  119. package/types/LayerManager/MapBox/utils.d.ts +13 -0
  120. package/types/LayerManager/PlotLayer/PlotLayer.d.ts +77 -0
  121. package/types/LayerManager/SateLayer/Satellite.d.ts +98 -0
  122. package/types/LayerManager/SateLayer/SatelliteLayer.d.ts +46 -0
  123. package/types/LayerManager/SateLayer/SpaceDebris.d.ts +23 -0
  124. package/types/LayerManager/SateLayer/SpaceDebrisLayer.d.ts +40 -0
  125. package/types/LayerManager/TileLayer/TileLayer.d.ts +27 -0
  126. package/types/LayerManager/TileLayer/WMTSVectorProvider.d.ts +14 -0
  127. package/types/LayerManager/index.d.ts +21 -0
  128. package/types/Models/AnimationConfig.d.ts +29 -0
  129. package/types/Models/AnimationItem.d.ts +14 -0
  130. package/types/Models/FileNode.d.ts +24 -0
  131. package/types/Models/GeojsonPlotModel.d.ts +19 -0
  132. package/types/Models/GeojsonStyleBase.d.ts +104 -0
  133. package/types/Models/PlotItem.d.ts +17 -0
  134. package/types/Models/all.d.ts +268 -0
  135. package/types/PlottingTool/AnchorHelper.d.ts +50 -0
  136. package/types/PlottingTool/Animation/AnimationBase.d.ts +61 -0
  137. package/types/PlottingTool/Animation/AnimationGroup.d.ts +46 -0
  138. package/types/PlottingTool/Animation/AnimationManager.d.ts +72 -0
  139. package/types/PlottingTool/Animation/AnimationStartState.d.ts +5 -0
  140. package/types/PlottingTool/Animation/AnimationState.d.ts +5 -0
  141. package/types/PlottingTool/Animation/CalcTool.d.ts +6 -0
  142. package/types/PlottingTool/Animation/CssItems/AudioAnimation.d.ts +14 -0
  143. package/types/PlottingTool/Animation/CssItems/CssAnimationBase.d.ts +15 -0
  144. package/types/PlottingTool/Animation/CssItems/CssHideAnimation.d.ts +12 -0
  145. package/types/PlottingTool/Animation/CssItems/CssMaskAnimation.d.ts +18 -0
  146. package/types/PlottingTool/Animation/CssItems/CssMoveHorizonAnimation.d.ts +5 -0
  147. package/types/PlottingTool/Animation/CssItems/CssMoveVerticalAnimation.d.ts +5 -0
  148. package/types/PlottingTool/Animation/CssItems/CssNumberAnimation.d.ts +4 -0
  149. package/types/PlottingTool/Animation/CssItems/CssPropChangeAnimation.d.ts +13 -0
  150. package/types/PlottingTool/Animation/CssItems/CssShowAnimation.d.ts +12 -0
  151. package/types/PlottingTool/Animation/CssItems/CssShowDisplayAnimation.d.ts +10 -0
  152. package/types/PlottingTool/Animation/CssItems/CssValueAnimation.d.ts +27 -0
  153. package/types/PlottingTool/Animation/CssItems/SpeakManager.d.ts +12 -0
  154. package/types/PlottingTool/Animation/CssItems/SpeakTool.d.ts +12 -0
  155. package/types/PlottingTool/Animation/CssItems/SubtitleAnimation.d.ts +12 -0
  156. package/types/PlottingTool/Animation/CssItems/VideoAnimation.d.ts +12 -0
  157. package/types/PlottingTool/Animation/CssItems/XunFeiTool.d.ts +28 -0
  158. package/types/PlottingTool/Animation/Decorator.d.ts +11 -0
  159. package/types/PlottingTool/Animation/DefaultConfig.d.ts +5 -0
  160. package/types/PlottingTool/Animation/FillBehavior.d.ts +13 -0
  161. package/types/PlottingTool/Animation/GeojsonItems/GeojsonAnimation.d.ts +25 -0
  162. package/types/PlottingTool/Animation/GeojsonItems/GeojsonRepeatAnimation.d.ts +10 -0
  163. package/types/PlottingTool/Animation/GeojsonItems/GeojsonVisibleAnimation.d.ts +5 -0
  164. package/types/PlottingTool/Animation/IAnimation.d.ts +59 -0
  165. package/types/PlottingTool/Animation/Items/ArrowDirectAnimation.d.ts +11 -0
  166. package/types/PlottingTool/Animation/Items/AutoRotationAnimation.d.ts +16 -0
  167. package/types/PlottingTool/Animation/Items/CameraFlyAnimation.d.ts +15 -0
  168. package/types/PlottingTool/Animation/Items/CameraRoamAnimation.d.ts +29 -0
  169. package/types/PlottingTool/Animation/Items/CameraSetAnimation.d.ts +5 -0
  170. package/types/PlottingTool/Animation/Items/ColorAnimation.d.ts +6 -0
  171. package/types/PlottingTool/Animation/Items/DoubleArrowDirectAnimation.d.ts +10 -0
  172. package/types/PlottingTool/Animation/Items/FollowAnimation.d.ts +30 -0
  173. package/types/PlottingTool/Animation/Items/ForwardAnimation.d.ts +7 -0
  174. package/types/PlottingTool/Animation/Items/HideAnimation.d.ts +11 -0
  175. package/types/PlottingTool/Animation/Items/JBDirectAnimation.d.ts +20 -0
  176. package/types/PlottingTool/Animation/Items/ModelAnimation.d.ts +12 -0
  177. package/types/PlottingTool/Animation/Items/NumberAnimation.d.ts +12 -0
  178. package/types/PlottingTool/Animation/Items/PathAnimation.d.ts +44 -0
  179. package/types/PlottingTool/Animation/Items/PathMode.d.ts +18 -0
  180. package/types/PlottingTool/Animation/Items/PathShowAnimation.d.ts +25 -0
  181. package/types/PlottingTool/Animation/Items/PolygonMaskAnimation.d.ts +15 -0
  182. package/types/PlottingTool/Animation/Items/PopulationTimeAnimation.d.ts +7 -0
  183. package/types/PlottingTool/Animation/Items/RepeatAnimation.d.ts +13 -0
  184. package/types/PlottingTool/Animation/Items/ShowAnimation.d.ts +13 -0
  185. package/types/PlottingTool/Animation/Items/ShowTifAnimation.d.ts +10 -0
  186. package/types/PlottingTool/Animation/Items/SpiralAnimation.d.ts +30 -0
  187. package/types/PlottingTool/Animation/Items/StateChangeAnimation.d.ts +7 -0
  188. package/types/PlottingTool/Animation/Items/SurroundAnimation.d.ts +43 -0
  189. package/types/PlottingTool/Animation/Items/TargetFllowAniamtion.d.ts +20 -0
  190. package/types/PlottingTool/Animation/Items/ZoomToFlyAnimation.d.ts +16 -0
  191. package/types/PlottingTool/Animation/MaskBehavior.d.ts +13 -0
  192. package/types/PlottingTool/Animation/PageItems/PageShowAnimation.d.ts +10 -0
  193. package/types/PlottingTool/Animation/SingleAnimation.d.ts +32 -0
  194. package/types/PlottingTool/Arrow/EditorArrowBase.d.ts +10 -0
  195. package/types/PlottingTool/Arrow/EditorArrowLineBase.d.ts +10 -0
  196. package/types/PlottingTool/Arrow/EditorAssaultDirection.d.ts +4 -0
  197. package/types/PlottingTool/Arrow/EditorAttackArrow.d.ts +51 -0
  198. package/types/PlottingTool/Arrow/EditorDoubleArrow.d.ts +82 -0
  199. package/types/PlottingTool/Arrow/EditorFineArrow.d.ts +11 -0
  200. package/types/PlottingTool/Arrow/EditorGatheringPlace.d.ts +10 -0
  201. package/types/PlottingTool/Arrow/EditorSquadCombat.d.ts +9 -0
  202. package/types/PlottingTool/Arrow/EditorStraightLineArrow.d.ts +10 -0
  203. package/types/PlottingTool/Arrow/EditorTailedAttackArrow.d.ts +8 -0
  204. package/types/PlottingTool/Arrow/EditorTailedSquadCombat.d.ts +10 -0
  205. package/types/PlottingTool/Axis3Operator.d.ts +39 -0
  206. package/types/PlottingTool/Common/ICell.d.ts +9 -0
  207. package/types/PlottingTool/Common/IVectorTile.d.ts +16 -0
  208. package/types/PlottingTool/Common/PolygonHelper.d.ts +4 -0
  209. package/types/PlottingTool/Common/RenderGridTextV2.5.d.ts +36 -0
  210. package/types/PlottingTool/Common/geocode.d.ts +21 -0
  211. package/types/PlottingTool/Common.d.ts +26 -0
  212. package/types/PlottingTool/Cube/EditorCubeBase.d.ts +38 -0
  213. package/types/PlottingTool/Cube/EditorCubeBox.d.ts +20 -0
  214. package/types/PlottingTool/Cube/EditorCylinder.d.ts +25 -0
  215. package/types/PlottingTool/Cube/EditorEllipsoid.d.ts +20 -0
  216. package/types/PlottingTool/CurrentList.d.ts +14 -0
  217. package/types/PlottingTool/DataRgister.d.ts +6 -0
  218. package/types/PlottingTool/DataRgisterAudio.d.ts +5 -0
  219. package/types/PlottingTool/DataRgisterTif.d.ts +5 -0
  220. package/types/PlottingTool/DefaultPlottingAttribute.d.ts +1 -0
  221. package/types/PlottingTool/EditHelpLine.d.ts +8 -0
  222. package/types/PlottingTool/EditMode.d.ts +218 -0
  223. package/types/PlottingTool/GVEntityCollection.d.ts +11 -0
  224. package/types/PlottingTool/Graph.d.ts +340 -0
  225. package/types/PlottingTool/GraphFactory.d.ts +7 -0
  226. package/types/PlottingTool/GraphManager.d.ts +145 -0
  227. package/types/PlottingTool/GraphPropStorage.d.ts +10 -0
  228. package/types/PlottingTool/GraphProperty.d.ts +58 -0
  229. package/types/PlottingTool/GraphicRender/CesiumConeCommunicate.d.ts +40 -0
  230. package/types/PlottingTool/GraphicRender/CesiumRender.d.ts +31 -0
  231. package/types/PlottingTool/GraphicRender/Cloud/GxCloudItem.d.ts +82 -0
  232. package/types/PlottingTool/GraphicRender/DynamicProperty.d.ts +14 -0
  233. package/types/PlottingTool/GraphicRender/RenderPlotting.d.ts +20 -0
  234. package/types/PlottingTool/GraphicRender/radar/GxPrimitivePolyline.d.ts +29 -0
  235. package/types/PlottingTool/GraphicRender/radar/GxPrimitiveTriangles.d.ts +30 -0
  236. package/types/PlottingTool/GraphicRender/radar/GxRadarItem.d.ts +93 -0
  237. package/types/PlottingTool/GxClusterDataSource.d.ts +107 -0
  238. package/types/PlottingTool/HeightReferenceGraph.d.ts +7 -0
  239. package/types/PlottingTool/HeightReferencePrimtive.d.ts +8 -0
  240. package/types/PlottingTool/HtmlBox/BoxFactory.d.ts +4 -0
  241. package/types/PlottingTool/HtmlBox/CssProp.d.ts +61 -0
  242. package/types/PlottingTool/HtmlBox/HtmlBox.d.ts +6 -0
  243. package/types/PlottingTool/HtmlBox/HtmlBoxMulti.d.ts +38 -0
  244. package/types/PlottingTool/HtmlBox/WangEditor/fwbconfig.d.ts +3 -0
  245. package/types/PlottingTool/HtmlBox/WangEditor/parse-style-html.d.ts +7 -0
  246. package/types/PlottingTool/HtmlBox/WangEditor/render-style.d.ts +7 -0
  247. package/types/PlottingTool/HtmlBox/WangEditor/stroke-color-config.d.ts +1 -0
  248. package/types/PlottingTool/HtmlBox/WangEditor/style-to-html.d.ts +1 -0
  249. package/types/PlottingTool/HtmlBox/WangEditor/text-stroke-color.d.ts +13 -0
  250. package/types/PlottingTool/HtmlBox/WangEditor/text-stroke-width.d.ts +20 -0
  251. package/types/PlottingTool/HtmlBox/WangEditor/tools.d.ts +7 -0
  252. package/types/PlottingTool/HtmlBox/html-box-base.d.ts +34 -0
  253. package/types/PlottingTool/HtmlBox/html-css-prop.d.ts +3 -0
  254. package/types/PlottingTool/HtmlBox/new-rich-text.d.ts +6 -0
  255. package/types/PlottingTool/HtmlBox/pic-collection.d.ts +17 -0
  256. package/types/PlottingTool/HtmlBox/rich-text.d.ts +6 -0
  257. package/types/PlottingTool/HtmlBox/subtitle-box.d.ts +6 -0
  258. package/types/PlottingTool/HtmlBox/videoBox.d.ts +8 -0
  259. package/types/PlottingTool/Image/EditorHtml.d.ts +36 -0
  260. package/types/PlottingTool/Image/EditorImage.d.ts +10 -0
  261. package/types/PlottingTool/Image/EditorJBPointObject.d.ts +23 -0
  262. package/types/PlottingTool/Image/EditorRedFlag.d.ts +7 -0
  263. package/types/PlottingTool/Interface/LayerConfig.d.ts +22 -0
  264. package/types/PlottingTool/NoControlPrimitive/EditorGeometryMultiPolyBase.d.ts +17 -0
  265. package/types/PlottingTool/NoControlPrimitive/EditorGeometryMultiPolygon.d.ts +11 -0
  266. package/types/PlottingTool/NoControlPrimitive/EditorGeometryMultiPolyline.d.ts +14 -0
  267. package/types/PlottingTool/NoControlPrimitive/EditorGeometryPolygon.d.ts +41 -0
  268. package/types/PlottingTool/NoControlPrimitive/EditorGeometryPolyline.d.ts +28 -0
  269. package/types/PlottingTool/NoControlPrimitive/EditorGeometryWall.d.ts +18 -0
  270. package/types/PlottingTool/NoControlPrimitive/NoControlPrimitive.d.ts +26 -0
  271. package/types/PlottingTool/NoControlPrimitive/PercentPolyine.d.ts +17 -0
  272. package/types/PlottingTool/PlottingBaseNode.d.ts +40 -0
  273. package/types/PlottingTool/PlottingBehavior.d.ts +91 -0
  274. package/types/PlottingTool/PlottingCommon.d.ts +20 -0
  275. package/types/PlottingTool/Point/ConeCommunicateWave.d.ts +46 -0
  276. package/types/PlottingTool/Point/EditorBasePrimitive.d.ts +12 -0
  277. package/types/PlottingTool/Point/EditorCloud.d.ts +43 -0
  278. package/types/PlottingTool/Point/EditorCommunicateWave.d.ts +44 -0
  279. package/types/PlottingTool/Point/EditorJBPointScreen.d.ts +51 -0
  280. package/types/PlottingTool/Point/EditorModel.d.ts +59 -0
  281. package/types/PlottingTool/Point/EditorParticle.d.ts +37 -0
  282. package/types/PlottingTool/Point/EditorPin.d.ts +55 -0
  283. package/types/PlottingTool/Point/EditorPinCanvas.d.ts +94 -0
  284. package/types/PlottingTool/Point/EditorPinImage.d.ts +110 -0
  285. package/types/PlottingTool/Point/EditorPinMakiIcon.d.ts +13 -0
  286. package/types/PlottingTool/Point/EditorPinText.d.ts +14 -0
  287. package/types/PlottingTool/Point/EditorPlaneText.d.ts +79 -0
  288. package/types/PlottingTool/Point/EditorPoint.d.ts +28 -0
  289. package/types/PlottingTool/Point/EditorRadar.d.ts +80 -0
  290. package/types/PlottingTool/Point/EditorText.d.ts +93 -0
  291. package/types/PlottingTool/Point/EditorText_old.d.ts +58 -0
  292. package/types/PlottingTool/Point/PointJbStrokeSvgHelper.d.ts +28 -0
  293. package/types/PlottingTool/Point/PointJbSvgHelper.d.ts +31 -0
  294. package/types/PlottingTool/Point/UECamera.d.ts +49 -0
  295. package/types/PlottingTool/Polygon/EditorArrow1.d.ts +10 -0
  296. package/types/PlottingTool/Polygon/EditorCircle.d.ts +13 -0
  297. package/types/PlottingTool/Polygon/EditorEllipse.d.ts +12 -0
  298. package/types/PlottingTool/Polygon/EditorFrustum.d.ts +36 -0
  299. package/types/PlottingTool/Polygon/EditorPolygon.d.ts +102 -0
  300. package/types/PlottingTool/Polygon/EditorRectangle.d.ts +40 -0
  301. package/types/PlottingTool/Polygon/EditorRectangleExpand.d.ts +16 -0
  302. package/types/PlottingTool/Polygon/EditorSector.d.ts +16 -0
  303. package/types/PlottingTool/Polyline/EditorBezier1.d.ts +9 -0
  304. package/types/PlottingTool/Polyline/EditorBezier2.d.ts +9 -0
  305. package/types/PlottingTool/Polyline/EditorBezierN.d.ts +9 -0
  306. package/types/PlottingTool/Polyline/EditorBezierSpline.d.ts +9 -0
  307. package/types/PlottingTool/Polyline/EditorCircleArc.d.ts +10 -0
  308. package/types/PlottingTool/Polyline/EditorCurve.d.ts +7 -0
  309. package/types/PlottingTool/Polyline/EditorJBLine.d.ts +8 -0
  310. package/types/PlottingTool/Polyline/EditorPointArc.d.ts +21 -0
  311. package/types/PlottingTool/Polyline/EditorPointLine.d.ts +12 -0
  312. package/types/PlottingTool/Polyline/EditorPointSpline.d.ts +8 -0
  313. package/types/PlottingTool/Polyline/EditorPolyline.d.ts +109 -0
  314. package/types/PlottingTool/Polyline/EditorRoutePolyline.d.ts +16 -0
  315. package/types/PlottingTool/Polyline/plotsList.d.ts +6 -0
  316. package/types/PlottingTool/RegexHelper.d.ts +10 -0
  317. package/types/PlottingTool/Text/EditorAreaText.d.ts +44 -0
  318. package/types/PlottingTool/Text/EditorRouteText.d.ts +64 -0
  319. package/types/PlottingTool/Text/MedianLine.d.ts +22 -0
  320. package/types/PlottingTool/VideoElement/EditorVideo.d.ts +9 -0
  321. package/types/PlottingTool/drawToolExt/DrawAreaTextToolEx.d.ts +19 -0
  322. package/types/PlottingTool/drawToolExt/DrawBillboardToolEx.d.ts +21 -0
  323. package/types/PlottingTool/drawToolExt/DrawCtrlPointToolEx.d.ts +20 -0
  324. package/types/PlottingTool/drawToolExt/DrawHtmlToolEx.d.ts +31 -0
  325. package/types/PlottingTool/drawToolExt/DrawLineToolEx.d.ts +20 -0
  326. package/types/PlottingTool/drawToolExt/DrawMedianPointToolEx.d.ts +15 -0
  327. package/types/PlottingTool/drawToolExt/DrawModelToolEx.d.ts +21 -0
  328. package/types/PlottingTool/drawToolExt/DrawPointToolEx.d.ts +21 -0
  329. package/types/PlottingTool/drawToolExt/DrawPolygonToolEx.d.ts +20 -0
  330. package/types/PlottingTool/drawToolExt/DrawRouteTextToolEx.d.ts +16 -0
  331. package/types/PlottingTool/drawToolExt/DrawTextToolEx.d.ts +21 -0
  332. package/types/PlottingTool/drawToolExt/DrawToolManager.d.ts +60 -0
  333. package/types/PlottingTool/drawToolExt/HitPointToolEx.d.ts +10 -0
  334. package/types/PlottingTool/drawToolExt/HitRectToolEx.d.ts +10 -0
  335. package/types/PlottingTool/drawToolExt/base/List.d.ts +22 -0
  336. package/types/PlottingTool/drawToolExt/calcuteShape.d.ts +3 -0
  337. package/types/PlottingTool/drawToolExt/entity/MaxRecTest.d.ts +21 -0
  338. package/types/PlottingTool/drawToolExt/entity/XZAreaTextEntity.d.ts +36 -0
  339. package/types/PlottingTool/drawToolExt/entity/XZBaseEntity.d.ts +17 -0
  340. package/types/PlottingTool/drawToolExt/entity/XZBillboardEntity.d.ts +17 -0
  341. package/types/PlottingTool/drawToolExt/entity/XZCtrlPointEntity.d.ts +16 -0
  342. package/types/PlottingTool/drawToolExt/entity/XZHtmlEntity.d.ts +15 -0
  343. package/types/PlottingTool/drawToolExt/entity/XZLineEntity.d.ts +20 -0
  344. package/types/PlottingTool/drawToolExt/entity/XZMedianPointEntity.d.ts +16 -0
  345. package/types/PlottingTool/drawToolExt/entity/XZModelEntity.d.ts +17 -0
  346. package/types/PlottingTool/drawToolExt/entity/XZPointEntity.d.ts +16 -0
  347. package/types/PlottingTool/drawToolExt/entity/XZPolygonEntity.d.ts +19 -0
  348. package/types/PlottingTool/drawToolExt/entity/XZRouteTextEntity.d.ts +16 -0
  349. package/types/PlottingTool/drawToolExt/entity/XZTextEntity.d.ts +16 -0
  350. package/types/PlottingTool/drawToolExt/interface/IBase.d.ts +23 -0
  351. package/types/PlottingTool/drawToolExt/interface/ICesium.d.ts +99 -0
  352. package/types/PlottingTool/drawToolExt/interface/IData.d.ts +56 -0
  353. package/types/PlottingTool/drawToolExt/interface/IEntity.d.ts +80 -0
  354. package/types/PlottingTool/drawToolExt/interface/IStyle.d.ts +127 -0
  355. package/types/PlottingTool/drawToolExt/interface/ITool.d.ts +31 -0
  356. package/types/PlottingTool/drawToolExt/interface/geojson.d.ts +192 -0
  357. package/types/PlottingTool/drawToolExt/styles/XZAreaTextStyle.d.ts +14 -0
  358. package/types/PlottingTool/drawToolExt/styles/XZBaseStyle.d.ts +6 -0
  359. package/types/PlottingTool/drawToolExt/styles/XZBillboardStyle.d.ts +9 -0
  360. package/types/PlottingTool/drawToolExt/styles/XZHtmlStyle.d.ts +71 -0
  361. package/types/PlottingTool/drawToolExt/styles/XZLineStyle.d.ts +12 -0
  362. package/types/PlottingTool/drawToolExt/styles/XZModelStyle.d.ts +9 -0
  363. package/types/PlottingTool/drawToolExt/styles/XZPointStyle.d.ts +12 -0
  364. package/types/PlottingTool/drawToolExt/styles/XZPolygonStyle.d.ts +8 -0
  365. package/types/PlottingTool/drawToolExt/styles/XZRouteTextStyle.d.ts +11 -0
  366. package/types/PlottingTool/drawToolExt/styles/XZTextStyle.d.ts +14 -0
  367. package/types/PlottingTool/geojson/EditorGeojsonMultiPolyBase.d.ts +33 -0
  368. package/types/PlottingTool/geojson/EditorGeojsonMultiPolygon.d.ts +28 -0
  369. package/types/PlottingTool/geojson/EditorGeojsonMultiPolyline.d.ts +21 -0
  370. package/types/PlottingTool/geojson/EditorGeojsonPolygon.d.ts +13 -0
  371. package/types/PlottingTool/geojson/EditorGeojsonPolyline.d.ts +13 -0
  372. package/types/PlottingTool/geojson/GeojsonPercentPolyine.d.ts +18 -0
  373. package/types/PlottingTool/geojson/parsePolygon.d.ts +25 -0
  374. package/types/PlottingTool/shareGraph.d.ts +16 -0
  375. package/types/Scene/Analyzation/Measure.d.ts +120 -0
  376. package/types/Scene/EventSource/ContextSizeChanged.d.ts +13 -0
  377. package/types/Scene/GraticuleLayer/Graticule.d.ts +15 -0
  378. package/types/Scene/Sea/RenderSeaPolygon.d.ts +9 -0
  379. package/types/SceneObjects/CustomPrimitive/SharedTexturePool.d.ts +13 -0
  380. package/types/SceneObjects/CustomPrimitive/extrudePolyline.d.ts +1 -0
  381. package/types/SceneObjects/RenderObject/BindedCylinder.d.ts +40 -0
  382. package/types/SceneObjects/RenderObject/Bubble.d.ts +125 -0
  383. package/types/SceneObjects/RenderObject/CesiumBillboard.d.ts +20 -0
  384. package/types/SceneObjects/RenderObject/CesiumCylinder.d.ts +30 -0
  385. package/types/SceneObjects/RenderObject/CesiumEllipse.d.ts +29 -0
  386. package/types/SceneObjects/RenderObject/CesiumEllipsoid.d.ts +29 -0
  387. package/types/SceneObjects/RenderObject/CesiumLabel.d.ts +29 -0
  388. package/types/SceneObjects/RenderObject/CesiumLabelBillboard.d.ts +39 -0
  389. package/types/SceneObjects/RenderObject/CesiumLabelRect.d.ts +33 -0
  390. package/types/SceneObjects/RenderObject/CesiumModel.d.ts +20 -0
  391. package/types/SceneObjects/RenderObject/CesiumOblique.d.ts +33 -0
  392. package/types/SceneObjects/RenderObject/CesiumPoint.d.ts +22 -0
  393. package/types/SceneObjects/RenderObject/CesiumPolygon.d.ts +24 -0
  394. package/types/SceneObjects/RenderObject/CesiumPolyline.d.ts +24 -0
  395. package/types/SceneObjects/RenderObject/CesiumPopover.d.ts +30 -0
  396. package/types/SceneObjects/RenderObject/CesiumRectangle.d.ts +34 -0
  397. package/types/SceneObjects/RenderObject/CesiumSphere.d.ts +29 -0
  398. package/types/SceneObjects/RenderObject/CesiumVolumePolyline.d.ts +32 -0
  399. package/types/SceneObjects/RenderObject/CesiumWall.d.ts +29 -0
  400. package/types/SceneObjects/RenderObject/CircularRender.d.ts +24 -0
  401. package/types/SceneObjects/RenderObject/CustomLabelRender.d.ts +23 -0
  402. package/types/SceneObjects/RenderObject/CylinderSensor.d.ts +47 -0
  403. package/types/SceneObjects/RenderObject/DashBoardEffect.d.ts +39 -0
  404. package/types/SceneObjects/RenderObject/DynamicItem/DynamicItemFlame.d.ts +42 -0
  405. package/types/SceneObjects/RenderObject/DynamicItem/DynamicItemPath.d.ts +182 -0
  406. package/types/SceneObjects/RenderObject/DynamicItem/DynamicItemState.d.ts +7 -0
  407. package/types/SceneObjects/RenderObject/DynamicItem/DynamicItemStyle.d.ts +182 -0
  408. package/types/SceneObjects/RenderObject/DynamicItem/DynamicTimePositions.d.ts +102 -0
  409. package/types/SceneObjects/RenderObject/DynamicItem/HistoryTrack.d.ts +159 -0
  410. package/types/SceneObjects/RenderObject/DynamicItem/WarningTarget.d.ts +36 -0
  411. package/types/SceneObjects/RenderObject/DynamicRippleEffect.d.ts +23 -0
  412. package/types/SceneObjects/RenderObject/Flag.d.ts +43 -0
  413. package/types/SceneObjects/RenderObject/GradientSector.d.ts +46 -0
  414. package/types/SceneObjects/RenderObject/Graphics/GraphicGroup.d.ts +113 -0
  415. package/types/SceneObjects/RenderObject/RenderObject.d.ts +37 -0
  416. package/types/SceneObjects/RenderObject/RenderUtils.d.ts +35 -0
  417. package/types/SceneObjects/RenderObject/ScanEffect.d.ts +40 -0
  418. package/types/SceneObjects/RenderObject/SectorSensor.d.ts +42 -0
  419. package/types/SceneObjects/RenderObject/SensorRender.d.ts +15 -0
  420. package/types/SceneObjects/RenderObject/SpreadEffect.d.ts +47 -0
  421. package/types/SceneObjects/RenderObject/WaterEffect.d.ts +31 -0
  422. package/types/SceneObjects/RenderObject/WeatherParticle.d.ts +30 -0
  423. package/types/SceneObjects/ViewshedAnalysis.d.ts +98 -0
  424. package/types/SceneObjects/_shared/Destroyable.d.ts +9 -0
  425. package/types/SceneObjects/_shared/ResourceHandler.d.ts +14 -0
  426. package/types/SceneObjects/_shared/destroyObject.d.ts +18 -0
  427. package/types/Service/SceneOptions/Graticule.d.ts +15 -0
  428. package/types/Service/action.service.d.ts +92 -0
  429. package/types/Service/advance-html.service.d.ts +12 -0
  430. package/types/Service/animation.service.d.ts +84 -0
  431. package/types/Service/cesium.service.d.ts +85 -0
  432. package/types/Service/cluster.service.d.ts +7 -0
  433. package/types/Service/config.service.d.ts +24 -0
  434. package/types/Service/drawServices/VectorRender/renderModels.d.ts +13 -0
  435. package/types/Service/drawbigfile.service.d.ts +24 -0
  436. package/types/Service/fwbconfig.d.ts +3 -0
  437. package/types/Service/geojson-plot.service.d.ts +21 -0
  438. package/types/Service/html-draw.service.d.ts +134 -0
  439. package/types/Service/http.service.d.ts +15 -0
  440. package/types/Service/layers.service.d.ts +34 -0
  441. package/types/Service/logicService/point.service.d.ts +60 -0
  442. package/types/Service/message.service.d.ts +4 -0
  443. package/types/Service/music.service.d.ts +23 -0
  444. package/types/Service/parse-style-html.d.ts +7 -0
  445. package/types/Service/plot.service.d.ts +115 -0
  446. package/types/Service/property.service.d.ts +52 -0
  447. package/types/Service/render-style.d.ts +7 -0
  448. package/types/Service/richTextEdit.service.d.ts +35 -0
  449. package/types/Service/sceneServices/BigFileManager.d.ts +12 -0
  450. package/types/Service/sceneServices/CesiumManager.d.ts +18 -0
  451. package/types/Service/sceneServices/EagleManager.d.ts +35 -0
  452. package/types/Service/sceneServices/HtmlDrawManager.d.ts +12 -0
  453. package/types/Service/sceneServices/ImageEffectManager.d.ts +19 -0
  454. package/types/Service/sceneServices/LayerManage.d.ts +61 -0
  455. package/types/Service/sceneServices/MusicManager.d.ts +10 -0
  456. package/types/Service/sceneServices/PageAnimationManager.d.ts +39 -0
  457. package/types/Service/sceneServices/SubtitleManager.d.ts +6 -0
  458. package/types/Service/sceneServices/TerrainManager.d.ts +11 -0
  459. package/types/Service/sceneServices/sceneManager.d.ts +71 -0
  460. package/types/Service/sceneServices/snap.d.ts +33 -0
  461. package/types/Service/service.manager.d.ts +174 -0
  462. package/types/Service/stroke-color-config.d.ts +1 -0
  463. package/types/Service/style-to-html.d.ts +1 -0
  464. package/types/Service/terrain.service.d.ts +11 -0
  465. package/types/Service/text-stroke-color.d.ts +13 -0
  466. package/types/Service/text-stroke-width.d.ts +20 -0
  467. package/types/Service/tools.d.ts +7 -0
  468. package/types/Utils/Calculate.d.ts +212 -0
  469. package/types/Utils/Check.d.ts +98 -0
  470. package/types/Utils/DateHelper.d.ts +30 -0
  471. package/types/Utils/GxMath.d.ts +102 -0
  472. package/types/Utils/GxVector3.d.ts +7 -0
  473. package/types/Utils/HtmlUtil.d.ts +12 -0
  474. package/types/Utils/MilsymbolHelper.d.ts +20 -0
  475. package/types/Utils/TokenHelper.d.ts +36 -0
  476. package/types/Utils/Util.d.ts +204 -0
  477. package/types/Utils/d3Clock.d.ts +11 -0
  478. package/types/Utils/index.d.ts +17 -0
  479. package/types/Utils/pinyin.static.d.ts +375 -0
  480. package/types/Utils/pinyin.tool.d.ts +5 -0
  481. package/types/Utils/pinyin_all.d.ts +20 -0
  482. package/types/Utils/ready.d.ts +3 -0
  483. package/types/Utils/tools.d.ts +31 -0
  484. package/types/index.d.ts +98 -0
  485. package/types/index.html +35 -0
@@ -0,0 +1,174 @@
1
+ import { ClusterService } from "./cluster.service";
2
+ import { ConfigService } from "./config.service";
3
+ import { DrawbigfileService } from "./drawbigfile.service";
4
+ import { GeojsonPlotService } from "./geojson-plot.service";
5
+ import { HttpService } from "./http.service";
6
+ import { MusicService } from "./music.service";
7
+ import { PlotService } from "./plot.service";
8
+ import { LayersService } from "./layers.service";
9
+ import { GvolMessageService } from "./message.service";
10
+ import { AdvancedHtmlService } from "./advance-html.service";
11
+ import { PinyinTool } from "../Utils/pinyin.tool";
12
+ import { ActionService } from "./action.service";
13
+ import { AnimationService } from "./animation.service";
14
+ import { DrawService } from "./logicService/point.service";
15
+ import { CesiumService } from "./cesium.service";
16
+ import { HtmlDrawService } from "./html-draw.service";
17
+ import { RichTextService } from "./richTextEdit.service";
18
+ import { PropertyService } from "./property.service";
19
+ /**
20
+ * 服务管理类
21
+ */
22
+ export default class ServiceManager {
23
+ /**
24
+ * GvolEngine
25
+ */
26
+ private _engine;
27
+ /**
28
+ * Cesium.Viewer
29
+ */
30
+ private _viewer;
31
+ /**
32
+ * 资源路径
33
+ */
34
+ private _baseUrl;
35
+ /**
36
+ * CesiumService
37
+ */
38
+ private _cesiumService;
39
+ /**
40
+ * configService
41
+ */
42
+ private _configService;
43
+ /**
44
+ * ActionService
45
+ */
46
+ private _actionService;
47
+ /**
48
+ * HttpService
49
+ */
50
+ private _httpService;
51
+ /**
52
+ * Cluster管理
53
+ */
54
+ private _clusterService;
55
+ /**
56
+ * LayersService
57
+ */
58
+ private _layerService;
59
+ /**
60
+ * GeojsonPlotService
61
+ */
62
+ private _geojsonPlotService;
63
+ /**
64
+ * DrawbigfileService
65
+ */
66
+ private _drawbigfileService;
67
+ /**
68
+ * MusicService
69
+ */
70
+ private _musicService;
71
+ /**
72
+ * PlotService
73
+ */
74
+ private _plotService;
75
+ /**
76
+ * GvolMessageService
77
+ */
78
+ private _message;
79
+ private _geojsonService;
80
+ private _animationService;
81
+ private _drawService;
82
+ /**
83
+ * PinyinTool
84
+ */
85
+ private _pinyinTool;
86
+ private _htmlDrawService;
87
+ private _richTextService;
88
+ private _advancedHtmlService;
89
+ private _propertyService;
90
+ /**
91
+ * 构造
92
+ */
93
+ constructor(engine: any);
94
+ /**
95
+ * load
96
+ */
97
+ load(baseUrl: any): void;
98
+ /**
99
+ * engine
100
+ */
101
+ get engine(): any;
102
+ /**
103
+ * viewer
104
+ */
105
+ get viewer(): Cesium.Viewer;
106
+ /**
107
+ * baseUrl
108
+ */
109
+ get baseUrl(): any;
110
+ /**
111
+ * CesiumService
112
+ */
113
+ get cesiumService(): CesiumService;
114
+ /**
115
+ * configService
116
+ */
117
+ get configService(): ConfigService;
118
+ /**
119
+ * ActionService
120
+ */
121
+ get actionService(): ActionService;
122
+ /**
123
+ * httpService
124
+ */
125
+ get httpService(): HttpService;
126
+ /**
127
+ * Cluster管理
128
+ */
129
+ get clusterService(): ClusterService;
130
+ /**
131
+ * LayersService
132
+ */
133
+ get layerService(): LayersService;
134
+ /**
135
+ * GeojsonPlotService
136
+ */
137
+ get geojsonPlotService(): GeojsonPlotService;
138
+ /**
139
+ * DrawbigfileService
140
+ */
141
+ get drawbigfileService(): DrawbigfileService;
142
+ /**
143
+ * MusicService
144
+ */
145
+ get musicService(): MusicService;
146
+ /**
147
+ * PlotService
148
+ */
149
+ get plotService(): PlotService;
150
+ /**
151
+ * GvolMessageService
152
+ */
153
+ get message(): GvolMessageService;
154
+ /**
155
+ * GeojsonPlotService
156
+ */
157
+ get geojsonService(): GeojsonPlotService;
158
+ /**
159
+ * AnimationService
160
+ */
161
+ get animationService(): AnimationService;
162
+ /**
163
+ * DrawService
164
+ */
165
+ get drawService(): DrawService;
166
+ /**
167
+ * PinyinTool
168
+ */
169
+ get pinyinTool(): PinyinTool;
170
+ get htmlDrawService(): HtmlDrawService;
171
+ get richTextService(): RichTextService;
172
+ get advancedHtmlService(): AdvancedHtmlService;
173
+ get propertyService(): PropertyService;
174
+ }
@@ -0,0 +1 @@
1
+ export declare const COLORS: string[];
@@ -0,0 +1 @@
1
+ export declare function styleToHtml(node: any, elemHtml: string): string;
@@ -0,0 +1,11 @@
1
+ export declare class TerrainService {
2
+ private viewer;
3
+ constructor(viewer: Cesium.Viewer);
4
+ enable(value: boolean, viewer: any): void;
5
+ removeListener: any;
6
+ invokeCameraChanged(viewer: Cesium.Viewer): void;
7
+ getLevel(height: any): 1 | 10 | 15 | 5 | 50 | 30;
8
+ clearTerrain(scene: Cesium.Scene): void;
9
+ updateTerrain(scene: any, exaggeration?: number): void;
10
+ updateTerrain1(scene: any): void;
11
+ }
@@ -0,0 +1,13 @@
1
+ export declare class TextStrokeColorMenu {
2
+ readonly title: string;
3
+ readonly iconSvg?: string;
4
+ readonly tag = "button";
5
+ readonly showDropPanel = true;
6
+ protected mark: string;
7
+ private $content;
8
+ exec(editor: any, value: string | boolean): void;
9
+ getValue(editor: any): string | boolean;
10
+ isActive(editor: any): boolean;
11
+ isDisabled(editor: any): boolean;
12
+ getPanelContentElem(editor: any): any;
13
+ }
@@ -0,0 +1,20 @@
1
+ export declare class TextStrokeWidthMenu {
2
+ readonly title = "\u63CF\u8FB9\u5BBD\u5EA6";
3
+ iconSvg: string;
4
+ readonly tag = "select";
5
+ readonly width = 60;
6
+ getOptions(editor: any): any[];
7
+ isActive(editor: any): boolean;
8
+ /**
9
+ * 获取选中节点的 node.type
10
+ * @param editor editor
11
+ */
12
+ getValue(editor: any): any;
13
+ isDisabled(editor: any): boolean;
14
+ /**
15
+ * 执行命令
16
+ * @param editor editor
17
+ * @param value node.type
18
+ */
19
+ exec(editor: any, value: string | boolean): void;
20
+ }
@@ -0,0 +1,7 @@
1
+ import dom7 from 'dom7';
2
+ export declare function getSelectNodeTextStrokeWidth(editor: any): string;
3
+ export declare function isMenuDisabled(editor: any): boolean;
4
+ export declare function isPlainText(str: string): boolean;
5
+ export declare function getTagName($elem: any): string;
6
+ export declare function getStyleValue($elem: any, styleKey: string): string;
7
+ export default dom7;
@@ -0,0 +1,212 @@
1
+ import { GvolPoint } from '../Core/GvolPoint';
2
+ import * as turf from '@turf/turf';
3
+ /**
4
+ * @类别 无需创建,初始化球时自动创建并且与球对应的类</br>
5
+ * @描述 通用计算类</br>
6
+ * @see <a href='../../../examples/gallery/editor.html#spaceDis'>距离面积计算</a>
7
+ * @see <a href='../../../examples/gallery/editor.html#paowu'>曲线点集计算</a>
8
+ *
9
+ */
10
+ export declare class Calculate {
11
+ static calculateMatrix(parentGesture: any, childGesture: any): {
12
+ position: GvolPoint;
13
+ heading: number;
14
+ pitch: number;
15
+ roll: number;
16
+ };
17
+ static matrixToHdr(uMMatrix: Cesium.Matrix4): {
18
+ position: GvolPoint;
19
+ heading: number;
20
+ pitch: number;
21
+ roll: number;
22
+ };
23
+ private static _surfaceDistance;
24
+ private static _getAngle;
25
+ private static _getBearing;
26
+ /**
27
+ * 获取点集的空间面积
28
+ * @param geoPoints 点集信息
29
+ * @return
30
+ * ```
31
+ * 示例代码:
32
+ * let geoPoints = [{lon:80,lat:50,alt:50000},{lon:90,lat:45,alt:50000},{lon:85,lat:30,alt:50000}]
33
+ * let result = lacdt.Tool.Calculate.spaceArea(geoPoints);
34
+ * ```
35
+ */
36
+ static spaceArea(geoPoints: Array<GvolPoint>): number;
37
+ /**
38
+ * 获取点集的贴地面积
39
+ * @param geoPoints 点集信息
40
+ * @return
41
+ * ```
42
+ * 示例代码:
43
+ * let geoPoints = [{lon:80,lat:50,alt:50000},{lon:90,lat:45,alt:50000},{lon:85,lat:30,alt:50000}]
44
+ * let result = lacdt.Tool.Calculate.groundArea(geoPoints);
45
+ * ```
46
+ */
47
+ static groundArea(geoPoints: Array<GvolPoint>): number;
48
+ /**
49
+ * 获取点集的贴地距离
50
+ * @param geoPoints 点集信息
51
+ * @param viewer
52
+ * @return
53
+ * ```
54
+ * 示例代码:
55
+ * let geoPoints = [{lon:80,lat:50,alt:50000},{lon:90,lat:45,alt:50000},{lon:85,lat:30,alt:50000}]
56
+ * let result = lacdt.Tool.Calculate.groundDistance(geoPoints);
57
+ * ```
58
+ */
59
+ static groundDistance(geoPoints: Array<GvolPoint>, viewer: Cesium.Viewer): number;
60
+ /**
61
+ * 获取点集的空间距离
62
+ * @param geoPoints 点集信息
63
+ * @return
64
+ * ```
65
+ * 示例代码:
66
+ * let geoPoints = [{lon:80,lat:50,alt:50000},{lon:90,lat:45,alt:50000},{lon:85,lat:30,alt:50000}]
67
+ * let result = lacdt.Tool.Calculate.spaceDistance(geoPoints);
68
+ * ```
69
+ */
70
+ static spaceDistance(geoPoints: Array<GvolPoint>): number;
71
+ /**
72
+ * 获取二次贝塞尔曲线点集坐标
73
+ * @param geoPoints 控制点集信息
74
+ * @param step 点集数量 默认值:100 范围:>=2 && <= 100
75
+ * @return
76
+ * ```
77
+ * 示例代码:
78
+ * let geoPoints = [{lon:80,lat:50,alt:50000},{lon:90,lat:45,alt:50000},{lon:85,lat:30,alt:50000}]
79
+ * let result = lacdt.Tool.Calculate.getBezier(geoPoints);
80
+ * ```
81
+ */
82
+ static getBezier(geoPoints: Array<GvolPoint>, step?: number): Array<GvolPoint>;
83
+ /**
84
+ * 获取抛物线点集坐标
85
+ * @param fromPoint 起始点
86
+ * @param toPoint 终止点
87
+ * @param factor 曲率(抛物线高度)范围:>=1000 && <= 10000000
88
+ * @param step 点集数量 默认值:100 范围:>=2 && <= 100
89
+ * ```
90
+ * 示例代码:
91
+ * let result = lacdt.Tool.Calculate.getParabola({lon:80,lat:50,alt:50000},{lon:90,lat:45,alt:50000},50000);
92
+ * ```
93
+ */
94
+ static getParabola(fromPoint: GvolPoint, toPoint: GvolPoint, factor: number, step?: number): any[];
95
+ /**
96
+ * 判断经纬度点是否在多边形区域内
97
+ * @param point 被判断点
98
+ * @param polygon 多边形区域位置数组
99
+ * @returns
100
+ * @see <a href='../../../examples/gallery/editor.html#simlarScene'>模拟场景</a>
101
+ */
102
+ static pointInPolygon(point: GvolPoint, polygon: Array<GvolPoint>): boolean;
103
+ /**
104
+ * 判断经纬度点是否在圆形区域内
105
+ * @param point 被判断点
106
+ * @param centerPoint 圆心位置点
107
+ * @param radius 圆半径,单位:米
108
+ * @returns
109
+ * @see <a href='../../../examples/gallery/editor.html#simlarScene'>模拟场景</a>
110
+ */
111
+ static pointInCircle(point: GvolPoint, centerPoint: GvolPoint, radius: number): boolean;
112
+ /**
113
+ * 获取椭圆点集
114
+ * @param center 中心坐标
115
+ * @param xSemiAxis 长轴 单位:米
116
+ * @param ySemiAxis 短轴 单位:米
117
+ * @param steps 点集数量
118
+ * @returns
119
+ * @see <a href='../../../examples/gallery/editor.html#polygonDiff'>多边形交并差</a>
120
+ */
121
+ static getEllipsePositions(center: GvolPoint, xSemiAxis: number, ySemiAxis: number, steps?: number): GvolPoint[];
122
+ /**
123
+ * 获取椭圆点集(Array)
124
+ * @param center 中心坐标
125
+ * @param xSemiAxis 长轴 单位:米
126
+ * @param ySemiAxis 短轴 单位:米
127
+ * @param steps 点集数量
128
+ * @returns
129
+ * @see <a href='../../../examples/gallery/editor.html#polygonDiff'>多边形交并差</a>
130
+ */
131
+ static getEllipsePositionsArray(center: any, xSemiAxis: number, ySemiAxis: number, steps?: number): any;
132
+ /**
133
+ * 获取圆形点集
134
+ * @param center 圆心坐标
135
+ * @param radius 圆半径 单位:米
136
+ * @param steps 点集数量
137
+ * @returns
138
+ * @see <a href='../../../examples/gallery/editor.html#polygonDiff'>多边形交并差</a>
139
+ */
140
+ static getCirclePositions(center: GvolPoint, radius: number, steps?: number): GvolPoint[];
141
+ /**
142
+ * 获取圆形点集(Array)
143
+ * @param center 圆心坐标
144
+ * @param radius 圆半径 单位:米
145
+ * @param steps 点集数量
146
+ * @returns
147
+ * @see <a href='../../../examples/gallery/editor.html#polygonDiff'>多边形交并差</a>
148
+ */
149
+ static getCirclePositionsArray(center: any, radius: number, steps?: number): turf.helpers.Position[];
150
+ /**
151
+ * 获取扇形点集
152
+ * @param center 圆心坐标
153
+ * @param radius 圆半径 单位:米
154
+ * @param startAngle 起始角度
155
+ * @param endAngle 终止角度
156
+ * @param steps 点集数量
157
+ * @returns
158
+ */
159
+ static getSectorPositions(center: GvolPoint, radius: number, startAngle?: number, endAngle?: number, steps?: number): GvolPoint[];
160
+ /**
161
+ * 获取扇形点集(Array)
162
+ * @param center 圆心坐标
163
+ * @param radius 圆半径 单位:米
164
+ * @param startAngle 起始角度
165
+ * @param endAngle 终止角度
166
+ * @param steps 点集数量
167
+ * @returns
168
+ */
169
+ static getSectorPositionsArray(center: any, radius: number, startAngle?: number, endAngle?: number, steps?: number): any;
170
+ /**
171
+ * 获取两个多边形相交区域
172
+ * @param polygon1 多边形点集
173
+ * @param polygon2 多边形点集
174
+ * @returns
175
+ * @see <a href='../../../examples/gallery/editor.html#polygonDiff'>多边形交并差</a>
176
+ */
177
+ static getIntersect(polygon1: Array<GvolPoint>, polygon2: Array<GvolPoint>): Array<GvolPoint>;
178
+ /**
179
+ * 获取两个多边形相并区域
180
+ * @param polygon1 多边形点集
181
+ * @param polygon2 多边形点集
182
+ * @returns
183
+ * @see <a href='../../../examples/gallery/editor.html#polygonDiff'>多边形交并差</a>
184
+ */
185
+ static getUnion(polygon1: Array<GvolPoint>, polygon2: Array<GvolPoint>): Array<GvolPoint>;
186
+ /**
187
+ * 获取第一个多边形和第二个多边形作差的点集
188
+ * @param polygon1 多边形点集
189
+ * @param polygon2 多边形点集
190
+ * @returns
191
+ * @see <a href='../../../examples/gallery/editor.html#polygonDiff'>多边形交并差</a>
192
+ */
193
+ static getDiffer(polygon1: Array<GvolPoint>, polygon2: Array<GvolPoint>): Array<GvolPoint>;
194
+ /**
195
+ * 计算两个点的方位角
196
+ * @param point1 位置点
197
+ * @param point2 位置点
198
+ * @return 返回方位角
199
+ */
200
+ static getAngle(point1: GvolPoint, point2: GvolPoint): number;
201
+ /**
202
+ * 水平面剔除判断
203
+ * @param point 位置点
204
+ * @param viewer
205
+ */
206
+ static pointInEarthSide(point: GvolPoint, viewer: Cesium.Viewer): boolean;
207
+ /**
208
+ * 获取面中心点,首尾需重合,至少需要4个点
209
+ * @param posArr 位置点,如:[[0.0, 0.0],[20.0, 10.0],[0.0, 33.0],[0.0, 0.0]]
210
+ */
211
+ static centerOfMass(posArr: Array<Array<number>>): GvolPoint;
212
+ }
@@ -0,0 +1,98 @@
1
+ /**
2
+ * @类别 无需创建,初始化球时自动创建并且与球对应的类</br>
3
+ * @描述 通用检测类</br>
4
+ */
5
+ export declare class Check {
6
+ static defaultValue(a: any, b: any): any;
7
+ /**
8
+ * 检查参数是否为普通对象
9
+ * @param obj
10
+ * @return {boolean}
11
+ */
12
+ static isObject(obj: any): boolean;
13
+ /**
14
+ * 检查参数是否为布尔值
15
+ * @param value 被检测对象
16
+ * @return 返回值true or false
17
+ * ```
18
+ * 示例代码:
19
+ * let res = lacdt.Tool.Check.isBoolean(false);
20
+ * ```
21
+ */
22
+ static isBoolean(value: any): value is boolean;
23
+ /**
24
+ * 检查参数是否为json对象
25
+ * @param value 被检测对象
26
+ * @return 返回值true or false
27
+ */
28
+ static isJson(value: any): boolean;
29
+ /**
30
+ * 判定是否为字符串
31
+ * @param value 被检测对象
32
+ * @return 返回值true or false
33
+ */
34
+ static isString(value: any): boolean;
35
+ /**
36
+ * 判定是否为数值
37
+ * @param value 被检测对象
38
+ * @return 返回值true or false
39
+ */
40
+ static isNumber(value: any): boolean;
41
+ /**
42
+ * 判定参数是否为数组
43
+ * @param value 被检测对象
44
+ * @return 返回值true or false
45
+ */
46
+ static isArray(value: any): value is any[];
47
+ /**
48
+ * @param {String} string
49
+ * @description 判断字符串是否为十六进制颜色。例如#FFFFFFFF或者#FFFFFF
50
+ */
51
+ static isColor(string: any): boolean;
52
+ /**
53
+ * 判断字符串是否为十六进制颜色。
54
+ * @param value 被检测对象
55
+ * @return 返回值true or false
56
+ */
57
+ static isCssColor(value: any): boolean;
58
+ /**
59
+ * 判断颜色是否有效
60
+ * @param bgVal
61
+ * @returns
62
+ */
63
+ static CheckIsColor(bgVal: any): "invalid" | "valid";
64
+ /**
65
+ * 检测正数类型
66
+ * @param {Number} value 需检测数值
67
+ * @param {Number} defaultValue 默认值
68
+ * @param {Number} min 最小值
69
+ * @param {Number} max 最大值
70
+ * @return {Number} 返回值
71
+ */
72
+ static checkNumber(value: any, defaultValue: any, min?: any, max?: any): any;
73
+ /**
74
+ * 检测正数类型
75
+ * @param {Int} value 需检测数值
76
+ * @param {Int} defaultValue 默认值
77
+ * @param {Int} min 最小值
78
+ * @param {Int} max 最大值
79
+ * @return {Int} 返回值
80
+ */
81
+ static checkInt(value: any, defaultValue: any, min?: any, max?: any): any;
82
+ /**
83
+ * 检测枚举值
84
+ * @param {String} value 需检测参数
85
+ * @param {String} defaultValue 默认值
86
+ * @param {Array} enums 枚举列表
87
+ * @return {String}
88
+ */
89
+ static checkEnum(value: any, defaultValue: any, enums: any): any;
90
+ /**
91
+ * 设置颜色(待完善)
92
+ * @param {String} value 需检测参数
93
+ * @param {String} defaultValue 默认参数
94
+ */
95
+ static checkColor(value: any, defaultValue: any): any;
96
+ static checkString(value: any, defaultValue: any): any;
97
+ static isEmpty(a: any): boolean;
98
+ }
@@ -0,0 +1,30 @@
1
+ /**
2
+ * 日期转换工具类
3
+ */
4
+ export declare class DateHelper {
5
+ static toggleTime(date: Date): string;
6
+ static formatSeconds(seconds: number, milliSecond?: boolean): string;
7
+ static toggleTimeIso(date: Date): string;
8
+ static addDate(date: Date, days: any): string;
9
+ static getFormatDate(arg: any): string;
10
+ static getStrNow(): string;
11
+ static getTimeStamp(): string;
12
+ static getStr(date: Date): string;
13
+ private static getTodayZeroDate;
14
+ private static getTodayMaxDate;
15
+ static getTodayStartStr(): string;
16
+ static getTodayEndStr(): string;
17
+ static getTomorrowStartStr(): string;
18
+ static getTomorrowEndStr(): string;
19
+ static getWeekStartStr(): string;
20
+ static getWeekEndStr(): string;
21
+ static getMonthStartStr(): string;
22
+ static getMonthEndStr(): string;
23
+ static getYearStartStr(): string;
24
+ static getYearEndStr(): string;
25
+ static getDate15(): Date;
26
+ static getDate60(): Date;
27
+ static getDate120(): Date;
28
+ static addSecond(data: Date, ss: number): Date;
29
+ static addMinutes(data: Date, MM: number): Date;
30
+ }
@@ -0,0 +1,102 @@
1
+ import { GxVecto3 } from './GxVector3';
2
+ /**
3
+ * 算法类
4
+ */
5
+ export default class GxMath {
6
+ /**
7
+ * 计算两个点的方位角
8
+ * @param x1
9
+ * @param y1
10
+ * @param x2
11
+ * @param y2
12
+ * @return 返回方位角
13
+ */
14
+ static calculateAngle(x1: any, y1: any, x2: any, y2: any): number;
15
+ static calculateOrbitLocalc(currentTime: Date, tle1: string, tle2: string, period: number, pointcount?: number): Promise<Array<GxVecto3>>;
16
+ static calculatePeriod(tle1: string, tle2: string): number;
17
+ /**
18
+ * 根据笛卡尔坐标换算经度
19
+ * @param cartesian3
20
+ * @param viewer
21
+ */
22
+ static getLongitudeByCartesian3(cartesian3: Cesium.Cartesian3, viewer: Cesium.Viewer): number;
23
+ /**
24
+ * 根据笛卡尔坐标换算维度
25
+ */
26
+ static getLatitudeByCartesian3(cartesian3: Cesium.Cartesian3, viewer: Cesium.Viewer): number;
27
+ /**
28
+ * 根据笛卡儿直角坐标算高度
29
+ */
30
+ static getHeightByCartesian3(cartesian3: Cesium.Cartesian3, viewer: Cesium.Viewer): number;
31
+ /**
32
+ * 根据设置高度返回笛卡尔坐标
33
+ * @param cartesian3
34
+ * @param height
35
+ */
36
+ static getHeightdefineByXYZ(cartesian3: Cesium.Cartesian3, height: number, viewer: Cesium.Viewer): Cesium.Cartesian3;
37
+ static screen2Cartesian(screenPos: any, viewer: Cesium.Viewer): Cesium.Cartesian3;
38
+ /**
39
+ * 转换屏幕坐标(来自于鼠标的各种event)为地理坐标
40
+ * @param {screen position from mouse} screenPos
41
+ * @private
42
+ */
43
+ static screen2lonlat(screenPos: any, viewer: Cesium.Viewer): number[];
44
+ /**
45
+ * 转换地理坐标到cesium cartesian
46
+ * @param {地理坐标} lonlat
47
+ * @param {高度值} height
48
+ * @private
49
+ */
50
+ static lonlat2Cartesian(lonlat: any, height?: number): Cesium.Cartesian3;
51
+ /**
52
+ *
53
+ * @private,
54
+ */
55
+ static lonlathei2Cartesian(lonlathei: any): Cesium.Cartesian3;
56
+ /**
57
+ *
58
+ * @private
59
+ */
60
+ static cartesian2lonlat(cartesian: any): number[];
61
+ /**
62
+ *
63
+ * @private
64
+ */
65
+ static screen2CartesianWidthHeight(screenPos: any, height: number, viewer: any): Cesium.Cartesian3;
66
+ /**
67
+ * @param {* java script date} date
68
+ * @Return iso8601 date string like 2012-04-30T12:00:00Z
69
+ * @private
70
+ */
71
+ static dateToString(date: any): string;
72
+ /**
73
+ * 将date日期转换为Julian日期对象,如果date为空,则获取当前时间
74
+ * @param {JulianDate} date
75
+ * @private
76
+ */
77
+ static julianDate(date?: any): Cesium.JulianDate;
78
+ /**
79
+ * @private
80
+ * @param cart1
81
+ * @param cart2
82
+ */
83
+ static distance(cart1: any, cart2: any): number;
84
+ /**
85
+ *
86
+ * @private
87
+ */
88
+ static cartesian2turfPoint(cartesian: any): any;
89
+ /**
90
+ *
91
+ * @private
92
+ */
93
+ static turfGeometry2Cartesians(g: any, height?: number): any;
94
+ /**
95
+ *
96
+ * @private
97
+ */
98
+ static deleteEnts(ents: any, viewer: any): void;
99
+ static turfIntersect(turfGeo1: any, turfGeo2: any): any;
100
+ static turfUnion(turfGeo1: any, turfGeo2: any): any;
101
+ static turfArea(turfGeo: any): number;
102
+ }
@@ -0,0 +1,7 @@
1
+ export declare class GxVecto3 {
2
+ constructor(x: number, y: number, z: number, time?: Date);
3
+ x: number;
4
+ y: number;
5
+ z: number;
6
+ time?: Date;
7
+ }