SqlGeometry.STTouches(SqlGeometry) Method

Definition

Determines whether the specified SqlGeometry touches the current SqlGeometry.

[Microsoft.SqlServer.Server.SqlMethod(IsDeterministic=true, IsPrecise=false)]
public System.Data.SqlTypes.SqlBoolean STTouches (Microsoft.SqlServer.Types.SqlGeometry other);
[<Microsoft.SqlServer.Server.SqlMethod(IsDeterministic=true, IsPrecise=false)>]
member this.STTouches : Microsoft.SqlServer.Types.SqlGeometry -> System.Data.SqlTypes.SqlBoolean
Public Function STTouches (other As SqlGeometry) As SqlBoolean

Parameters

other
SqlGeometry

The SqlGeometry instance to compare to the current SqlGeometry.

Returns

Returns true if a SqlGeometry instance spatially touches another SqlGeometry instance. Returns false if it does not.

Attributes

Applies to