共用方式為


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 距離的點。

適用於