SqlSpatialServices.Buffer Method

 

Creates a value representing all points.

Namespace:   System.Data.Entity.SqlServer
Assembly:  EntityFramework.SqlServer (in EntityFramework.SqlServer.dll)

NameDescription
System_CAPS_pubmethodBuffer(DbGeography, Double)

Creates a geography value representing all points less than or equal to distance from the given DbGeography value.(Overrides DbSpatialServices.Buffer(DbGeography, Double).)

System_CAPS_pubmethodBuffer(DbGeometry, Double)

Creates a geometry value representing all points less than or equal to distance from the given DbGeometry value.(Overrides DbSpatialServices.Buffer(DbGeometry, Double).)


SqlSpatialServices.Buffer Method (DbGeography, Double)

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

public override DbGeography Buffer(
	DbGeography geographyValue,
	double distance
)

Parameters

geographyValue
Type: System.Data.Entity.Spatial.DbGeography

The geography value.

distance
Type: System.Double

A double value specifying how far from geographyValue to buffer.

Return Value

Type: System.Data.Entity.Spatial.DbGeography

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


SqlSpatialServices.Buffer Method (DbGeometry, Double)

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

public override DbGeometry Buffer(
	DbGeometry geometryValue,
	double distance
)

Parameters

geometryValue
Type: System.Data.Entity.Spatial.DbGeometry

The geometry value.

distance
Type: System.Double

A double value specifying how far from geometryValue to buffer.

Return Value

Type: System.Data.Entity.Spatial.DbGeometry

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