DbSpatialServices.Buffer 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
创建一个地理值,表示小于或等于 distance 给定值的所有点。
重载
| 名称 | 说明 |
|---|---|
| Buffer(DbGeography, Double) |
创建一个地理值,表示小于或等于 |
| Buffer(DbGeometry, Double) |
创建表示小于或等于 |
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 值,表示小于或等于 distance 从 geographyValue中获取的所有点。
例外
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 值,表示小于或等于 distance 从 geometryValue中获取的所有点。
例外
geometryValue
geometryValue