Partilhar via


Método SqlGeography.BufferWithCurves

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 (em Microsoft.SqlServer.Types.dll)

Sintaxe

'Declaração
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := False)> _
Public Function BufferWithCurves ( _
    distance As Double _
) As SqlGeography
'Uso
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

Parâmetros

  • distance
    Tipo: System.Double
    The maximum distance that points forming the buffer can be from the geography instance.

Valor de retorno

Tipo: Microsoft.SqlServer.Types.SqlGeography
The set of all points whose distance from the calling SqlGeography instance is less than or equal to distance.

Consulte também

Referência

SqlGeography Classe

Namespace Microsoft.SqlServer.Types

Outros recursos

BufferWithCurves (tipo de dados geography)