SqlGeometry.Filter(SqlGeometry) Method

Definition

Offers a fast, index-only intersection method to determine if a SqlGeometry instance intersects another SqlGeometry instance, assuming an index is available.

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

Parameters

other
SqlGeometry

Specifies the SqlGeometry instance to compare to the current SqlGeometry.

Returns

A SqlBoolean that specifies whether the specified SqlGeometry intersects the calling SqlGeometry. If the instances do intersect, this method returns true. Otherwise, it returns false.

Attributes

Applies to