SqlGeometry.STIntersects(SqlGeometry) Method

Definition

Determines whether the calling SqlGeometry instance intersects another SqlGeometry.

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

Parameters

other
SqlGeometry

Is another SqlGeometry instance to compare against the instance on which STIntersects(SqlGeometry) is invoked.

Returns

Returns true if a SqlGeometry instance intersects another geometry instance. Returns false if it does not.

Attributes

Applies to