语言

SqlSpatialServices.Buffer 方法

定义

重载

名称 说明
Buffer(DbGeography, Double)

创建一个地理值,表示与给定 DbGeography 值之间的距离小于或等于的所有点。

Buffer(DbGeometry, Double)

创建一个几何图形值,表示与给定 DbGeometry 值之间的距离小于或等于的所有点。

Buffer(DbGeography, Double)

创建一个地理值,表示与给定 DbGeography 值之间的距离小于或等于的所有点。

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

参数

geographyValue
DbGeography

地理值。

distance
Double

一个双精度值,该值指定与 geographyValue 到缓冲区的距离。

返回

一个新的 DbGeography 值,表示与 geographyValue 之间的距离小于或等于的所有点。

适用于

Buffer(DbGeometry, Double)

创建一个几何图形值,表示与给定 DbGeometry 值之间的距离小于或等于的所有点。

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

参数

geometryValue
DbGeometry

几何图形值。

distance
Double

一个双精度值,指定 geometryValue 到缓冲区的距离。

返回

一个新的 DbGeometry 值,表示与 geometryValue 之间的距离小于或等于的所有点。

适用于