Share via


SqlGeometry.Reduce(Double) Method

Definition

Returns an approximation of the given SqlGeometry instance produced by running the Douglas-Peucker algorithm on the instance with the given tolerance.

[Microsoft.SqlServer.Server.SqlMethod(IsDeterministic=true, IsPrecise=false)]
public Microsoft.SqlServer.Types.SqlGeometry Reduce (double tolerance);
[<Microsoft.SqlServer.Server.SqlMethod(IsDeterministic=true, IsPrecise=false)>]
member this.Reduce : double -> Microsoft.SqlServer.Types.SqlGeometry
Public Function Reduce (tolerance As Double) As SqlGeometry

Parameters

tolerance
Double

A double that represents the tolerance to input to the Douglas-Peucker algorithm.

Returns

A SqlGeometry object that represents an approximation of the calling SqlGeometry within the specified tolerance.

Attributes

Applies to