DbSpatialServices.Buffer 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
建立一個地理值,代表所有小於或 distance 等於該值的點。
多載
| 名稱 | Description |
|---|---|
| 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