SqlGeography.BufferWithCurves Method
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
'Declaration
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := False)> _
Public Function BufferWithCurves ( _
distance As Double _
) As SqlGeography
'Usage
Dim instance As SqlGeography
Dim distance As Double
Dim returnValue As SqlGeography
returnValue = instance.BufferWithCurves(distance)
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public SqlGeography BufferWithCurves(
double distance
)
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public:
SqlGeography^ BufferWithCurves(
double distance
)
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)>]
member BufferWithCurves :
distance:float -> SqlGeography
public function BufferWithCurves(
distance : double
) : 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
Reference
Microsoft.SqlServer.Types Namespace