arcgis 4.x 入门学习六 (图形操作集合的静态类 geometryEngine)
首先先把api列出来
https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-geometryEngine.html
1. 常用的属性
判断集合是否包含关系
contains( geometry , geometry )
https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-geometryEngine.html#contains
获取集合的面积
https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-geometryEngine.html#planarArea
获取集合的长度
https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-geometryEngine.html#planeLength
获取图形的距离
distance( geometry , geomegtry )
https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-geometryEngine.html#contains
对图形进行裁剪
https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-geometryEngine.html#cut