SqlSpatialFunctions.Filter 方法

定义

提供快速的、只索引交集方法来决定地理实例是否与其他 SqlGeography 实例相交(假设索引可用)。Offers a fast, index-only intersection method to determine if a geography instance intersects another SqlGeography instance, assuming an index is available.

重载

Filter(DbGeography, DbGeography)

提供快速的、只索引交集方法来决定地理实例是否与其他 SqlGeography 实例相交(假设索引可用)。Offers a fast, index-only intersection method to determine if a geography instance intersects another SqlGeography instance, assuming an index is available.

Filter(DbGeometry, DbGeometry)

提供快速的、只索引交集方法来决定地理实例是否与其他 SqlGeometry 实例相交(假设索引可用)。Offers a fast, index-only intersection method to determine if a geography instance intersects another SqlGeometry instance, assuming an index is available.

Filter(DbGeography, DbGeography)

提供快速的、只索引交集方法来决定地理实例是否与其他 SqlGeography 实例相交(假设索引可用)。Offers a fast, index-only intersection method to determine if a geography instance intersects another SqlGeography instance, assuming an index is available.

public:
 static Nullable<bool> Filter(System::Data::Spatial::DbGeography ^ geographyValue, System::Data::Spatial::DbGeography ^ geographyOther);
[System.Data.Objects.DataClasses.EdmFunction("SqlServer", "FILTER")]
public static bool? Filter (System.Data.Spatial.DbGeography geographyValue, System.Data.Spatial.DbGeography geographyOther);
[<System.Data.Objects.DataClasses.EdmFunction("SqlServer", "FILTER")>]
static member Filter : System.Data.Spatial.DbGeography * System.Data.Spatial.DbGeography -> Nullable<bool>
Public Shared Function Filter (geographyValue As DbGeography, geographyOther As DbGeography) As Nullable(Of Boolean)

参数

geographyValue
DbGeography

地理值。The geography value.

geographyOther
DbGeography

根据调用的筛选器中的实例比较另一个地理实例。Another geography instance to compare against the instance on which Filter is invoked.

返回

Nullable<Boolean>

如果地理实例存在可能与另一个 SqlGeography 实例相交,则 true;否则,为 falsetrue if a geography instance potentially intersects another SqlGeography instance; otherwise, false.

属性

适用于

Filter(DbGeometry, DbGeometry)

提供快速的、只索引交集方法来决定地理实例是否与其他 SqlGeometry 实例相交(假设索引可用)。Offers a fast, index-only intersection method to determine if a geography instance intersects another SqlGeometry instance, assuming an index is available.

public:
 static Nullable<bool> Filter(System::Data::Spatial::DbGeometry ^ geometryValue, System::Data::Spatial::DbGeometry ^ geometryOther);
[System.Data.Objects.DataClasses.EdmFunction("SqlServer", "FILTER")]
public static bool? Filter (System.Data.Spatial.DbGeometry geometryValue, System.Data.Spatial.DbGeometry geometryOther);
[<System.Data.Objects.DataClasses.EdmFunction("SqlServer", "FILTER")>]
static member Filter : System.Data.Spatial.DbGeometry * System.Data.Spatial.DbGeometry -> Nullable<bool>
Public Shared Function Filter (geometryValue As DbGeometry, geometryOther As DbGeometry) As Nullable(Of Boolean)

参数

geometryValue
DbGeometry

几何值。The geometry value.

geometryOther
DbGeometry

根据调用的筛选器中的实例比较另一个地理实例。Another geography instance to compare against the instance on which Filter is invoked.

返回

Nullable<Boolean>

如果地理实例存在可能与另一个 SqlGeography 实例相交,则 true;否则,为 falsetrue if a geography instance potentially intersects another SqlGeography instance; otherwise, false.

属性

适用于