@mapgis/webclient-common 17.0.4 → 17.0.6
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/README.md +16 -0
- package/dist/es5/webclient-common.min.js +1 -1
- package/dist/webclient-common-es6.min.js +1 -1
- package/documention/AddressServer.html +313 -89
- package/documention/ArcGISFeatureServer.html +518 -166
- package/documention/ArcGISGeometryServer.html +378 -118
- package/documention/ArcGISMapImageLayer.html +381 -101
- package/documention/ArcGISMapImageSubLayer.html +138 -34
- package/documention/ArcGISMapServer.html +371 -115
- package/documention/ArcGISTileLayer.html +655 -151
- package/documention/ArcGISVectorTileLayer.html +523 -159
- package/documention/ArcGISVectorTileServer.html +183 -51
- package/documention/BaseRenderer.html +33 -9
- package/documention/BaseServer.html +167 -43
- package/documention/BaseView.html +901 -197
- package/documention/Basemap.html +262 -79
- package/documention/Callout3D.html +30 -6
- package/documention/Cesium3DTilesCacheLayer.html +611 -131
- package/documention/Cesium3DTilesServer.html +171 -43
- package/documention/CheckUtil.html +322 -83
- package/documention/Circle.html +233 -58
- package/documention/ClassBreakClusterInfo.html +104 -24
- package/documention/ClassBreakInfo.html +122 -30
- package/documention/ClassBreakRenderer.html +195 -47
- package/documention/ClusterInfo.html +141 -33
- package/documention/ClusterRenderer.html +220 -59
- package/documention/Collection.html +1244 -316
- package/documention/CollectionFlattener.html +119 -31
- package/documention/Color.html +223 -55
- package/documention/ColorMaterial.html +71 -22
- package/documention/ColorStop.html +114 -26
- package/documention/ColorVariable.html +52 -12
- package/documention/Config.html +30 -10
- package/documention/CursorChangeEventInfo.html +18 -6
- package/documention/EchartsLayer.html +52 -12
- package/documention/Edges3D.html +77 -24
- package/documention/ElevationInfo.html +50 -14
- package/documention/Evented.html +63 -28
- package/documention/Extent.html +409 -102
- package/documention/ExtrudeSymbol3DLayer.html +139 -38
- package/documention/Feature.html +189 -53
- package/documention/FeatureExpressionInfo.html +32 -8
- package/documention/FeatureLayer.html +674 -163
- package/documention/FeatureServer.html +838 -266
- package/documention/FeatureSet.html +126 -38
- package/documention/FillSymbol.html +72 -16
- package/documention/FillSymbol3DLayer.html +99 -30
- package/documention/FillSymbol3DOutline.html +93 -28
- package/documention/Font.html +125 -33
- package/documention/GeoJSONLayer.html +755 -179
- package/documention/Geometry.html +247 -73
- package/documention/GeometryEngine.html +1087 -469
- package/documention/GeometryFilter.html +68 -16
- package/documention/GeometryServer.html +540 -176
- package/documention/GraphicsLayer.html +836 -196
- package/documention/GroupLayer.html +727 -163
- package/documention/HeatmapColorStop.html +74 -18
- package/documention/HeatmapRenderer.html +176 -44
- package/documention/IGSFeatureLayer.html +354 -94
- package/documention/IGSMapImageLayer.html +571 -147
- package/documention/IGSMapImageSubLayer.html +150 -38
- package/documention/IGSSceneLayer.html +197 -48
- package/documention/IGSSceneSubLayer.html +250 -54
- package/documention/IGSTileLayer.html +715 -167
- package/documention/IGSVectorTileLayer.html +555 -167
- package/documention/IGSVectorTileSubLayer.html +134 -34
- package/documention/IconResource.html +63 -22
- package/documention/IconSymbol3DLayer.html +171 -46
- package/documention/ImageServer.html +323 -91
- package/documention/Interceptor.html +29 -9
- package/documention/LOD.html +84 -20
- package/documention/LabelClass.html +364 -92
- package/documention/LabelSymbol3D.html +103 -30
- package/documention/Layer.html +713 -178
- package/documention/LayerEvent.html +6 -2
- package/documention/LayerViewUpdateEvent.html +12 -4
- package/documention/LineCallout3D.html +143 -38
- package/documention/LineString.html +315 -93
- package/documention/LineStyleMarker3D.html +123 -34
- package/documention/LineStylePattern3D.html +71 -22
- package/documention/LineSymbol.html +72 -16
- package/documention/LineSymbol3D.html +61 -20
- package/documention/LineSymbol3DLayer.html +171 -46
- package/documention/LineSymbolMarker.html +71 -19
- package/documention/M3DModelCacheLayer.html +663 -151
- package/documention/M3DServer.html +254 -70
- package/documention/Map.html +429 -130
- package/documention/MapGISTextSymbol.html +506 -121
- package/documention/MapImageLayer.html +1740 -398
- package/documention/MapServer.html +692 -220
- package/documention/MapVLayer.html +415 -123
- package/documention/MapView.html +921 -201
- package/documention/MarkerSymbol.html +104 -24
- package/documention/MoveEventInfo.html +18 -6
- package/documention/MultiLineString.html +396 -114
- package/documention/MultiPoint.html +315 -93
- package/documention/MultiPolygon.html +282 -85
- package/documention/OGCLayer.html +595 -131
- package/documention/ObjectSymbol3DLayer.html +251 -66
- package/documention/OpacityStop.html +84 -20
- package/documention/OpacityVariable.html +52 -12
- package/documention/OutStatistic.html +54 -14
- package/documention/OverlayLayer.html +596 -141
- package/documention/PathSymbol3DLayer.html +253 -64
- package/documention/PictureFillSymbol.html +202 -53
- package/documention/PictureMarkerSymbol.html +175 -43
- package/documention/PlotServer.html +371 -119
- package/documention/PoiServer.html +208 -56
- package/documention/Point.html +305 -87
- package/documention/PointSymbol3D.html +103 -30
- package/documention/PointSymbol3DOutline.html +83 -26
- package/documention/Polygon.html +449 -128
- package/documention/PolygonSymbol3D.html +81 -24
- package/documention/ProjectInfo.html +72 -24
- package/documention/ProjectInfoBySrsID.html +36 -12
- package/documention/Projection.html +37 -9
- package/documention/RandomRenderer.html +77 -24
- package/documention/RankRenderer.html +189 -52
- package/documention/RendererInfo.html +90 -22
- package/documention/RequestConfig.html +12 -4
- package/documention/RequestInterceptor.html +38 -10
- package/documention/ResourceServer.html +3003 -951
- package/documention/ResponseInterceptor.html +38 -10
- package/documention/RootServer.html +201 -53
- package/documention/ScaleEventInfo.html +18 -6
- package/documention/Scene.html +160 -40
- package/documention/SceneLayer.html +624 -149
- package/documention/SceneServer.html +606 -194
- package/documention/SceneView.html +17 -6
- package/documention/SecurityServer.html +178 -46
- package/documention/SimpleFillSymbol.html +116 -28
- package/documention/SimpleLineSymbol.html +170 -42
- package/documention/SimpleMarkerSymbol.html +176 -44
- package/documention/SimpleRenderer.html +116 -28
- package/documention/SizeStop.html +84 -20
- package/documention/SizeVariable.html +116 -28
- package/documention/SketchBaseDrawTool.html +319 -87
- package/documention/SketchCircleDrawTool.html +349 -97
- package/documention/SketchEditor.html +633 -190
- package/documention/SketchEditorCesium.html +603 -180
- package/documention/SketchEditorEvent.html +6 -2
- package/documention/SketchEditorToolEventInfo.html +12 -4
- package/documention/SketchEditorVideo.html +133 -46
- package/documention/SketchEditorVideoBase.html +133 -46
- package/documention/SketchExtentDrawTool.html +349 -97
- package/documention/SketchFreehandPolygonDrawTool.html +337 -93
- package/documention/SketchFreehandPolylineDrawTool.html +349 -97
- package/documention/SketchPointDrawTool.html +373 -105
- package/documention/SketchPolygonDrawTool.html +699 -195
- package/documention/SketchPolylineDrawTool.html +674 -186
- package/documention/SketchStage.html +57 -17
- package/documention/SketchStyle.html +252 -64
- package/documention/SketchTopologyTool.html +16 -4
- package/documention/SpatialReference.html +201 -45
- package/documention/StylePattern3D.html +71 -22
- package/documention/SubLayer.html +189 -58
- package/documention/Symbol.html +90 -22
- package/documention/Symbol3D.html +33 -10
- package/documention/Symbol3DLayer.html +43 -14
- package/documention/Symbol3DVerticalOffset.html +93 -28
- package/documention/TerrainCacheLayer.html +590 -130
- package/documention/TerrainServer.html +148 -36
- package/documention/TextHalo.html +77 -24
- package/documention/TextSymbol.html +335 -83
- package/documention/TextSymbol3DLayer.html +219 -58
- package/documention/ThemeServer.html +239 -67
- package/documention/TileInfo.html +82 -22
- package/documention/TileLayer.html +642 -151
- package/documention/TileMatrixSet.html +158 -38
- package/documention/TileServer.html +125 -29
- package/documention/UniqueValueClusterInfo.html +104 -24
- package/documention/UniqueValueInfo.html +121 -29
- package/documention/UniqueValueRenderer.html +185 -45
- package/documention/UnknownLayer.html +612 -145
- package/documention/UpdateContent.html +70 -18
- package/documention/VectorTileGroupSubLayer.html +215 -64
- package/documention/VectorTileLayer.html +1039 -280
- package/documention/VectorTileServer.html +170 -46
- package/documention/VectorTileSubLayer.html +184 -44
- package/documention/VertexChangeEventInfo.html +18 -6
- package/documention/VideoMapView.html +302 -78
- package/documention/VideoMetaData.html +86 -22
- package/documention/VideoPixelCoordTransforms.html +38 -10
- package/documention/VideoRegistrationParam.html +54 -14
- package/documention/VisualVariable.html +94 -22
- package/documention/WCSServer.html +125 -29
- package/documention/WFSLayer.html +741 -173
- package/documention/WFSServer.html +167 -43
- package/documention/WMSLayer.html +919 -215
- package/documention/WMSServer.html +144 -36
- package/documention/WMSSubLayer.html +172 -40
- package/documention/WMTSLayer.html +787 -183
- package/documention/WMTSServer.html +138 -34
- package/documention/WMTSStyle.html +96 -24
- package/documention/WMTSSubLayer.html +673 -149
- package/documention/WPSServer.html +125 -29
- package/documention/WaterSymbol3DLayer.html +129 -36
- package/documention/WebTileLayer.html +754 -191
- package/documention/WorkFlowServer.html +314 -86
- package/documention/WorkFlowServer600227.html +471 -123
- package/documention/WorkFlowServer600228.html +439 -115
- package/documention/WorkFlowServer600229.html +471 -123
- package/documention/WorkFlowServer600230.html +471 -123
- package/documention/WorkFlowServer600231.html +535 -139
- package/documention/WorkFlowServer600232.html +471 -123
- package/documention/WorkFlowServer600233.html +455 -119
- package/documention/WorkFlowServer600235.html +375 -99
- package/documention/WorkFlowServer600237.html +475 -123
- package/documention/WorkFlowServer600238.html +481 -125
- package/documention/WorkFlowServer600239.html +425 -113
- package/documention/WorkFlowServer600307.html +449 -117
- package/documention/WorkFlowServer600308.html +180 -44
- package/documention/WorkFlowServer600309.html +471 -123
- package/documention/WorkFlowServer600314.html +487 -127
- package/documention/WorkFlowServer600334.html +471 -123
- package/documention/WorkFlowServer600336.html +439 -115
- package/documention/WorkFlowServer600340.html +583 -151
- package/documention/WorkFlowServer600354.html +455 -119
- package/documention/WorkFlowServer600368.html +391 -103
- package/documention/WorkFlowServer600369.html +439 -115
- package/documention/WorkFlowServer600370.html +423 -111
- package/documention/Zondy.Object.CAttDataRow.html +18 -6
- package/documention/Zondy.Object.CAttStruct.html +24 -8
- package/documention/global.html +4339 -1007
- package/documention/index.html +53 -53
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CAllOtherDataItemInfoSource.html +2 -2
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CAnnInfo.html +108 -36
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CChartLabelFormat.html +3 -3
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CChartTheme.html +24 -8
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CChartThemeInfo.html +12 -4
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CChartThemeRepresentInfo.html +78 -26
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CChartType.html +8 -8
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CDotDensityTheme.html +24 -8
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CFourColorTheme.html +12 -4
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CGraduatedSymbolTheme.html +48 -16
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CLinInfo.html +72 -24
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CMultiClassTheme.html +30 -10
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CPntInfo.html +72 -24
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CRandomTheme.html +6 -2
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CRangeTheme.html +42 -14
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CRangeThemeInfo.html +18 -6
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CRegInfo.html +78 -26
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CSimpleTheme.html +12 -4
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CTheme.html +24 -8
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CThemeInfo.html +48 -16
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CUniqueTheme.html +36 -12
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CUniqueThemeInfo.html +6 -2
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.ExpInfo.html +18 -6
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.FolderInfo.html +12 -4
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.FolderInfoAttribute.html +12 -4
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.ItemValue.html +24 -8
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.ThemesInfo.html +12 -4
- package/documention/module-ArcGis.ArcGisCircle.html +42 -14
- package/documention/module-ArcGis.ArcGisExtent.html +108 -36
- package/documention/module-ArcGis.ArcGisMultipoint.html +42 -14
- package/documention/module-ArcGis.ArcGisPoint.html +60 -20
- package/documention/module-ArcGis.ArcGisPolygon.html +138 -42
- package/documention/module-ArcGis.ArcGisPolyline.html +90 -30
- package/documention/module-ArcGis.ArcGisSpatialReference.html +34 -10
- package/documention/module.exports.html +5 -1
- package/documention/scripts/sideBar.js +111 -6
- package/documention/tutorial-/345/267/245/344/275/234/346/265/201.html +25 -25
- package/documention/tutorial-/346/270/262/346/237/223/345/231/250.html +7 -7
- package/documention/tutorial-/347/254/246/345/217/267.html +26 -26
- package/package.json +1 -1
|
@@ -179,35 +179,25 @@
|
|
|
179
179
|
<code>
|
|
180
180
|
|
|
181
181
|
|
|
182
|
-
<span class="param-type"
|
|
182
|
+
<span class="param-type">
|
|
183
|
+
|
|
184
|
+
<a link="Geometry.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Geometry" Geometry.html>Geometry</a>
|
|
185
|
+
|
|
186
|
+
</span>
|
|
183
187
|
|
|
|
184
188
|
|
|
185
|
-
<span class="param-type">
|
|
189
|
+
<span class="param-type">
|
|
190
|
+
|
|
191
|
+
Array.<<a onclick="getTypeHTML(event)" link="Geometry.html">Geometry</a>>
|
|
192
|
+
|
|
193
|
+
</span>
|
|
186
194
|
|
|
187
195
|
|
|
188
196
|
|
|
189
197
|
|
|
190
198
|
</code>
|
|
191
199
|
</td>
|
|
192
|
-
<td class="name"><code><p
|
|
193
|
-
缓冲区分析;<br/>
|
|
194
|
-
支持点几何、多点几何、线几何、多线几何、区几何、多区几何、矩形几何、圆形几何或任意几何组成的几何数组;<br/>
|
|
195
|
-
忽略三维高度,当geometry为几何数组时,其子元素的坐标系必须相同;<br/>
|
|
196
|
-
如果distance是数字,则可以为正值或负值,是正值则向外扩张,是负值,则表示向内收缩;<br/>
|
|
197
|
-
如果distance是数字,且geometry为几何数组,则该数字会应用到所有geometry数组的子元素;<br/>
|
|
198
|
-
如果distance是数组且geometry是数组,当distance的长度小于geometry数组的长度时,会以distance的最后一个子元素扩充distance数组,使其长度和geometry数组的长度相同,之后将distance数组和geometry数组根据下标一一对应,执行缓冲区分析;<br/>
|
|
199
|
-
如果distance是数组,但geometry不是数组,则使distance数组的第一个子元素做为缓冲距离来执行缓冲区分析;<br/>
|
|
200
|
-
注意一个或多个几何执行缓冲区分析后,由于缓冲后几何扩大,可能导致一个或多个几何出现重合的情况;;<br/>
|
|
201
|
-
示例如下:<br/>
|
|
202
|
-
<a href='#buffer1'>[1、区缓冲分析]</a><br/>
|
|
203
|
-
<a href='#buffer2'>[2、多区缓冲分析]</a><br/>
|
|
204
|
-
<a href='#buffer3'>[3、几何数组缓冲区分析]</a><br/>
|
|
205
|
-
<a href='#buffer4'>[4、几何数组缓冲区分析 - 结果几何合并]</a><br/>
|
|
206
|
-
<a href='#buffer5'>[5、区缓冲分析 - 自定义坐标系]</a><br/>
|
|
207
|
-
<a href='#buffer6'>[6、点缓冲分析]</a><br/>
|
|
208
|
-
<a href='#buffer7'>[7、线缓冲分析]</a><br/>
|
|
209
|
-
<a href='#buffer8'>[8、矩形缓冲分析]</a><br/>
|
|
210
|
-
<a href='#buffer9'>[9、圆形缓冲分析]</a><br/></p></code></td>
|
|
200
|
+
<td class="name"><code><p></code></td>
|
|
211
201
|
</tr>
|
|
212
202
|
|
|
213
203
|
<tr class="deep-level-0">
|
|
@@ -216,30 +206,18 @@
|
|
|
216
206
|
<code>
|
|
217
207
|
|
|
218
208
|
|
|
219
|
-
<span class="param-type">
|
|
209
|
+
<span class="param-type">
|
|
210
|
+
|
|
211
|
+
Boolean
|
|
212
|
+
|
|
213
|
+
</span>
|
|
220
214
|
|
|
221
215
|
|
|
222
216
|
|
|
223
217
|
|
|
224
218
|
</code>
|
|
225
219
|
</td>
|
|
226
|
-
<td class="name"><code><p
|
|
227
|
-
判断containerGeometry对象是否完全包含insideGeometry对象;<br/>
|
|
228
|
-
忽略三维高度;<br/>
|
|
229
|
-
支持自定义坐标系的几何对象,几何的坐标系必须相同;<br/>
|
|
230
|
-
包含标准如下:
|
|
231
|
-
点包含点的标准为:两个点几何坐标是否相等;<br/>
|
|
232
|
-
线包含线的标准为:一条线上的点都在另一条线上,或两条线的点坐标相同;<br/>
|
|
233
|
-
区包含线的标准为:线在区几何内,但线不全部在区几何边线上(包括内圈和外圈的边线);<br/>
|
|
234
|
-
区包含线的标准为:点在区几何内,不在边线上(包括内圈和外圈的边线);<br/>
|
|
235
|
-
区包含区的标准为:一个区在另一个区内(如果有带洞区域,则不能在带洞区域内,可以挨着边线),边线可以重合;<br/>
|
|
236
|
-
其他情况为上述标准的组合;<br/>
|
|
237
|
-
由于包含的情况太多,这里仅列举部分示例,示例如下:<br/>
|
|
238
|
-
<a href='#intersects1'>[1、区包含点]</a><br/>
|
|
239
|
-
<a href='#intersects2'>[2、多点包含点]</a><br/>
|
|
240
|
-
<a href='#intersects3'>[3、区包含线]</a><br/>
|
|
241
|
-
<a href='#intersects4'>[4、圆包含矩形]</a><br/>
|
|
242
|
-
<a href='#intersects5'>[5、几何包含 - 自定义坐标系]</a><br/></p></code></td>
|
|
220
|
+
<td class="name"><code><p></code></td>
|
|
243
221
|
</tr>
|
|
244
222
|
|
|
245
223
|
<tr class="deep-level-0">
|
|
@@ -248,31 +226,18 @@
|
|
|
248
226
|
<code>
|
|
249
227
|
|
|
250
228
|
|
|
251
|
-
<span class="param-type">
|
|
229
|
+
<span class="param-type">
|
|
230
|
+
|
|
231
|
+
Boolean
|
|
232
|
+
|
|
233
|
+
</span>
|
|
252
234
|
|
|
253
235
|
|
|
254
236
|
|
|
255
237
|
|
|
256
238
|
</code>
|
|
257
239
|
</td>
|
|
258
|
-
<td class="name"><code><p
|
|
259
|
-
判断一个几何对象是否穿过另一个几何对象;<br/>
|
|
260
|
-
要穿过的几何类型为:线、多线,忽略三维高度;<br/>
|
|
261
|
-
被穿过的几何类型为:线、多线、矩形、圆、区以及多区,忽略三维高度,穿线和被穿过几何的坐标系必须相同;<br/>
|
|
262
|
-
要穿过的几何与被穿过的几何(geometry1和geometry2)可以调换输入,但其中一个geometry必须是LineString、MultiLineString中的一类;<br/>
|
|
263
|
-
当被穿过的几何类型为MultiLineString、MultiPolygon时,只要MultiLineString和MultiPolygon中有一个要素被穿过,就算穿过,返回true;<br/>
|
|
264
|
-
当要穿过的几何类型为MultiLineString时,只要MultiLineString中有一条线穿过geometry2(被穿过的几何体),就算穿过,返回true;<br/>
|
|
265
|
-
如果两条线出现重叠,此种情况不算穿过,返回false;<br/
|
|
266
|
-
如果两条线出现“入”型、“L”型,此种情况不算穿过,返回false;<br/>
|
|
267
|
-
线与圆相切的情况不算穿过,返回false;<br/>
|
|
268
|
-
线和多边形的一条边重叠,算穿过,返回true;<br/>
|
|
269
|
-
当polygon有内圈时,只要穿过外圈就算穿过,返回true;<br/>
|
|
270
|
-
示例如下:<br/>
|
|
271
|
-
<a href='#cross1'>[1、线穿过线]</a><br/>
|
|
272
|
-
<a href='#cross2'>[2、线穿过多线]</a><br/>
|
|
273
|
-
<a href='#cross3'>[3、线穿过区]</a><br/>
|
|
274
|
-
<a href='#cross4'>[4、多线穿过区]</a><br/>
|
|
275
|
-
<a href='#cross5'>[5、多线穿过多区]</a><br/></p></code></td>
|
|
240
|
+
<td class="name"><code><p></code></td>
|
|
276
241
|
</tr>
|
|
277
242
|
|
|
278
243
|
<tr class="deep-level-0">
|
|
@@ -281,28 +246,18 @@
|
|
|
281
246
|
<code>
|
|
282
247
|
|
|
283
248
|
|
|
284
|
-
<span class="param-type">
|
|
249
|
+
<span class="param-type">
|
|
250
|
+
|
|
251
|
+
Array.<<a onclick="getTypeHTML(event)" link="Geometry.html">Geometry</a>>
|
|
252
|
+
|
|
253
|
+
</span>
|
|
285
254
|
|
|
286
255
|
|
|
287
256
|
|
|
288
257
|
|
|
289
258
|
</code>
|
|
290
259
|
</td>
|
|
291
|
-
<td class="name"><code><p
|
|
292
|
-
使用一条线来切割几何,将其分割为多个几何对象;<br/>
|
|
293
|
-
被切割的几何类型为:线、多线、区以及多区,忽略三维高度,切线和被切割几何的坐标系必须相同;<br/>
|
|
294
|
-
此接口不会像arcgis的geometryEngine.cut方法那样,返回切割线左右两边的几何对象数组,而是把所有的被切割好的几何组成一个数组并返回;<br/>
|
|
295
|
-
如果切割线和被切割几何没有相交,则会返回一个空数组;<br/>
|
|
296
|
-
线切割线会返回被切割后的线几何数组;<br/>
|
|
297
|
-
线切割多线仅会返回被切割后的线几何数组,如果多线中的某一个线段不与切割线相交,则不会返回该线段几何;<br/>
|
|
298
|
-
线切割区会返回被切割后的区几何数组,如果切线仅仅是部分和区相交,但是没有穿过几何,会返回一个仅包含该区几何对像的数组;<br/>
|
|
299
|
-
线切割多区仅会返回被切割后的区几何数组,如果多区中的某一个区不与切割线相交,则不会返回该区几何;<br/>
|
|
300
|
-
示例如下:<br/>
|
|
301
|
-
<a href='#cut1'>[1、线切割线]</a><br/>
|
|
302
|
-
<a href='#cut2'>[2、线切割多线]</a><br/>
|
|
303
|
-
<a href='#cut3'>[3、线切割区]</a><br/>
|
|
304
|
-
<a href='#cut4'>[4、线切割多区]</a><br/>
|
|
305
|
-
<a href='#cut5'>[5、几何切割 - 自定义坐标系]</a><br/></p></code></td>
|
|
260
|
+
<td class="name"><code><p></code></td>
|
|
306
261
|
</tr>
|
|
307
262
|
|
|
308
263
|
<tr class="deep-level-0">
|
|
@@ -311,26 +266,25 @@
|
|
|
311
266
|
<code>
|
|
312
267
|
|
|
313
268
|
|
|
314
|
-
<span class="param-type"
|
|
269
|
+
<span class="param-type">
|
|
270
|
+
|
|
271
|
+
<a link="Polygon.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Polygon" Polygon.html>Polygon</a>
|
|
272
|
+
|
|
273
|
+
</span>
|
|
315
274
|
|
|
|
316
275
|
|
|
317
|
-
<span class="param-type"
|
|
276
|
+
<span class="param-type">
|
|
277
|
+
|
|
278
|
+
<a link="MultiPolygon.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="MultiPolygon" MultiPolygon.html>MultiPolygon</a>
|
|
279
|
+
|
|
280
|
+
</span>
|
|
318
281
|
|
|
319
282
|
|
|
320
283
|
|
|
321
284
|
|
|
322
285
|
</code>
|
|
323
286
|
</td>
|
|
324
|
-
<td class="name"><code><p
|
|
325
|
-
几何求差,即返回inputGeometry几何对象减去subtractGeometry几何对象之后的部分;<br/>
|
|
326
|
-
支持区、多区、矩形和圆形之间进行相互求差;<br/>
|
|
327
|
-
支持自定义坐标系几何,忽略三维高度;<br/>
|
|
328
|
-
求差后可能返回一个区几何或一个多区几何或者一个空对象;<br/>
|
|
329
|
-
由于示例太多,仅列举部分示例,示例如下:<br/>
|
|
330
|
-
<a href='#difference1'>[1、区和区求差]</a><br/>
|
|
331
|
-
<a href='#difference2'>[2、区和多区求差]</a><br/>
|
|
332
|
-
<a href='#difference3'>[3、多区和圆形求差]</a><br/>
|
|
333
|
-
<a href='#difference4'>[4、矩形和圆求差]</a><br/></p></code></td>
|
|
287
|
+
<td class="name"><code><p></code></td>
|
|
334
288
|
</tr>
|
|
335
289
|
|
|
336
290
|
<tr class="deep-level-0">
|
|
@@ -339,18 +293,18 @@
|
|
|
339
293
|
<code>
|
|
340
294
|
|
|
341
295
|
|
|
342
|
-
<span class="param-type">
|
|
296
|
+
<span class="param-type">
|
|
297
|
+
|
|
298
|
+
Boolean
|
|
299
|
+
|
|
300
|
+
</span>
|
|
343
301
|
|
|
344
302
|
|
|
345
303
|
|
|
346
304
|
|
|
347
305
|
</code>
|
|
348
306
|
</td>
|
|
349
|
-
<td class="name"><code><p
|
|
350
|
-
判断两个几何是否相离,即完全不相交;<br/>
|
|
351
|
-
支持自定义坐标系几何对象,两个几何对象的坐标系要一致,忽略三维高度;<br/>
|
|
352
|
-
示例如下:<br/>
|
|
353
|
-
<a href='#disjoint1'>[是否相离]</a><br/></p></code></td>
|
|
307
|
+
<td class="name"><code><p></code></td>
|
|
354
308
|
</tr>
|
|
355
309
|
|
|
356
310
|
<tr class="deep-level-0">
|
|
@@ -359,15 +313,18 @@
|
|
|
359
313
|
<code>
|
|
360
314
|
|
|
361
315
|
|
|
362
|
-
<span class="param-type">
|
|
316
|
+
<span class="param-type">
|
|
317
|
+
|
|
318
|
+
Number
|
|
319
|
+
|
|
320
|
+
</span>
|
|
363
321
|
|
|
364
322
|
|
|
365
323
|
|
|
366
324
|
|
|
367
325
|
</code>
|
|
368
326
|
</td>
|
|
369
|
-
<td class="name"><code><p
|
|
370
|
-
计算两点之间的距离,坐标系取第一个图层的坐标系</p></code></td>
|
|
327
|
+
<td class="name"><code><p></code></td>
|
|
371
328
|
</tr>
|
|
372
329
|
|
|
373
330
|
<tr class="deep-level-0">
|
|
@@ -376,20 +333,18 @@
|
|
|
376
333
|
<code>
|
|
377
334
|
|
|
378
335
|
|
|
379
|
-
<span class="param-type">
|
|
336
|
+
<span class="param-type">
|
|
337
|
+
|
|
338
|
+
Boolean
|
|
339
|
+
|
|
340
|
+
</span>
|
|
380
341
|
|
|
381
342
|
|
|
382
343
|
|
|
383
344
|
|
|
384
345
|
</code>
|
|
385
346
|
</td>
|
|
386
|
-
<td class="name"><code><p
|
|
387
|
-
判断两个几何是否相等;<br/>
|
|
388
|
-
使用如下判断标准:<br/>
|
|
389
|
-
1、类型是否相等;<br/>
|
|
390
|
-
2、坐标系是否相等;<br/>
|
|
391
|
-
3、两个几何的坐标点是否相等;<br/>
|
|
392
|
-
支持任意几何类型;<br/></p></code></td>
|
|
347
|
+
<td class="name"><code><p></code></td>
|
|
393
348
|
</tr>
|
|
394
349
|
|
|
395
350
|
<tr class="deep-level-0">
|
|
@@ -398,15 +353,18 @@
|
|
|
398
353
|
<code>
|
|
399
354
|
|
|
400
355
|
|
|
401
|
-
<span class="param-type">
|
|
356
|
+
<span class="param-type">
|
|
357
|
+
|
|
358
|
+
Number
|
|
359
|
+
|
|
360
|
+
</span>
|
|
402
361
|
|
|
403
362
|
|
|
404
363
|
|
|
405
364
|
|
|
406
365
|
</code>
|
|
407
366
|
</td>
|
|
408
|
-
<td class="name"><code><p
|
|
409
|
-
计算地理几何长度;<br/></p></code></td>
|
|
367
|
+
<td class="name"><code><p></code></td>
|
|
410
368
|
</tr>
|
|
411
369
|
|
|
412
370
|
<tr class="deep-level-0">
|
|
@@ -415,15 +373,18 @@
|
|
|
415
373
|
<code>
|
|
416
374
|
|
|
417
375
|
|
|
418
|
-
<span class="param-type">
|
|
376
|
+
<span class="param-type">
|
|
377
|
+
|
|
378
|
+
Number
|
|
379
|
+
|
|
380
|
+
</span>
|
|
419
381
|
|
|
420
382
|
|
|
421
383
|
|
|
422
384
|
|
|
423
385
|
</code>
|
|
424
386
|
</td>
|
|
425
|
-
<td class="name"><code><p
|
|
426
|
-
计算三点之间的夹角</p></code></td>
|
|
387
|
+
<td class="name"><code><p></code></td>
|
|
427
388
|
</tr>
|
|
428
389
|
|
|
429
390
|
<tr class="deep-level-0">
|
|
@@ -432,24 +393,39 @@
|
|
|
432
393
|
<code>
|
|
433
394
|
|
|
434
395
|
|
|
435
|
-
<span class="param-type"
|
|
396
|
+
<span class="param-type">
|
|
397
|
+
|
|
398
|
+
<a link="LineString.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="LineString" LineString.html>LineString</a>
|
|
399
|
+
|
|
400
|
+
</span>
|
|
436
401
|
|
|
|
437
402
|
|
|
438
|
-
<span class="param-type"
|
|
403
|
+
<span class="param-type">
|
|
404
|
+
|
|
405
|
+
<a link="MultiLineString.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="MultiLineString" MultiLineString.html>MultiLineString</a>
|
|
406
|
+
|
|
407
|
+
</span>
|
|
439
408
|
|
|
|
440
409
|
|
|
441
|
-
<span class="param-type"
|
|
410
|
+
<span class="param-type">
|
|
411
|
+
|
|
412
|
+
<a link="Polygon.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Polygon" Polygon.html>Polygon</a>
|
|
413
|
+
|
|
414
|
+
</span>
|
|
442
415
|
|
|
|
443
416
|
|
|
444
|
-
<span class="param-type"
|
|
417
|
+
<span class="param-type">
|
|
418
|
+
|
|
419
|
+
<a link="MultiPolygon.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="MultiPolygon" MultiPolygon.html>MultiPolygon</a>
|
|
420
|
+
|
|
421
|
+
</span>
|
|
445
422
|
|
|
446
423
|
|
|
447
424
|
|
|
448
425
|
|
|
449
426
|
</code>
|
|
450
427
|
</td>
|
|
451
|
-
<td class="name"><code><p
|
|
452
|
-
通过几何中的三点弧段数据,构造离散后的几何对象,类型与原始对象一致</p></code></td>
|
|
428
|
+
<td class="name"><code><p></code></td>
|
|
453
429
|
</tr>
|
|
454
430
|
|
|
455
431
|
<tr class="deep-level-0">
|
|
@@ -458,15 +434,18 @@
|
|
|
458
434
|
<code>
|
|
459
435
|
|
|
460
436
|
|
|
461
|
-
<span class="param-type">
|
|
437
|
+
<span class="param-type">
|
|
438
|
+
|
|
439
|
+
Array.<Number>
|
|
440
|
+
|
|
441
|
+
</span>
|
|
462
442
|
|
|
463
443
|
|
|
464
444
|
|
|
465
445
|
|
|
466
446
|
</code>
|
|
467
447
|
</td>
|
|
468
|
-
<td class="name"><code><p
|
|
469
|
-
通过三个点求圆心,数学公式,不用进行投影</p></code></td>
|
|
448
|
+
<td class="name"><code><p></code></td>
|
|
470
449
|
</tr>
|
|
471
450
|
|
|
472
451
|
<tr class="deep-level-0">
|
|
@@ -475,7 +454,11 @@
|
|
|
475
454
|
<code>
|
|
476
455
|
|
|
477
456
|
|
|
478
|
-
<span class="param-type"
|
|
457
|
+
<span class="param-type">
|
|
458
|
+
|
|
459
|
+
<a link="Point.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Point" Point.html>Point</a>
|
|
460
|
+
|
|
461
|
+
</span>
|
|
479
462
|
|
|
480
463
|
|
|
481
464
|
|
|
@@ -483,7 +466,7 @@
|
|
|
483
466
|
</code>
|
|
484
467
|
</td>
|
|
485
468
|
<td class="name"><code><p>获取几何中心点
|
|
486
|
-
|
|
469
|
+
</code></td>
|
|
487
470
|
</tr>
|
|
488
471
|
|
|
489
472
|
<tr class="deep-level-0">
|
|
@@ -492,7 +475,11 @@
|
|
|
492
475
|
<code>
|
|
493
476
|
|
|
494
477
|
|
|
495
|
-
<span class="param-type">
|
|
478
|
+
<span class="param-type">
|
|
479
|
+
|
|
480
|
+
Array
|
|
481
|
+
|
|
482
|
+
</span>
|
|
496
483
|
|
|
497
484
|
|
|
498
485
|
|
|
@@ -500,7 +487,7 @@
|
|
|
500
487
|
</code>
|
|
501
488
|
</td>
|
|
502
489
|
<td class="name"><code><p>获取椭圆离散化点坐标
|
|
503
|
-
|
|
490
|
+
</code></td>
|
|
504
491
|
</tr>
|
|
505
492
|
|
|
506
493
|
<tr class="deep-level-0">
|
|
@@ -509,15 +496,18 @@
|
|
|
509
496
|
<code>
|
|
510
497
|
|
|
511
498
|
|
|
512
|
-
<span class="param-type">
|
|
499
|
+
<span class="param-type">
|
|
500
|
+
|
|
501
|
+
Array
|
|
502
|
+
|
|
503
|
+
</span>
|
|
513
504
|
|
|
514
505
|
|
|
515
506
|
|
|
516
507
|
|
|
517
508
|
</code>
|
|
518
509
|
</td>
|
|
519
|
-
<td class="name"><code><p
|
|
520
|
-
通过三点弧段构造一组离散的点坐标,此组离散点是线几何的点坐标</p></code></td>
|
|
510
|
+
<td class="name"><code><p></code></td>
|
|
521
511
|
</tr>
|
|
522
512
|
|
|
523
513
|
<tr class="deep-level-0">
|
|
@@ -526,24 +516,25 @@
|
|
|
526
516
|
<code>
|
|
527
517
|
|
|
528
518
|
|
|
529
|
-
<span class="param-type"
|
|
519
|
+
<span class="param-type">
|
|
520
|
+
|
|
521
|
+
<a link="Geometry.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Geometry" Geometry.html>Geometry</a>
|
|
522
|
+
|
|
523
|
+
</span>
|
|
530
524
|
|
|
|
531
525
|
|
|
532
|
-
<span class="param-type">
|
|
526
|
+
<span class="param-type">
|
|
527
|
+
|
|
528
|
+
Array.<<a onclick="getTypeHTML(event)" link="Geometry.html">Geometry</a>>
|
|
529
|
+
|
|
530
|
+
</span>
|
|
533
531
|
|
|
534
532
|
|
|
535
533
|
|
|
536
534
|
|
|
537
535
|
</code>
|
|
538
536
|
</td>
|
|
539
|
-
<td class="name"><code><p
|
|
540
|
-
计算并返回两个几何对象的相交部分;<br/>
|
|
541
|
-
支持任意几何或几何对象数组和另一个几何进行相交,忽略三维高度,坐标系必须相同;<br/>
|
|
542
|
-
点和任何几何相交返回点或空对象<br/>
|
|
543
|
-
多点和任何几何相交返回点或多点或空对象<br/>
|
|
544
|
-
线和任意几何对象相交返回相交点或重叠线或相交点和重叠线或空对象<br/>
|
|
545
|
-
区和区、区和多区相交返回区或多区或空对象<br/>
|
|
546
|
-
矩形、圆、区、多区之间相交返回区或多区或空对象<br/></p></code></td>
|
|
537
|
+
<td class="name"><code><p></code></td>
|
|
547
538
|
</tr>
|
|
548
539
|
|
|
549
540
|
<tr class="deep-level-0">
|
|
@@ -552,23 +543,18 @@
|
|
|
552
543
|
<code>
|
|
553
544
|
|
|
554
545
|
|
|
555
|
-
<span class="param-type">
|
|
546
|
+
<span class="param-type">
|
|
547
|
+
|
|
548
|
+
Boolean
|
|
549
|
+
|
|
550
|
+
</span>
|
|
556
551
|
|
|
557
552
|
|
|
558
553
|
|
|
559
554
|
|
|
560
555
|
</code>
|
|
561
556
|
</td>
|
|
562
|
-
<td class="name"><code><p
|
|
563
|
-
判断两个几何对象是否相交;<br/>
|
|
564
|
-
支持任意几何类型求交;<br/>
|
|
565
|
-
支持自定义坐标系的几何对象,两个求交几何的坐标系必须相同,忽略三位高度;<br/>
|
|
566
|
-
由于示例太多,这里仅列举部分示例,示例如下:<br/>
|
|
567
|
-
<a href='#intersects1'>[1、线和区求交]</a><br/>
|
|
568
|
-
<a href='#intersects2'>[2、点和区求交]</a><br/>
|
|
569
|
-
<a href='#intersects3'>[3、区和多区求交]</a><br/>
|
|
570
|
-
<a href='#intersects4'>[4、矩形和圆形求交]</a><br/>
|
|
571
|
-
<a href='#intersects5'>[5、几何求交 - 自定义参考系]</a><br/></p></code></td>
|
|
557
|
+
<td class="name"><code><p></code></td>
|
|
572
558
|
</tr>
|
|
573
559
|
|
|
574
560
|
<tr class="deep-level-0">
|
|
@@ -577,25 +563,18 @@
|
|
|
577
563
|
<code>
|
|
578
564
|
|
|
579
565
|
|
|
580
|
-
<span class="param-type">
|
|
566
|
+
<span class="param-type">
|
|
567
|
+
|
|
568
|
+
Boolean
|
|
569
|
+
|
|
570
|
+
</span>
|
|
581
571
|
|
|
582
572
|
|
|
583
573
|
|
|
584
574
|
|
|
585
575
|
</code>
|
|
586
576
|
</td>
|
|
587
|
-
<td class="name"><code><p
|
|
588
|
-
对几何对象进行拓扑检查;<br/>
|
|
589
|
-
支持的几何类型为线、多线、区和多区,支持任意坐标系几何,忽略三维高度;<br/>
|
|
590
|
-
线类型的标准为:1、自身的非相邻线段不会自相交(两个线段仅有一个端点重叠不算相交);2、线自身的线段不会重叠;<br/>
|
|
591
|
-
多线类型的标准为:1、自身的子线段必须是拓扑正确的;2、子线段不会相交;<br/>
|
|
592
|
-
区类型的标准为:1、外圈和内圈满足线类型的拓扑检查标准;2、外圈和内圈、内圈和内圈不会相交;3、内圈不会超过外圈;<br/>
|
|
593
|
-
多区类型的标准为:1、自身的子区必须是拓扑正确的;2、子区不会相交;<br/>
|
|
594
|
-
示例如下:<br/>
|
|
595
|
-
<a href='#isSimple1'>[1、对线几何进行拓扑检查]</a><br/>
|
|
596
|
-
<a href='#isSimple2'>[2、对多线几何进行拓扑检查]</a><br/>
|
|
597
|
-
<a href='#isSimple3'>[3、对区几何进行拓扑检查]</a><br/>
|
|
598
|
-
<a href='#isSimple4'>[4、对多区几何进行拓扑检查]</a><br/></p></code></td>
|
|
577
|
+
<td class="name"><code><p></code></td>
|
|
599
578
|
</tr>
|
|
600
579
|
|
|
601
580
|
<tr class="deep-level-0">
|
|
@@ -604,15 +583,18 @@
|
|
|
604
583
|
<code>
|
|
605
584
|
|
|
606
585
|
|
|
607
|
-
<span class="param-type">
|
|
586
|
+
<span class="param-type">
|
|
587
|
+
|
|
588
|
+
Project.<<a onclick="getTypeHTML(event)" link="Point.html">Point</a>>
|
|
589
|
+
|
|
590
|
+
</span>
|
|
608
591
|
|
|
609
592
|
|
|
610
593
|
|
|
611
594
|
|
|
612
595
|
</code>
|
|
613
596
|
</td>
|
|
614
|
-
<td class="name"><code><p
|
|
615
|
-
在几何对象的coordinates中寻找与指定点距离最近的点</p></code></td>
|
|
597
|
+
<td class="name"><code><p></code></td>
|
|
616
598
|
</tr>
|
|
617
599
|
|
|
618
600
|
<tr class="deep-level-0">
|
|
@@ -621,15 +603,18 @@
|
|
|
621
603
|
<code>
|
|
622
604
|
|
|
623
605
|
|
|
624
|
-
<span class="param-type">
|
|
606
|
+
<span class="param-type">
|
|
607
|
+
|
|
608
|
+
Boolean
|
|
609
|
+
|
|
610
|
+
</span>
|
|
625
611
|
|
|
626
612
|
|
|
627
613
|
|
|
628
614
|
|
|
629
615
|
</code>
|
|
630
616
|
</td>
|
|
631
|
-
<td class="name"><code><p
|
|
632
|
-
判断两个几何对象是否重叠,即两个几何相交但不互相包含</p></code></td>
|
|
617
|
+
<td class="name"><code><p></code></td>
|
|
633
618
|
</tr>
|
|
634
619
|
|
|
635
620
|
<tr class="deep-level-0">
|
|
@@ -638,25 +623,18 @@
|
|
|
638
623
|
<code>
|
|
639
624
|
|
|
640
625
|
|
|
641
|
-
<span class="param-type">
|
|
626
|
+
<span class="param-type">
|
|
627
|
+
|
|
628
|
+
Number
|
|
629
|
+
|
|
630
|
+
</span>
|
|
642
631
|
|
|
643
632
|
|
|
644
633
|
|
|
645
634
|
|
|
646
635
|
</code>
|
|
647
636
|
</td>
|
|
648
|
-
<td class="name"><code><p
|
|
649
|
-
计算几何对象的面积;<br/>
|
|
650
|
-
仅计算平面面积,忽略地球弧度,当坐标系为WGS84相关坐标系时,也仅会计算平面面积,例如坐标为[[0, 0], [0, 1], [1, 1], [1, 0], [0, 0]]的区几何的面积为1;<br/>
|
|
651
|
-
支持自定义坐标系,忽略三维高度;<br/>
|
|
652
|
-
支持区、多区、矩形和圆形几何对象;<br/>
|
|
653
|
-
当为区或多区几何对象时,若该区带洞或多区的子区带洞,则会减去这些洞的面积;<br/>
|
|
654
|
-
示例如下:<br/>
|
|
655
|
-
<a href='#planarArea1'>[1、计算区(不带洞)面积]</a><br/>
|
|
656
|
-
<a href='#planarArea2'>[2、计算区(带洞)面积]</a><br/>
|
|
657
|
-
<a href='#planarArea3'>[3、计算多区面积]</a><br/>
|
|
658
|
-
<a href='#planarArea4'>[4、计算圆面积]</a><br/>
|
|
659
|
-
<a href='#planarArea5'>[5、计算矩形面积]</a><br/></p></code></td>
|
|
637
|
+
<td class="name"><code><p></code></td>
|
|
660
638
|
</tr>
|
|
661
639
|
|
|
662
640
|
<tr class="deep-level-0">
|
|
@@ -665,25 +643,18 @@
|
|
|
665
643
|
<code>
|
|
666
644
|
|
|
667
645
|
|
|
668
|
-
<span class="param-type">
|
|
646
|
+
<span class="param-type">
|
|
647
|
+
|
|
648
|
+
Number
|
|
649
|
+
|
|
650
|
+
</span>
|
|
669
651
|
|
|
670
652
|
|
|
671
653
|
|
|
672
654
|
|
|
673
655
|
</code>
|
|
674
656
|
</td>
|
|
675
|
-
<td class="name"><code><p
|
|
676
|
-
计算几何长度或周长;<br/>
|
|
677
|
-
仅计算平面距离,忽略地球弧度,当坐标系为WGS84相关坐标系时,也仅会计算平面距离,例如坐标为[[0, 0], [0, 1]]的线几何的长度为1;<br/>
|
|
678
|
-
支持自定义坐标系,忽略三维高度;<br/>
|
|
679
|
-
支持的几何类型为线、多线、区、多区、圆形以及矩形;<br/>
|
|
680
|
-
当几何为线时,返回线的长度;<br/>
|
|
681
|
-
当几何为多线时,返回多线中子线的长度之和;<br/>
|
|
682
|
-
当几何为区、圆形以及矩形时,返回其周长;<br/>
|
|
683
|
-
当几何为多区时,返回多区中子区的周长之和;<br/>
|
|
684
|
-
示例如下:<br/>
|
|
685
|
-
<a href='#planarLength1'>[1、计算几何长度]</a><br/>
|
|
686
|
-
<a href='#planarLength2'>[2、计算几何周长]</a><br/></p></code></td>
|
|
657
|
+
<td class="name"><code><p></code></td>
|
|
687
658
|
</tr>
|
|
688
659
|
|
|
689
660
|
<tr class="deep-level-0">
|
|
@@ -692,29 +663,18 @@
|
|
|
692
663
|
<code>
|
|
693
664
|
|
|
694
665
|
|
|
695
|
-
<span class="param-type"
|
|
666
|
+
<span class="param-type">
|
|
667
|
+
|
|
668
|
+
<a link="Geometry.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Geometry" Geometry.html>Geometry</a>
|
|
669
|
+
|
|
670
|
+
</span>
|
|
696
671
|
|
|
697
672
|
|
|
698
673
|
|
|
699
674
|
|
|
700
675
|
</code>
|
|
701
676
|
</td>
|
|
702
|
-
<td class="name"><code><p
|
|
703
|
-
顺时针旋转几何,支持所有基础几何对象;<br/>
|
|
704
|
-
可以指定旋转中心点,当不指定时使用几何质心;<br/>
|
|
705
|
-
忽略三维高度;<br/>
|
|
706
|
-
支持自定义坐标系几何,几何对象与旋转中心点的坐标系必须一致;<br/>
|
|
707
|
-
示例如下:<br/>
|
|
708
|
-
<a href='#rotate1'>[1、旋转多点]</a><br/>
|
|
709
|
-
<a href='#rotate2'>[2、旋转区]</a><br/>
|
|
710
|
-
<a href='#rotate3'>[3、旋转多区]</a><br/>
|
|
711
|
-
<a href='#rotate4'>[4、旋转线]</a><br/>
|
|
712
|
-
<a href='#rotate5'>[5、旋转多线]</a><br/>
|
|
713
|
-
<a href='#rotate6'>[6、旋转矩形]</a><br/>
|
|
714
|
-
<a href='#rotate7'>[7、旋转圆形]</a><br/>
|
|
715
|
-
<a href='#rotate8'>[8、旋转区 - 自定义坐标系]</a><br/>
|
|
716
|
-
<a href='#rotate9'>[9、绕点旋转 - 区]</a><br/>
|
|
717
|
-
<a href='#rotate10'>[10、绕点旋转 - 点]</a><br/></p></code></td>
|
|
677
|
+
<td class="name"><code><p></code></td>
|
|
718
678
|
</tr>
|
|
719
679
|
|
|
720
680
|
<tr class="deep-level-0">
|
|
@@ -723,7 +683,11 @@
|
|
|
723
683
|
<code>
|
|
724
684
|
|
|
725
685
|
|
|
726
|
-
<span class="param-type"
|
|
686
|
+
<span class="param-type">
|
|
687
|
+
|
|
688
|
+
<a link="Geometry.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Geometry" Geometry.html>Geometry</a>
|
|
689
|
+
|
|
690
|
+
</span>
|
|
727
691
|
|
|
728
692
|
|
|
729
693
|
|
|
@@ -731,7 +695,7 @@
|
|
|
731
695
|
</code>
|
|
732
696
|
</td>
|
|
733
697
|
<td class="name"><code><p>拓扑矫正
|
|
734
|
-
|
|
698
|
+
</code></td>
|
|
735
699
|
</tr>
|
|
736
700
|
|
|
737
701
|
<tr class="deep-level-0">
|
|
@@ -740,26 +704,18 @@
|
|
|
740
704
|
<code>
|
|
741
705
|
|
|
742
706
|
|
|
743
|
-
<span class="param-type">
|
|
707
|
+
<span class="param-type">
|
|
708
|
+
|
|
709
|
+
Boolean
|
|
710
|
+
|
|
711
|
+
</span>
|
|
744
712
|
|
|
745
713
|
|
|
746
714
|
|
|
747
715
|
|
|
748
716
|
</code>
|
|
749
717
|
</td>
|
|
750
|
-
<td class="name"><code><p
|
|
751
|
-
判断一个几何对象是否和另一个几何对象相邻
|
|
752
|
-
被测试相邻关系的几何类型为:线、多线、矩形、圆、区以及多区,忽略三维高度;<br/>
|
|
753
|
-
用来测试相邻关系的几何类型为:点、多点、线、多线、矩形、圆、区以及多区,忽略三维高度,穿线和被穿过几何的坐标系必须相同;<br/>
|
|
754
|
-
线和点相邻的标准为:点在线的两端,且线不是头尾闭合的;<br/>
|
|
755
|
-
对于multi类型的几何(如多点、多线、多区),无论其和任何其他支持的几何类型判断touch,只要multi中的一个与另一个geometry有包含关系、相交关系,touch即为false;<br/>
|
|
756
|
-
对于区、线、圆、矩形和多点判断相邻关系时,只有有一个点在区内、线上、矩形内、圆内,touch即为false;<br/>
|
|
757
|
-
示例如下:<br/>
|
|
758
|
-
<a href='#touch1'>[1、线和点相邻]</a><br/>
|
|
759
|
-
<a href='#touch2'>[2、多线和多点相邻]</a><br/>
|
|
760
|
-
<a href='#touch3'>[3、区和线相邻]</a><br/>
|
|
761
|
-
<a href='#touch4'>[4、多区和区相邻]</a><br/>
|
|
762
|
-
<a href='#touch5'>[5、圆和圆相邻]</a><br/></p></code></td>
|
|
718
|
+
<td class="name"><code><p></code></td>
|
|
763
719
|
</tr>
|
|
764
720
|
|
|
765
721
|
<tr class="deep-level-0">
|
|
@@ -768,23 +724,18 @@
|
|
|
768
724
|
<code>
|
|
769
725
|
|
|
770
726
|
|
|
771
|
-
<span class="param-type"
|
|
727
|
+
<span class="param-type">
|
|
728
|
+
|
|
729
|
+
<a link="Geometry.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Geometry" Geometry.html>Geometry</a>
|
|
730
|
+
|
|
731
|
+
</span>
|
|
772
732
|
|
|
773
733
|
|
|
774
734
|
|
|
775
735
|
|
|
776
736
|
</code>
|
|
777
737
|
</td>
|
|
778
|
-
<td class="name"><code><p
|
|
779
|
-
多个几何对象求并,并返回求并后的新几何对象;<br/>
|
|
780
|
-
输入的几何类型必须一致,点和多点、区和多区视为同一个类型,且几何对象的坐标系要一致;<br/>
|
|
781
|
-
忽略三维高度;<br>
|
|
782
|
-
支持的几何有:点(多点)几何对象、区(多区)几何对象、范围几何对象、圆几何对象<br/>
|
|
783
|
-
点和点、点和多点、多点和多点合并为一个多点几何对象,如果有多个点坐标(XYZ)相同,则会去重;<br/>
|
|
784
|
-
线和线、线和多线、多线和多线合并为一个线几何对象或多线几何对象;<br/>
|
|
785
|
-
区和区、区和多区、多区和多区合并为一个区级和对象或多区几何对象;<br/>
|
|
786
|
-
矩形和矩形合并为一个多边形几何对象或一个更大的矩形几何对象;<br/>
|
|
787
|
-
圆和圆合并为一个多边形几何对象或一个圆几何对象或两个不相交的圆;</p></code></td>
|
|
738
|
+
<td class="name"><code><p></code></td>
|
|
788
739
|
</tr>
|
|
789
740
|
|
|
790
741
|
<tr class="deep-level-0">
|
|
@@ -793,15 +744,18 @@
|
|
|
793
744
|
<code>
|
|
794
745
|
|
|
795
746
|
|
|
796
|
-
<span class="param-type">
|
|
747
|
+
<span class="param-type">
|
|
748
|
+
|
|
749
|
+
Boolean
|
|
750
|
+
|
|
751
|
+
</span>
|
|
797
752
|
|
|
798
753
|
|
|
799
754
|
|
|
800
755
|
|
|
801
756
|
</code>
|
|
802
757
|
</td>
|
|
803
|
-
<td class="name"><code><p
|
|
804
|
-
判断innerGeometry几何对象是否完全在outerGeometry中</p></code></td>
|
|
758
|
+
<td class="name"><code><p></code></td>
|
|
805
759
|
</tr>
|
|
806
760
|
|
|
807
761
|
</tbody>
|
|
@@ -886,16 +840,24 @@
|
|
|
886
840
|
|
|
887
841
|
<tr class="deep-level-0">
|
|
888
842
|
|
|
889
|
-
<td class="name"
|
|
843
|
+
<td class="name"><code>geometry</code></td>
|
|
890
844
|
|
|
891
845
|
|
|
892
846
|
<td class="type">
|
|
893
847
|
|
|
894
848
|
|
|
895
|
-
<span class="param-type"
|
|
849
|
+
<span class="param-type">
|
|
850
|
+
|
|
851
|
+
<a link="Geometry.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Geometry" Geometry.html>Geometry</a>
|
|
852
|
+
|
|
853
|
+
</span>
|
|
896
854
|
|
|
|
897
855
|
|
|
898
|
-
<span class="param-type">
|
|
856
|
+
<span class="param-type">
|
|
857
|
+
|
|
858
|
+
Array.<<a onclick="getTypeHTML(event)" link="Geometry.html">Geometry</a>>
|
|
859
|
+
|
|
860
|
+
</span>
|
|
899
861
|
|
|
900
862
|
|
|
901
863
|
|
|
@@ -920,16 +882,24 @@
|
|
|
920
882
|
|
|
921
883
|
<tr class="deep-level-0">
|
|
922
884
|
|
|
923
|
-
<td class="name"
|
|
885
|
+
<td class="name"><code>distance</code></td>
|
|
924
886
|
|
|
925
887
|
|
|
926
888
|
<td class="type">
|
|
927
889
|
|
|
928
890
|
|
|
929
|
-
<span class="param-type">
|
|
891
|
+
<span class="param-type">
|
|
892
|
+
|
|
893
|
+
Number
|
|
894
|
+
|
|
895
|
+
</span>
|
|
930
896
|
|
|
|
931
897
|
|
|
932
|
-
<span class="param-type">
|
|
898
|
+
<span class="param-type">
|
|
899
|
+
|
|
900
|
+
Array.<Number>
|
|
901
|
+
|
|
902
|
+
</span>
|
|
933
903
|
|
|
934
904
|
|
|
935
905
|
|
|
@@ -954,13 +924,17 @@
|
|
|
954
924
|
|
|
955
925
|
<tr class="deep-level-0">
|
|
956
926
|
|
|
957
|
-
<td class="name"
|
|
927
|
+
<td class="name"><code>unit</code></td>
|
|
958
928
|
|
|
959
929
|
|
|
960
930
|
<td class="type">
|
|
961
931
|
|
|
962
932
|
|
|
963
|
-
<span class="param-type"
|
|
933
|
+
<span class="param-type">
|
|
934
|
+
|
|
935
|
+
<a link="LengthUnit.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="LengthUnit" global.html#LengthUnit>LengthUnit</a>
|
|
936
|
+
|
|
937
|
+
</span>
|
|
964
938
|
|
|
965
939
|
|
|
966
940
|
|
|
@@ -985,13 +959,17 @@
|
|
|
985
959
|
|
|
986
960
|
<tr class="deep-level-0">
|
|
987
961
|
|
|
988
|
-
<td class="name"
|
|
962
|
+
<td class="name"><code>unionResults</code></td>
|
|
989
963
|
|
|
990
964
|
|
|
991
965
|
<td class="type">
|
|
992
966
|
|
|
993
967
|
|
|
994
|
-
<span class="param-type">
|
|
968
|
+
<span class="param-type">
|
|
969
|
+
|
|
970
|
+
Boolean
|
|
971
|
+
|
|
972
|
+
</span>
|
|
995
973
|
|
|
996
974
|
|
|
997
975
|
|
|
@@ -1086,10 +1064,18 @@
|
|
|
1086
1064
|
<div class='column is-5 has-text-left'>
|
|
1087
1065
|
<label>类型: </label>
|
|
1088
1066
|
|
|
1089
|
-
<span class="param-type"
|
|
1067
|
+
<span class="param-type">
|
|
1068
|
+
|
|
1069
|
+
<a link="Geometry.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Geometry" Geometry.html>Geometry</a>
|
|
1070
|
+
|
|
1071
|
+
</span>
|
|
1090
1072
|
|
|
|
1091
1073
|
|
|
1092
|
-
<span class="param-type">
|
|
1074
|
+
<span class="param-type">
|
|
1075
|
+
|
|
1076
|
+
Array.<<a onclick="getTypeHTML(event)" link="Geometry.html">Geometry</a>>
|
|
1077
|
+
|
|
1078
|
+
</span>
|
|
1093
1079
|
|
|
1094
1080
|
|
|
1095
1081
|
|
|
@@ -1429,13 +1415,17 @@ const bufferedPolygon = GeometryEngine.buffer(circle, 10000)</code></pre>
|
|
|
1429
1415
|
|
|
1430
1416
|
<tr class="deep-level-0">
|
|
1431
1417
|
|
|
1432
|
-
<td class="name"
|
|
1418
|
+
<td class="name"><code>containerGeometry</code></td>
|
|
1433
1419
|
|
|
1434
1420
|
|
|
1435
1421
|
<td class="type">
|
|
1436
1422
|
|
|
1437
1423
|
|
|
1438
|
-
<span class="param-type"
|
|
1424
|
+
<span class="param-type">
|
|
1425
|
+
|
|
1426
|
+
<a link="Geometry.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Geometry" Geometry.html>Geometry</a>
|
|
1427
|
+
|
|
1428
|
+
</span>
|
|
1439
1429
|
|
|
1440
1430
|
|
|
1441
1431
|
|
|
@@ -1460,13 +1450,17 @@ const bufferedPolygon = GeometryEngine.buffer(circle, 10000)</code></pre>
|
|
|
1460
1450
|
|
|
1461
1451
|
<tr class="deep-level-0">
|
|
1462
1452
|
|
|
1463
|
-
<td class="name"
|
|
1453
|
+
<td class="name"><code>insideGeometry</code></td>
|
|
1464
1454
|
|
|
1465
1455
|
|
|
1466
1456
|
<td class="type">
|
|
1467
1457
|
|
|
1468
1458
|
|
|
1469
|
-
<span class="param-type"
|
|
1459
|
+
<span class="param-type">
|
|
1460
|
+
|
|
1461
|
+
<a link="Geometry.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Geometry" Geometry.html>Geometry</a>
|
|
1462
|
+
|
|
1463
|
+
</span>
|
|
1470
1464
|
|
|
1471
1465
|
|
|
1472
1466
|
|
|
@@ -1561,7 +1555,11 @@ const bufferedPolygon = GeometryEngine.buffer(circle, 10000)</code></pre>
|
|
|
1561
1555
|
<div class='column is-5 has-text-left'>
|
|
1562
1556
|
<label>类型: </label>
|
|
1563
1557
|
|
|
1564
|
-
<span class="param-type">
|
|
1558
|
+
<span class="param-type">
|
|
1559
|
+
|
|
1560
|
+
Boolean
|
|
1561
|
+
|
|
1562
|
+
</span>
|
|
1565
1563
|
|
|
1566
1564
|
|
|
1567
1565
|
|
|
@@ -1809,16 +1807,24 @@ console.log("圆是否包含矩形:", isContains)</code></pre>
|
|
|
1809
1807
|
|
|
1810
1808
|
<tr class="deep-level-0">
|
|
1811
1809
|
|
|
1812
|
-
<td class="name"
|
|
1810
|
+
<td class="name"><code>geometry1</code></td>
|
|
1813
1811
|
|
|
1814
1812
|
|
|
1815
1813
|
<td class="type">
|
|
1816
1814
|
|
|
1817
1815
|
|
|
1818
|
-
<span class="param-type"
|
|
1816
|
+
<span class="param-type">
|
|
1817
|
+
|
|
1818
|
+
<a link="LineString.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="LineString" LineString.html>LineString</a>
|
|
1819
|
+
|
|
1820
|
+
</span>
|
|
1819
1821
|
|
|
|
1820
1822
|
|
|
1821
|
-
<span class="param-type"
|
|
1823
|
+
<span class="param-type">
|
|
1824
|
+
|
|
1825
|
+
<a link="MultiLineString.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="MultiLineString" MultiLineString.html>MultiLineString</a>
|
|
1826
|
+
|
|
1827
|
+
</span>
|
|
1822
1828
|
|
|
1823
1829
|
|
|
1824
1830
|
|
|
@@ -1837,28 +1843,52 @@ console.log("圆是否包含矩形:", isContains)</code></pre>
|
|
|
1837
1843
|
|
|
1838
1844
|
<tr class="deep-level-0">
|
|
1839
1845
|
|
|
1840
|
-
<td class="name"
|
|
1846
|
+
<td class="name"><code>geometry2</code></td>
|
|
1841
1847
|
|
|
1842
1848
|
|
|
1843
1849
|
<td class="type">
|
|
1844
1850
|
|
|
1845
1851
|
|
|
1846
|
-
<span class="param-type"
|
|
1852
|
+
<span class="param-type">
|
|
1853
|
+
|
|
1854
|
+
<a link="LineString.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="LineString" LineString.html>LineString</a>
|
|
1855
|
+
|
|
1856
|
+
</span>
|
|
1847
1857
|
|
|
|
1848
1858
|
|
|
1849
|
-
<span class="param-type"
|
|
1859
|
+
<span class="param-type">
|
|
1860
|
+
|
|
1861
|
+
<a link="Polygon.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Polygon" Polygon.html>Polygon</a>
|
|
1862
|
+
|
|
1863
|
+
</span>
|
|
1850
1864
|
|
|
|
1851
1865
|
|
|
1852
|
-
<span class="param-type"
|
|
1866
|
+
<span class="param-type">
|
|
1867
|
+
|
|
1868
|
+
<a link="MultiLineString.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="MultiLineString" MultiLineString.html>MultiLineString</a>
|
|
1869
|
+
|
|
1870
|
+
</span>
|
|
1853
1871
|
|
|
|
1854
1872
|
|
|
1855
|
-
<span class="param-type"
|
|
1873
|
+
<span class="param-type">
|
|
1874
|
+
|
|
1875
|
+
<a link="MultiPolygon.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="MultiPolygon" MultiPolygon.html>MultiPolygon</a>
|
|
1876
|
+
|
|
1877
|
+
</span>
|
|
1856
1878
|
|
|
|
1857
1879
|
|
|
1858
|
-
<span class="param-type"
|
|
1880
|
+
<span class="param-type">
|
|
1881
|
+
|
|
1882
|
+
<a link="Circle.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Circle" Circle.html>Circle</a>
|
|
1883
|
+
|
|
1884
|
+
</span>
|
|
1859
1885
|
|
|
|
1860
1886
|
|
|
1861
|
-
<span class="param-type"
|
|
1887
|
+
<span class="param-type">
|
|
1888
|
+
|
|
1889
|
+
<a link="Extent.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Extent" Extent.html>Extent</a>
|
|
1890
|
+
|
|
1891
|
+
</span>
|
|
1862
1892
|
|
|
1863
1893
|
|
|
1864
1894
|
|
|
@@ -1947,7 +1977,11 @@ console.log("圆是否包含矩形:", isContains)</code></pre>
|
|
|
1947
1977
|
<div class='column is-5 has-text-left'>
|
|
1948
1978
|
<label>类型: </label>
|
|
1949
1979
|
|
|
1950
|
-
<span class="param-type">
|
|
1980
|
+
<span class="param-type">
|
|
1981
|
+
|
|
1982
|
+
Boolean
|
|
1983
|
+
|
|
1984
|
+
</span>
|
|
1951
1985
|
|
|
1952
1986
|
|
|
1953
1987
|
|
|
@@ -2247,22 +2281,38 @@ console.log("多线是否穿过多区:", cross)</code></pre>
|
|
|
2247
2281
|
|
|
2248
2282
|
<tr class="deep-level-0">
|
|
2249
2283
|
|
|
2250
|
-
<td class="name"
|
|
2284
|
+
<td class="name"><code>geometry</code></td>
|
|
2251
2285
|
|
|
2252
2286
|
|
|
2253
2287
|
<td class="type">
|
|
2254
2288
|
|
|
2255
2289
|
|
|
2256
|
-
<span class="param-type"
|
|
2290
|
+
<span class="param-type">
|
|
2291
|
+
|
|
2292
|
+
<a link="LineString.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="LineString" LineString.html>LineString</a>
|
|
2293
|
+
|
|
2294
|
+
</span>
|
|
2257
2295
|
|
|
|
2258
2296
|
|
|
2259
|
-
<span class="param-type"
|
|
2297
|
+
<span class="param-type">
|
|
2298
|
+
|
|
2299
|
+
<a link="MultiLineString.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="MultiLineString" MultiLineString.html>MultiLineString</a>
|
|
2300
|
+
|
|
2301
|
+
</span>
|
|
2260
2302
|
|
|
|
2261
2303
|
|
|
2262
|
-
<span class="param-type"
|
|
2304
|
+
<span class="param-type">
|
|
2305
|
+
|
|
2306
|
+
<a link="Polygon.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Polygon" Polygon.html>Polygon</a>
|
|
2307
|
+
|
|
2308
|
+
</span>
|
|
2263
2309
|
|
|
|
2264
2310
|
|
|
2265
|
-
<span class="param-type"
|
|
2311
|
+
<span class="param-type">
|
|
2312
|
+
|
|
2313
|
+
<a link="MultiPolygon.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="MultiPolygon" MultiPolygon.html>MultiPolygon</a>
|
|
2314
|
+
|
|
2315
|
+
</span>
|
|
2266
2316
|
|
|
2267
2317
|
|
|
2268
2318
|
|
|
@@ -2281,13 +2331,17 @@ console.log("多线是否穿过多区:", cross)</code></pre>
|
|
|
2281
2331
|
|
|
2282
2332
|
<tr class="deep-level-0">
|
|
2283
2333
|
|
|
2284
|
-
<td class="name"
|
|
2334
|
+
<td class="name"><code>cutter</code></td>
|
|
2285
2335
|
|
|
2286
2336
|
|
|
2287
2337
|
<td class="type">
|
|
2288
2338
|
|
|
2289
2339
|
|
|
2290
|
-
<span class="param-type"
|
|
2340
|
+
<span class="param-type">
|
|
2341
|
+
|
|
2342
|
+
<a link="LineString.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="LineString" LineString.html>LineString</a>
|
|
2343
|
+
|
|
2344
|
+
</span>
|
|
2291
2345
|
|
|
2292
2346
|
|
|
2293
2347
|
|
|
@@ -2376,7 +2430,11 @@ console.log("多线是否穿过多区:", cross)</code></pre>
|
|
|
2376
2430
|
<div class='column is-5 has-text-left'>
|
|
2377
2431
|
<label>类型: </label>
|
|
2378
2432
|
|
|
2379
|
-
<span class="param-type">
|
|
2433
|
+
<span class="param-type">
|
|
2434
|
+
|
|
2435
|
+
Array.<<a onclick="getTypeHTML(event)" link="Geometry.html">Geometry</a>>
|
|
2436
|
+
|
|
2437
|
+
</span>
|
|
2380
2438
|
|
|
2381
2439
|
|
|
2382
2440
|
|
|
@@ -2667,22 +2725,38 @@ console.log("切割后的几何数组:", cut)</code></pre>
|
|
|
2667
2725
|
|
|
2668
2726
|
<tr class="deep-level-0">
|
|
2669
2727
|
|
|
2670
|
-
<td class="name"
|
|
2728
|
+
<td class="name"><code>inputGeometry</code></td>
|
|
2671
2729
|
|
|
2672
2730
|
|
|
2673
2731
|
<td class="type">
|
|
2674
2732
|
|
|
2675
2733
|
|
|
2676
|
-
<span class="param-type"
|
|
2734
|
+
<span class="param-type">
|
|
2735
|
+
|
|
2736
|
+
<a link="Polygon.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Polygon" Polygon.html>Polygon</a>
|
|
2737
|
+
|
|
2738
|
+
</span>
|
|
2677
2739
|
|
|
|
2678
2740
|
|
|
2679
|
-
<span class="param-type"
|
|
2741
|
+
<span class="param-type">
|
|
2742
|
+
|
|
2743
|
+
<a link="MultiPolygon.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="MultiPolygon" MultiPolygon.html>MultiPolygon</a>
|
|
2744
|
+
|
|
2745
|
+
</span>
|
|
2680
2746
|
|
|
|
2681
2747
|
|
|
2682
|
-
<span class="param-type"
|
|
2748
|
+
<span class="param-type">
|
|
2749
|
+
|
|
2750
|
+
<a link="Extent.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Extent" Extent.html>Extent</a>
|
|
2751
|
+
|
|
2752
|
+
</span>
|
|
2683
2753
|
|
|
|
2684
2754
|
|
|
2685
|
-
<span class="param-type"
|
|
2755
|
+
<span class="param-type">
|
|
2756
|
+
|
|
2757
|
+
<a link="Circle.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Circle" Circle.html>Circle</a>
|
|
2758
|
+
|
|
2759
|
+
</span>
|
|
2686
2760
|
|
|
2687
2761
|
|
|
2688
2762
|
|
|
@@ -2701,22 +2775,38 @@ console.log("切割后的几何数组:", cut)</code></pre>
|
|
|
2701
2775
|
|
|
2702
2776
|
<tr class="deep-level-0">
|
|
2703
2777
|
|
|
2704
|
-
<td class="name"
|
|
2778
|
+
<td class="name"><code>subtractGeometry</code></td>
|
|
2705
2779
|
|
|
2706
2780
|
|
|
2707
2781
|
<td class="type">
|
|
2708
2782
|
|
|
2709
2783
|
|
|
2710
|
-
<span class="param-type"
|
|
2784
|
+
<span class="param-type">
|
|
2785
|
+
|
|
2786
|
+
<a link="Polygon.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Polygon" Polygon.html>Polygon</a>
|
|
2787
|
+
|
|
2788
|
+
</span>
|
|
2711
2789
|
|
|
|
2712
2790
|
|
|
2713
|
-
<span class="param-type"
|
|
2791
|
+
<span class="param-type">
|
|
2792
|
+
|
|
2793
|
+
<a link="MultiPolygon.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="MultiPolygon" MultiPolygon.html>MultiPolygon</a>
|
|
2794
|
+
|
|
2795
|
+
</span>
|
|
2714
2796
|
|
|
|
2715
2797
|
|
|
2716
|
-
<span class="param-type"
|
|
2798
|
+
<span class="param-type">
|
|
2799
|
+
|
|
2800
|
+
<a link="Extent.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Extent" Extent.html>Extent</a>
|
|
2801
|
+
|
|
2802
|
+
</span>
|
|
2717
2803
|
|
|
|
2718
2804
|
|
|
2719
|
-
<span class="param-type"
|
|
2805
|
+
<span class="param-type">
|
|
2806
|
+
|
|
2807
|
+
<a link="Circle.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Circle" Circle.html>Circle</a>
|
|
2808
|
+
|
|
2809
|
+
</span>
|
|
2720
2810
|
|
|
2721
2811
|
|
|
2722
2812
|
|
|
@@ -2805,10 +2895,18 @@ console.log("切割后的几何数组:", cut)</code></pre>
|
|
|
2805
2895
|
<div class='column is-5 has-text-left'>
|
|
2806
2896
|
<label>类型: </label>
|
|
2807
2897
|
|
|
2808
|
-
<span class="param-type"
|
|
2898
|
+
<span class="param-type">
|
|
2899
|
+
|
|
2900
|
+
<a link="Polygon.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Polygon" Polygon.html>Polygon</a>
|
|
2901
|
+
|
|
2902
|
+
</span>
|
|
2809
2903
|
|
|
|
2810
2904
|
|
|
2811
|
-
<span class="param-type"
|
|
2905
|
+
<span class="param-type">
|
|
2906
|
+
|
|
2907
|
+
<a link="MultiPolygon.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="MultiPolygon" MultiPolygon.html>MultiPolygon</a>
|
|
2908
|
+
|
|
2909
|
+
</span>
|
|
2812
2910
|
|
|
2813
2911
|
|
|
2814
2912
|
|
|
@@ -3047,13 +3145,17 @@ console.log("矩形和圆求差:", geometry)</code></pre>
|
|
|
3047
3145
|
|
|
3048
3146
|
<tr class="deep-level-0">
|
|
3049
3147
|
|
|
3050
|
-
<td class="name"
|
|
3148
|
+
<td class="name"><code>geometry1</code></td>
|
|
3051
3149
|
|
|
3052
3150
|
|
|
3053
3151
|
<td class="type">
|
|
3054
3152
|
|
|
3055
3153
|
|
|
3056
|
-
<span class="param-type"
|
|
3154
|
+
<span class="param-type">
|
|
3155
|
+
|
|
3156
|
+
<a link="Geometry.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Geometry" Geometry.html>Geometry</a>
|
|
3157
|
+
|
|
3158
|
+
</span>
|
|
3057
3159
|
|
|
3058
3160
|
|
|
3059
3161
|
|
|
@@ -3078,13 +3180,17 @@ console.log("矩形和圆求差:", geometry)</code></pre>
|
|
|
3078
3180
|
|
|
3079
3181
|
<tr class="deep-level-0">
|
|
3080
3182
|
|
|
3081
|
-
<td class="name"
|
|
3183
|
+
<td class="name"><code>geometry2</code></td>
|
|
3082
3184
|
|
|
3083
3185
|
|
|
3084
3186
|
<td class="type">
|
|
3085
3187
|
|
|
3086
3188
|
|
|
3087
|
-
<span class="param-type"
|
|
3189
|
+
<span class="param-type">
|
|
3190
|
+
|
|
3191
|
+
<a link="Geometry.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Geometry" Geometry.html>Geometry</a>
|
|
3192
|
+
|
|
3193
|
+
</span>
|
|
3088
3194
|
|
|
3089
3195
|
|
|
3090
3196
|
|
|
@@ -3179,7 +3285,11 @@ console.log("矩形和圆求差:", geometry)</code></pre>
|
|
|
3179
3285
|
<div class='column is-5 has-text-left'>
|
|
3180
3286
|
<label>类型: </label>
|
|
3181
3287
|
|
|
3182
|
-
<span class="param-type">
|
|
3288
|
+
<span class="param-type">
|
|
3289
|
+
|
|
3290
|
+
Boolean
|
|
3291
|
+
|
|
3292
|
+
</span>
|
|
3183
3293
|
|
|
3184
3294
|
|
|
3185
3295
|
|
|
@@ -3297,13 +3407,17 @@ console.log("是否相离:", isIntersect)</code></pre>
|
|
|
3297
3407
|
|
|
3298
3408
|
<tr class="deep-level-0">
|
|
3299
3409
|
|
|
3300
|
-
<td class="name"
|
|
3410
|
+
<td class="name"><code>geometry1</code></td>
|
|
3301
3411
|
|
|
3302
3412
|
|
|
3303
3413
|
<td class="type">
|
|
3304
3414
|
|
|
3305
3415
|
|
|
3306
|
-
<span class="param-type"
|
|
3416
|
+
<span class="param-type">
|
|
3417
|
+
|
|
3418
|
+
<a link="Point.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Point" Point.html>Point</a>
|
|
3419
|
+
|
|
3420
|
+
</span>
|
|
3307
3421
|
|
|
3308
3422
|
|
|
3309
3423
|
|
|
@@ -3322,34 +3436,66 @@ console.log("是否相离:", isIntersect)</code></pre>
|
|
|
3322
3436
|
|
|
3323
3437
|
<tr class="deep-level-0">
|
|
3324
3438
|
|
|
3325
|
-
<td class="name"
|
|
3439
|
+
<td class="name"><code>geometry2</code></td>
|
|
3326
3440
|
|
|
3327
3441
|
|
|
3328
3442
|
<td class="type">
|
|
3329
3443
|
|
|
3330
3444
|
|
|
3331
|
-
<span class="param-type"
|
|
3445
|
+
<span class="param-type">
|
|
3446
|
+
|
|
3447
|
+
<a link="Point.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Point" Point.html>Point</a>
|
|
3448
|
+
|
|
3449
|
+
</span>
|
|
3332
3450
|
|
|
|
3333
3451
|
|
|
3334
|
-
<span class="param-type"
|
|
3452
|
+
<span class="param-type">
|
|
3453
|
+
|
|
3454
|
+
<a link="LineString.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="LineString" LineString.html>LineString</a>
|
|
3455
|
+
|
|
3456
|
+
</span>
|
|
3335
3457
|
|
|
|
3336
3458
|
|
|
3337
|
-
<span class="param-type"
|
|
3459
|
+
<span class="param-type">
|
|
3460
|
+
|
|
3461
|
+
<a link="Polygon.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Polygon" Polygon.html>Polygon</a>
|
|
3462
|
+
|
|
3463
|
+
</span>
|
|
3338
3464
|
|
|
|
3339
3465
|
|
|
3340
|
-
<span class="param-type"
|
|
3466
|
+
<span class="param-type">
|
|
3467
|
+
|
|
3468
|
+
<a link="MultiPoint.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="MultiPoint" MultiPoint.html>MultiPoint</a>
|
|
3469
|
+
|
|
3470
|
+
</span>
|
|
3341
3471
|
|
|
|
3342
3472
|
|
|
3343
|
-
<span class="param-type"
|
|
3473
|
+
<span class="param-type">
|
|
3474
|
+
|
|
3475
|
+
<a link="MultiLineString.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="MultiLineString" MultiLineString.html>MultiLineString</a>
|
|
3476
|
+
|
|
3477
|
+
</span>
|
|
3344
3478
|
|
|
|
3345
3479
|
|
|
3346
|
-
<span class="param-type"
|
|
3480
|
+
<span class="param-type">
|
|
3481
|
+
|
|
3482
|
+
<a link="MultiPolygon.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="MultiPolygon" MultiPolygon.html>MultiPolygon</a>
|
|
3483
|
+
|
|
3484
|
+
</span>
|
|
3347
3485
|
|
|
|
3348
3486
|
|
|
3349
|
-
<span class="param-type"
|
|
3487
|
+
<span class="param-type">
|
|
3488
|
+
|
|
3489
|
+
<a link="Circle.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Circle" Circle.html>Circle</a>
|
|
3490
|
+
|
|
3491
|
+
</span>
|
|
3350
3492
|
|
|
|
3351
3493
|
|
|
3352
|
-
<span class="param-type"
|
|
3494
|
+
<span class="param-type">
|
|
3495
|
+
|
|
3496
|
+
<a link="Extent.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Extent" Extent.html>Extent</a>
|
|
3497
|
+
|
|
3498
|
+
</span>
|
|
3353
3499
|
|
|
3354
3500
|
|
|
3355
3501
|
|
|
@@ -3368,13 +3514,17 @@ console.log("是否相离:", isIntersect)</code></pre>
|
|
|
3368
3514
|
|
|
3369
3515
|
<tr class="deep-level-0">
|
|
3370
3516
|
|
|
3371
|
-
<td class="name"
|
|
3517
|
+
<td class="name"><code>unit</code></td>
|
|
3372
3518
|
|
|
3373
3519
|
|
|
3374
3520
|
<td class="type">
|
|
3375
3521
|
|
|
3376
3522
|
|
|
3377
|
-
<span class="param-type">
|
|
3523
|
+
<span class="param-type">
|
|
3524
|
+
|
|
3525
|
+
String
|
|
3526
|
+
|
|
3527
|
+
</span>
|
|
3378
3528
|
|
|
3379
3529
|
|
|
3380
3530
|
|
|
@@ -3463,7 +3613,11 @@ console.log("是否相离:", isIntersect)</code></pre>
|
|
|
3463
3613
|
<div class='column is-5 has-text-left'>
|
|
3464
3614
|
<label>类型: </label>
|
|
3465
3615
|
|
|
3466
|
-
<span class="param-type">
|
|
3616
|
+
<span class="param-type">
|
|
3617
|
+
|
|
3618
|
+
Number
|
|
3619
|
+
|
|
3620
|
+
</span>
|
|
3467
3621
|
|
|
3468
3622
|
|
|
3469
3623
|
|
|
@@ -3620,13 +3774,17 @@ console.log("点和面求距离:", pointToPolygonDistance)</code></pre>
|
|
|
3620
3774
|
|
|
3621
3775
|
<tr class="deep-level-0">
|
|
3622
3776
|
|
|
3623
|
-
<td class="name"
|
|
3777
|
+
<td class="name"><code>geometry1</code></td>
|
|
3624
3778
|
|
|
3625
3779
|
|
|
3626
3780
|
<td class="type">
|
|
3627
3781
|
|
|
3628
3782
|
|
|
3629
|
-
<span class="param-type"
|
|
3783
|
+
<span class="param-type">
|
|
3784
|
+
|
|
3785
|
+
<a link="Geometry.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Geometry" Geometry.html>Geometry</a>
|
|
3786
|
+
|
|
3787
|
+
</span>
|
|
3630
3788
|
|
|
3631
3789
|
|
|
3632
3790
|
|
|
@@ -3651,13 +3809,17 @@ console.log("点和面求距离:", pointToPolygonDistance)</code></pre>
|
|
|
3651
3809
|
|
|
3652
3810
|
<tr class="deep-level-0">
|
|
3653
3811
|
|
|
3654
|
-
<td class="name"
|
|
3812
|
+
<td class="name"><code>geometry2</code></td>
|
|
3655
3813
|
|
|
3656
3814
|
|
|
3657
3815
|
<td class="type">
|
|
3658
3816
|
|
|
3659
3817
|
|
|
3660
|
-
<span class="param-type"
|
|
3818
|
+
<span class="param-type">
|
|
3819
|
+
|
|
3820
|
+
<a link="Geometry.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Geometry" Geometry.html>Geometry</a>
|
|
3821
|
+
|
|
3822
|
+
</span>
|
|
3661
3823
|
|
|
3662
3824
|
|
|
3663
3825
|
|
|
@@ -3752,7 +3914,11 @@ console.log("点和面求距离:", pointToPolygonDistance)</code></pre>
|
|
|
3752
3914
|
<div class='column is-5 has-text-left'>
|
|
3753
3915
|
<label>类型: </label>
|
|
3754
3916
|
|
|
3755
|
-
<span class="param-type">
|
|
3917
|
+
<span class="param-type">
|
|
3918
|
+
|
|
3919
|
+
Boolean
|
|
3920
|
+
|
|
3921
|
+
</span>
|
|
3756
3922
|
|
|
3757
3923
|
|
|
3758
3924
|
|
|
@@ -3845,13 +4011,17 @@ console.log("点和点是否相同:", isEquals)</code></pre>
|
|
|
3845
4011
|
|
|
3846
4012
|
<tr class="deep-level-0">
|
|
3847
4013
|
|
|
3848
|
-
<td class="name"
|
|
4014
|
+
<td class="name"><code>geometry</code></td>
|
|
3849
4015
|
|
|
3850
4016
|
|
|
3851
4017
|
<td class="type">
|
|
3852
4018
|
|
|
3853
4019
|
|
|
3854
|
-
<span class="param-type"
|
|
4020
|
+
<span class="param-type">
|
|
4021
|
+
|
|
4022
|
+
<a link="LineString.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="LineString" LineString.html>LineString</a>
|
|
4023
|
+
|
|
4024
|
+
</span>
|
|
3855
4025
|
|
|
3856
4026
|
|
|
3857
4027
|
|
|
@@ -3876,13 +4046,17 @@ console.log("点和点是否相同:", isEquals)</code></pre>
|
|
|
3876
4046
|
|
|
3877
4047
|
<tr class="deep-level-0">
|
|
3878
4048
|
|
|
3879
|
-
<td class="name"
|
|
4049
|
+
<td class="name"><code>unit</code></td>
|
|
3880
4050
|
|
|
3881
4051
|
|
|
3882
4052
|
<td class="type">
|
|
3883
4053
|
|
|
3884
4054
|
|
|
3885
|
-
<span class="param-type"
|
|
4055
|
+
<span class="param-type">
|
|
4056
|
+
|
|
4057
|
+
<a link="LengthUnit.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="LengthUnit" global.html#LengthUnit>LengthUnit</a>
|
|
4058
|
+
|
|
4059
|
+
</span>
|
|
3886
4060
|
|
|
3887
4061
|
|
|
3888
4062
|
|
|
@@ -3977,7 +4151,11 @@ console.log("点和点是否相同:", isEquals)</code></pre>
|
|
|
3977
4151
|
<div class='column is-5 has-text-left'>
|
|
3978
4152
|
<label>类型: </label>
|
|
3979
4153
|
|
|
3980
|
-
<span class="param-type">
|
|
4154
|
+
<span class="param-type">
|
|
4155
|
+
|
|
4156
|
+
Number
|
|
4157
|
+
|
|
4158
|
+
</span>
|
|
3981
4159
|
|
|
3982
4160
|
|
|
3983
4161
|
|
|
@@ -4054,13 +4232,17 @@ console.log("点和点是否相同:", isEquals)</code></pre>
|
|
|
4054
4232
|
|
|
4055
4233
|
<tr class="deep-level-0">
|
|
4056
4234
|
|
|
4057
|
-
<td class="name"
|
|
4235
|
+
<td class="name"><code>pointA</code></td>
|
|
4058
4236
|
|
|
4059
4237
|
|
|
4060
4238
|
<td class="type">
|
|
4061
4239
|
|
|
4062
4240
|
|
|
4063
|
-
<span class="param-type">
|
|
4241
|
+
<span class="param-type">
|
|
4242
|
+
|
|
4243
|
+
Array.<Number>
|
|
4244
|
+
|
|
4245
|
+
</span>
|
|
4064
4246
|
|
|
4065
4247
|
|
|
4066
4248
|
|
|
@@ -4079,13 +4261,17 @@ console.log("点和点是否相同:", isEquals)</code></pre>
|
|
|
4079
4261
|
|
|
4080
4262
|
<tr class="deep-level-0">
|
|
4081
4263
|
|
|
4082
|
-
<td class="name"
|
|
4264
|
+
<td class="name"><code>pointB</code></td>
|
|
4083
4265
|
|
|
4084
4266
|
|
|
4085
4267
|
<td class="type">
|
|
4086
4268
|
|
|
4087
4269
|
|
|
4088
|
-
<span class="param-type">
|
|
4270
|
+
<span class="param-type">
|
|
4271
|
+
|
|
4272
|
+
Array.<Number>
|
|
4273
|
+
|
|
4274
|
+
</span>
|
|
4089
4275
|
|
|
4090
4276
|
|
|
4091
4277
|
|
|
@@ -4104,13 +4290,17 @@ console.log("点和点是否相同:", isEquals)</code></pre>
|
|
|
4104
4290
|
|
|
4105
4291
|
<tr class="deep-level-0">
|
|
4106
4292
|
|
|
4107
|
-
<td class="name"
|
|
4293
|
+
<td class="name"><code>pointC</code></td>
|
|
4108
4294
|
|
|
4109
4295
|
|
|
4110
4296
|
<td class="type">
|
|
4111
4297
|
|
|
4112
4298
|
|
|
4113
|
-
<span class="param-type">
|
|
4299
|
+
<span class="param-type">
|
|
4300
|
+
|
|
4301
|
+
Array.<Number>
|
|
4302
|
+
|
|
4303
|
+
</span>
|
|
4114
4304
|
|
|
4115
4305
|
|
|
4116
4306
|
|
|
@@ -4199,7 +4389,11 @@ console.log("点和点是否相同:", isEquals)</code></pre>
|
|
|
4199
4389
|
<div class='column is-5 has-text-left'>
|
|
4200
4390
|
<label>类型: </label>
|
|
4201
4391
|
|
|
4202
|
-
<span class="param-type">
|
|
4392
|
+
<span class="param-type">
|
|
4393
|
+
|
|
4394
|
+
Number
|
|
4395
|
+
|
|
4396
|
+
</span>
|
|
4203
4397
|
|
|
4204
4398
|
|
|
4205
4399
|
|
|
@@ -4292,13 +4486,17 @@ const angle = GeometryEngine.getAngleFromPoints([1, 2], [1, 1], [2, 1])</code></
|
|
|
4292
4486
|
|
|
4293
4487
|
<tr class="deep-level-0">
|
|
4294
4488
|
|
|
4295
|
-
<td class="name"
|
|
4489
|
+
<td class="name"><code>options</code></td>
|
|
4296
4490
|
|
|
4297
4491
|
|
|
4298
4492
|
<td class="type">
|
|
4299
4493
|
|
|
4300
4494
|
|
|
4301
|
-
<span class="param-type">
|
|
4495
|
+
<span class="param-type">
|
|
4496
|
+
|
|
4497
|
+
Object
|
|
4498
|
+
|
|
4499
|
+
</span>
|
|
4302
4500
|
|
|
4303
4501
|
|
|
4304
4502
|
|
|
@@ -4319,22 +4517,38 @@ const angle = GeometryEngine.getAngleFromPoints([1, 2], [1, 1], [2, 1])</code></
|
|
|
4319
4517
|
|
|
4320
4518
|
<tr class="deep-level-1">
|
|
4321
4519
|
|
|
4322
|
-
<td class="name"
|
|
4520
|
+
<td class="name"><code>geometry</code></td>
|
|
4323
4521
|
|
|
4324
4522
|
|
|
4325
4523
|
<td class="type">
|
|
4326
4524
|
|
|
4327
4525
|
|
|
4328
|
-
<span class="param-type"
|
|
4526
|
+
<span class="param-type">
|
|
4527
|
+
|
|
4528
|
+
<a link="LineString.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="LineString" LineString.html>LineString</a>
|
|
4529
|
+
|
|
4530
|
+
</span>
|
|
4329
4531
|
|
|
|
4330
4532
|
|
|
4331
|
-
<span class="param-type"
|
|
4533
|
+
<span class="param-type">
|
|
4534
|
+
|
|
4535
|
+
<a link="MultiLineString.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="MultiLineString" MultiLineString.html>MultiLineString</a>
|
|
4536
|
+
|
|
4537
|
+
</span>
|
|
4332
4538
|
|
|
|
4333
4539
|
|
|
4334
|
-
<span class="param-type"
|
|
4540
|
+
<span class="param-type">
|
|
4541
|
+
|
|
4542
|
+
<a link="Polygon.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Polygon" Polygon.html>Polygon</a>
|
|
4543
|
+
|
|
4544
|
+
</span>
|
|
4335
4545
|
|
|
|
4336
4546
|
|
|
4337
|
-
<span class="param-type"
|
|
4547
|
+
<span class="param-type">
|
|
4548
|
+
|
|
4549
|
+
<a link="MultiPolygon.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="MultiPolygon" MultiPolygon.html>MultiPolygon</a>
|
|
4550
|
+
|
|
4551
|
+
</span>
|
|
4338
4552
|
|
|
4339
4553
|
|
|
4340
4554
|
|
|
@@ -4357,13 +4571,17 @@ const angle = GeometryEngine.getAngleFromPoints([1, 2], [1, 1], [2, 1])</code></
|
|
|
4357
4571
|
|
|
4358
4572
|
<tr class="deep-level-1">
|
|
4359
4573
|
|
|
4360
|
-
<td class="name"
|
|
4574
|
+
<td class="name"><code>arcInfo</code></td>
|
|
4361
4575
|
|
|
4362
4576
|
|
|
4363
4577
|
<td class="type">
|
|
4364
4578
|
|
|
4365
4579
|
|
|
4366
|
-
<span class="param-type">
|
|
4580
|
+
<span class="param-type">
|
|
4581
|
+
|
|
4582
|
+
Array.<Object>
|
|
4583
|
+
|
|
4584
|
+
</span>
|
|
4367
4585
|
|
|
4368
4586
|
|
|
4369
4587
|
|
|
@@ -4386,13 +4604,17 @@ const angle = GeometryEngine.getAngleFromPoints([1, 2], [1, 1], [2, 1])</code></
|
|
|
4386
4604
|
|
|
4387
4605
|
<tr class="deep-level-1">
|
|
4388
4606
|
|
|
4389
|
-
<td class="name"
|
|
4607
|
+
<td class="name"><code>numberOfPoints</code></td>
|
|
4390
4608
|
|
|
4391
4609
|
|
|
4392
4610
|
<td class="type">
|
|
4393
4611
|
|
|
4394
4612
|
|
|
4395
|
-
<span class="param-type">
|
|
4613
|
+
<span class="param-type">
|
|
4614
|
+
|
|
4615
|
+
Number
|
|
4616
|
+
|
|
4617
|
+
</span>
|
|
4396
4618
|
|
|
4397
4619
|
|
|
4398
4620
|
|
|
@@ -4491,16 +4713,32 @@ const angle = GeometryEngine.getAngleFromPoints([1, 2], [1, 1], [2, 1])</code></
|
|
|
4491
4713
|
<div class='column is-5 has-text-left'>
|
|
4492
4714
|
<label>类型: </label>
|
|
4493
4715
|
|
|
4494
|
-
<span class="param-type"
|
|
4716
|
+
<span class="param-type">
|
|
4717
|
+
|
|
4718
|
+
<a link="LineString.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="LineString" LineString.html>LineString</a>
|
|
4719
|
+
|
|
4720
|
+
</span>
|
|
4495
4721
|
|
|
|
4496
4722
|
|
|
4497
|
-
<span class="param-type"
|
|
4723
|
+
<span class="param-type">
|
|
4724
|
+
|
|
4725
|
+
<a link="MultiLineString.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="MultiLineString" MultiLineString.html>MultiLineString</a>
|
|
4726
|
+
|
|
4727
|
+
</span>
|
|
4498
4728
|
|
|
|
4499
4729
|
|
|
4500
|
-
<span class="param-type"
|
|
4730
|
+
<span class="param-type">
|
|
4731
|
+
|
|
4732
|
+
<a link="Polygon.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Polygon" Polygon.html>Polygon</a>
|
|
4733
|
+
|
|
4734
|
+
</span>
|
|
4501
4735
|
|
|
|
4502
4736
|
|
|
4503
|
-
<span class="param-type"
|
|
4737
|
+
<span class="param-type">
|
|
4738
|
+
|
|
4739
|
+
<a link="MultiPolygon.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="MultiPolygon" MultiPolygon.html>MultiPolygon</a>
|
|
4740
|
+
|
|
4741
|
+
</span>
|
|
4504
4742
|
|
|
4505
4743
|
|
|
4506
4744
|
|
|
@@ -4631,13 +4869,17 @@ const arcLine = GeometryEngine.getArcFromGeometry({
|
|
|
4631
4869
|
|
|
4632
4870
|
<tr class="deep-level-0">
|
|
4633
4871
|
|
|
4634
|
-
<td class="name"
|
|
4872
|
+
<td class="name"><code>point1</code></td>
|
|
4635
4873
|
|
|
4636
4874
|
|
|
4637
4875
|
<td class="type">
|
|
4638
4876
|
|
|
4639
4877
|
|
|
4640
|
-
<span class="param-type">
|
|
4878
|
+
<span class="param-type">
|
|
4879
|
+
|
|
4880
|
+
Array.<Number>
|
|
4881
|
+
|
|
4882
|
+
</span>
|
|
4641
4883
|
|
|
4642
4884
|
|
|
4643
4885
|
|
|
@@ -4656,13 +4898,17 @@ const arcLine = GeometryEngine.getArcFromGeometry({
|
|
|
4656
4898
|
|
|
4657
4899
|
<tr class="deep-level-0">
|
|
4658
4900
|
|
|
4659
|
-
<td class="name"
|
|
4901
|
+
<td class="name"><code>point2</code></td>
|
|
4660
4902
|
|
|
4661
4903
|
|
|
4662
4904
|
<td class="type">
|
|
4663
4905
|
|
|
4664
4906
|
|
|
4665
|
-
<span class="param-type">
|
|
4907
|
+
<span class="param-type">
|
|
4908
|
+
|
|
4909
|
+
Array.<Number>
|
|
4910
|
+
|
|
4911
|
+
</span>
|
|
4666
4912
|
|
|
4667
4913
|
|
|
4668
4914
|
|
|
@@ -4681,13 +4927,17 @@ const arcLine = GeometryEngine.getArcFromGeometry({
|
|
|
4681
4927
|
|
|
4682
4928
|
<tr class="deep-level-0">
|
|
4683
4929
|
|
|
4684
|
-
<td class="name"
|
|
4930
|
+
<td class="name"><code>point3</code></td>
|
|
4685
4931
|
|
|
4686
4932
|
|
|
4687
4933
|
<td class="type">
|
|
4688
4934
|
|
|
4689
4935
|
|
|
4690
|
-
<span class="param-type">
|
|
4936
|
+
<span class="param-type">
|
|
4937
|
+
|
|
4938
|
+
Array.<Number>
|
|
4939
|
+
|
|
4940
|
+
</span>
|
|
4691
4941
|
|
|
4692
4942
|
|
|
4693
4943
|
|
|
@@ -4706,13 +4956,17 @@ const arcLine = GeometryEngine.getArcFromGeometry({
|
|
|
4706
4956
|
|
|
4707
4957
|
<tr class="deep-level-0">
|
|
4708
4958
|
|
|
4709
|
-
<td class="name"
|
|
4959
|
+
<td class="name"><code>hasZ</code></td>
|
|
4710
4960
|
|
|
4711
4961
|
|
|
4712
4962
|
<td class="type">
|
|
4713
4963
|
|
|
4714
4964
|
|
|
4715
|
-
<span class="param-type">
|
|
4965
|
+
<span class="param-type">
|
|
4966
|
+
|
|
4967
|
+
Boolean
|
|
4968
|
+
|
|
4969
|
+
</span>
|
|
4716
4970
|
|
|
4717
4971
|
|
|
4718
4972
|
|
|
@@ -4801,7 +5055,11 @@ const arcLine = GeometryEngine.getArcFromGeometry({
|
|
|
4801
5055
|
<div class='column is-5 has-text-left'>
|
|
4802
5056
|
<label>类型: </label>
|
|
4803
5057
|
|
|
4804
|
-
<span class="param-type">
|
|
5058
|
+
<span class="param-type">
|
|
5059
|
+
|
|
5060
|
+
Array.<Number>
|
|
5061
|
+
|
|
5062
|
+
</span>
|
|
4805
5063
|
|
|
4806
5064
|
|
|
4807
5065
|
|
|
@@ -4892,28 +5150,52 @@ const center = GeometryEngine.getCenter([1, 2], [2, 1], [1, 0])</code></pre>
|
|
|
4892
5150
|
|
|
4893
5151
|
<tr class="deep-level-0">
|
|
4894
5152
|
|
|
4895
|
-
<td class="name"
|
|
5153
|
+
<td class="name"><code>geometry</code></td>
|
|
4896
5154
|
|
|
4897
5155
|
|
|
4898
5156
|
<td class="type">
|
|
4899
5157
|
|
|
4900
5158
|
|
|
4901
|
-
<span class="param-type"
|
|
5159
|
+
<span class="param-type">
|
|
5160
|
+
|
|
5161
|
+
<a link="Point.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Point" Point.html>Point</a>
|
|
5162
|
+
|
|
5163
|
+
</span>
|
|
4902
5164
|
|
|
|
4903
5165
|
|
|
4904
|
-
<span class="param-type"
|
|
5166
|
+
<span class="param-type">
|
|
5167
|
+
|
|
5168
|
+
<a link="MultiPoint.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="MultiPoint" MultiPoint.html>MultiPoint</a>
|
|
5169
|
+
|
|
5170
|
+
</span>
|
|
4905
5171
|
|
|
|
4906
5172
|
|
|
4907
|
-
<span class="param-type"
|
|
5173
|
+
<span class="param-type">
|
|
5174
|
+
|
|
5175
|
+
<a link="LineString.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="LineString" LineString.html>LineString</a>
|
|
5176
|
+
|
|
5177
|
+
</span>
|
|
4908
5178
|
|
|
|
4909
5179
|
|
|
4910
|
-
<span class="param-type"
|
|
5180
|
+
<span class="param-type">
|
|
5181
|
+
|
|
5182
|
+
<a link="Polygon.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Polygon" Polygon.html>Polygon</a>
|
|
5183
|
+
|
|
5184
|
+
</span>
|
|
4911
5185
|
|
|
|
4912
5186
|
|
|
4913
|
-
<span class="param-type"
|
|
5187
|
+
<span class="param-type">
|
|
5188
|
+
|
|
5189
|
+
<a link="Extent.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Extent" Extent.html>Extent</a>
|
|
5190
|
+
|
|
5191
|
+
</span>
|
|
4914
5192
|
|
|
|
4915
5193
|
|
|
4916
|
-
<span class="param-type"
|
|
5194
|
+
<span class="param-type">
|
|
5195
|
+
|
|
5196
|
+
<a link="Circle.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Circle" Circle.html>Circle</a>
|
|
5197
|
+
|
|
5198
|
+
</span>
|
|
4917
5199
|
|
|
4918
5200
|
|
|
4919
5201
|
|
|
@@ -5002,7 +5284,11 @@ const center = GeometryEngine.getCenter([1, 2], [2, 1], [1, 0])</code></pre>
|
|
|
5002
5284
|
<div class='column is-5 has-text-left'>
|
|
5003
5285
|
<label>类型: </label>
|
|
5004
5286
|
|
|
5005
|
-
<span class="param-type"
|
|
5287
|
+
<span class="param-type">
|
|
5288
|
+
|
|
5289
|
+
<a link="Point.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Point" Point.html>Point</a>
|
|
5290
|
+
|
|
5291
|
+
</span>
|
|
5006
5292
|
|
|
5007
5293
|
|
|
5008
5294
|
|
|
@@ -5079,13 +5365,17 @@ const center = GeometryEngine.getCenter([1, 2], [2, 1], [1, 0])</code></pre>
|
|
|
5079
5365
|
|
|
5080
5366
|
<tr class="deep-level-0">
|
|
5081
5367
|
|
|
5082
|
-
<td class="name"
|
|
5368
|
+
<td class="name"><code>center</code></td>
|
|
5083
5369
|
|
|
5084
5370
|
|
|
5085
5371
|
<td class="type">
|
|
5086
5372
|
|
|
5087
5373
|
|
|
5088
|
-
<span class="param-type"
|
|
5374
|
+
<span class="param-type">
|
|
5375
|
+
|
|
5376
|
+
<a link="Point.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Point" Point.html>Point</a>
|
|
5377
|
+
|
|
5378
|
+
</span>
|
|
5089
5379
|
|
|
5090
5380
|
|
|
5091
5381
|
|
|
@@ -5104,13 +5394,17 @@ const center = GeometryEngine.getCenter([1, 2], [2, 1], [1, 0])</code></pre>
|
|
|
5104
5394
|
|
|
5105
5395
|
<tr class="deep-level-0">
|
|
5106
5396
|
|
|
5107
|
-
<td class="name"
|
|
5397
|
+
<td class="name"><code>semiMajorAxis</code></td>
|
|
5108
5398
|
|
|
5109
5399
|
|
|
5110
5400
|
<td class="type">
|
|
5111
5401
|
|
|
5112
5402
|
|
|
5113
|
-
<span class="param-type">
|
|
5403
|
+
<span class="param-type">
|
|
5404
|
+
|
|
5405
|
+
Number
|
|
5406
|
+
|
|
5407
|
+
</span>
|
|
5114
5408
|
|
|
5115
5409
|
|
|
5116
5410
|
|
|
@@ -5129,13 +5423,17 @@ const center = GeometryEngine.getCenter([1, 2], [2, 1], [1, 0])</code></pre>
|
|
|
5129
5423
|
|
|
5130
5424
|
<tr class="deep-level-0">
|
|
5131
5425
|
|
|
5132
|
-
<td class="name"
|
|
5426
|
+
<td class="name"><code>semiMinorAxis</code></td>
|
|
5133
5427
|
|
|
5134
5428
|
|
|
5135
5429
|
<td class="type">
|
|
5136
5430
|
|
|
5137
5431
|
|
|
5138
|
-
<span class="param-type">
|
|
5432
|
+
<span class="param-type">
|
|
5433
|
+
|
|
5434
|
+
Number
|
|
5435
|
+
|
|
5436
|
+
</span>
|
|
5139
5437
|
|
|
5140
5438
|
|
|
5141
5439
|
|
|
@@ -5154,13 +5452,17 @@ const center = GeometryEngine.getCenter([1, 2], [2, 1], [1, 0])</code></pre>
|
|
|
5154
5452
|
|
|
5155
5453
|
<tr class="deep-level-0">
|
|
5156
5454
|
|
|
5157
|
-
<td class="name"
|
|
5455
|
+
<td class="name"><code>number</code></td>
|
|
5158
5456
|
|
|
5159
5457
|
|
|
5160
5458
|
<td class="type">
|
|
5161
5459
|
|
|
5162
5460
|
|
|
5163
|
-
<span class="param-type">
|
|
5461
|
+
<span class="param-type">
|
|
5462
|
+
|
|
5463
|
+
Number
|
|
5464
|
+
|
|
5465
|
+
</span>
|
|
5164
5466
|
|
|
5165
5467
|
|
|
5166
5468
|
|
|
@@ -5249,7 +5551,11 @@ const center = GeometryEngine.getCenter([1, 2], [2, 1], [1, 0])</code></pre>
|
|
|
5249
5551
|
<div class='column is-5 has-text-left'>
|
|
5250
5552
|
<label>类型: </label>
|
|
5251
5553
|
|
|
5252
|
-
<span class="param-type">
|
|
5554
|
+
<span class="param-type">
|
|
5555
|
+
|
|
5556
|
+
Array
|
|
5557
|
+
|
|
5558
|
+
</span>
|
|
5253
5559
|
|
|
5254
5560
|
|
|
5255
5561
|
|
|
@@ -5328,13 +5634,17 @@ const center = GeometryEngine.getCenter([1, 2], [2, 1], [1, 0])</code></pre>
|
|
|
5328
5634
|
|
|
5329
5635
|
<tr class="deep-level-0">
|
|
5330
5636
|
|
|
5331
|
-
<td class="name"
|
|
5637
|
+
<td class="name"><code>options</code></td>
|
|
5332
5638
|
|
|
5333
5639
|
|
|
5334
5640
|
<td class="type">
|
|
5335
5641
|
|
|
5336
5642
|
|
|
5337
|
-
<span class="param-type">
|
|
5643
|
+
<span class="param-type">
|
|
5644
|
+
|
|
5645
|
+
Object
|
|
5646
|
+
|
|
5647
|
+
</span>
|
|
5338
5648
|
|
|
5339
5649
|
|
|
5340
5650
|
|
|
@@ -5355,16 +5665,24 @@ const center = GeometryEngine.getCenter([1, 2], [2, 1], [1, 0])</code></pre>
|
|
|
5355
5665
|
|
|
5356
5666
|
<tr class="deep-level-1">
|
|
5357
5667
|
|
|
5358
|
-
<td class="name"
|
|
5668
|
+
<td class="name"><code>point1</code></td>
|
|
5359
5669
|
|
|
5360
5670
|
|
|
5361
5671
|
<td class="type">
|
|
5362
5672
|
|
|
5363
5673
|
|
|
5364
|
-
<span class="param-type"
|
|
5674
|
+
<span class="param-type">
|
|
5675
|
+
|
|
5676
|
+
<a link="Point.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Point" Point.html>Point</a>
|
|
5677
|
+
|
|
5678
|
+
</span>
|
|
5365
5679
|
|
|
|
5366
5680
|
|
|
5367
|
-
<span class="param-type">
|
|
5681
|
+
<span class="param-type">
|
|
5682
|
+
|
|
5683
|
+
Array.<Number>
|
|
5684
|
+
|
|
5685
|
+
</span>
|
|
5368
5686
|
|
|
5369
5687
|
|
|
5370
5688
|
|
|
@@ -5385,16 +5703,24 @@ const center = GeometryEngine.getCenter([1, 2], [2, 1], [1, 0])</code></pre>
|
|
|
5385
5703
|
|
|
5386
5704
|
<tr class="deep-level-1">
|
|
5387
5705
|
|
|
5388
|
-
<td class="name"
|
|
5706
|
+
<td class="name"><code>point2</code></td>
|
|
5389
5707
|
|
|
5390
5708
|
|
|
5391
5709
|
<td class="type">
|
|
5392
5710
|
|
|
5393
5711
|
|
|
5394
|
-
<span class="param-type"
|
|
5712
|
+
<span class="param-type">
|
|
5713
|
+
|
|
5714
|
+
<a link="Point.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Point" Point.html>Point</a>
|
|
5715
|
+
|
|
5716
|
+
</span>
|
|
5395
5717
|
|
|
|
5396
5718
|
|
|
5397
|
-
<span class="param-type">
|
|
5719
|
+
<span class="param-type">
|
|
5720
|
+
|
|
5721
|
+
Array.<Number>
|
|
5722
|
+
|
|
5723
|
+
</span>
|
|
5398
5724
|
|
|
5399
5725
|
|
|
5400
5726
|
|
|
@@ -5415,16 +5741,24 @@ const center = GeometryEngine.getCenter([1, 2], [2, 1], [1, 0])</code></pre>
|
|
|
5415
5741
|
|
|
5416
5742
|
<tr class="deep-level-1">
|
|
5417
5743
|
|
|
5418
|
-
<td class="name"
|
|
5744
|
+
<td class="name"><code>point3</code></td>
|
|
5419
5745
|
|
|
5420
5746
|
|
|
5421
5747
|
<td class="type">
|
|
5422
5748
|
|
|
5423
5749
|
|
|
5424
|
-
<span class="param-type"
|
|
5750
|
+
<span class="param-type">
|
|
5751
|
+
|
|
5752
|
+
<a link="Point.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Point" Point.html>Point</a>
|
|
5753
|
+
|
|
5754
|
+
</span>
|
|
5425
5755
|
|
|
|
5426
5756
|
|
|
5427
|
-
<span class="param-type">
|
|
5757
|
+
<span class="param-type">
|
|
5758
|
+
|
|
5759
|
+
Array.<Number>
|
|
5760
|
+
|
|
5761
|
+
</span>
|
|
5428
5762
|
|
|
5429
5763
|
|
|
5430
5764
|
|
|
@@ -5445,13 +5779,17 @@ const center = GeometryEngine.getCenter([1, 2], [2, 1], [1, 0])</code></pre>
|
|
|
5445
5779
|
|
|
5446
5780
|
<tr class="deep-level-1">
|
|
5447
5781
|
|
|
5448
|
-
<td class="name"
|
|
5782
|
+
<td class="name"><code>numberOfPoints</code></td>
|
|
5449
5783
|
|
|
5450
5784
|
|
|
5451
5785
|
<td class="type">
|
|
5452
5786
|
|
|
5453
5787
|
|
|
5454
|
-
<span class="param-type">
|
|
5788
|
+
<span class="param-type">
|
|
5789
|
+
|
|
5790
|
+
Number
|
|
5791
|
+
|
|
5792
|
+
</span>
|
|
5455
5793
|
|
|
5456
5794
|
|
|
5457
5795
|
|
|
@@ -5475,13 +5813,17 @@ const center = GeometryEngine.getCenter([1, 2], [2, 1], [1, 0])</code></pre>
|
|
|
5475
5813
|
|
|
5476
5814
|
<tr class="deep-level-1">
|
|
5477
5815
|
|
|
5478
|
-
<td class="name"
|
|
5816
|
+
<td class="name"><code>spatialReference</code></td>
|
|
5479
5817
|
|
|
5480
5818
|
|
|
5481
5819
|
<td class="type">
|
|
5482
5820
|
|
|
5483
5821
|
|
|
5484
|
-
<span class="param-type"
|
|
5822
|
+
<span class="param-type">
|
|
5823
|
+
|
|
5824
|
+
<a link="SpatialReference.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="SpatialReference" SpatialReference.html>SpatialReference</a>
|
|
5825
|
+
|
|
5826
|
+
</span>
|
|
5485
5827
|
|
|
5486
5828
|
|
|
5487
5829
|
|
|
@@ -5579,7 +5921,11 @@ const center = GeometryEngine.getCenter([1, 2], [2, 1], [1, 0])</code></pre>
|
|
|
5579
5921
|
<div class='column is-5 has-text-left'>
|
|
5580
5922
|
<label>类型: </label>
|
|
5581
5923
|
|
|
5582
|
-
<span class="param-type">
|
|
5924
|
+
<span class="param-type">
|
|
5925
|
+
|
|
5926
|
+
Array
|
|
5927
|
+
|
|
5928
|
+
</span>
|
|
5583
5929
|
|
|
5584
5930
|
|
|
5585
5931
|
|
|
@@ -5687,16 +6033,24 @@ const arc3Path = GeometryEngine.getPositionsFromArc({
|
|
|
5687
6033
|
|
|
5688
6034
|
<tr class="deep-level-0">
|
|
5689
6035
|
|
|
5690
|
-
<td class="name"
|
|
6036
|
+
<td class="name"><code>geometry1</code></td>
|
|
5691
6037
|
|
|
5692
6038
|
|
|
5693
6039
|
<td class="type">
|
|
5694
6040
|
|
|
5695
6041
|
|
|
5696
|
-
<span class="param-type"
|
|
6042
|
+
<span class="param-type">
|
|
6043
|
+
|
|
6044
|
+
<a link="Geometry.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Geometry" Geometry.html>Geometry</a>
|
|
6045
|
+
|
|
6046
|
+
</span>
|
|
5697
6047
|
|
|
|
5698
6048
|
|
|
5699
|
-
<span class="param-type">
|
|
6049
|
+
<span class="param-type">
|
|
6050
|
+
|
|
6051
|
+
Array.<<a onclick="getTypeHTML(event)" link="Geometry.html">Geometry</a>>
|
|
6052
|
+
|
|
6053
|
+
</span>
|
|
5700
6054
|
|
|
5701
6055
|
|
|
5702
6056
|
|
|
@@ -5715,13 +6069,17 @@ const arc3Path = GeometryEngine.getPositionsFromArc({
|
|
|
5715
6069
|
|
|
5716
6070
|
<tr class="deep-level-0">
|
|
5717
6071
|
|
|
5718
|
-
<td class="name"
|
|
6072
|
+
<td class="name"><code>geometry2</code></td>
|
|
5719
6073
|
|
|
5720
6074
|
|
|
5721
6075
|
<td class="type">
|
|
5722
6076
|
|
|
5723
6077
|
|
|
5724
|
-
<span class="param-type"
|
|
6078
|
+
<span class="param-type">
|
|
6079
|
+
|
|
6080
|
+
<a link="Geometry.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Geometry" Geometry.html>Geometry</a>
|
|
6081
|
+
|
|
6082
|
+
</span>
|
|
5725
6083
|
|
|
5726
6084
|
|
|
5727
6085
|
|
|
@@ -5810,10 +6168,18 @@ const arc3Path = GeometryEngine.getPositionsFromArc({
|
|
|
5810
6168
|
<div class='column is-5 has-text-left'>
|
|
5811
6169
|
<label>类型: </label>
|
|
5812
6170
|
|
|
5813
|
-
<span class="param-type"
|
|
6171
|
+
<span class="param-type">
|
|
6172
|
+
|
|
6173
|
+
<a link="Geometry.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Geometry" Geometry.html>Geometry</a>
|
|
6174
|
+
|
|
6175
|
+
</span>
|
|
5814
6176
|
|
|
|
5815
6177
|
|
|
5816
|
-
<span class="param-type">
|
|
6178
|
+
<span class="param-type">
|
|
6179
|
+
|
|
6180
|
+
Array.<<a onclick="getTypeHTML(event)" link="Geometry.html">Geometry</a>>
|
|
6181
|
+
|
|
6182
|
+
</span>
|
|
5817
6183
|
|
|
5818
6184
|
|
|
5819
6185
|
|
|
@@ -5900,13 +6266,17 @@ const arc3Path = GeometryEngine.getPositionsFromArc({
|
|
|
5900
6266
|
|
|
5901
6267
|
<tr class="deep-level-0">
|
|
5902
6268
|
|
|
5903
|
-
<td class="name"
|
|
6269
|
+
<td class="name"><code>geometry1</code></td>
|
|
5904
6270
|
|
|
5905
6271
|
|
|
5906
6272
|
<td class="type">
|
|
5907
6273
|
|
|
5908
6274
|
|
|
5909
|
-
<span class="param-type"
|
|
6275
|
+
<span class="param-type">
|
|
6276
|
+
|
|
6277
|
+
<a link="Geometry.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Geometry" Geometry.html>Geometry</a>
|
|
6278
|
+
|
|
6279
|
+
</span>
|
|
5910
6280
|
|
|
5911
6281
|
|
|
5912
6282
|
|
|
@@ -5931,13 +6301,17 @@ const arc3Path = GeometryEngine.getPositionsFromArc({
|
|
|
5931
6301
|
|
|
5932
6302
|
<tr class="deep-level-0">
|
|
5933
6303
|
|
|
5934
|
-
<td class="name"
|
|
6304
|
+
<td class="name"><code>geometry2</code></td>
|
|
5935
6305
|
|
|
5936
6306
|
|
|
5937
6307
|
<td class="type">
|
|
5938
6308
|
|
|
5939
6309
|
|
|
5940
|
-
<span class="param-type"
|
|
6310
|
+
<span class="param-type">
|
|
6311
|
+
|
|
6312
|
+
<a link="Geometry.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Geometry" Geometry.html>Geometry</a>
|
|
6313
|
+
|
|
6314
|
+
</span>
|
|
5941
6315
|
|
|
5942
6316
|
|
|
5943
6317
|
|
|
@@ -6032,7 +6406,11 @@ const arc3Path = GeometryEngine.getPositionsFromArc({
|
|
|
6032
6406
|
<div class='column is-5 has-text-left'>
|
|
6033
6407
|
<label>类型: </label>
|
|
6034
6408
|
|
|
6035
|
-
<span class="param-type">
|
|
6409
|
+
<span class="param-type">
|
|
6410
|
+
|
|
6411
|
+
Boolean
|
|
6412
|
+
|
|
6413
|
+
</span>
|
|
6036
6414
|
|
|
6037
6415
|
|
|
6038
6416
|
|
|
@@ -6303,22 +6681,38 @@ console.log("是否相交:", isIntersect)</code></pre>
|
|
|
6303
6681
|
|
|
6304
6682
|
<tr class="deep-level-0">
|
|
6305
6683
|
|
|
6306
|
-
<td class="name"
|
|
6684
|
+
<td class="name"><code>geometry</code></td>
|
|
6307
6685
|
|
|
6308
6686
|
|
|
6309
6687
|
<td class="type">
|
|
6310
6688
|
|
|
6311
6689
|
|
|
6312
|
-
<span class="param-type"
|
|
6690
|
+
<span class="param-type">
|
|
6691
|
+
|
|
6692
|
+
<a link="LineString.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="LineString" LineString.html>LineString</a>
|
|
6693
|
+
|
|
6694
|
+
</span>
|
|
6313
6695
|
|
|
|
6314
6696
|
|
|
6315
|
-
<span class="param-type"
|
|
6697
|
+
<span class="param-type">
|
|
6698
|
+
|
|
6699
|
+
<a link="MultiLineString.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="MultiLineString" MultiLineString.html>MultiLineString</a>
|
|
6700
|
+
|
|
6701
|
+
</span>
|
|
6316
6702
|
|
|
|
6317
6703
|
|
|
6318
|
-
<span class="param-type"
|
|
6704
|
+
<span class="param-type">
|
|
6705
|
+
|
|
6706
|
+
<a link="Polygon.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Polygon" Polygon.html>Polygon</a>
|
|
6707
|
+
|
|
6708
|
+
</span>
|
|
6319
6709
|
|
|
|
6320
6710
|
|
|
6321
|
-
<span class="param-type"
|
|
6711
|
+
<span class="param-type">
|
|
6712
|
+
|
|
6713
|
+
<a link="MultiPolygon.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="MultiPolygon" MultiPolygon.html>MultiPolygon</a>
|
|
6714
|
+
|
|
6715
|
+
</span>
|
|
6322
6716
|
|
|
6323
6717
|
|
|
6324
6718
|
|
|
@@ -6407,7 +6801,11 @@ console.log("是否相交:", isIntersect)</code></pre>
|
|
|
6407
6801
|
<div class='column is-5 has-text-left'>
|
|
6408
6802
|
<label>类型: </label>
|
|
6409
6803
|
|
|
6410
|
-
<span class="param-type">
|
|
6804
|
+
<span class="param-type">
|
|
6805
|
+
|
|
6806
|
+
Boolean
|
|
6807
|
+
|
|
6808
|
+
</span>
|
|
6411
6809
|
|
|
6412
6810
|
|
|
6413
6811
|
|
|
@@ -6592,31 +6990,59 @@ console.log("是否通过检查:", isSimple)</code></pre>
|
|
|
6592
6990
|
|
|
6593
6991
|
<tr class="deep-level-0">
|
|
6594
6992
|
|
|
6595
|
-
<td class="name"
|
|
6993
|
+
<td class="name"><code>geometry</code></td>
|
|
6596
6994
|
|
|
6597
6995
|
|
|
6598
6996
|
<td class="type">
|
|
6599
6997
|
|
|
6600
6998
|
|
|
6601
|
-
<span class="param-type"
|
|
6999
|
+
<span class="param-type">
|
|
7000
|
+
|
|
7001
|
+
<a link="LineString.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="LineString" LineString.html>LineString</a>
|
|
7002
|
+
|
|
7003
|
+
</span>
|
|
6602
7004
|
|
|
|
6603
7005
|
|
|
6604
|
-
<span class="param-type"
|
|
7006
|
+
<span class="param-type">
|
|
7007
|
+
|
|
7008
|
+
<a link="Polygon.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Polygon" Polygon.html>Polygon</a>
|
|
7009
|
+
|
|
7010
|
+
</span>
|
|
6605
7011
|
|
|
|
6606
7012
|
|
|
6607
|
-
<span class="param-type"
|
|
7013
|
+
<span class="param-type">
|
|
7014
|
+
|
|
7015
|
+
<a link="MultiPoint.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="MultiPoint" MultiPoint.html>MultiPoint</a>
|
|
7016
|
+
|
|
7017
|
+
</span>
|
|
6608
7018
|
|
|
|
6609
7019
|
|
|
6610
|
-
<span class="param-type"
|
|
7020
|
+
<span class="param-type">
|
|
7021
|
+
|
|
7022
|
+
<a link="MultiLineString.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="MultiLineString" MultiLineString.html>MultiLineString</a>
|
|
7023
|
+
|
|
7024
|
+
</span>
|
|
6611
7025
|
|
|
|
6612
7026
|
|
|
6613
|
-
<span class="param-type"
|
|
7027
|
+
<span class="param-type">
|
|
7028
|
+
|
|
7029
|
+
<a link="MultiPolygon.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="MultiPolygon" MultiPolygon.html>MultiPolygon</a>
|
|
7030
|
+
|
|
7031
|
+
</span>
|
|
6614
7032
|
|
|
|
6615
7033
|
|
|
6616
|
-
<span class="param-type"
|
|
7034
|
+
<span class="param-type">
|
|
7035
|
+
|
|
7036
|
+
<a link="Circle.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Circle" Circle.html>Circle</a>
|
|
7037
|
+
|
|
7038
|
+
</span>
|
|
6617
7039
|
|
|
|
6618
7040
|
|
|
6619
|
-
<span class="param-type"
|
|
7041
|
+
<span class="param-type">
|
|
7042
|
+
|
|
7043
|
+
<a link="Extent.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Extent" Extent.html>Extent</a>
|
|
7044
|
+
|
|
7045
|
+
</span>
|
|
6620
7046
|
|
|
6621
7047
|
|
|
6622
7048
|
|
|
@@ -6635,13 +7061,17 @@ console.log("是否通过检查:", isSimple)</code></pre>
|
|
|
6635
7061
|
|
|
6636
7062
|
<tr class="deep-level-0">
|
|
6637
7063
|
|
|
6638
|
-
<td class="name"
|
|
7064
|
+
<td class="name"><code>inputPoint</code></td>
|
|
6639
7065
|
|
|
6640
7066
|
|
|
6641
7067
|
<td class="type">
|
|
6642
7068
|
|
|
6643
7069
|
|
|
6644
|
-
<span class="param-type"
|
|
7070
|
+
<span class="param-type">
|
|
7071
|
+
|
|
7072
|
+
<a link="Point.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Point" Point.html>Point</a>
|
|
7073
|
+
|
|
7074
|
+
</span>
|
|
6645
7075
|
|
|
6646
7076
|
|
|
6647
7077
|
|
|
@@ -6754,7 +7184,11 @@ console.log("多点到目标点最近点:", pointToMultiPoint);</li>
|
|
|
6754
7184
|
<div class='column is-5 has-text-left'>
|
|
6755
7185
|
<label>类型: </label>
|
|
6756
7186
|
|
|
6757
|
-
<span class="param-type">
|
|
7187
|
+
<span class="param-type">
|
|
7188
|
+
|
|
7189
|
+
Project.<<a onclick="getTypeHTML(event)" link="Point.html">Point</a>>
|
|
7190
|
+
|
|
7191
|
+
</span>
|
|
6758
7192
|
|
|
6759
7193
|
|
|
6760
7194
|
|
|
@@ -6891,13 +7325,17 @@ import { GeometryEngine, Point, Polygon } from "@mapgis/webclient-common"
|
|
|
6891
7325
|
|
|
6892
7326
|
<tr class="deep-level-0">
|
|
6893
7327
|
|
|
6894
|
-
<td class="name"
|
|
7328
|
+
<td class="name"><code>geometry1</code></td>
|
|
6895
7329
|
|
|
6896
7330
|
|
|
6897
7331
|
<td class="type">
|
|
6898
7332
|
|
|
6899
7333
|
|
|
6900
|
-
<span class="param-type"
|
|
7334
|
+
<span class="param-type">
|
|
7335
|
+
|
|
7336
|
+
<a link="Geometry.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Geometry" Geometry.html>Geometry</a>
|
|
7337
|
+
|
|
7338
|
+
</span>
|
|
6901
7339
|
|
|
6902
7340
|
|
|
6903
7341
|
|
|
@@ -6916,13 +7354,17 @@ import { GeometryEngine, Point, Polygon } from "@mapgis/webclient-common"
|
|
|
6916
7354
|
|
|
6917
7355
|
<tr class="deep-level-0">
|
|
6918
7356
|
|
|
6919
|
-
<td class="name"
|
|
7357
|
+
<td class="name"><code>geometry2</code></td>
|
|
6920
7358
|
|
|
6921
7359
|
|
|
6922
7360
|
<td class="type">
|
|
6923
7361
|
|
|
6924
7362
|
|
|
6925
|
-
<span class="param-type"
|
|
7363
|
+
<span class="param-type">
|
|
7364
|
+
|
|
7365
|
+
<a link="Geometry.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Geometry" Geometry.html>Geometry</a>
|
|
7366
|
+
|
|
7367
|
+
</span>
|
|
6926
7368
|
|
|
6927
7369
|
|
|
6928
7370
|
|
|
@@ -7011,7 +7453,11 @@ import { GeometryEngine, Point, Polygon } from "@mapgis/webclient-common"
|
|
|
7011
7453
|
<div class='column is-5 has-text-left'>
|
|
7012
7454
|
<label>类型: </label>
|
|
7013
7455
|
|
|
7014
|
-
<span class="param-type">
|
|
7456
|
+
<span class="param-type">
|
|
7457
|
+
|
|
7458
|
+
Boolean
|
|
7459
|
+
|
|
7460
|
+
</span>
|
|
7015
7461
|
|
|
7016
7462
|
|
|
7017
7463
|
|
|
@@ -7141,22 +7587,38 @@ console.log("是否重叠:", isIntersect)</code></pre>
|
|
|
7141
7587
|
|
|
7142
7588
|
<tr class="deep-level-0">
|
|
7143
7589
|
|
|
7144
|
-
<td class="name"
|
|
7590
|
+
<td class="name"><code>geometry</code></td>
|
|
7145
7591
|
|
|
7146
7592
|
|
|
7147
7593
|
<td class="type">
|
|
7148
7594
|
|
|
7149
7595
|
|
|
7150
|
-
<span class="param-type"
|
|
7596
|
+
<span class="param-type">
|
|
7597
|
+
|
|
7598
|
+
<a link="Polygon.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Polygon" Polygon.html>Polygon</a>
|
|
7599
|
+
|
|
7600
|
+
</span>
|
|
7151
7601
|
|
|
|
7152
7602
|
|
|
7153
|
-
<span class="param-type"
|
|
7603
|
+
<span class="param-type">
|
|
7604
|
+
|
|
7605
|
+
<a link="MultiPolygon.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="MultiPolygon" MultiPolygon.html>MultiPolygon</a>
|
|
7606
|
+
|
|
7607
|
+
</span>
|
|
7154
7608
|
|
|
|
7155
7609
|
|
|
7156
|
-
<span class="param-type"
|
|
7610
|
+
<span class="param-type">
|
|
7611
|
+
|
|
7612
|
+
<a link="Circle.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Circle" Circle.html>Circle</a>
|
|
7613
|
+
|
|
7614
|
+
</span>
|
|
7157
7615
|
|
|
|
7158
7616
|
|
|
7159
|
-
<span class="param-type"
|
|
7617
|
+
<span class="param-type">
|
|
7618
|
+
|
|
7619
|
+
<a link="Extent.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Extent" Extent.html>Extent</a>
|
|
7620
|
+
|
|
7621
|
+
</span>
|
|
7160
7622
|
|
|
7161
7623
|
|
|
7162
7624
|
|
|
@@ -7179,13 +7641,17 @@ console.log("是否重叠:", isIntersect)</code></pre>
|
|
|
7179
7641
|
|
|
7180
7642
|
<tr class="deep-level-0">
|
|
7181
7643
|
|
|
7182
|
-
<td class="name"
|
|
7644
|
+
<td class="name"><code>unit</code></td>
|
|
7183
7645
|
|
|
7184
7646
|
|
|
7185
7647
|
<td class="type">
|
|
7186
7648
|
|
|
7187
7649
|
|
|
7188
|
-
<span class="param-type"
|
|
7650
|
+
<span class="param-type">
|
|
7651
|
+
|
|
7652
|
+
<a link="AreaUnits.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="AreaUnits" global.html#AreaUnits>AreaUnits</a>
|
|
7653
|
+
|
|
7654
|
+
</span>
|
|
7189
7655
|
|
|
7190
7656
|
|
|
7191
7657
|
|
|
@@ -7280,7 +7746,11 @@ console.log("是否重叠:", isIntersect)</code></pre>
|
|
|
7280
7746
|
<div class='column is-5 has-text-left'>
|
|
7281
7747
|
<label>类型: </label>
|
|
7282
7748
|
|
|
7283
|
-
<span class="param-type">
|
|
7749
|
+
<span class="param-type">
|
|
7750
|
+
|
|
7751
|
+
Number
|
|
7752
|
+
|
|
7753
|
+
</span>
|
|
7284
7754
|
|
|
7285
7755
|
|
|
7286
7756
|
|
|
@@ -7500,28 +7970,52 @@ const area = GeometryEngine.planarArea(extent)</code></pre>
|
|
|
7500
7970
|
|
|
7501
7971
|
<tr class="deep-level-0">
|
|
7502
7972
|
|
|
7503
|
-
<td class="name"
|
|
7973
|
+
<td class="name"><code>geometry</code></td>
|
|
7504
7974
|
|
|
7505
7975
|
|
|
7506
7976
|
<td class="type">
|
|
7507
7977
|
|
|
7508
7978
|
|
|
7509
|
-
<span class="param-type"
|
|
7979
|
+
<span class="param-type">
|
|
7980
|
+
|
|
7981
|
+
<a link="LineString.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="LineString" LineString.html>LineString</a>
|
|
7982
|
+
|
|
7983
|
+
</span>
|
|
7510
7984
|
|
|
|
7511
7985
|
|
|
7512
|
-
<span class="param-type"
|
|
7986
|
+
<span class="param-type">
|
|
7987
|
+
|
|
7988
|
+
<a link="MultiLineString.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="MultiLineString" MultiLineString.html>MultiLineString</a>
|
|
7989
|
+
|
|
7990
|
+
</span>
|
|
7513
7991
|
|
|
|
7514
7992
|
|
|
7515
|
-
<span class="param-type"
|
|
7993
|
+
<span class="param-type">
|
|
7994
|
+
|
|
7995
|
+
<a link="Polygon.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Polygon" Polygon.html>Polygon</a>
|
|
7996
|
+
|
|
7997
|
+
</span>
|
|
7516
7998
|
|
|
|
7517
7999
|
|
|
7518
|
-
<span class="param-type"
|
|
8000
|
+
<span class="param-type">
|
|
8001
|
+
|
|
8002
|
+
<a link="MultiPolygon.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="MultiPolygon" MultiPolygon.html>MultiPolygon</a>
|
|
8003
|
+
|
|
8004
|
+
</span>
|
|
7519
8005
|
|
|
|
7520
8006
|
|
|
7521
|
-
<span class="param-type"
|
|
8007
|
+
<span class="param-type">
|
|
8008
|
+
|
|
8009
|
+
<a link="Circle.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Circle" Circle.html>Circle</a>
|
|
8010
|
+
|
|
8011
|
+
</span>
|
|
7522
8012
|
|
|
|
7523
8013
|
|
|
7524
|
-
<span class="param-type"
|
|
8014
|
+
<span class="param-type">
|
|
8015
|
+
|
|
8016
|
+
<a link="Extent.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Extent" Extent.html>Extent</a>
|
|
8017
|
+
|
|
8018
|
+
</span>
|
|
7525
8019
|
|
|
7526
8020
|
|
|
7527
8021
|
|
|
@@ -7546,13 +8040,17 @@ const area = GeometryEngine.planarArea(extent)</code></pre>
|
|
|
7546
8040
|
|
|
7547
8041
|
<tr class="deep-level-0">
|
|
7548
8042
|
|
|
7549
|
-
<td class="name"
|
|
8043
|
+
<td class="name"><code>unit</code></td>
|
|
7550
8044
|
|
|
7551
8045
|
|
|
7552
8046
|
<td class="type">
|
|
7553
8047
|
|
|
7554
8048
|
|
|
7555
|
-
<span class="param-type"
|
|
8049
|
+
<span class="param-type">
|
|
8050
|
+
|
|
8051
|
+
<a link="LinearUnits.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="LinearUnits" global.html#LinearUnits>LinearUnits</a>
|
|
8052
|
+
|
|
8053
|
+
</span>
|
|
7556
8054
|
|
|
7557
8055
|
|
|
7558
8056
|
|
|
@@ -7647,7 +8145,11 @@ const area = GeometryEngine.planarArea(extent)</code></pre>
|
|
|
7647
8145
|
<div class='column is-5 has-text-left'>
|
|
7648
8146
|
<label>类型: </label>
|
|
7649
8147
|
|
|
7650
|
-
<span class="param-type">
|
|
8148
|
+
<span class="param-type">
|
|
8149
|
+
|
|
8150
|
+
Number
|
|
8151
|
+
|
|
8152
|
+
</span>
|
|
7651
8153
|
|
|
7652
8154
|
|
|
7653
8155
|
|
|
@@ -7782,13 +8284,17 @@ const length = GeometryEngine.planarLength(polygon)</code></pre>
|
|
|
7782
8284
|
|
|
7783
8285
|
<tr class="deep-level-0">
|
|
7784
8286
|
|
|
7785
|
-
<td class="name"
|
|
8287
|
+
<td class="name"><code>geometry</code></td>
|
|
7786
8288
|
|
|
7787
8289
|
|
|
7788
8290
|
<td class="type">
|
|
7789
8291
|
|
|
7790
8292
|
|
|
7791
|
-
<span class="param-type"
|
|
8293
|
+
<span class="param-type">
|
|
8294
|
+
|
|
8295
|
+
<a link="Geometry.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Geometry" Geometry.html>Geometry</a>
|
|
8296
|
+
|
|
8297
|
+
</span>
|
|
7792
8298
|
|
|
7793
8299
|
|
|
7794
8300
|
|
|
@@ -7807,13 +8313,17 @@ const length = GeometryEngine.planarLength(polygon)</code></pre>
|
|
|
7807
8313
|
|
|
7808
8314
|
<tr class="deep-level-0">
|
|
7809
8315
|
|
|
7810
|
-
<td class="name"
|
|
8316
|
+
<td class="name"><code>angle</code></td>
|
|
7811
8317
|
|
|
7812
8318
|
|
|
7813
8319
|
<td class="type">
|
|
7814
8320
|
|
|
7815
8321
|
|
|
7816
|
-
<span class="param-type">
|
|
8322
|
+
<span class="param-type">
|
|
8323
|
+
|
|
8324
|
+
Number
|
|
8325
|
+
|
|
8326
|
+
</span>
|
|
7817
8327
|
|
|
7818
8328
|
|
|
7819
8329
|
|
|
@@ -7832,13 +8342,17 @@ const length = GeometryEngine.planarLength(polygon)</code></pre>
|
|
|
7832
8342
|
|
|
7833
8343
|
<tr class="deep-level-0">
|
|
7834
8344
|
|
|
7835
|
-
<td class="name"
|
|
8345
|
+
<td class="name"><code>rotationOrigin</code></td>
|
|
7836
8346
|
|
|
7837
8347
|
|
|
7838
8348
|
<td class="type">
|
|
7839
8349
|
|
|
7840
8350
|
|
|
7841
|
-
<span class="param-type"
|
|
8351
|
+
<span class="param-type">
|
|
8352
|
+
|
|
8353
|
+
<a link="Point.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Point" Point.html>Point</a>
|
|
8354
|
+
|
|
8355
|
+
</span>
|
|
7842
8356
|
|
|
7843
8357
|
|
|
7844
8358
|
|
|
@@ -7927,7 +8441,11 @@ const length = GeometryEngine.planarLength(polygon)</code></pre>
|
|
|
7927
8441
|
<div class='column is-5 has-text-left'>
|
|
7928
8442
|
<label>类型: </label>
|
|
7929
8443
|
|
|
7930
|
-
<span class="param-type"
|
|
8444
|
+
<span class="param-type">
|
|
8445
|
+
|
|
8446
|
+
<a link="Geometry.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Geometry" Geometry.html>Geometry</a>
|
|
8447
|
+
|
|
8448
|
+
</span>
|
|
7931
8449
|
|
|
7932
8450
|
|
|
7933
8451
|
|
|
@@ -8235,22 +8753,38 @@ const rotateGeometry = GeometryEngine.rotate(point, 10, rotatePoint)</code></pre
|
|
|
8235
8753
|
|
|
8236
8754
|
<tr class="deep-level-0">
|
|
8237
8755
|
|
|
8238
|
-
<td class="name"
|
|
8756
|
+
<td class="name"><code>geometry</code></td>
|
|
8239
8757
|
|
|
8240
8758
|
|
|
8241
8759
|
<td class="type">
|
|
8242
8760
|
|
|
8243
8761
|
|
|
8244
|
-
<span class="param-type"
|
|
8762
|
+
<span class="param-type">
|
|
8763
|
+
|
|
8764
|
+
<a link="Polygon.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Polygon" Polygon.html>Polygon</a>
|
|
8765
|
+
|
|
8766
|
+
</span>
|
|
8245
8767
|
|
|
|
8246
8768
|
|
|
8247
|
-
<span class="param-type"
|
|
8769
|
+
<span class="param-type">
|
|
8770
|
+
|
|
8771
|
+
<a link="MultiPolygon.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="MultiPolygon" MultiPolygon.html>MultiPolygon</a>
|
|
8772
|
+
|
|
8773
|
+
</span>
|
|
8248
8774
|
|
|
|
8249
8775
|
|
|
8250
|
-
<span class="param-type"
|
|
8776
|
+
<span class="param-type">
|
|
8777
|
+
|
|
8778
|
+
<a link="LineString.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="LineString" LineString.html>LineString</a>
|
|
8779
|
+
|
|
8780
|
+
</span>
|
|
8251
8781
|
|
|
|
8252
8782
|
|
|
8253
|
-
<span class="param-type"
|
|
8783
|
+
<span class="param-type">
|
|
8784
|
+
|
|
8785
|
+
<a link="MultiLineString.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="MultiLineString" MultiLineString.html>MultiLineString</a>
|
|
8786
|
+
|
|
8787
|
+
</span>
|
|
8254
8788
|
|
|
8255
8789
|
|
|
8256
8790
|
|
|
@@ -8339,7 +8873,11 @@ const rotateGeometry = GeometryEngine.rotate(point, 10, rotatePoint)</code></pre
|
|
|
8339
8873
|
<div class='column is-5 has-text-left'>
|
|
8340
8874
|
<label>类型: </label>
|
|
8341
8875
|
|
|
8342
|
-
<span class="param-type"
|
|
8876
|
+
<span class="param-type">
|
|
8877
|
+
|
|
8878
|
+
<a link="Geometry.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Geometry" Geometry.html>Geometry</a>
|
|
8879
|
+
|
|
8880
|
+
</span>
|
|
8343
8881
|
|
|
8344
8882
|
|
|
8345
8883
|
|
|
@@ -8427,28 +8965,52 @@ const rotateGeometry = GeometryEngine.rotate(point, 10, rotatePoint)</code></pre
|
|
|
8427
8965
|
|
|
8428
8966
|
<tr class="deep-level-0">
|
|
8429
8967
|
|
|
8430
|
-
<td class="name"
|
|
8968
|
+
<td class="name"><code>geometry1</code></td>
|
|
8431
8969
|
|
|
8432
8970
|
|
|
8433
8971
|
<td class="type">
|
|
8434
8972
|
|
|
8435
8973
|
|
|
8436
|
-
<span class="param-type"
|
|
8974
|
+
<span class="param-type">
|
|
8975
|
+
|
|
8976
|
+
<a link="LineString.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="LineString" LineString.html>LineString</a>
|
|
8977
|
+
|
|
8978
|
+
</span>
|
|
8437
8979
|
|
|
|
8438
8980
|
|
|
8439
|
-
<span class="param-type"
|
|
8981
|
+
<span class="param-type">
|
|
8982
|
+
|
|
8983
|
+
<a link="Polygon.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Polygon" Polygon.html>Polygon</a>
|
|
8984
|
+
|
|
8985
|
+
</span>
|
|
8440
8986
|
|
|
|
8441
8987
|
|
|
8442
|
-
<span class="param-type"
|
|
8988
|
+
<span class="param-type">
|
|
8989
|
+
|
|
8990
|
+
<a link="MultiLineString.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="MultiLineString" MultiLineString.html>MultiLineString</a>
|
|
8991
|
+
|
|
8992
|
+
</span>
|
|
8443
8993
|
|
|
|
8444
8994
|
|
|
8445
|
-
<span class="param-type"
|
|
8995
|
+
<span class="param-type">
|
|
8996
|
+
|
|
8997
|
+
<a link="MultiPolygon.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="MultiPolygon" MultiPolygon.html>MultiPolygon</a>
|
|
8998
|
+
|
|
8999
|
+
</span>
|
|
8446
9000
|
|
|
|
8447
9001
|
|
|
8448
|
-
<span class="param-type"
|
|
9002
|
+
<span class="param-type">
|
|
9003
|
+
|
|
9004
|
+
<a link="Circle.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Circle" Circle.html>Circle</a>
|
|
9005
|
+
|
|
9006
|
+
</span>
|
|
8449
9007
|
|
|
|
8450
9008
|
|
|
8451
|
-
<span class="param-type"
|
|
9009
|
+
<span class="param-type">
|
|
9010
|
+
|
|
9011
|
+
<a link="Extent.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Extent" Extent.html>Extent</a>
|
|
9012
|
+
|
|
9013
|
+
</span>
|
|
8452
9014
|
|
|
8453
9015
|
|
|
8454
9016
|
|
|
@@ -8467,34 +9029,66 @@ const rotateGeometry = GeometryEngine.rotate(point, 10, rotatePoint)</code></pre
|
|
|
8467
9029
|
|
|
8468
9030
|
<tr class="deep-level-0">
|
|
8469
9031
|
|
|
8470
|
-
<td class="name"
|
|
9032
|
+
<td class="name"><code>geometry2</code></td>
|
|
8471
9033
|
|
|
8472
9034
|
|
|
8473
9035
|
<td class="type">
|
|
8474
9036
|
|
|
8475
9037
|
|
|
8476
|
-
<span class="param-type"
|
|
9038
|
+
<span class="param-type">
|
|
9039
|
+
|
|
9040
|
+
<a link="Point.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Point" Point.html>Point</a>
|
|
9041
|
+
|
|
9042
|
+
</span>
|
|
8477
9043
|
|
|
|
8478
9044
|
|
|
8479
|
-
<span class="param-type"
|
|
9045
|
+
<span class="param-type">
|
|
9046
|
+
|
|
9047
|
+
<a link="LineString.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="LineString" LineString.html>LineString</a>
|
|
9048
|
+
|
|
9049
|
+
</span>
|
|
8480
9050
|
|
|
|
8481
9051
|
|
|
8482
|
-
<span class="param-type"
|
|
9052
|
+
<span class="param-type">
|
|
9053
|
+
|
|
9054
|
+
<a link="Polygon.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Polygon" Polygon.html>Polygon</a>
|
|
9055
|
+
|
|
9056
|
+
</span>
|
|
8483
9057
|
|
|
|
8484
9058
|
|
|
8485
|
-
<span class="param-type"
|
|
9059
|
+
<span class="param-type">
|
|
9060
|
+
|
|
9061
|
+
<a link="MultiPoint.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="MultiPoint" MultiPoint.html>MultiPoint</a>
|
|
9062
|
+
|
|
9063
|
+
</span>
|
|
8486
9064
|
|
|
|
8487
9065
|
|
|
8488
|
-
<span class="param-type"
|
|
9066
|
+
<span class="param-type">
|
|
9067
|
+
|
|
9068
|
+
<a link="MultiLineString.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="MultiLineString" MultiLineString.html>MultiLineString</a>
|
|
9069
|
+
|
|
9070
|
+
</span>
|
|
8489
9071
|
|
|
|
8490
9072
|
|
|
8491
|
-
<span class="param-type"
|
|
9073
|
+
<span class="param-type">
|
|
9074
|
+
|
|
9075
|
+
<a link="MultiPolygon.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="MultiPolygon" MultiPolygon.html>MultiPolygon</a>
|
|
9076
|
+
|
|
9077
|
+
</span>
|
|
8492
9078
|
|
|
|
8493
9079
|
|
|
8494
|
-
<span class="param-type"
|
|
9080
|
+
<span class="param-type">
|
|
9081
|
+
|
|
9082
|
+
<a link="Circle.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Circle" Circle.html>Circle</a>
|
|
9083
|
+
|
|
9084
|
+
</span>
|
|
8495
9085
|
|
|
|
8496
9086
|
|
|
8497
|
-
<span class="param-type"
|
|
9087
|
+
<span class="param-type">
|
|
9088
|
+
|
|
9089
|
+
<a link="Extent.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Extent" Extent.html>Extent</a>
|
|
9090
|
+
|
|
9091
|
+
</span>
|
|
8498
9092
|
|
|
8499
9093
|
|
|
8500
9094
|
|
|
@@ -8583,7 +9177,11 @@ const rotateGeometry = GeometryEngine.rotate(point, 10, rotatePoint)</code></pre
|
|
|
8583
9177
|
<div class='column is-5 has-text-left'>
|
|
8584
9178
|
<label>类型: </label>
|
|
8585
9179
|
|
|
8586
|
-
<span class="param-type">
|
|
9180
|
+
<span class="param-type">
|
|
9181
|
+
|
|
9182
|
+
Boolean
|
|
9183
|
+
|
|
9184
|
+
</span>
|
|
8587
9185
|
|
|
8588
9186
|
|
|
8589
9187
|
|
|
@@ -8846,13 +9444,17 @@ console.log("圆和圆是否相邻:", isTouch)</code></pre>
|
|
|
8846
9444
|
|
|
8847
9445
|
<tr class="deep-level-0">
|
|
8848
9446
|
|
|
8849
|
-
<td class="name"
|
|
9447
|
+
<td class="name"><code>geometries</code></td>
|
|
8850
9448
|
|
|
8851
9449
|
|
|
8852
9450
|
<td class="type">
|
|
8853
9451
|
|
|
8854
9452
|
|
|
8855
|
-
<span class="param-type">
|
|
9453
|
+
<span class="param-type">
|
|
9454
|
+
|
|
9455
|
+
Array.<<a onclick="getTypeHTML(event)" link="Geometry.html">Geometry</a>>
|
|
9456
|
+
|
|
9457
|
+
</span>
|
|
8856
9458
|
|
|
8857
9459
|
|
|
8858
9460
|
|
|
@@ -8941,7 +9543,11 @@ console.log("圆和圆是否相邻:", isTouch)</code></pre>
|
|
|
8941
9543
|
<div class='column is-5 has-text-left'>
|
|
8942
9544
|
<label>类型: </label>
|
|
8943
9545
|
|
|
8944
|
-
<span class="param-type"
|
|
9546
|
+
<span class="param-type">
|
|
9547
|
+
|
|
9548
|
+
<a link="Geometry.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Geometry" Geometry.html>Geometry</a>
|
|
9549
|
+
|
|
9550
|
+
</span>
|
|
8945
9551
|
|
|
8946
9552
|
|
|
8947
9553
|
|
|
@@ -9211,13 +9817,17 @@ const polygon1 = new Polygon({
|
|
|
9211
9817
|
|
|
9212
9818
|
<tr class="deep-level-0">
|
|
9213
9819
|
|
|
9214
|
-
<td class="name"
|
|
9820
|
+
<td class="name"><code>innerGeometry</code></td>
|
|
9215
9821
|
|
|
9216
9822
|
|
|
9217
9823
|
<td class="type">
|
|
9218
9824
|
|
|
9219
9825
|
|
|
9220
|
-
<span class="param-type"
|
|
9826
|
+
<span class="param-type">
|
|
9827
|
+
|
|
9828
|
+
<a link="Geometry.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Geometry" Geometry.html>Geometry</a>
|
|
9829
|
+
|
|
9830
|
+
</span>
|
|
9221
9831
|
|
|
9222
9832
|
|
|
9223
9833
|
|
|
@@ -9236,13 +9846,17 @@ const polygon1 = new Polygon({
|
|
|
9236
9846
|
|
|
9237
9847
|
<tr class="deep-level-0">
|
|
9238
9848
|
|
|
9239
|
-
<td class="name"
|
|
9849
|
+
<td class="name"><code>outerGeometry</code></td>
|
|
9240
9850
|
|
|
9241
9851
|
|
|
9242
9852
|
<td class="type">
|
|
9243
9853
|
|
|
9244
9854
|
|
|
9245
|
-
<span class="param-type"
|
|
9855
|
+
<span class="param-type">
|
|
9856
|
+
|
|
9857
|
+
<a link="Geometry.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Geometry" Geometry.html>Geometry</a>
|
|
9858
|
+
|
|
9859
|
+
</span>
|
|
9246
9860
|
|
|
9247
9861
|
|
|
9248
9862
|
|
|
@@ -9331,7 +9945,11 @@ const polygon1 = new Polygon({
|
|
|
9331
9945
|
<div class='column is-5 has-text-left'>
|
|
9332
9946
|
<label>类型: </label>
|
|
9333
9947
|
|
|
9334
|
-
<span class="param-type">
|
|
9948
|
+
<span class="param-type">
|
|
9949
|
+
|
|
9950
|
+
Boolean
|
|
9951
|
+
|
|
9952
|
+
</span>
|
|
9335
9953
|
|
|
9336
9954
|
|
|
9337
9955
|
|