Udostępnij za pośrednictwem


SqlSpatialFunctions.Reduce Metoda

Definicja

Przeciążenia

Reduce(DbGeography, Nullable<Double>)

Zwraca przybliżenie danego wystąpienia geograficznego wygenerowanego przez uruchomienie algorytmu Douglas-Peucker w wystąpieniu z daną tolerancją.

Reduce(DbGeometry, Nullable<Double>)

Zwraca przybliżenie danego wystąpienia geograficznego wygenerowanego przez uruchomienie algorytmu Douglas-Peucker w wystąpieniu z daną tolerancją.

Reduce(DbGeography, Nullable<Double>)

Zwraca przybliżenie danego wystąpienia geograficznego wygenerowanego przez uruchomienie algorytmu Douglas-Peucker w wystąpieniu z daną tolerancją.

[System.Data.Entity.DbFunction("SqlServer", "REDUCE")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId="tolerance")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId="geographyValue")]
public static System.Data.Entity.Spatial.DbGeography Reduce (System.Data.Entity.Spatial.DbGeography geographyValue, Nullable<double> tolerance);
static member Reduce : System.Data.Entity.Spatial.DbGeography * Nullable<double> -> System.Data.Entity.Spatial.DbGeography
Public Shared Function Reduce (geographyValue As DbGeography, tolerance As Nullable(Of Double)) As DbGeography

Parametry

geographyValue
DbGeography

Wartość geografii.

tolerance
Nullable<Double>

Tolerancja danych wejściowych algorytmu Douglas-Peucker. tolerancja musi być liczbą dodatnią.

Zwraca

Zwraca wartość DbGeography.

Atrybuty

Dotyczy

Reduce(DbGeometry, Nullable<Double>)

Zwraca przybliżenie danego wystąpienia geograficznego wygenerowanego przez uruchomienie algorytmu Douglas-Peucker w wystąpieniu z daną tolerancją.

[System.Data.Entity.DbFunction("SqlServer", "REDUCE")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId="tolerance")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId="geometryValue")]
public static System.Data.Entity.Spatial.DbGeometry Reduce (System.Data.Entity.Spatial.DbGeometry geometryValue, Nullable<double> tolerance);
static member Reduce : System.Data.Entity.Spatial.DbGeometry * Nullable<double> -> System.Data.Entity.Spatial.DbGeometry
Public Shared Function Reduce (geometryValue As DbGeometry, tolerance As Nullable(Of Double)) As DbGeometry

Parametry

geometryValue
DbGeometry

Wartość geometrii.

tolerance
Nullable<Double>

Tolerancja danych wejściowych algorytmu Douglas-Peucker. tolerancja musi być liczbą dodatnią.

Zwraca

Zwraca wartość DbGeometry.

Atrybuty

Dotyczy