SqlSpatialServices.Touches Method (DbGeometry, DbGeometry)

 

Determines whether the two given DbGeometry values spatially touch.

Namespace:   System.Data.Entity.SqlServer
Assembly:  EntityFramework.SqlServer (in EntityFramework.SqlServer.dll)

public override bool Touches(
	DbGeometry geometryValue,
	DbGeometry otherGeometry
)

Parameters

geometryValue
Type: System.Data.Entity.Spatial.DbGeometry

The first geometry value.

otherGeometry
Type: System.Data.Entity.Spatial.DbGeometry

The second geometry value.

Return Value

Type: System.Boolean

true if geometryValue touches otherGeometry; otherwise, false.