SqlSpatialFunctions.BufferWithTolerance 方法

定义

返回表示所有点值的联合从一个实例的距离小于或等于指定的值的一个几何对象,允许指定的公差。

重载

BufferWithTolerance(DbGeography, Nullable<Double>, Nullable<Double>, Nullable<Boolean>)

返回表示所有点值的联合从地理实例的距离小于或等于指定的值的一个几何对象,允许指定的公差。

BufferWithTolerance(DbGeometry, Nullable<Double>, Nullable<Double>, Nullable<Boolean>)

返回表示所有点值的联合从几何图形实例的距离小于或等于指定的值的一个几何对象,允许指定的公差。

BufferWithTolerance(DbGeography, Nullable<Double>, Nullable<Double>, Nullable<Boolean>)

返回表示所有点值的联合从地理实例的距离小于或等于指定的值的一个几何对象,允许指定的公差。

public:
 static System::Data::Spatial::DbGeography ^ BufferWithTolerance(System::Data::Spatial::DbGeography ^ geographyValue, Nullable<double> distance, Nullable<double> tolerance, Nullable<bool> relative);
[System.Data.Objects.DataClasses.EdmFunction("SqlServer", "BUFFERWITHTOLERANCE")]
public static System.Data.Spatial.DbGeography BufferWithTolerance(System.Data.Spatial.DbGeography geographyValue, double? distance, double? tolerance, bool? relative);
[<System.Data.Objects.DataClasses.EdmFunction("SqlServer", "BUFFERWITHTOLERANCE")>]
static member BufferWithTolerance : System.Data.Spatial.DbGeography * Nullable<double> * Nullable<double> * Nullable<bool> -> System.Data.Spatial.DbGeography
Public Shared Function BufferWithTolerance (geographyValue As DbGeography, distance As Nullable(Of Double), tolerance As Nullable(Of Double), relative As Nullable(Of Boolean)) As DbGeography

参数

geographyValue
DbGeography

地理值。

distance
Nullable<Double>

距离。

tolerance
Nullable<Double>

指定的容差。

relative
Nullable<Boolean>

指定公差值是否是相对的或绝对的。

返回

与地理位置实例的距离小于或等于指定值的所有点值的并集。

属性

适用于

BufferWithTolerance(DbGeometry, Nullable<Double>, Nullable<Double>, Nullable<Boolean>)

返回表示所有点值的联合从几何图形实例的距离小于或等于指定的值的一个几何对象,允许指定的公差。

public:
 static System::Data::Spatial::DbGeometry ^ BufferWithTolerance(System::Data::Spatial::DbGeometry ^ geometryValue, Nullable<double> distance, Nullable<double> tolerance, Nullable<bool> relative);
[System.Data.Objects.DataClasses.EdmFunction("SqlServer", "BUFFERWITHTOLERANCE")]
public static System.Data.Spatial.DbGeometry BufferWithTolerance(System.Data.Spatial.DbGeometry geometryValue, double? distance, double? tolerance, bool? relative);
[<System.Data.Objects.DataClasses.EdmFunction("SqlServer", "BUFFERWITHTOLERANCE")>]
static member BufferWithTolerance : System.Data.Spatial.DbGeometry * Nullable<double> * Nullable<double> * Nullable<bool> -> System.Data.Spatial.DbGeometry
Public Shared Function BufferWithTolerance (geometryValue As DbGeometry, distance As Nullable(Of Double), tolerance As Nullable(Of Double), relative As Nullable(Of Boolean)) As DbGeometry

参数

geometryValue
DbGeometry

几何值。

distance
Nullable<Double>

距离。

tolerance
Nullable<Double>

指定的容差。

relative
Nullable<Boolean>

指定公差值是否是相对的或绝对的。

返回

与几何图形实例的距离小于或等于指定值的所有点值的并集。

属性

适用于