SqlSpatialServices.Buffer 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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 之间的距离的所有点。