Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

SqlGeometry.CurveToLineWithTolerance Method

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

Namespace:  Microsoft.SqlServer.Types
Assembly:  Microsoft.SqlServer.Types (in Microsoft.SqlServer.Types.dll)

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

returnValue = instance.CurveToLineWithTolerance(tolerance, _
	relative)

Parameters

tolerance
Type: Double
The maximum error between the original circular arc segment and its linear approximation.
relative
Type: 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.

Return Value

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

Community Additions

Show:
© 2015 Microsoft