Compartir a través de


SqlGeometry.CurveToLineWithTolerance Método

Returns a polygonal approximation of a SqlGeometry instance that contains circular arc segments.

Espacio de nombres:  Microsoft.SqlServer.Types
Ensamblado:  Microsoft.SqlServer.Types (en Microsoft.SqlServer.Types.dll)

Sintaxis

'Declaración
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := False)> _
Public Function CurveToLineWithTolerance ( _
    tolerance As Double, _
    relative As Boolean _
) As SqlGeometry
'Uso
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

Parámetros

  • tolerance
    Tipo: System.Double
    The maximum error between the original circular arc segment and its linear approximation.
  • relative
    Tipo: System.Boolean
    Specifies whether to use a relative maximum for the deviation. If false (0), an absolute maximum is set for the deviation that a linear approximate can have. If true (1), tolerance is calculated as a product of the tolerance parameter and the diameter of the bounding box for the spatial object.

Valor devuelto

Tipo: Microsoft.SqlServer.Types.SqlGeometry
A polygonal approximation of a SqlGeometry instance that contains circular arc segments.

Vea también

Referencia

SqlGeometry Clase

Espacio de nombres Microsoft.SqlServer.Types