SqlGeometry.CurveToLineWithTolerance 方法 (Double, Boolean)

 

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

命名空间:   Microsoft.SqlServer.Types
程序集:  Microsoft.SqlServer.Types(位于 Microsoft.SqlServer.Types.dll)

语法

[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public SqlGeometry CurveToLineWithTolerance(
    double tolerance,
    bool relative
)
public:
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
SqlGeometry^ CurveToLineWithTolerance(
    double tolerance,
    bool relative
)
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)>]
member CurveToLineWithTolerance : 
        tolerance:float *
        relative:bool -> SqlGeometry
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := False)>
Public Function CurveToLineWithTolerance (
    tolerance As Double,
    relative As Boolean
) As SqlGeometry

参数

  • tolerance
    Type: System.Double

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

  • relative
    Type: System.Boolean

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

返回值

Type: Microsoft.SqlServer.Types.SqlGeometry

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

另请参阅

SqlGeometry 类
Microsoft.SqlServer.Types 命名空间

返回页首