SqlGeometry.CurveToLineWithTolerance(Double, Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a polygonal approximation of a SqlGeometry instance that contains circular arc segments.
[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
Parameters
- tolerance
- Double
The maximum error between the original circular arc segment and its linear approximation.
- relative
- 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.
Returns
A polygonal approximation of a SqlGeometry instance that contains circular arc segments.
- Attributes