SqlGeometry.Reduce(Double) 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 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