DbSpatialServices.Buffer 方法

定义

创建一个地理值,表示小于或等于 distance 给定值的所有点。

重载

名称 说明
Buffer(DbGeography, Double)

创建一个地理值,表示小于或等于 distance 给定 DbGeography 值的所有点。

Buffer(DbGeometry, Double)

创建表示小于或等于 distance 给定 DbGeometry 值的所有点的几何图形值。

Buffer(DbGeography, Double)

创建一个地理值,表示小于或等于 distance 给定 DbGeography 值的所有点。

public:
 abstract System::Data::Spatial::DbGeography ^ Buffer(System::Data::Spatial::DbGeography ^ geographyValue, double distance);
public abstract System.Data.Spatial.DbGeography Buffer(System.Data.Spatial.DbGeography geographyValue, double distance);
abstract member Buffer : System.Data.Spatial.DbGeography * double -> System.Data.Spatial.DbGeography
Public MustOverride Function Buffer (geographyValue As DbGeography, distance As Double) As DbGeography

参数

geographyValue
DbGeography

地理值。

distance
Double

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

返回

一个新的 DbGeography 值,表示小于或等于 distancegeographyValue中获取的所有点。

例外

geographyValue

geographyValue

适用于

Buffer(DbGeometry, Double)

创建表示小于或等于 distance 给定 DbGeometry 值的所有点的几何图形值。

public:
 abstract System::Data::Spatial::DbGeometry ^ Buffer(System::Data::Spatial::DbGeometry ^ geometryValue, double distance);
public abstract System.Data.Spatial.DbGeometry Buffer(System.Data.Spatial.DbGeometry geometryValue, double distance);
abstract member Buffer : System.Data.Spatial.DbGeometry * double -> System.Data.Spatial.DbGeometry
Public MustOverride Function Buffer (geometryValue As DbGeometry, distance As Double) As DbGeometry

参数

geometryValue
DbGeometry

几何图形值。

distance
Double

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

返回

一个新的 DbGeometry 值,表示小于或等于 distancegeometryValue中获取的所有点。

例外

geometryValue

geometryValue

适用于