src/Shared/EntityFramework.SqlServer/SqlSpatialFunctions.cs
/// <summary>Returns an approximation of the given geography instance produced by running the Douglas-Peucker algorithm on the instance with the given tolerance.</summary>
/// <returns>
/// Returns <see cref="T:System.Data.Entity.Spatial.DbGeometry" />.
/// </returns>
/// <param name="geometryValue">The geometry value.</param>
/// <param name="tolerance">The tolerance to input to the Douglas-Peucker algorithm. tolerance must be a positive number.</param>
Returns an approximation of the given geography instance produced by running the Douglas-Peucker algorithm on the instance with the given tolerance.
Returns an approximation of the given geography instance produced by running the Douglas - Peucker algorithm on the instance with the given tolerance .
[SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "tolerance")]
        [SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "geometryValue")]
        [DbFunction("SqlServer", "REDUCE")]
        public static DbGeometry Reduce(DbGeometry geometryValue, Double? tolerance)
        {
            throw new NotSupportedException(Strings.ELinq_DbFunctionDirectCall);
        }
[ SuppressMessage ( " " , " " , MessageId = " " ) ] [ SuppressMessage ( " " , " " , MessageId = " " ) ] [ DbFunction ( " " , " " ) ] public static DbGeometry Reduce ( DbGeometry geometryValue , Double ? tolerance ) { throw new NotSupportedException ( Strings . ELinq_DbFunctionDirectCall ) ; }
Returns an approximation of the given geography instance produced by running the Douglas-Peucker algorithm on the instance with the given tolerance.
Returns an approximation of the given geography instance produced by running the Douglas - Peucker algorithm on the instance with the given tolerance .
None
geometryValue
DbGeometry
The geometry value.
The geometry value .
tolerance
Double?
The tolerance to input to the Douglas-Peucker algorithm. tolerance must be a positive number.
The tolerance to input to the Douglas - Peucker algorithm . tolerance must be a positive number .