Compartir a través de


SqlGeography.BufferWithCurves Método

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.

Espacio de nombres:  Microsoft.SqlServer.Types
Ensamblado:  Microsoft.SqlServer.Types (en Microsoft.SqlServer.Types.dll)

Sintaxis

'Declaración
<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 devuelto

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

Vea también

Referencia

SqlGeography Clase

Espacio de nombres Microsoft.SqlServer.Types

Otros recursos

BufferWithCurves (tipo de datos de geografía)