SqlSpatialFunctions.Reduce Method (DbGeometry, Nullable<Double>)

.NET Framework (current version)
 

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

Namespace:   System.Data.Objects.SqlClient
Assembly:  System.Data.Entity (in System.Data.Entity.dll)

[EdmFunctionAttribute("SqlServer", "REDUCE")]
public static DbGeometry Reduce(
	DbGeometry geometryValue,
	Nullable<double> tolerance
)

Parameters

geometryValue
Type: System.Data.Spatial.DbGeometry

The geometry value.

tolerance
Type: System.Nullable<Double>

The tolerance to input to the Douglas-Peucker algorithm. tolerance must be a positive number.

Return Value

Type: System.Data.Spatial.DbGeometry

Returns DbGeometry.

.NET Framework
Available since 4.5
Return to top
Show: