-
disjoint
(geometry1, geometry2)
{Boolean}
指示一個幾何圖形是否與另一個幾何圖形不相交(不以任何方式相交)。
參數:
類型 說明 geometry1 Geometry測試"disjoint" 與其他幾何的關係的基礎幾何。
geometry2 Geometry針對與其他幾何的"disjoint" 關係測試的比較幾何。
返回:
類型 說明 Boolean 如果 geometry1
和geometry2
不相交(不以任何方式相交),則返回true
。例子:
// returns true if a geometry is not contained in another. // operates the opposite of contains const isDisjointed = geometryEngine.disjoint(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.disjoint
函數(或屬性)的定義如下:
相關用法
- JavaScript ArcGIS geometryEngine.distance用法及代碼示例
- JavaScript ArcGIS geometryEngine.difference用法及代碼示例
- JavaScript ArcGIS geometryEngine.densify用法及代碼示例
- 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.crosses用法及代碼示例
- JavaScript ArcGIS geometryEngine.intersect用法及代碼示例
- JavaScript ArcGIS geometryEngine.clip用法及代碼示例
- JavaScript ArcGIS geometryEngine.contains用法及代碼示例
- JavaScript ArcGIS geometryEngine.flipVertical用法及代碼示例
- JavaScript ArcGIS geometryEngine.offset用法及代碼示例
- JavaScript ArcGIS geometryEngine.geodesicDensify用法及代碼示例
- JavaScript ArcGIS geometryEngine.nearestVertex用法及代碼示例
- JavaScript ArcGIS geometryEngine.geodesicBuffer用法及代碼示例
- JavaScript ArcGIS geometryEngine.overlaps用法及代碼示例
- JavaScript ArcGIS geometryEngine.geodesicArea用法及代碼示例
- JavaScript ArcGIS geometryEngine.isSimple用法及代碼示例
- JavaScript ArcGIS geometryEngine.cut用法及代碼示例
注:本文由純淨天空篩選整理自arcgis.com大神的英文原創作品 geometryEngine.disjoint。非經特殊聲明,原始代碼版權歸原作者所有,本譯文未經允許或授權,請勿轉載或複製。