共用方式為


DbSpatialServices.Overlaps(DbGeometry, DbGeometry) 方法

定義

判斷兩個指定的 DbGeometry 值是否在空間上重疊。

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

參數

geometryValue
DbGeometry

第一個幾何值。

otherGeometry
DbGeometry

第二個幾何值。

傳回

如果 geometryValueotherGeometry 重疊則為 true,否則為 false

例外狀況

geometryValue otherGeometry

geometryValue otherGeometry

適用於