SqlGeography.BufferWithCurves Method (Double)

 

Applies To: SQL Server 2016 Preview

Returns a SqlGeography instance that represents the set of all points whose distance from the calling SqlGeography instance is less than or equal to the distance parameter.

Namespace:   Microsoft.SqlServer.Types
Assembly:  Microsoft.SqlServer.Types (in Microsoft.SqlServer.Types.dll)

Syntax

[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public SqlGeography BufferWithCurves(
    double distance
)
public:
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
SqlGeography^ BufferWithCurves(
    double distance
)
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)>]
member BufferWithCurves : 
        distance:float -> SqlGeography
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := False)>
Public Function BufferWithCurves (
    distance As Double
) As SqlGeography

Parameters

  • distance
    Type: System.Double

    The maximum distance that points forming the buffer can be from the geography instance.

Return Value

Type: Microsoft.SqlServer.Types.SqlGeography

The set of all points whose distance from the calling SqlGeography instance is less than or equal to distance.

See Also

SqlGeography Class
Microsoft.SqlServer.Types Namespace
BufferWithCurves (geography Data Type)

Return to top