-
overlaps
(geometry1, geometry2)
{Boolean}
指示一个几何图形是否与另一个几何图形重叠。
参数:
类型 说明 geometry1 Geometry测试"overlaps" 与其他几何关系的基础几何。
geometry2 Geometry针对与其他几何的"overlaps" 关系测试的比较几何。
返回:
类型 说明 Boolean 如果两个几何重叠,则返回 true
。例子:
// returns true if one geometry overlaps another, // but is not contained or disjointed const isOverlapping = geometryEngine.overlaps(polygon, boundaryPolygon);
基本信息
以下是所在类或对象的基本信息。
AMD:
require(["esri/geometry/geometryEngine"], (geometryEngine) => { /* code goes here */ });
ESM:
import * as geometryEngine from "@arcgis/core/geometry/geometryEngine";
对象:
esri/geometry/geometryEngine
自从:用于 JavaScript 4.0 的 ArcGIS API
用法说明
geometryEngine.overlaps
函数(或属性)的定义如下:
相关用法
- JavaScript ArcGIS geometryEngine.offset用法及代码示例
- JavaScript ArcGIS geometryEngine.buffer用法及代码示例
- JavaScript ArcGIS geometryEngine.equals用法及代码示例
- JavaScript ArcGIS geometryEngine.touches用法及代码示例
- JavaScript ArcGIS geometryEngine.generalize用法及代码示例
- JavaScript ArcGIS geometryEngine.union用法及代码示例
- JavaScript ArcGIS geometryEngine.within用法及代码示例
- JavaScript ArcGIS geometryEngine.geodesicLength用法及代码示例
- JavaScript ArcGIS geometryEngine.symmetricDifference用法及代码示例
- JavaScript ArcGIS geometryEngine.intersects用法及代码示例
- JavaScript ArcGIS geometryEngine.distance用法及代码示例
- JavaScript ArcGIS geometryEngine.crosses用法及代码示例
- JavaScript ArcGIS geometryEngine.difference用法及代码示例
- JavaScript ArcGIS geometryEngine.densify用法及代码示例
- JavaScript ArcGIS geometryEngine.intersect用法及代码示例
- JavaScript ArcGIS geometryEngine.clip用法及代码示例
- JavaScript ArcGIS geometryEngine.contains用法及代码示例
- JavaScript ArcGIS geometryEngine.flipVertical用法及代码示例
- JavaScript ArcGIS geometryEngine.geodesicDensify用法及代码示例
- JavaScript ArcGIS geometryEngine.disjoint用法及代码示例
- JavaScript ArcGIS geometryEngine.nearestVertex用法及代码示例
- JavaScript ArcGIS geometryEngine.geodesicBuffer用法及代码示例
- JavaScript ArcGIS geometryEngine.geodesicArea用法及代码示例
- JavaScript ArcGIS geometryEngine.isSimple用法及代码示例
- JavaScript ArcGIS geometryEngine.cut用法及代码示例
注:本文由纯净天空筛选整理自arcgis.com大神的英文原创作品 geometryEngine.overlaps。非经特殊声明,原始代码版权归原作者所有,本译文未经允许或授权,请勿转载或复制。