共用方式為


SqlSpatialFunctions.Reduce 方法

定義

多載

Reduce(DbGeography, Nullable<Double>)

傳回指定的地理位置執行個體的近以值,產生的方法是對執行個體執行 Douglas-Peucker 演算法,內含指定的誤差。

Reduce(DbGeometry, Nullable<Double>)

傳回指定的地理位置執行個體的近以值,產生的方法是對執行個體執行 Douglas-Peucker 演算法,內含指定的誤差。

Reduce(DbGeography, Nullable<Double>)

傳回指定的地理位置執行個體的近以值,產生的方法是對執行個體執行 Douglas-Peucker 演算法,內含指定的誤差。

[System.Data.Entity.DbFunction("SqlServer", "REDUCE")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId="tolerance")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId="geographyValue")]
public static System.Data.Entity.Spatial.DbGeography Reduce(System.Data.Entity.Spatial.DbGeography geographyValue, Nullable<double> tolerance);
static member Reduce : System.Data.Entity.Spatial.DbGeography * Nullable<double> -> System.Data.Entity.Spatial.DbGeography
Public Shared Function Reduce (geographyValue As DbGeography, tolerance As Nullable(Of Double)) As DbGeography

參數

geographyValue
DbGeography

地理值。

tolerance
Nullable<Double>

輸入到 Douglas-Peucker 演算法的容錯。 容錯必須是正數。

傳回

傳回 DbGeography

屬性

適用於

Reduce(DbGeometry, Nullable<Double>)

傳回指定的地理位置執行個體的近以值,產生的方法是對執行個體執行 Douglas-Peucker 演算法,內含指定的誤差。

[System.Data.Entity.DbFunction("SqlServer", "REDUCE")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId="tolerance")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId="geometryValue")]
public static System.Data.Entity.Spatial.DbGeometry Reduce(System.Data.Entity.Spatial.DbGeometry geometryValue, Nullable<double> tolerance);
static member Reduce : System.Data.Entity.Spatial.DbGeometry * Nullable<double> -> System.Data.Entity.Spatial.DbGeometry
Public Shared Function Reduce (geometryValue As DbGeometry, tolerance As Nullable(Of Double)) As DbGeometry

參數

geometryValue
DbGeometry

幾何值。

tolerance
Nullable<Double>

輸入到 Douglas-Peucker 演算法的容錯。 容錯必須是正數。

傳回

傳回 DbGeometry

屬性

適用於