語言

DbSpatialServices.Disjoint 方法

定義

判斷兩個給定值是否空間上不相交。

多載

名稱 Description
Disjoint(DbGeography, DbGeography)

判斷兩個給定 DbGeography 值是否空間上不相交。

Disjoint(DbGeometry, DbGeometry)

判斷兩個給定 DbGeometry 值是否空間上不相交。

Disjoint(DbGeography, DbGeography)

判斷兩個給定 DbGeography 值是否空間上不相交。

public:
 abstract bool Disjoint(System::Data::Spatial::DbGeography ^ geographyValue, System::Data::Spatial::DbGeography ^ otherGeography);
public abstract bool Disjoint(System.Data.Spatial.DbGeography geographyValue, System.Data.Spatial.DbGeography otherGeography);
abstract member Disjoint : System.Data.Spatial.DbGeography * System.Data.Spatial.DbGeography -> bool
Public MustOverride Function Disjoint (geographyValue As DbGeography, otherGeography As DbGeography) As Boolean

參數

geographyValue
DbGeography

第一個地理值比較以判斷是否斷裂。

otherGeography
DbGeography

第二個地理值比較是否斷裂。

傳回

true 若 geographyValue 與不相交 otherGeography;否則 false。

例外狀況

geographyValue otherGeography

geographyValue otherGeography

適用於

Disjoint(DbGeometry, DbGeometry)

判斷兩個給定 DbGeometry 值是否空間上不相交。

public:
 abstract bool Disjoint(System::Data::Spatial::DbGeometry ^ geometryValue, System::Data::Spatial::DbGeometry ^ otherGeometry);
public abstract bool Disjoint(System.Data.Spatial.DbGeometry geometryValue, System.Data.Spatial.DbGeometry otherGeometry);
abstract member Disjoint : System.Data.Spatial.DbGeometry * System.Data.Spatial.DbGeometry -> bool
Public MustOverride Function Disjoint (geometryValue As DbGeometry, otherGeometry As DbGeometry) As Boolean

參數

geometryValue
DbGeometry

第一個比較幾何值以判斷是否不連貫。

otherGeometry
DbGeometry

第二個幾何數值,用來比較是否不連貫。

傳回

true 若 geometryValue 與不相交 otherGeometry;否則 false。

例外狀況

geometryValue otherGeometry

geometryValue otherGeometry

適用於