DbSpatialServices.Buffer 方法

定义

从给定值创建代表所有小于或等于 distance 的点的地理值。Creates a geography value representing all points less than or equal to distance from the given value.

重载

Buffer(DbGeography, Double)

从给定 DbGeography 值创建代表所有小于或等于 distance 的点的地理值。Creates a geography value representing all points less than or equal to distance from the given DbGeography value.

Buffer(DbGeometry, Double)

从给定 DbGeometry 值创建代表所有小于或等于 distance 的点的几何值。Creates a geometry value representing all points less than or equal to distance from the given DbGeometry value.

Buffer(DbGeography, Double)

从给定 DbGeography 值创建代表所有小于或等于 distance 的点的地理值。Creates a geography value representing all points less than or equal to distance from the given DbGeography value.

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

地理值。The geography value.

distance
Double

指定从 geographyValue 到缓冲区距离的双精度值。A double value specifying how far from geographyValue to buffer.

返回

DbGeography

一个新的 DbGeography 值,它代表所有小于或等于 distance 中的 geographyValue 的点。A new DbGeography value representing all points less than or equal to distance from geographyValue.

例外

geographyValue

geographyValue

适用于

Buffer(DbGeometry, Double)

从给定 DbGeometry 值创建代表所有小于或等于 distance 的点的几何值。Creates a geometry value representing all points less than or equal to distance from the given DbGeometry value.

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

几何值。The geometry value.

distance
Double

指定从 geometryValue 到缓冲区距离的双精度值。A double value specifying how far from geometryValue to buffer.

返回

DbGeometry

一个新的 DbGeometry 值,它代表所有小于或等于 distance 中的 geometryValue 的点。A new DbGeometry value representing all points less than or equal to distance from geometryValue.

例外

geometryValue

geometryValue

适用于