DbGeometry.Touches(DbGeometry) Method

Definition

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

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