SqlSpatialFunctions.BufferWithTolerance Method (DbGeography, Nullable<Double>, Nullable<Double>, Nullable<Boolean>)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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.

Namespace:   System.Data.Objects.SqlClient
Assembly:  System.Data.Entity (in System.Data.Entity.dll)

[EdmFunctionAttribute("SqlServer", "BUFFERWITHTOLERANCE")]
public static DbGeography BufferWithTolerance(
	DbGeography geographyValue,
	Nullable<double> distance,
	Nullable<double> tolerance,
	Nullable<bool> relative
)

Parameters

geographyValue
Type: System.Data.Spatial.DbGeography

The geography value.

distance
Type: System.Nullable<Double>

The distance.

tolerance
Type: System.Nullable<Double>

The specified tolerance.

relative
Type: System.Nullable<Boolean>

Specifying whether the tolerance value is relative or absolute.

Return Value

Type: System.Data.Spatial.DbGeography

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

.NET Framework
Available since 4.5
Return to top
Show: