Edit

Share via


DbSpatialServices.Buffer Method

Definition

Creates a geography value representing all points less than or equal to distance from the given value.

Overloads

Buffer(DbGeography, Double)

Creates a geography value representing all points less than or equal to distance from the given DbGeography value.

Buffer(DbGeometry, Double)

Creates a geometry value representing all points less than or equal to distance from the given DbGeometry value.

Buffer(DbGeography, Double)

Creates a geography value representing all points less than or equal to distance from the given DbGeography value.

public:
 abstract System::Data::Spatial::DbGeography ^ Buffer(System::Data::Spatial::DbGeography ^ geographyValue, double distance);
public abstract System.Data.Spatial.DbGeography Buffer (System.Data.Spatial.DbGeography geographyValue, double distance);
abstract member Buffer : System.Data.Spatial.DbGeography * double -> System.Data.Spatial.DbGeography
Public MustOverride Function Buffer (geographyValue As DbGeography, distance As Double) As DbGeography

Parameters

geographyValue
DbGeography

The geography value.

distance
Double

A double value specifying how far from geographyValue to buffer.

Returns

A new DbGeography value representing all points less than or equal to distance from geographyValue.

Exceptions

geographyValue

geographyValue

Applies to

Buffer(DbGeometry, Double)

Creates a geometry value representing all points less than or equal to distance from the given DbGeometry value.

public:
 abstract System::Data::Spatial::DbGeometry ^ Buffer(System::Data::Spatial::DbGeometry ^ geometryValue, double distance);
public abstract System.Data.Spatial.DbGeometry Buffer (System.Data.Spatial.DbGeometry geometryValue, double distance);
abstract member Buffer : System.Data.Spatial.DbGeometry * double -> System.Data.Spatial.DbGeometry
Public MustOverride Function Buffer (geometryValue As DbGeometry, distance As Double) As DbGeometry

Parameters

geometryValue
DbGeometry

The geometry value.

distance
Double

A double value specifying how far from geometryValue to buffer.

Returns

A new DbGeometry value representing all points less than or equal to distance from geometryValue.

Exceptions

geometryValue

geometryValue

Applies to