语言

SqlGeometry.Reduce(Double) 方法

定义

返回通过对具有给定容错的实例运行 Douglas-Peucker 算法生成的给定 SqlGeometry 实例的近似值。

[Microsoft.SqlServer.Server.SqlMethod(IsDeterministic=true, IsPrecise=false)]
public Microsoft.SqlServer.Types.SqlGeometry Reduce(double tolerance);
[<Microsoft.SqlServer.Server.SqlMethod(IsDeterministic=true, IsPrecise=false)>]
member this.Reduce : double -> Microsoft.SqlServer.Types.SqlGeometry
Public Function Reduce (tolerance As Double) As SqlGeometry

参数

tolerance
Double

一个双精度值,表示对 Douglas-Peucker 算法输入的容差。

返回

一个 SqlGeometry 对象,表示指定容差内的调用 SqlGeometry 的近似值。

属性

适用于