Sdílet prostřednictvím


SqlSpatialFunctions.Reduce Metoda

Definice

Přetížení

Reduce(DbGeography, Nullable<Double>)

Vrátí aproximaci dané geografické instance vytvořené spuštěním algoritmu Douglas-Peucker na instanci s danou tolerancí.

Reduce(DbGeometry, Nullable<Double>)

Vrátí aproximaci dané geografické instance vytvořené spuštěním algoritmu Douglas-Peucker na instanci s danou tolerancí.

Reduce(DbGeography, Nullable<Double>)

Vrátí aproximaci dané geografické instance vytvořené spuštěním algoritmu Douglas-Peucker na instanci s danou tolerancí.

[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

Zeměpisná hodnota.

tolerance
Nullable<Double>

Tolerance vstupu do algoritmu Douglas-Peucker. tolerance musí být kladné číslo.

Návraty

Vrací objekt DbGeography.

Atributy

Platí pro

Reduce(DbGeometry, Nullable<Double>)

Vrátí aproximaci dané geografické instance vytvořené spuštěním algoritmu Douglas-Peucker na instanci s danou tolerancí.

[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

Hodnota geometrie.

tolerance
Nullable<Double>

Tolerance vstupu do algoritmu Douglas-Peucker. tolerance musí být kladné číslo.

Návraty

Vrací objekt DbGeometry.

Atributy

Platí pro