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

适用于