@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.
- package/lacdt.plotting.d.ts +30265 -0
- package/lacdt.plotting.js +474 -0
- package/package.json +14 -12
- package/resources/image/Height.png +0 -0
- package/resources/image/JPlace/capital.png +0 -0
- package/resources/image/JPlace/chengzhen.png +0 -0
- package/resources/image/JPlace/shenghui.png +0 -0
- package/resources/image/Move.png +0 -0
- package/resources/image/Scale.png +0 -0
- package/resources/image/arrow-down.png +0 -0
- package/resources/image/arrow-left.png +0 -0
- package/resources/image/arrow-right.png +0 -0
- package/resources/image/arrow-up.png +0 -0
- package/resources/image/arrow.png +0 -0
- package/resources/image/cm_gray.png +0 -0
- package/resources/image/cm_viridis.png +0 -0
- package/resources/image/excavate_bottom_min.jpg +0 -0
- package/resources/image/excavate_side_min.jpg +0 -0
- package/resources/image/eye.png +0 -0
- package/resources/image/facility.gif +0 -0
- package/resources/image/fire.png +0 -0
- package/resources/image/fountain2.png +0 -0
- package/resources/image/globe.jpg +0 -0
- package/resources/image/gpoint.svg +1 -0
- package/resources/image/redflag.png +0 -0
- package/resources/image/smoke.png +0 -0
- package/resources/image/tuodong.png +0 -0
- package/resources/image//346/227/213/350/275/254.png +0 -0
- package/resources/images/circular_particle.png +0 -0
- package/resources/images/cloud.png +0 -0
- package/resources/images/dash.png +0 -0
- package/resources/images/daylight/Daylight_Box_Back.jpg +0 -0
- package/resources/images/daylight/Daylight_Box_Bottom.jpg +0 -0
- package/resources/images/daylight/Daylight_Box_Front.jpg +0 -0
- package/resources/images/daylight/Daylight_Box_Left.jpg +0 -0
- package/resources/images/daylight/Daylight_Box_Right.jpg +0 -0
- package/resources/images/daylight/Daylight_Box_Top.jpg +0 -0
- package/resources/images/daylight/Daylight_Box_mx.jpg +0 -0
- package/resources/images/daylight/Daylight_Box_my.jpg +0 -0
- package/resources/images/daylight/Daylight_Box_mz.jpg +0 -0
- package/resources/images/daylight/Daylight_Box_px.jpg +0 -0
- package/resources/images/daylight/Daylight_Box_py.jpg +0 -0
- package/resources/images/daylight/Daylight_Box_pz.jpg +0 -0
- package/resources/images/earthclouds1k.jpg +0 -0
- package/resources/images/earthclouds1k.png +0 -0
- package/resources/images/night_1-2k.jpg +0 -0
- package/resources/images/scan.png +0 -0
- package/resources/images/smoke.png +0 -0
- package/resources/images/specialLine/ArrowOpacity.png +0 -0
- package/resources/images/specialLine/ArrowTransparent.png +0 -0
- package/resources/images/specialLine/DataTransLine.png +0 -0
- package/resources/images/specialLine/DotTransparent.png +0 -0
- package/resources/images/specialLine/LinkPulse.png +0 -0
- package/resources/images/specialLine/LinkTrail.png +0 -0
- package/resources/images/specialLine/Trail.png +0 -0
- package/resources/images/specialLine/Trail1.png +0 -0
- package/resources/images/specialLine/alpha.png +0 -0
- package/resources/images/starmap/starmap_2020_16k_mx.webp +0 -0
- package/resources/images/starmap/starmap_2020_16k_my.webp +0 -0
- package/resources/images/starmap/starmap_2020_16k_mz.webp +0 -0
- package/resources/images/starmap/starmap_2020_16k_px.webp +0 -0
- package/resources/images/starmap/starmap_2020_16k_py.webp +0 -0
- package/resources/images/starmap/starmap_2020_16k_pz.webp +0 -0
- package/resources/images/wx.png +0 -0
- package/resources/images/wx2.jpg +0 -0
- package/resources/readme.txt +1 -0
- package/resources/textures/grey.png +0 -0
- package/resources/textures/mesh.png +0 -0
- package/resources/textures/waterNormalsSmall.jpg +0 -0
- package/resources/thirdParty/html2canvas/0.5.0-beta4/html2canvas.js +3519 -0
- package/resources/thirdParty/html2canvas/0.5.0-beta4/html2canvas.min.js +8 -0
- package/resources/thirdParty/wangEditor/colorpicker.js +481 -0
- package/resources/thirdParty/wangEditor/wangEditor.js +50897 -0
- package/resources/thirdParty/wangEditor/wangeditor.css +945 -0
- package/resources/water/sea 50_1.json.json +578 -0
- package/resources/workers/satellite.worker.js +3175 -0
- package/types/Common/ArrayHelper.d.ts +8 -0
- package/types/Common/Guid.d.ts +4 -0
- package/types/Common/KeyValue.d.ts +5 -0
- package/types/Core/Common/Cesium/Core/xz_Color.d.ts +1545 -0
- package/types/Core/Common/Cesium/Core/xz_measureSize.d.ts +4 -0
- package/types/Core/Common/Cesium/Core/xz_writeTextToCanvas.d.ts +27 -0
- package/types/Core/Common/Cesium/ThirdParty/xz_measureText.d.ts +30 -0
- package/types/Core/Event.d.ts +72 -0
- package/types/Core/GvolLayer.d.ts +39 -0
- package/types/Core/GvolPoint.d.ts +206 -0
- package/types/Core/Music.d.ts +18 -0
- package/types/Core/Register.d.ts +36 -0
- package/types/Core/index.d.ts +46 -0
- package/types/Core/property-item-meta.d.ts +36 -0
- package/types/FixCesium/index.d.ts +0 -0
- package/types/Global/array.d.ts +21 -0
- package/types/Global/global.d.ts +9 -0
- package/types/Global/link.d.ts +32 -0
- package/types/Global/linq.d.ts +15 -0
- package/types/Global/math.d.ts +7 -0
- package/types/Global/number.d.ts +15 -0
- package/types/Global/object.d.ts +7 -0
- package/types/Global/regex.d.ts +6 -0
- package/types/Global/static.d.ts +6 -0
- package/types/Global/string.d.ts +14 -0
- package/types/LayerManager/DynamicLayer/DynamicLayer.d.ts +294 -0
- package/types/LayerManager/GpLayer/GpLayer.d.ts +56 -0
- package/types/LayerManager/GraphicLayer/GraphicLayer.d.ts +209 -0
- package/types/LayerManager/ImageLayer/BaiduImageryProvider.d.ts +33 -0
- package/types/LayerManager/LayerManager.d.ts +59 -0
- package/types/LayerManager/LayerTools.d.ts +3 -0
- package/types/LayerManager/MapBox/CesiumInstance.d.ts +78 -0
- package/types/LayerManager/MapBox/CesiumLayer.d.ts +54 -0
- package/types/LayerManager/MapBox/CesiumLayerOptions.d.ts +34 -0
- package/types/LayerManager/MapBox/MVTImageryProvider/mapboxVectorRender.d.ts +44 -0
- package/types/LayerManager/MapBox/MapboxPlaceName.d.ts +30 -0
- package/types/LayerManager/MapBox/index.d.ts +25 -0
- package/types/LayerManager/MapBox/shaders/colorscales.d.ts +123 -0
- package/types/LayerManager/MapBox/shaders/raster_frag.d.ts +2 -0
- package/types/LayerManager/MapBox/shaders/raster_rpg_frag.d.ts +2 -0
- package/types/LayerManager/MapBox/shaders/raster_rpg_vert.d.ts +2 -0
- package/types/LayerManager/MapBox/shaders/raster_vert.d.ts +2 -0
- package/types/LayerManager/MapBox/utils.d.ts +13 -0
- package/types/LayerManager/PlotLayer/PlotLayer.d.ts +77 -0
- package/types/LayerManager/SateLayer/Satellite.d.ts +98 -0
- package/types/LayerManager/SateLayer/SatelliteLayer.d.ts +46 -0
- package/types/LayerManager/SateLayer/SpaceDebris.d.ts +23 -0
- package/types/LayerManager/SateLayer/SpaceDebrisLayer.d.ts +40 -0
- package/types/LayerManager/TileLayer/TileLayer.d.ts +27 -0
- package/types/LayerManager/TileLayer/WMTSVectorProvider.d.ts +14 -0
- package/types/LayerManager/index.d.ts +21 -0
- package/types/Models/AnimationConfig.d.ts +29 -0
- package/types/Models/AnimationItem.d.ts +14 -0
- package/types/Models/FileNode.d.ts +24 -0
- package/types/Models/GeojsonPlotModel.d.ts +19 -0
- package/types/Models/GeojsonStyleBase.d.ts +104 -0
- package/types/Models/PlotItem.d.ts +17 -0
- package/types/Models/all.d.ts +268 -0
- package/types/PlottingTool/AnchorHelper.d.ts +50 -0
- package/types/PlottingTool/Animation/AnimationBase.d.ts +61 -0
- package/types/PlottingTool/Animation/AnimationGroup.d.ts +46 -0
- package/types/PlottingTool/Animation/AnimationManager.d.ts +72 -0
- package/types/PlottingTool/Animation/AnimationStartState.d.ts +5 -0
- package/types/PlottingTool/Animation/AnimationState.d.ts +5 -0
- package/types/PlottingTool/Animation/CalcTool.d.ts +6 -0
- package/types/PlottingTool/Animation/CssItems/AudioAnimation.d.ts +14 -0
- package/types/PlottingTool/Animation/CssItems/CssAnimationBase.d.ts +15 -0
- package/types/PlottingTool/Animation/CssItems/CssHideAnimation.d.ts +12 -0
- package/types/PlottingTool/Animation/CssItems/CssMaskAnimation.d.ts +18 -0
- package/types/PlottingTool/Animation/CssItems/CssMoveHorizonAnimation.d.ts +5 -0
- package/types/PlottingTool/Animation/CssItems/CssMoveVerticalAnimation.d.ts +5 -0
- package/types/PlottingTool/Animation/CssItems/CssNumberAnimation.d.ts +4 -0
- package/types/PlottingTool/Animation/CssItems/CssPropChangeAnimation.d.ts +13 -0
- package/types/PlottingTool/Animation/CssItems/CssShowAnimation.d.ts +12 -0
- package/types/PlottingTool/Animation/CssItems/CssShowDisplayAnimation.d.ts +10 -0
- package/types/PlottingTool/Animation/CssItems/CssValueAnimation.d.ts +27 -0
- package/types/PlottingTool/Animation/CssItems/SpeakManager.d.ts +12 -0
- package/types/PlottingTool/Animation/CssItems/SpeakTool.d.ts +12 -0
- package/types/PlottingTool/Animation/CssItems/SubtitleAnimation.d.ts +12 -0
- package/types/PlottingTool/Animation/CssItems/VideoAnimation.d.ts +12 -0
- package/types/PlottingTool/Animation/CssItems/XunFeiTool.d.ts +28 -0
- package/types/PlottingTool/Animation/Decorator.d.ts +11 -0
- package/types/PlottingTool/Animation/DefaultConfig.d.ts +5 -0
- package/types/PlottingTool/Animation/FillBehavior.d.ts +13 -0
- package/types/PlottingTool/Animation/GeojsonItems/GeojsonAnimation.d.ts +25 -0
- package/types/PlottingTool/Animation/GeojsonItems/GeojsonRepeatAnimation.d.ts +10 -0
- package/types/PlottingTool/Animation/GeojsonItems/GeojsonVisibleAnimation.d.ts +5 -0
- package/types/PlottingTool/Animation/IAnimation.d.ts +59 -0
- package/types/PlottingTool/Animation/Items/ArrowDirectAnimation.d.ts +11 -0
- package/types/PlottingTool/Animation/Items/AutoRotationAnimation.d.ts +16 -0
- package/types/PlottingTool/Animation/Items/CameraFlyAnimation.d.ts +15 -0
- package/types/PlottingTool/Animation/Items/CameraRoamAnimation.d.ts +29 -0
- package/types/PlottingTool/Animation/Items/CameraSetAnimation.d.ts +5 -0
- package/types/PlottingTool/Animation/Items/ColorAnimation.d.ts +6 -0
- package/types/PlottingTool/Animation/Items/DoubleArrowDirectAnimation.d.ts +10 -0
- package/types/PlottingTool/Animation/Items/FollowAnimation.d.ts +30 -0
- package/types/PlottingTool/Animation/Items/ForwardAnimation.d.ts +7 -0
- package/types/PlottingTool/Animation/Items/HideAnimation.d.ts +11 -0
- package/types/PlottingTool/Animation/Items/JBDirectAnimation.d.ts +20 -0
- package/types/PlottingTool/Animation/Items/ModelAnimation.d.ts +12 -0
- package/types/PlottingTool/Animation/Items/NumberAnimation.d.ts +12 -0
- package/types/PlottingTool/Animation/Items/PathAnimation.d.ts +44 -0
- package/types/PlottingTool/Animation/Items/PathMode.d.ts +18 -0
- package/types/PlottingTool/Animation/Items/PathShowAnimation.d.ts +25 -0
- package/types/PlottingTool/Animation/Items/PolygonMaskAnimation.d.ts +15 -0
- package/types/PlottingTool/Animation/Items/PopulationTimeAnimation.d.ts +7 -0
- package/types/PlottingTool/Animation/Items/RepeatAnimation.d.ts +13 -0
- package/types/PlottingTool/Animation/Items/ShowAnimation.d.ts +13 -0
- package/types/PlottingTool/Animation/Items/ShowTifAnimation.d.ts +10 -0
- package/types/PlottingTool/Animation/Items/SpiralAnimation.d.ts +30 -0
- package/types/PlottingTool/Animation/Items/StateChangeAnimation.d.ts +7 -0
- package/types/PlottingTool/Animation/Items/SurroundAnimation.d.ts +43 -0
- package/types/PlottingTool/Animation/Items/TargetFllowAniamtion.d.ts +20 -0
- package/types/PlottingTool/Animation/Items/ZoomToFlyAnimation.d.ts +16 -0
- package/types/PlottingTool/Animation/MaskBehavior.d.ts +13 -0
- package/types/PlottingTool/Animation/PageItems/PageShowAnimation.d.ts +10 -0
- package/types/PlottingTool/Animation/SingleAnimation.d.ts +32 -0
- package/types/PlottingTool/Arrow/EditorArrowBase.d.ts +10 -0
- package/types/PlottingTool/Arrow/EditorArrowLineBase.d.ts +10 -0
- package/types/PlottingTool/Arrow/EditorAssaultDirection.d.ts +4 -0
- package/types/PlottingTool/Arrow/EditorAttackArrow.d.ts +51 -0
- package/types/PlottingTool/Arrow/EditorDoubleArrow.d.ts +82 -0
- package/types/PlottingTool/Arrow/EditorFineArrow.d.ts +11 -0
- package/types/PlottingTool/Arrow/EditorGatheringPlace.d.ts +10 -0
- package/types/PlottingTool/Arrow/EditorSquadCombat.d.ts +9 -0
- package/types/PlottingTool/Arrow/EditorStraightLineArrow.d.ts +10 -0
- package/types/PlottingTool/Arrow/EditorTailedAttackArrow.d.ts +8 -0
- package/types/PlottingTool/Arrow/EditorTailedSquadCombat.d.ts +10 -0
- package/types/PlottingTool/Axis3Operator.d.ts +39 -0
- package/types/PlottingTool/Common/ICell.d.ts +9 -0
- package/types/PlottingTool/Common/IVectorTile.d.ts +16 -0
- package/types/PlottingTool/Common/PolygonHelper.d.ts +4 -0
- package/types/PlottingTool/Common/RenderGridTextV2.5.d.ts +36 -0
- package/types/PlottingTool/Common/geocode.d.ts +21 -0
- package/types/PlottingTool/Common.d.ts +26 -0
- package/types/PlottingTool/Cube/EditorCubeBase.d.ts +38 -0
- package/types/PlottingTool/Cube/EditorCubeBox.d.ts +20 -0
- package/types/PlottingTool/Cube/EditorCylinder.d.ts +25 -0
- package/types/PlottingTool/Cube/EditorEllipsoid.d.ts +20 -0
- package/types/PlottingTool/CurrentList.d.ts +14 -0
- package/types/PlottingTool/DataRgister.d.ts +6 -0
- package/types/PlottingTool/DataRgisterAudio.d.ts +5 -0
- package/types/PlottingTool/DataRgisterTif.d.ts +5 -0
- package/types/PlottingTool/DefaultPlottingAttribute.d.ts +1 -0
- package/types/PlottingTool/EditHelpLine.d.ts +8 -0
- package/types/PlottingTool/EditMode.d.ts +218 -0
- package/types/PlottingTool/GVEntityCollection.d.ts +11 -0
- package/types/PlottingTool/Graph.d.ts +340 -0
- package/types/PlottingTool/GraphFactory.d.ts +7 -0
- package/types/PlottingTool/GraphManager.d.ts +145 -0
- package/types/PlottingTool/GraphPropStorage.d.ts +10 -0
- package/types/PlottingTool/GraphProperty.d.ts +58 -0
- package/types/PlottingTool/GraphicRender/CesiumConeCommunicate.d.ts +40 -0
- package/types/PlottingTool/GraphicRender/CesiumRender.d.ts +31 -0
- package/types/PlottingTool/GraphicRender/Cloud/GxCloudItem.d.ts +82 -0
- package/types/PlottingTool/GraphicRender/DynamicProperty.d.ts +14 -0
- package/types/PlottingTool/GraphicRender/RenderPlotting.d.ts +20 -0
- package/types/PlottingTool/GraphicRender/radar/GxPrimitivePolyline.d.ts +29 -0
- package/types/PlottingTool/GraphicRender/radar/GxPrimitiveTriangles.d.ts +30 -0
- package/types/PlottingTool/GraphicRender/radar/GxRadarItem.d.ts +93 -0
- package/types/PlottingTool/GxClusterDataSource.d.ts +107 -0
- package/types/PlottingTool/HeightReferenceGraph.d.ts +7 -0
- package/types/PlottingTool/HeightReferencePrimtive.d.ts +8 -0
- package/types/PlottingTool/HtmlBox/BoxFactory.d.ts +4 -0
- package/types/PlottingTool/HtmlBox/CssProp.d.ts +61 -0
- package/types/PlottingTool/HtmlBox/HtmlBox.d.ts +6 -0
- package/types/PlottingTool/HtmlBox/HtmlBoxMulti.d.ts +38 -0
- package/types/PlottingTool/HtmlBox/WangEditor/fwbconfig.d.ts +3 -0
- package/types/PlottingTool/HtmlBox/WangEditor/parse-style-html.d.ts +7 -0
- package/types/PlottingTool/HtmlBox/WangEditor/render-style.d.ts +7 -0
- package/types/PlottingTool/HtmlBox/WangEditor/stroke-color-config.d.ts +1 -0
- package/types/PlottingTool/HtmlBox/WangEditor/style-to-html.d.ts +1 -0
- package/types/PlottingTool/HtmlBox/WangEditor/text-stroke-color.d.ts +13 -0
- package/types/PlottingTool/HtmlBox/WangEditor/text-stroke-width.d.ts +20 -0
- package/types/PlottingTool/HtmlBox/WangEditor/tools.d.ts +7 -0
- package/types/PlottingTool/HtmlBox/html-box-base.d.ts +34 -0
- package/types/PlottingTool/HtmlBox/html-css-prop.d.ts +3 -0
- package/types/PlottingTool/HtmlBox/new-rich-text.d.ts +6 -0
- package/types/PlottingTool/HtmlBox/pic-collection.d.ts +17 -0
- package/types/PlottingTool/HtmlBox/rich-text.d.ts +6 -0
- package/types/PlottingTool/HtmlBox/subtitle-box.d.ts +6 -0
- package/types/PlottingTool/HtmlBox/videoBox.d.ts +8 -0
- package/types/PlottingTool/Image/EditorHtml.d.ts +36 -0
- package/types/PlottingTool/Image/EditorImage.d.ts +10 -0
- package/types/PlottingTool/Image/EditorJBPointObject.d.ts +23 -0
- package/types/PlottingTool/Image/EditorRedFlag.d.ts +7 -0
- package/types/PlottingTool/Interface/LayerConfig.d.ts +22 -0
- package/types/PlottingTool/NoControlPrimitive/EditorGeometryMultiPolyBase.d.ts +17 -0
- package/types/PlottingTool/NoControlPrimitive/EditorGeometryMultiPolygon.d.ts +11 -0
- package/types/PlottingTool/NoControlPrimitive/EditorGeometryMultiPolyline.d.ts +14 -0
- package/types/PlottingTool/NoControlPrimitive/EditorGeometryPolygon.d.ts +41 -0
- package/types/PlottingTool/NoControlPrimitive/EditorGeometryPolyline.d.ts +28 -0
- package/types/PlottingTool/NoControlPrimitive/EditorGeometryWall.d.ts +18 -0
- package/types/PlottingTool/NoControlPrimitive/NoControlPrimitive.d.ts +26 -0
- package/types/PlottingTool/NoControlPrimitive/PercentPolyine.d.ts +17 -0
- package/types/PlottingTool/PlottingBaseNode.d.ts +40 -0
- package/types/PlottingTool/PlottingBehavior.d.ts +91 -0
- package/types/PlottingTool/PlottingCommon.d.ts +20 -0
- package/types/PlottingTool/Point/ConeCommunicateWave.d.ts +46 -0
- package/types/PlottingTool/Point/EditorBasePrimitive.d.ts +12 -0
- package/types/PlottingTool/Point/EditorCloud.d.ts +43 -0
- package/types/PlottingTool/Point/EditorCommunicateWave.d.ts +44 -0
- package/types/PlottingTool/Point/EditorJBPointScreen.d.ts +51 -0
- package/types/PlottingTool/Point/EditorModel.d.ts +59 -0
- package/types/PlottingTool/Point/EditorParticle.d.ts +37 -0
- package/types/PlottingTool/Point/EditorPin.d.ts +55 -0
- package/types/PlottingTool/Point/EditorPinCanvas.d.ts +94 -0
- package/types/PlottingTool/Point/EditorPinImage.d.ts +110 -0
- package/types/PlottingTool/Point/EditorPinMakiIcon.d.ts +13 -0
- package/types/PlottingTool/Point/EditorPinText.d.ts +14 -0
- package/types/PlottingTool/Point/EditorPlaneText.d.ts +79 -0
- package/types/PlottingTool/Point/EditorPoint.d.ts +28 -0
- package/types/PlottingTool/Point/EditorRadar.d.ts +80 -0
- package/types/PlottingTool/Point/EditorText.d.ts +93 -0
- package/types/PlottingTool/Point/EditorText_old.d.ts +58 -0
- package/types/PlottingTool/Point/PointJbStrokeSvgHelper.d.ts +28 -0
- package/types/PlottingTool/Point/PointJbSvgHelper.d.ts +31 -0
- package/types/PlottingTool/Point/UECamera.d.ts +49 -0
- package/types/PlottingTool/Polygon/EditorArrow1.d.ts +10 -0
- package/types/PlottingTool/Polygon/EditorCircle.d.ts +13 -0
- package/types/PlottingTool/Polygon/EditorEllipse.d.ts +12 -0
- package/types/PlottingTool/Polygon/EditorFrustum.d.ts +36 -0
- package/types/PlottingTool/Polygon/EditorPolygon.d.ts +102 -0
- package/types/PlottingTool/Polygon/EditorRectangle.d.ts +40 -0
- package/types/PlottingTool/Polygon/EditorRectangleExpand.d.ts +16 -0
- package/types/PlottingTool/Polygon/EditorSector.d.ts +16 -0
- package/types/PlottingTool/Polyline/EditorBezier1.d.ts +9 -0
- package/types/PlottingTool/Polyline/EditorBezier2.d.ts +9 -0
- package/types/PlottingTool/Polyline/EditorBezierN.d.ts +9 -0
- package/types/PlottingTool/Polyline/EditorBezierSpline.d.ts +9 -0
- package/types/PlottingTool/Polyline/EditorCircleArc.d.ts +10 -0
- package/types/PlottingTool/Polyline/EditorCurve.d.ts +7 -0
- package/types/PlottingTool/Polyline/EditorJBLine.d.ts +8 -0
- package/types/PlottingTool/Polyline/EditorPointArc.d.ts +21 -0
- package/types/PlottingTool/Polyline/EditorPointLine.d.ts +12 -0
- package/types/PlottingTool/Polyline/EditorPointSpline.d.ts +8 -0
- package/types/PlottingTool/Polyline/EditorPolyline.d.ts +109 -0
- package/types/PlottingTool/Polyline/EditorRoutePolyline.d.ts +16 -0
- package/types/PlottingTool/Polyline/plotsList.d.ts +6 -0
- package/types/PlottingTool/RegexHelper.d.ts +10 -0
- package/types/PlottingTool/Text/EditorAreaText.d.ts +44 -0
- package/types/PlottingTool/Text/EditorRouteText.d.ts +64 -0
- package/types/PlottingTool/Text/MedianLine.d.ts +22 -0
- package/types/PlottingTool/VideoElement/EditorVideo.d.ts +9 -0
- package/types/PlottingTool/drawToolExt/DrawAreaTextToolEx.d.ts +19 -0
- package/types/PlottingTool/drawToolExt/DrawBillboardToolEx.d.ts +21 -0
- package/types/PlottingTool/drawToolExt/DrawCtrlPointToolEx.d.ts +20 -0
- package/types/PlottingTool/drawToolExt/DrawHtmlToolEx.d.ts +31 -0
- package/types/PlottingTool/drawToolExt/DrawLineToolEx.d.ts +20 -0
- package/types/PlottingTool/drawToolExt/DrawMedianPointToolEx.d.ts +15 -0
- package/types/PlottingTool/drawToolExt/DrawModelToolEx.d.ts +21 -0
- package/types/PlottingTool/drawToolExt/DrawPointToolEx.d.ts +21 -0
- package/types/PlottingTool/drawToolExt/DrawPolygonToolEx.d.ts +20 -0
- package/types/PlottingTool/drawToolExt/DrawRouteTextToolEx.d.ts +16 -0
- package/types/PlottingTool/drawToolExt/DrawTextToolEx.d.ts +21 -0
- package/types/PlottingTool/drawToolExt/DrawToolManager.d.ts +60 -0
- package/types/PlottingTool/drawToolExt/HitPointToolEx.d.ts +10 -0
- package/types/PlottingTool/drawToolExt/HitRectToolEx.d.ts +10 -0
- package/types/PlottingTool/drawToolExt/base/List.d.ts +22 -0
- package/types/PlottingTool/drawToolExt/calcuteShape.d.ts +3 -0
- package/types/PlottingTool/drawToolExt/entity/MaxRecTest.d.ts +21 -0
- package/types/PlottingTool/drawToolExt/entity/XZAreaTextEntity.d.ts +36 -0
- package/types/PlottingTool/drawToolExt/entity/XZBaseEntity.d.ts +17 -0
- package/types/PlottingTool/drawToolExt/entity/XZBillboardEntity.d.ts +17 -0
- package/types/PlottingTool/drawToolExt/entity/XZCtrlPointEntity.d.ts +16 -0
- package/types/PlottingTool/drawToolExt/entity/XZHtmlEntity.d.ts +15 -0
- package/types/PlottingTool/drawToolExt/entity/XZLineEntity.d.ts +20 -0
- package/types/PlottingTool/drawToolExt/entity/XZMedianPointEntity.d.ts +16 -0
- package/types/PlottingTool/drawToolExt/entity/XZModelEntity.d.ts +17 -0
- package/types/PlottingTool/drawToolExt/entity/XZPointEntity.d.ts +16 -0
- package/types/PlottingTool/drawToolExt/entity/XZPolygonEntity.d.ts +19 -0
- package/types/PlottingTool/drawToolExt/entity/XZRouteTextEntity.d.ts +16 -0
- package/types/PlottingTool/drawToolExt/entity/XZTextEntity.d.ts +16 -0
- package/types/PlottingTool/drawToolExt/interface/IBase.d.ts +23 -0
- package/types/PlottingTool/drawToolExt/interface/ICesium.d.ts +99 -0
- package/types/PlottingTool/drawToolExt/interface/IData.d.ts +56 -0
- package/types/PlottingTool/drawToolExt/interface/IEntity.d.ts +80 -0
- package/types/PlottingTool/drawToolExt/interface/IStyle.d.ts +127 -0
- package/types/PlottingTool/drawToolExt/interface/ITool.d.ts +31 -0
- package/types/PlottingTool/drawToolExt/interface/geojson.d.ts +192 -0
- package/types/PlottingTool/drawToolExt/styles/XZAreaTextStyle.d.ts +14 -0
- package/types/PlottingTool/drawToolExt/styles/XZBaseStyle.d.ts +6 -0
- package/types/PlottingTool/drawToolExt/styles/XZBillboardStyle.d.ts +9 -0
- package/types/PlottingTool/drawToolExt/styles/XZHtmlStyle.d.ts +71 -0
- package/types/PlottingTool/drawToolExt/styles/XZLineStyle.d.ts +12 -0
- package/types/PlottingTool/drawToolExt/styles/XZModelStyle.d.ts +9 -0
- package/types/PlottingTool/drawToolExt/styles/XZPointStyle.d.ts +12 -0
- package/types/PlottingTool/drawToolExt/styles/XZPolygonStyle.d.ts +8 -0
- package/types/PlottingTool/drawToolExt/styles/XZRouteTextStyle.d.ts +11 -0
- package/types/PlottingTool/drawToolExt/styles/XZTextStyle.d.ts +14 -0
- package/types/PlottingTool/geojson/EditorGeojsonMultiPolyBase.d.ts +33 -0
- package/types/PlottingTool/geojson/EditorGeojsonMultiPolygon.d.ts +28 -0
- package/types/PlottingTool/geojson/EditorGeojsonMultiPolyline.d.ts +21 -0
- package/types/PlottingTool/geojson/EditorGeojsonPolygon.d.ts +13 -0
- package/types/PlottingTool/geojson/EditorGeojsonPolyline.d.ts +13 -0
- package/types/PlottingTool/geojson/GeojsonPercentPolyine.d.ts +18 -0
- package/types/PlottingTool/geojson/parsePolygon.d.ts +25 -0
- package/types/PlottingTool/shareGraph.d.ts +16 -0
- package/types/Scene/Analyzation/Measure.d.ts +120 -0
- package/types/Scene/EventSource/ContextSizeChanged.d.ts +13 -0
- package/types/Scene/GraticuleLayer/Graticule.d.ts +15 -0
- package/types/Scene/Sea/RenderSeaPolygon.d.ts +9 -0
- package/types/SceneObjects/CustomPrimitive/SharedTexturePool.d.ts +13 -0
- package/types/SceneObjects/CustomPrimitive/extrudePolyline.d.ts +1 -0
- package/types/SceneObjects/RenderObject/BindedCylinder.d.ts +40 -0
- package/types/SceneObjects/RenderObject/Bubble.d.ts +125 -0
- package/types/SceneObjects/RenderObject/CesiumBillboard.d.ts +20 -0
- package/types/SceneObjects/RenderObject/CesiumCylinder.d.ts +30 -0
- package/types/SceneObjects/RenderObject/CesiumEllipse.d.ts +29 -0
- package/types/SceneObjects/RenderObject/CesiumEllipsoid.d.ts +29 -0
- package/types/SceneObjects/RenderObject/CesiumLabel.d.ts +29 -0
- package/types/SceneObjects/RenderObject/CesiumLabelBillboard.d.ts +39 -0
- package/types/SceneObjects/RenderObject/CesiumLabelRect.d.ts +33 -0
- package/types/SceneObjects/RenderObject/CesiumModel.d.ts +20 -0
- package/types/SceneObjects/RenderObject/CesiumOblique.d.ts +33 -0
- package/types/SceneObjects/RenderObject/CesiumPoint.d.ts +22 -0
- package/types/SceneObjects/RenderObject/CesiumPolygon.d.ts +24 -0
- package/types/SceneObjects/RenderObject/CesiumPolyline.d.ts +24 -0
- package/types/SceneObjects/RenderObject/CesiumPopover.d.ts +30 -0
- package/types/SceneObjects/RenderObject/CesiumRectangle.d.ts +34 -0
- package/types/SceneObjects/RenderObject/CesiumSphere.d.ts +29 -0
- package/types/SceneObjects/RenderObject/CesiumVolumePolyline.d.ts +32 -0
- package/types/SceneObjects/RenderObject/CesiumWall.d.ts +29 -0
- package/types/SceneObjects/RenderObject/CircularRender.d.ts +24 -0
- package/types/SceneObjects/RenderObject/CustomLabelRender.d.ts +23 -0
- package/types/SceneObjects/RenderObject/CylinderSensor.d.ts +47 -0
- package/types/SceneObjects/RenderObject/DashBoardEffect.d.ts +39 -0
- package/types/SceneObjects/RenderObject/DynamicItem/DynamicItemFlame.d.ts +42 -0
- package/types/SceneObjects/RenderObject/DynamicItem/DynamicItemPath.d.ts +182 -0
- package/types/SceneObjects/RenderObject/DynamicItem/DynamicItemState.d.ts +7 -0
- package/types/SceneObjects/RenderObject/DynamicItem/DynamicItemStyle.d.ts +182 -0
- package/types/SceneObjects/RenderObject/DynamicItem/DynamicTimePositions.d.ts +102 -0
- package/types/SceneObjects/RenderObject/DynamicItem/HistoryTrack.d.ts +159 -0
- package/types/SceneObjects/RenderObject/DynamicItem/WarningTarget.d.ts +36 -0
- package/types/SceneObjects/RenderObject/DynamicRippleEffect.d.ts +23 -0
- package/types/SceneObjects/RenderObject/Flag.d.ts +43 -0
- package/types/SceneObjects/RenderObject/GradientSector.d.ts +46 -0
- package/types/SceneObjects/RenderObject/Graphics/GraphicGroup.d.ts +113 -0
- package/types/SceneObjects/RenderObject/RenderObject.d.ts +37 -0
- package/types/SceneObjects/RenderObject/RenderUtils.d.ts +35 -0
- package/types/SceneObjects/RenderObject/ScanEffect.d.ts +40 -0
- package/types/SceneObjects/RenderObject/SectorSensor.d.ts +42 -0
- package/types/SceneObjects/RenderObject/SensorRender.d.ts +15 -0
- package/types/SceneObjects/RenderObject/SpreadEffect.d.ts +47 -0
- package/types/SceneObjects/RenderObject/WaterEffect.d.ts +31 -0
- package/types/SceneObjects/RenderObject/WeatherParticle.d.ts +30 -0
- package/types/SceneObjects/ViewshedAnalysis.d.ts +98 -0
- package/types/SceneObjects/_shared/Destroyable.d.ts +9 -0
- package/types/SceneObjects/_shared/ResourceHandler.d.ts +14 -0
- package/types/SceneObjects/_shared/destroyObject.d.ts +18 -0
- package/types/Service/SceneOptions/Graticule.d.ts +15 -0
- package/types/Service/action.service.d.ts +92 -0
- package/types/Service/advance-html.service.d.ts +12 -0
- package/types/Service/animation.service.d.ts +84 -0
- package/types/Service/cesium.service.d.ts +85 -0
- package/types/Service/cluster.service.d.ts +7 -0
- package/types/Service/config.service.d.ts +24 -0
- package/types/Service/drawServices/VectorRender/renderModels.d.ts +13 -0
- package/types/Service/drawbigfile.service.d.ts +24 -0
- package/types/Service/fwbconfig.d.ts +3 -0
- package/types/Service/geojson-plot.service.d.ts +21 -0
- package/types/Service/html-draw.service.d.ts +134 -0
- package/types/Service/http.service.d.ts +15 -0
- package/types/Service/layers.service.d.ts +34 -0
- package/types/Service/logicService/point.service.d.ts +60 -0
- package/types/Service/message.service.d.ts +4 -0
- package/types/Service/music.service.d.ts +23 -0
- package/types/Service/parse-style-html.d.ts +7 -0
- package/types/Service/plot.service.d.ts +115 -0
- package/types/Service/property.service.d.ts +52 -0
- package/types/Service/render-style.d.ts +7 -0
- package/types/Service/richTextEdit.service.d.ts +35 -0
- package/types/Service/sceneServices/BigFileManager.d.ts +12 -0
- package/types/Service/sceneServices/CesiumManager.d.ts +18 -0
- package/types/Service/sceneServices/EagleManager.d.ts +35 -0
- package/types/Service/sceneServices/HtmlDrawManager.d.ts +12 -0
- package/types/Service/sceneServices/ImageEffectManager.d.ts +19 -0
- package/types/Service/sceneServices/LayerManage.d.ts +61 -0
- package/types/Service/sceneServices/MusicManager.d.ts +10 -0
- package/types/Service/sceneServices/PageAnimationManager.d.ts +39 -0
- package/types/Service/sceneServices/SubtitleManager.d.ts +6 -0
- package/types/Service/sceneServices/TerrainManager.d.ts +11 -0
- package/types/Service/sceneServices/sceneManager.d.ts +71 -0
- package/types/Service/sceneServices/snap.d.ts +33 -0
- package/types/Service/service.manager.d.ts +174 -0
- package/types/Service/stroke-color-config.d.ts +1 -0
- package/types/Service/style-to-html.d.ts +1 -0
- package/types/Service/terrain.service.d.ts +11 -0
- package/types/Service/text-stroke-color.d.ts +13 -0
- package/types/Service/text-stroke-width.d.ts +20 -0
- package/types/Service/tools.d.ts +7 -0
- package/types/Utils/Calculate.d.ts +212 -0
- package/types/Utils/Check.d.ts +98 -0
- package/types/Utils/DateHelper.d.ts +30 -0
- package/types/Utils/GxMath.d.ts +102 -0
- package/types/Utils/GxVector3.d.ts +7 -0
- package/types/Utils/HtmlUtil.d.ts +12 -0
- package/types/Utils/MilsymbolHelper.d.ts +20 -0
- package/types/Utils/TokenHelper.d.ts +36 -0
- package/types/Utils/Util.d.ts +204 -0
- package/types/Utils/d3Clock.d.ts +11 -0
- package/types/Utils/index.d.ts +17 -0
- package/types/Utils/pinyin.static.d.ts +375 -0
- package/types/Utils/pinyin.tool.d.ts +5 -0
- package/types/Utils/pinyin_all.d.ts +20 -0
- package/types/Utils/ready.d.ts +3 -0
- package/types/Utils/tools.d.ts +31 -0
- package/types/index.d.ts +98 -0
- package/types/index.html +35 -0
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export declare class MedianLine {
|
|
2
|
+
CartToLonLat(cararray: any, viewer: any): any[];
|
|
3
|
+
simplifyPolygon(llpositions: any): any;
|
|
4
|
+
extent(poly: any): number[];
|
|
5
|
+
pointInPoly(point: any, poly: any): boolean;
|
|
6
|
+
rayIntersectsSegment(p: any, p1: any, p2: any): boolean;
|
|
7
|
+
range(min: any, max: any, step: any): any;
|
|
8
|
+
intersectPoints(poly: any, origin: any, alpha: any): any[];
|
|
9
|
+
lineIntersection(p1: any, q1: any, p2: any, q2: any): any[];
|
|
10
|
+
pointInSegmentBox(p: any, p1: any, q1: any): boolean;
|
|
11
|
+
squaredDist(a: any, b: any): number;
|
|
12
|
+
rotatePoly(poly: any, alpha: any, origin: any): any;
|
|
13
|
+
rotatePoint(p: any, alpha: any, origin: any): any[];
|
|
14
|
+
polyInsidePoly(polyA: any, polyB: any): boolean;
|
|
15
|
+
segmentsIntersect(p1: any, q1: any, p2: any, q2: any): boolean;
|
|
16
|
+
llpositions: any[];
|
|
17
|
+
llpolygon: any[];
|
|
18
|
+
origins: any[];
|
|
19
|
+
nTries: number;
|
|
20
|
+
angles: any[];
|
|
21
|
+
getMedians(cararray: any, viewer: any): any[];
|
|
22
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { OperTypes } from "./interface/IBase";
|
|
2
|
+
import { IXZAreaTextEntity, IXZCtrlPointEntity } from "./interface/IEntity";
|
|
3
|
+
import { IDrawTool, IDrawToolManager } from "./interface/ITool";
|
|
4
|
+
export declare class DrawAreaTextToolEx implements IDrawTool {
|
|
5
|
+
type: OperTypes;
|
|
6
|
+
context: IDrawToolManager;
|
|
7
|
+
entity: IXZAreaTextEntity | null;
|
|
8
|
+
temp: IXZCtrlPointEntity | null;
|
|
9
|
+
init(context: IDrawToolManager): void;
|
|
10
|
+
start(): IXZAreaTextEntity | null;
|
|
11
|
+
onCreateFinished?: () => void;
|
|
12
|
+
stop(): void;
|
|
13
|
+
MouseLeftDown(lon: number, lat: number, alt: number, keycodes: Set<string>): void;
|
|
14
|
+
MouseRightUp(lon: number, lat: number, alt: number, keycodes: Set<string>): void;
|
|
15
|
+
MouseMove(start: number[], end: number[]): void;
|
|
16
|
+
movePosition(start: Cesium.Cartesian2, end: Cesium.Cartesian2): void;
|
|
17
|
+
moveHeight(start: Cesium.Cartesian2, end: Cesium.Cartesian2): void;
|
|
18
|
+
moveScale(start: Cesium.Cartesian2, end: Cesium.Cartesian2): void;
|
|
19
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { OperTypes } from './interface/IBase';
|
|
2
|
+
import { IDrawTool, IDrawToolManager } from './interface/ITool';
|
|
3
|
+
import { IXZBillboardEntity } from './interface/IEntity';
|
|
4
|
+
export declare class DrawBillboardToolEx implements IDrawTool {
|
|
5
|
+
type: OperTypes;
|
|
6
|
+
context: IDrawToolManager;
|
|
7
|
+
entity: IXZBillboardEntity | null;
|
|
8
|
+
quickOperate: string[];
|
|
9
|
+
init(context: IDrawToolManager): void;
|
|
10
|
+
onCreateFinished?: () => void;
|
|
11
|
+
start(): IXZBillboardEntity | null;
|
|
12
|
+
stop(): void;
|
|
13
|
+
MouseLeftDown(lon: number, lat: number, alt: number, keycodes: Set<string>): void;
|
|
14
|
+
MouseLeftUp(lon: number, lat: number, alt: number, keycodes: Set<string>): void;
|
|
15
|
+
moveScale(start: Cesium.Cartesian2, end: Cesium.Cartesian2): void;
|
|
16
|
+
movePosition(start: Cesium.Cartesian2, end: Cesium.Cartesian2): void;
|
|
17
|
+
moveHeight1(start: Cesium.Cartesian2, end: Cesium.Cartesian2): void;
|
|
18
|
+
moveHeight(start: Cesium.Cartesian2, end: Cesium.Cartesian2): void;
|
|
19
|
+
ScreenPixel(): number;
|
|
20
|
+
ChangeLengthByMouse(height: any, diff: any, heightCoeficient?: number): any;
|
|
21
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { OperTypes } from './interface/IBase';
|
|
2
|
+
import { IXZCtrlPointEntity } from './interface/IEntity';
|
|
3
|
+
import { IDrawTool, IDrawToolManager } from './interface/ITool';
|
|
4
|
+
export declare class DrawCtrlPointToolEx implements IDrawTool {
|
|
5
|
+
type: OperTypes;
|
|
6
|
+
context: IDrawToolManager;
|
|
7
|
+
quickOperate: string[];
|
|
8
|
+
entity: IXZCtrlPointEntity | null;
|
|
9
|
+
init(context: IDrawToolManager): void;
|
|
10
|
+
onCreateFinished?: () => void;
|
|
11
|
+
start(): IXZCtrlPointEntity | null;
|
|
12
|
+
stop(): void;
|
|
13
|
+
MouseLeftDown(lon: number, lat: number, alt: number, keycodes: Set<string>): void;
|
|
14
|
+
MouseLeftUp(lon: number, lat: number, alt: number, keycodes: Set<string>): void;
|
|
15
|
+
moveHeight1(start: Cesium.Cartesian2, end: Cesium.Cartesian2): void;
|
|
16
|
+
movePosition(start: Cesium.Cartesian2, end: Cesium.Cartesian2): void;
|
|
17
|
+
moveHeight(start: Cesium.Cartesian2, end: Cesium.Cartesian2): void;
|
|
18
|
+
ScreenPixel(): number;
|
|
19
|
+
ChangeLengthByMouse(height: any, diff: any, heightCoeficient?: number): any;
|
|
20
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { OperTypes } from "./interface/IBase";
|
|
2
|
+
import { IXZHtmlEntity } from "./interface/IEntity";
|
|
3
|
+
import { IDrawTool, IDrawToolManager } from "./interface/ITool";
|
|
4
|
+
export declare class DrawHtmlToolEx implements IDrawTool {
|
|
5
|
+
type: OperTypes;
|
|
6
|
+
context: IDrawToolManager;
|
|
7
|
+
entity: IXZHtmlEntity | null;
|
|
8
|
+
temp: IXZHtmlEntity | null;
|
|
9
|
+
private containerDiv;
|
|
10
|
+
private startX;
|
|
11
|
+
private startY;
|
|
12
|
+
private diffX;
|
|
13
|
+
private diffY;
|
|
14
|
+
private dragging;
|
|
15
|
+
init(context: IDrawToolManager): void;
|
|
16
|
+
start(): IXZHtmlEntity | null;
|
|
17
|
+
onCreateFinished?: () => void;
|
|
18
|
+
stop(): void;
|
|
19
|
+
MouseLeftDown2D(e: any): void;
|
|
20
|
+
MouseMove2D(e: any): void;
|
|
21
|
+
MouseLeftUp2D(e: any): void;
|
|
22
|
+
private startDragBox;
|
|
23
|
+
private initBoxEvent;
|
|
24
|
+
private boxOnMouseDown;
|
|
25
|
+
private moveBox;
|
|
26
|
+
private stopDragBox;
|
|
27
|
+
initEntityStyle(ab: HTMLElement): void;
|
|
28
|
+
getElementBgOp(element: HTMLElement): number;
|
|
29
|
+
setCurrentBox(ab: any): void;
|
|
30
|
+
private showSelectBox;
|
|
31
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { OperTypes } from './interface/IBase';
|
|
2
|
+
import { IXZCtrlPointEntity, IXZLineEntity } from './interface/IEntity';
|
|
3
|
+
import { IDrawTool, IDrawToolManager } from './interface/ITool';
|
|
4
|
+
export declare class DrawLineToolEx implements IDrawTool {
|
|
5
|
+
type: OperTypes;
|
|
6
|
+
context: IDrawToolManager;
|
|
7
|
+
quickOperate: string[];
|
|
8
|
+
entity: IXZLineEntity | null;
|
|
9
|
+
init(context: IDrawToolManager): void;
|
|
10
|
+
start(): IXZLineEntity | null;
|
|
11
|
+
onCreateFinished?: () => void;
|
|
12
|
+
stop(): void;
|
|
13
|
+
MouseLeftDown(lon: number, lat: number, alt: number, keycodes: Set<string>): void;
|
|
14
|
+
MouseRightUp(lon: number, lat: number, alt: number, keycodes: Set<string>): void;
|
|
15
|
+
temp: IXZCtrlPointEntity | null;
|
|
16
|
+
MouseMove(start: number[], end: number[]): void;
|
|
17
|
+
movePosition(start: Cesium.Cartesian2, end: Cesium.Cartesian2): void;
|
|
18
|
+
moveHeight(start: Cesium.Cartesian2, end: Cesium.Cartesian2): void;
|
|
19
|
+
moveScale(start: Cesium.Cartesian2, end: Cesium.Cartesian2): void;
|
|
20
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { OperTypes } from "./interface/IBase";
|
|
2
|
+
import { IXZMedianPointEntity } from "./interface/IEntity";
|
|
3
|
+
import { IDrawTool, IDrawToolManager } from "./interface/ITool";
|
|
4
|
+
export declare class DrawMedianPointToolEx implements IDrawTool {
|
|
5
|
+
type: OperTypes;
|
|
6
|
+
context: IDrawToolManager;
|
|
7
|
+
quickOperate: string[];
|
|
8
|
+
entity: IXZMedianPointEntity | null;
|
|
9
|
+
init(context: IDrawToolManager): void;
|
|
10
|
+
onCreateFinished?: () => void;
|
|
11
|
+
start(): IXZMedianPointEntity | null;
|
|
12
|
+
stop(): void;
|
|
13
|
+
movePosition(start: Cesium.Cartesian2, end: Cesium.Cartesian2): void;
|
|
14
|
+
moveHeight(start: Cesium.Cartesian2, end: Cesium.Cartesian2): void;
|
|
15
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { OperTypes } from './interface/IBase';
|
|
2
|
+
import { IDrawTool, IDrawToolManager } from './interface/ITool';
|
|
3
|
+
import { IXZBillboardEntity, IXZModelEntity } from './interface/IEntity';
|
|
4
|
+
export declare class DrawModelToolEx implements IDrawTool {
|
|
5
|
+
type: OperTypes;
|
|
6
|
+
context: IDrawToolManager;
|
|
7
|
+
entity: IXZModelEntity | null;
|
|
8
|
+
quickOperate: string[];
|
|
9
|
+
init(context: IDrawToolManager): void;
|
|
10
|
+
onCreateFinished?: () => void;
|
|
11
|
+
start(): IXZBillboardEntity | null;
|
|
12
|
+
stop(): void;
|
|
13
|
+
MouseLeftDown(lon: number, lat: number, alt: number, keycodes: Set<string>): void;
|
|
14
|
+
MouseLeftUp(lon: number, lat: number, alt: number, keycodes: Set<string>): void;
|
|
15
|
+
moveScale(start: Cesium.Cartesian2, end: Cesium.Cartesian2): void;
|
|
16
|
+
movePosition(start: Cesium.Cartesian2, end: Cesium.Cartesian2): void;
|
|
17
|
+
moveHeight1(start: Cesium.Cartesian2, end: Cesium.Cartesian2): void;
|
|
18
|
+
moveHeight(start: Cesium.Cartesian2, end: Cesium.Cartesian2): void;
|
|
19
|
+
ScreenPixel(): number;
|
|
20
|
+
ChangeLengthByMouse(height: any, diff: any, heightCoeficient?: number): any;
|
|
21
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { OperTypes } from './interface/IBase';
|
|
2
|
+
import { IDrawTool, IDrawToolManager } from './interface/ITool';
|
|
3
|
+
import { IXZPointEntity } from './interface/IEntity';
|
|
4
|
+
export declare class DrawPointToolEx implements IDrawTool {
|
|
5
|
+
type: OperTypes;
|
|
6
|
+
context: IDrawToolManager;
|
|
7
|
+
entity: IXZPointEntity | null;
|
|
8
|
+
quickOperate: string[];
|
|
9
|
+
init(context: IDrawToolManager): void;
|
|
10
|
+
onCreateFinished?: () => void;
|
|
11
|
+
start(): IXZPointEntity | null;
|
|
12
|
+
stop(): void;
|
|
13
|
+
MouseLeftDown(lon: number, lat: number, alt: number, keycodes: Set<string>): void;
|
|
14
|
+
MouseLeftUp(lon: number, lat: number, alt: number, keycodes: Set<string>): void;
|
|
15
|
+
moveScale(start: Cesium.Cartesian2, end: Cesium.Cartesian2): void;
|
|
16
|
+
movePosition(start: Cesium.Cartesian2, end: Cesium.Cartesian2): void;
|
|
17
|
+
moveHeight1(start: Cesium.Cartesian2, end: Cesium.Cartesian2): void;
|
|
18
|
+
moveHeight(start: Cesium.Cartesian2, end: Cesium.Cartesian2): void;
|
|
19
|
+
ScreenPixel(): number;
|
|
20
|
+
ChangeLengthByMouse(height: any, diff: any, heightCoeficient?: number): any;
|
|
21
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { OperTypes } from './interface/IBase';
|
|
2
|
+
import { IXZCtrlPointEntity, IXZPolygonEntity } from './interface/IEntity';
|
|
3
|
+
import { IDrawTool, IDrawToolManager } from './interface/ITool';
|
|
4
|
+
export declare class DrawPolygonToolEx implements IDrawTool {
|
|
5
|
+
type: OperTypes;
|
|
6
|
+
context: IDrawToolManager;
|
|
7
|
+
quickOperate: string[];
|
|
8
|
+
entity: IXZPolygonEntity | null;
|
|
9
|
+
init(context: IDrawToolManager): void;
|
|
10
|
+
start(): IXZPolygonEntity | null;
|
|
11
|
+
onCreateFinished?: () => void;
|
|
12
|
+
stop(): void;
|
|
13
|
+
MouseLeftDown(lon: number, lat: number, alt: number, keycodes: Set<string>): void;
|
|
14
|
+
MouseRightUp(lon: number, lat: number, alt: number, keycodes: Set<string>): void;
|
|
15
|
+
temp: IXZCtrlPointEntity | null;
|
|
16
|
+
MouseMove(start: number[], end: number[]): void;
|
|
17
|
+
movePosition(start: Cesium.Cartesian2, end: Cesium.Cartesian2): void;
|
|
18
|
+
moveHeight(start: Cesium.Cartesian2, end: Cesium.Cartesian2): void;
|
|
19
|
+
moveScale(start: Cesium.Cartesian2, end: Cesium.Cartesian2): void;
|
|
20
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { OperTypes } from "./interface/IBase";
|
|
2
|
+
import { IDrawTool, IDrawToolManager } from "./interface/ITool";
|
|
3
|
+
import { IXZRouteTextEntity, IXZCtrlPointEntity } from './interface/IEntity';
|
|
4
|
+
export declare class DrawRouteTextToolEx implements IDrawTool {
|
|
5
|
+
type: OperTypes;
|
|
6
|
+
context: IDrawToolManager;
|
|
7
|
+
entity: IXZRouteTextEntity | null;
|
|
8
|
+
temp: IXZCtrlPointEntity | null;
|
|
9
|
+
init(context: IDrawToolManager): void;
|
|
10
|
+
start(): IXZRouteTextEntity | null;
|
|
11
|
+
onCreateFinished?: () => void;
|
|
12
|
+
stop(): void;
|
|
13
|
+
MouseLeftDown(lon: number, lat: number, alt: number, keycodes: Set<string>): void;
|
|
14
|
+
MouseRightUp(lon: number, lat: number, alt: number, keycodes: Set<string>): void;
|
|
15
|
+
MouseMove(start: number[], end: number[]): void;
|
|
16
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { IXZTextEntity } from './interface/IEntity';
|
|
2
|
+
import { IDrawTool, IDrawToolManager } from './interface/ITool';
|
|
3
|
+
import { OperTypes } from './interface/IBase';
|
|
4
|
+
export declare class DrawTextToolEx implements IDrawTool {
|
|
5
|
+
type: OperTypes;
|
|
6
|
+
context: IDrawToolManager;
|
|
7
|
+
entity: IXZTextEntity | null;
|
|
8
|
+
quickOperate: string[];
|
|
9
|
+
init(context: IDrawToolManager): void;
|
|
10
|
+
onCreateFinished?: () => void;
|
|
11
|
+
start(): IXZTextEntity | null;
|
|
12
|
+
stop(): void;
|
|
13
|
+
MouseLeftDown(lon: number, lat: number, alt: number, keycodes: Set<string>): void;
|
|
14
|
+
MouseLeftUp(lon: number, lat: number, alt: number, keycodes: Set<string>): void;
|
|
15
|
+
moveScale(start: Cesium.Cartesian2, end: Cesium.Cartesian2): void;
|
|
16
|
+
movePosition(start: Cesium.Cartesian2, end: Cesium.Cartesian2): void;
|
|
17
|
+
moveHeight1(start: Cesium.Cartesian2, end: Cesium.Cartesian2): void;
|
|
18
|
+
moveHeight(start: Cesium.Cartesian2, end: Cesium.Cartesian2): void;
|
|
19
|
+
ScreenPixel(): number;
|
|
20
|
+
ChangeLengthByMouse(height: any, diff: any, heightCoeficient?: number): any;
|
|
21
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import * as turf from "@turf/turf";
|
|
2
|
+
import { Subject } from 'rxjs';
|
|
3
|
+
import { IKeyEvent, IRect, OperTypes } from './interface/IBase';
|
|
4
|
+
import { IDrawTool } from './interface/ITool';
|
|
5
|
+
import { IEntity } from './interface/IEntity';
|
|
6
|
+
import { List } from './base/List';
|
|
7
|
+
/**
|
|
8
|
+
* 2020年12月17日 大改动
|
|
9
|
+
* 工具逻辑大改动,不再缓存工具,工具使用完就释放,而且和模型是一对一,不再是一对多
|
|
10
|
+
* 暂时不允许同时使用多个工具
|
|
11
|
+
* 创建工具和modify工具不一样,进行分离解耦
|
|
12
|
+
*/
|
|
13
|
+
export declare class DrawToolManager {
|
|
14
|
+
entities: List<IEntity>;
|
|
15
|
+
private curTool;
|
|
16
|
+
keycodes: Set<string>;
|
|
17
|
+
keyChange$: Subject<IKeyEvent>;
|
|
18
|
+
handler: Cesium.ScreenSpaceEventHandler;
|
|
19
|
+
manager: any;
|
|
20
|
+
undoStack: any[];
|
|
21
|
+
redoStack: any[];
|
|
22
|
+
styleList: any;
|
|
23
|
+
cesiumService: any;
|
|
24
|
+
cesiumActionService: any;
|
|
25
|
+
get viewer(): any;
|
|
26
|
+
constructor();
|
|
27
|
+
init(): void;
|
|
28
|
+
getTool(type: OperTypes): IDrawTool | null;
|
|
29
|
+
MouseLeftDown(lon: number, lat: number, alt: number, keycodes: Set<string>): void;
|
|
30
|
+
MouseLeftUp(lon: number, lat: number, alt: number, keycodes: Set<string>): void;
|
|
31
|
+
MouseRightUp(lon: number, lat: number, alt: number, keycodes: Set<string>): void;
|
|
32
|
+
MouseMove(start: number[], end: number[]): void;
|
|
33
|
+
needChange(flag: boolean): void;
|
|
34
|
+
select: IEntity | IEntity[] | null;
|
|
35
|
+
pointHitTest(position: Cesium.Cartesian2): void;
|
|
36
|
+
clearHighLight(): void;
|
|
37
|
+
highLight(): void;
|
|
38
|
+
unHighLight(): void;
|
|
39
|
+
RectHitTest(rect: IRect): void;
|
|
40
|
+
htmlEvent$: Subject<string>;
|
|
41
|
+
setTool(tool: IDrawTool | null): void;
|
|
42
|
+
private operatorContainer;
|
|
43
|
+
private operatorButton;
|
|
44
|
+
editItem: IEntity | null;
|
|
45
|
+
removeOperator(): void;
|
|
46
|
+
createQuickOperator(): void;
|
|
47
|
+
getCenter(ctrlpoints: any): turf.helpers.Feature<turf.helpers.Point, {
|
|
48
|
+
[name: string]: any;
|
|
49
|
+
}>;
|
|
50
|
+
movePosition(start: Cesium.Cartesian2, end: Cesium.Cartesian2): void;
|
|
51
|
+
moveHeight(start: Cesium.Cartesian2, end: Cesium.Cartesian2): void;
|
|
52
|
+
moveScale(start: Cesium.Cartesian2, end: Cesium.Cartesian2): void;
|
|
53
|
+
WGS84ToCar2(lon: any, lat: any, alt: any): Cesium.Cartesian2;
|
|
54
|
+
createTool(entity: IEntity | null): IDrawTool | null;
|
|
55
|
+
getCurrentTool(): IDrawTool;
|
|
56
|
+
remove(): void;
|
|
57
|
+
addStyle(item: any, type: any): void;
|
|
58
|
+
redo(): void;
|
|
59
|
+
undo(): void;
|
|
60
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { OperTypes } from "./interface/IBase";
|
|
2
|
+
import { IEntity } from "./interface/IEntity";
|
|
3
|
+
import { IDrawTool, IDrawToolManager } from "./interface/ITool";
|
|
4
|
+
export declare class HitPointToolEx implements IDrawTool {
|
|
5
|
+
entity: IEntity | null;
|
|
6
|
+
type: OperTypes;
|
|
7
|
+
context: IDrawToolManager;
|
|
8
|
+
onCreateFinished?: (() => void) | undefined;
|
|
9
|
+
init(): void;
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { OperTypes } from "./interface/IBase";
|
|
2
|
+
import { IEntity } from "./interface/IEntity";
|
|
3
|
+
import { IDrawTool, IDrawToolManager } from "./interface/ITool";
|
|
4
|
+
export declare class HitRectToolEx implements IDrawTool {
|
|
5
|
+
entity: IEntity | null;
|
|
6
|
+
type: OperTypes;
|
|
7
|
+
context: IDrawToolManager;
|
|
8
|
+
onCreateFinished?: (() => void) | undefined;
|
|
9
|
+
init(): void;
|
|
10
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { Subject } from "rxjs";
|
|
2
|
+
import { changeTypes, IID } from "../interface/IBase";
|
|
3
|
+
export declare class IChangeEvent<T> {
|
|
4
|
+
changeTypes: changeTypes;
|
|
5
|
+
values: T[];
|
|
6
|
+
}
|
|
7
|
+
export declare class List<T extends IID> {
|
|
8
|
+
map: Map<string, T>;
|
|
9
|
+
changed$: Subject<IChangeEvent<T>>;
|
|
10
|
+
constructor();
|
|
11
|
+
add(t: T, sendChange?: boolean): void;
|
|
12
|
+
remove(t: T, sendChange?: boolean): void;
|
|
13
|
+
removeIndex(id: string, sendChange?: boolean): void;
|
|
14
|
+
addRange(list: T[]): void;
|
|
15
|
+
removeRange(list: T[]): void;
|
|
16
|
+
clear(): void;
|
|
17
|
+
update(list: T[]): void;
|
|
18
|
+
find(id: string): T | undefined;
|
|
19
|
+
[Symbol.iterator](): MapIterator<T>;
|
|
20
|
+
ToList(): T[];
|
|
21
|
+
get length(): number;
|
|
22
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export declare class MaxRecTest {
|
|
2
|
+
eventsLog: any;
|
|
3
|
+
aspectRatioStep: number;
|
|
4
|
+
angleStep: number;
|
|
5
|
+
angles: any;
|
|
6
|
+
aspectRatios: any;
|
|
7
|
+
origins: any;
|
|
8
|
+
largestRect(poly: any, options?: any): any[];
|
|
9
|
+
range(min: any, max: any, step: any): any;
|
|
10
|
+
extent(poly: any): number[];
|
|
11
|
+
pointInPoly(point: any, poly: any): boolean;
|
|
12
|
+
rayIntersectsSegment(p: any, p1: any, p2: any): boolean;
|
|
13
|
+
intersectPoints(poly: any, origin: any, alpha: any): any[];
|
|
14
|
+
lineIntersection(p1: any, q1: any, p2: any, q2: any): any[];
|
|
15
|
+
pointInSegmentBox(p: any, p1: any, q1: any): boolean;
|
|
16
|
+
squaredDist(a: any, b: any): number;
|
|
17
|
+
rotatePoly(poly: any, alpha: any, origin: any): any;
|
|
18
|
+
rotatePoint(p: any, alpha: any, origin: any): any[];
|
|
19
|
+
polyInsidePoly(polyA: any, polyB: any): boolean;
|
|
20
|
+
segmentsIntersect(p1: any, q1: any, p2: any, q2: any): boolean;
|
|
21
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { Id, Polygon } from '../interface/geojson';
|
|
2
|
+
import { XZBaseEntity } from "./XZBaseEntity";
|
|
3
|
+
import { IAreaTextStyle } from '../interface/IStyle';
|
|
4
|
+
import { IXZAreaTextData } from '../interface/IData';
|
|
5
|
+
import { IEntity, IXZAreaTextEntity, IXZEntity } from '../interface/IEntity';
|
|
6
|
+
import { RenderContext } from '../../../Service/drawServices/VectorRender/renderModels';
|
|
7
|
+
export declare class XZAreaTextEntity extends XZBaseEntity {
|
|
8
|
+
geometry: Polygon;
|
|
9
|
+
style: IAreaTextStyle;
|
|
10
|
+
constructor();
|
|
11
|
+
from(ixz: IXZAreaTextData): this & IXZAreaTextData;
|
|
12
|
+
enableHighlight: any;
|
|
13
|
+
highlight(): void;
|
|
14
|
+
unHighlight(): void;
|
|
15
|
+
pointHitTest(id: Id): IEntity | null;
|
|
16
|
+
getPointHitTest(id: Id, entity: IXZAreaTextEntity): IXZEntity | null;
|
|
17
|
+
render(rc: RenderContext): void;
|
|
18
|
+
tempborder: any;
|
|
19
|
+
exportSVG(): string;
|
|
20
|
+
textOptions: {
|
|
21
|
+
x: number;
|
|
22
|
+
y: number;
|
|
23
|
+
textX: number;
|
|
24
|
+
textY: number;
|
|
25
|
+
lengthAdjust: string;
|
|
26
|
+
};
|
|
27
|
+
textTail: string;
|
|
28
|
+
svgString: string;
|
|
29
|
+
svgHead: string;
|
|
30
|
+
svgTail: string;
|
|
31
|
+
drawText(): HTMLCanvasElement;
|
|
32
|
+
recgeometry: any;
|
|
33
|
+
largestRectangle: any;
|
|
34
|
+
rectangleCesium: any;
|
|
35
|
+
getRectangle(position: any): void;
|
|
36
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Properties, BBox } from '../interface/geojson';
|
|
2
|
+
import { GeometriesEx, OperTypes } from '../interface/IBase';
|
|
3
|
+
import { IXZCtrlPointEntity, IXZEntity, IXZEntityTempProperty, IXZMedianPointEntity } from '../interface/IEntity';
|
|
4
|
+
import { IStyles } from '../interface/IStyle';
|
|
5
|
+
export declare class XZBaseEntity implements IXZEntity {
|
|
6
|
+
type: OperTypes;
|
|
7
|
+
id: string;
|
|
8
|
+
name?: string;
|
|
9
|
+
geometry: GeometriesEx | null;
|
|
10
|
+
properties: Properties | null;
|
|
11
|
+
bbox?: BBox;
|
|
12
|
+
style?: IStyles;
|
|
13
|
+
ctrls?: IXZCtrlPointEntity[];
|
|
14
|
+
medians?: IXZMedianPointEntity[];
|
|
15
|
+
temp?: IXZEntityTempProperty;
|
|
16
|
+
positions?: Cesium.Cartesian3[];
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { RenderContext } from '../../../Service/drawServices/VectorRender/renderModels';
|
|
2
|
+
import { Id, Point } from '../interface/geojson';
|
|
3
|
+
import { IXZPointData } from '../interface/IData';
|
|
4
|
+
import { IEntity } from '../interface/IEntity';
|
|
5
|
+
import { IBillboardStyle } from '../interface/IStyle';
|
|
6
|
+
import { XZBaseEntity } from './XZBaseEntity';
|
|
7
|
+
export declare class XZBillboardEntity extends XZBaseEntity {
|
|
8
|
+
geometry: Point;
|
|
9
|
+
style: IBillboardStyle;
|
|
10
|
+
constructor();
|
|
11
|
+
from(ixz: IXZPointData): this & IXZPointData;
|
|
12
|
+
render(rc: RenderContext): void;
|
|
13
|
+
enableHighlight: any;
|
|
14
|
+
highlight(): void;
|
|
15
|
+
unHighlight(): void;
|
|
16
|
+
pointHitTest(id: Id): IEntity | null;
|
|
17
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { RenderContext } from '../../../Service/drawServices/VectorRender/renderModels';
|
|
2
|
+
import { Id, Point } from '../interface/geojson';
|
|
3
|
+
import { IXZPointData } from '../interface/IData';
|
|
4
|
+
import { IEntity } from '../interface/IEntity';
|
|
5
|
+
import { ICtrlPointStyle } from '../interface/IStyle';
|
|
6
|
+
import { XZBaseEntity } from './XZBaseEntity';
|
|
7
|
+
export declare class XZCtrlPointEntity extends XZBaseEntity {
|
|
8
|
+
geometry: Point;
|
|
9
|
+
style: ICtrlPointStyle;
|
|
10
|
+
constructor();
|
|
11
|
+
from(ixz: IXZPointData): this & IXZPointData;
|
|
12
|
+
render(rc: RenderContext): void;
|
|
13
|
+
highlight(): void;
|
|
14
|
+
unHighlight(): void;
|
|
15
|
+
pointHitTest(id: Id): IEntity | null;
|
|
16
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { XZBaseEntity } from "./XZBaseEntity";
|
|
2
|
+
import { Polygon } from '../interface/geojson';
|
|
3
|
+
import { IHtmlStyle } from '../interface/IStyle';
|
|
4
|
+
import { IXZHtmlData } from '../interface/IData';
|
|
5
|
+
import { RenderContext } from "../../../Service/drawServices/VectorRender/renderModels";
|
|
6
|
+
export declare class XZHtmlEntity extends XZBaseEntity {
|
|
7
|
+
geometry: Polygon;
|
|
8
|
+
style: IHtmlStyle;
|
|
9
|
+
constructor();
|
|
10
|
+
from(ixz: IXZHtmlData): this & IXZHtmlData;
|
|
11
|
+
highlight(): void;
|
|
12
|
+
unHighlight(): void;
|
|
13
|
+
render(rc: RenderContext): void;
|
|
14
|
+
getContainerDiv(): HTMLElement;
|
|
15
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Id, LineString } from '../interface/geojson';
|
|
2
|
+
import { IXZLineData } from '../interface/IData';
|
|
3
|
+
import { IEntity, IXZLineEntity } from '../interface/IEntity';
|
|
4
|
+
import { ILineStyle } from '../interface/IStyle';
|
|
5
|
+
import { XZBaseEntity } from './XZBaseEntity';
|
|
6
|
+
import { RenderContext } from '../../../Service/drawServices/VectorRender/renderModels';
|
|
7
|
+
export declare class XZLineEntity extends XZBaseEntity {
|
|
8
|
+
geometry: LineString;
|
|
9
|
+
style: ILineStyle;
|
|
10
|
+
constructor();
|
|
11
|
+
from(ixz: IXZLineData): this & IXZLineData;
|
|
12
|
+
enableHighlight: any;
|
|
13
|
+
highlight(): void;
|
|
14
|
+
unHighlight(): void;
|
|
15
|
+
render(rc: RenderContext): void;
|
|
16
|
+
getMaterial(): any;
|
|
17
|
+
pointHitTest(id: Id): IEntity | null;
|
|
18
|
+
getPointHitTest(id: Id, entity: IXZLineEntity): IXZLineEntity | import("../interface/IEntity").IXZCtrlPointEntity;
|
|
19
|
+
getMedianPosition(point1: any, point2: any): any[];
|
|
20
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Id, Point } from '../interface/geojson';
|
|
2
|
+
import { XZBaseEntity } from "./XZBaseEntity";
|
|
3
|
+
import { IMedianPointStyle } from '../interface/IStyle';
|
|
4
|
+
import { IXZPointData } from '../interface/IData';
|
|
5
|
+
import { IEntity } from '../interface/IEntity';
|
|
6
|
+
import { RenderContext } from '../../../Service/drawServices/VectorRender/renderModels';
|
|
7
|
+
export declare class XZMedianPointEntity extends XZBaseEntity {
|
|
8
|
+
geometry: Point;
|
|
9
|
+
style: IMedianPointStyle;
|
|
10
|
+
constructor();
|
|
11
|
+
from(ixz: IXZPointData): this & IXZPointData;
|
|
12
|
+
render(rc: RenderContext): void;
|
|
13
|
+
highlight(): void;
|
|
14
|
+
unHighlight(): void;
|
|
15
|
+
pointHitTest(id: Id): IEntity | null;
|
|
16
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Id, Point } from '../interface/geojson';
|
|
2
|
+
import { IXZPointData } from '../interface/IData';
|
|
3
|
+
import { IEntity } from '../interface/IEntity';
|
|
4
|
+
import { IModelStyle } from '../interface/IStyle';
|
|
5
|
+
import { XZBaseEntity } from './XZBaseEntity';
|
|
6
|
+
import { RenderContext } from '../../../Service/drawServices/VectorRender/renderModels';
|
|
7
|
+
export declare class XZModelEntity extends XZBaseEntity {
|
|
8
|
+
geometry: Point;
|
|
9
|
+
style: IModelStyle;
|
|
10
|
+
constructor();
|
|
11
|
+
from(ixz: IXZPointData): this & IXZPointData;
|
|
12
|
+
render(rc: RenderContext): void;
|
|
13
|
+
enableHighlight: any;
|
|
14
|
+
highlight(): void;
|
|
15
|
+
unHighlight(): void;
|
|
16
|
+
pointHitTest(id: Id): IEntity | null;
|
|
17
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Id, Point } from '../interface/geojson';
|
|
2
|
+
import { IXZPointData } from '../interface/IData';
|
|
3
|
+
import { IEntity } from '../interface/IEntity';
|
|
4
|
+
import { IPointStyle } from '../interface/IStyle';
|
|
5
|
+
import { XZBaseEntity } from './XZBaseEntity';
|
|
6
|
+
import { RenderContext } from '../../../Service/drawServices/VectorRender/renderModels';
|
|
7
|
+
export declare class XZPointEntity extends XZBaseEntity {
|
|
8
|
+
geometry: Point;
|
|
9
|
+
style: IPointStyle;
|
|
10
|
+
constructor();
|
|
11
|
+
from(ixz: IXZPointData): this & IXZPointData;
|
|
12
|
+
render(rc: RenderContext): void;
|
|
13
|
+
highlight(): void;
|
|
14
|
+
unHighlight(): void;
|
|
15
|
+
pointHitTest(id: Id): IEntity | null;
|
|
16
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Id, Polygon } from '../interface/geojson';
|
|
2
|
+
import { IXZLineData } from '../interface/IData';
|
|
3
|
+
import { IEntity, IXZEntity, IXZLineEntity } from '../interface/IEntity';
|
|
4
|
+
import { IPolygonStyle } from '../interface/IStyle';
|
|
5
|
+
import { XZBaseEntity } from './XZBaseEntity';
|
|
6
|
+
import { RenderContext } from '../../../Service/drawServices/VectorRender/renderModels';
|
|
7
|
+
export declare class XZPolygonEntity extends XZBaseEntity {
|
|
8
|
+
geometry: Polygon;
|
|
9
|
+
style: IPolygonStyle;
|
|
10
|
+
constructor();
|
|
11
|
+
from(ixz: IXZLineData): this & IXZLineData;
|
|
12
|
+
enableHighlight: any;
|
|
13
|
+
highlight(): void;
|
|
14
|
+
unHighlight(): void;
|
|
15
|
+
render(rc: RenderContext): void;
|
|
16
|
+
pointHitTest(id: Id): IEntity | null;
|
|
17
|
+
getPointHitTest(id: Id, entity: IXZLineEntity): IXZEntity | null;
|
|
18
|
+
getMedianPosition(point1: any, point2: any): number[];
|
|
19
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { XZBaseEntity } from "./XZBaseEntity";
|
|
2
|
+
import { LineString, Id } from '../interface/geojson';
|
|
3
|
+
import { IRouteTextStyle } from '../interface/IStyle';
|
|
4
|
+
import { IXZRouteTextData } from '../interface/IData';
|
|
5
|
+
import { IEntity } from '../interface/IEntity';
|
|
6
|
+
import { RenderContext } from "../../../Service/drawServices/VectorRender/renderModels";
|
|
7
|
+
export declare class XZRouteTextEntity extends XZBaseEntity {
|
|
8
|
+
geometry: LineString;
|
|
9
|
+
style: IRouteTextStyle;
|
|
10
|
+
constructor();
|
|
11
|
+
from(ixz: IXZRouteTextData): this & IXZRouteTextData;
|
|
12
|
+
highlight(): void;
|
|
13
|
+
unHighlight(): void;
|
|
14
|
+
render(rc: RenderContext): void;
|
|
15
|
+
pointHitTest(id: Id): IEntity | null;
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Id, Point } from '../interface/geojson';
|
|
2
|
+
import { IXZTextData } from '../interface/IData';
|
|
3
|
+
import { IEntity } from '../interface/IEntity';
|
|
4
|
+
import { ITextStyle } from '../interface/IStyle';
|
|
5
|
+
import { XZBaseEntity } from './XZBaseEntity';
|
|
6
|
+
import { RenderContext } from '../../../Service/drawServices/VectorRender/renderModels';
|
|
7
|
+
export declare class XZTextEntity extends XZBaseEntity {
|
|
8
|
+
geometry: Point;
|
|
9
|
+
style: ITextStyle;
|
|
10
|
+
constructor();
|
|
11
|
+
from(ixz: IXZTextData): this & IXZTextData;
|
|
12
|
+
render(rc: RenderContext): void;
|
|
13
|
+
highlight(): void;
|
|
14
|
+
unHighlight(): void;
|
|
15
|
+
pointHitTest(id: Id): IEntity | null;
|
|
16
|
+
}
|