Share via


DbGeometry.Touches(DbGeometry) Method

Definition

Determines whether this DbGeometry value spatially touches the specified DbGeometry argument.

public bool Touches (System.Data.Entity.Spatial.DbGeometry other);
member this.Touches : System.Data.Entity.Spatial.DbGeometry -> bool
Public Function Touches (other As DbGeometry) As Boolean

Parameters

other
DbGeometry

The geometry value that should be compared with this geometry value.

Returns

true if other touches this geometry value; otherwise false.

Exceptions

Applies to