语言

DbSpatialServices.Touches(DbGeometry, DbGeometry) 方法

定义

确定两个给定 DbGeometry 值是否在空间上触摸。

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

参数

geometryValue
DbGeometry

第一个几何图形值。

otherGeometry
DbGeometry

第二个几何图形值。

返回

true 如果 geometryValue 触摸, otherGeometry则为 ;否则 false为 。

例外

geometryValue otherGeometry

geometryValue otherGeometry

适用于