SqlSpatialServices.Buffer Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 override System.Data.Entity.Spatial.DbGeography Buffer (System.Data.Entity.Spatial.DbGeography geographyValue, double distance);
override this.Buffer : System.Data.Entity.Spatial.DbGeography * double -> System.Data.Entity.Spatial.DbGeography
Public Overrides 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.
Applies to
Buffer(DbGeometry, Double)
Creates a geometry value representing all points less than or equal to distance from the given DbGeometry value.
public override System.Data.Entity.Spatial.DbGeometry Buffer (System.Data.Entity.Spatial.DbGeometry geometryValue, double distance);
override this.Buffer : System.Data.Entity.Spatial.DbGeometry * double -> System.Data.Entity.Spatial.DbGeometry
Public Overrides 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.
Applies to
Entity Framework