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

第二个几何图形值。

返回

true 如果 geometryValue 重叠 otherGeometry,则为 ;否则 false为 。

例外

geometryValue otherGeometry

geometryValue otherGeometry

适用于