DbGeometry.Touches(DbGeometry) 方法
定义
确定此 DbGeography 值是否触碰指定的 DbGeography 论据。Determines whether this DbGeometry value spatially touches the specified DbGeometry argument.
public:
bool Touches(System::Data::Spatial::DbGeometry ^ other);
public bool Touches (System.Data.Spatial.DbGeometry other);
member this.Touches : System.Data.Spatial.DbGeometry -> bool
Public Function Touches (other As DbGeometry) As Boolean
参数
- other
- DbGeometry
应与该几何图形值比较的几何图形值。The geometry value that should be compared with this geometry value.
返回
如果 other 接近此几何值,则为 true;否则为 false。true if other touches this geometry value; otherwise false.
例外
other