DbSpatialServices.Buffer Method (DbGeometry, Double)

.NET Framework (current version)
 

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

Namespace:   System.Data.Spatial
Assembly:  System.Data.Entity (in System.Data.Entity.dll)

public abstract DbGeometry Buffer(
	DbGeometry geometryValue,
	double distance
)

Parameters

geometryValue
Type: System.Data.Spatial.DbGeometry

The geometry value.

distance
Type: System.Double

A double value specifying how far from geometryValue to buffer.

Return Value

Type: System.Data.Spatial.DbGeometry

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

Exception Condition
ArgumentNullException

geometryValue

ArgumentException

geometryValue

.NET Framework
Available since 4.5
Return to top
Show: