DbSpatialServices.Disjoint 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
确定两个给定值是否在空间上不相交。
重载
| 名称 | 说明 |
|---|---|
| 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