次の方法で共有


SqlGeometry.CurveToLineWithTolerance メソッド

円弧を含む SqlGeometry インスタンスの多角形近似を返します。

名前空間:  Microsoft.SqlServer.Types
アセンブリ:  Microsoft.SqlServer.Types (Microsoft.SqlServer.Types.dll)

構文

'宣言
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := False)> _
Public Function CurveToLineWithTolerance ( _
    tolerance As Double, _
    relative As Boolean _
) As SqlGeometry
'使用
Dim instance As SqlGeometry 
Dim tolerance As Double 
Dim relative As Boolean 
Dim returnValue As SqlGeometry 

returnValue = instance.CurveToLineWithTolerance(tolerance, _
    relative)
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public SqlGeometry CurveToLineWithTolerance(
    double tolerance,
    bool relative
)
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public:
SqlGeometry^ CurveToLineWithTolerance(
    double tolerance, 
    bool relative
)
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)>]
member CurveToLineWithTolerance : 
        tolerance:float * 
        relative:bool -> SqlGeometry
public function CurveToLineWithTolerance(
    tolerance : double, 
    relative : boolean
) : SqlGeometry

パラメーター

  • tolerance
    型: System.Double
    元の円弧とその線形近似の間の最大誤差です。
  • relative
    型: System.Boolean
    偏差に相対最大値を使用するかどうかを指定します。 false (0) に設定すると、線形近似で許容される偏差に絶対最大値が設定されます。 true (1) の場合、tolerance は tolerance パラメーターと空間オブジェクトに外接する四角形の直径の積として計算されます。

戻り値

型: Microsoft.SqlServer.Types.SqlGeometry
円弧を含む SqlGeometry インスタンスの多角形近似です。

関連項目

参照

SqlGeometry クラス

Microsoft.SqlServer.Types 名前空間