SqlSpatialFunctions.Reduce 方法

定义

返回通过在具有给定公差的实例上运行 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

地理值。

tolerance
Nullable<Double>

要输入到 Douglas-Peucker 算法的容错。 容错必须为正数。

返回

返回 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

几何值。

tolerance
Nullable<Double>

要输入到 Douglas-Peucker 算法的容错。 容错必须为正数。

返回

返回 DbGeometry

属性

适用于