语言

SqlGeometry.CurveToLineWithTolerance(Double, Boolean) 方法

定义

返回包含圆弧线段的实例的 SqlGeometry 多边形近似值。

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

参数

tolerance
Double

原始圆弧线段与其线性近似值之间的最大误差。

relative
Boolean

指定是否对偏差使用相对最大值。 如果为 false (0),则为线性近似值可以具有的偏差设置绝对最大值。 如果为 true (1),则容差计算为参数的 tolerance 乘积和空间对象的边界框的直径。

返回

包含圆弧线段的实例的 SqlGeometry 多边形近似值。

属性

适用于