SqlSpatialFunctions.BufferWithTolerance Method

Definition

Returns a geometric object representing the union of all point values whose distance from an instance is less than or equal to a specified value, allowing for a specified tolerance.

Overloads

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

Returns a geometric object representing the union of all point values whose distance from a geography instance is less than or equal to a specified value, allowing for a specified tolerance.

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

Returns a geometric object representing the union of all point values whose distance from a geometry instance is less than or equal to a specified value, allowing for a specified tolerance.

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

Returns a geometric object representing the union of all point values whose distance from a geography instance is less than or equal to a specified value, allowing for a specified tolerance.

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

Parameters

geographyValue
DbGeography

The geography value.

distance
Nullable<Double>

The distance.

tolerance
Nullable<Double>

The specified tolerance.

relative
Nullable<Boolean>

Specifying whether the tolerance value is relative or absolute.

Returns

The union of all point values whose distance from a geography instance is less than or equal to a specified value.

Attributes

Applies to

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

Returns a geometric object representing the union of all point values whose distance from a geometry instance is less than or equal to a specified value, allowing for a specified tolerance.

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

Parameters

geometryValue
DbGeometry

The geometry value.

distance
Nullable<Double>

The distance.

tolerance
Nullable<Double>

The specified tolerance.

relative
Nullable<Boolean>

Specifying whether the tolerance value is relative or absolute.

Returns

The union of all point values whose distance from a geometry instance is less than or equal to a specified value.

Attributes

Applies to