SqlSpatialFunctions.Reduce 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
傳回指定的地理位置執行個體的近以值,產生的方法是對執行個體執行 Douglas-Peucker 演算法,內含指定的誤差。
多載
| Reduce(DbGeography, Nullable<Double>) |
傳回指定的地理位置執行個體的近以值,產生的方法是對執行個體執行 Douglas-Peucker 演算法,內含指定的誤差。 |
| Reduce(DbGeometry, Nullable<Double>) |
傳回指定的地理位置執行個體的近以值,產生的方法是對執行個體執行 Douglas-Peucker 演算法,內含指定的誤差。 |
Reduce(DbGeography, Nullable<Double>)
傳回指定的地理位置執行個體的近以值,產生的方法是對執行個體執行 Douglas-Peucker 演算法,內含指定的誤差。
public:
static System::Data::Spatial::DbGeography ^ Reduce(System::Data::Spatial::DbGeography ^ geographyValue, Nullable<double> tolerance);
[System.Data.Objects.DataClasses.EdmFunction("SqlServer", "REDUCE")]
public static System.Data.Spatial.DbGeography Reduce(System.Data.Spatial.DbGeography geographyValue, double? tolerance);
[<System.Data.Objects.DataClasses.EdmFunction("SqlServer", "REDUCE")>]
static member Reduce : System.Data.Spatial.DbGeography * Nullable<double> -> System.Data.Spatial.DbGeography
Public Shared Function Reduce (geographyValue As DbGeography, tolerance As Nullable(Of Double)) As DbGeography
參數
- geographyValue
- DbGeography
地理值。
傳回
傳回 DbGeography。
- 屬性
適用於
Reduce(DbGeometry, Nullable<Double>)
傳回指定的地理位置執行個體的近以值,產生的方法是對執行個體執行 Douglas-Peucker 演算法,內含指定的誤差。
public:
static System::Data::Spatial::DbGeometry ^ Reduce(System::Data::Spatial::DbGeometry ^ geometryValue, Nullable<double> tolerance);
[System.Data.Objects.DataClasses.EdmFunction("SqlServer", "REDUCE")]
public static System.Data.Spatial.DbGeometry Reduce(System.Data.Spatial.DbGeometry geometryValue, double? tolerance);
[<System.Data.Objects.DataClasses.EdmFunction("SqlServer", "REDUCE")>]
static member Reduce : System.Data.Spatial.DbGeometry * Nullable<double> -> System.Data.Spatial.DbGeometry
Public Shared Function Reduce (geometryValue As DbGeometry, tolerance As Nullable(Of Double)) As DbGeometry
參數
- geometryValue
- DbGeometry
幾何值。
傳回
傳回 DbGeometry。
- 屬性