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。
- 属性