Condividi tramite


SqlSpatialFunctions.Reduce Metodo

Definizione

Overload

Reduce(DbGeography, Nullable<Double>)

Restituisce approssimazione dell'istanza specificata di posizione geografica prodotto eseguendo l'algoritmo di Douglas-Peucker nell'istanza con la tolleranza specificata.

Reduce(DbGeometry, Nullable<Double>)

Restituisce approssimazione dell'istanza specificata di posizione geografica prodotto eseguendo l'algoritmo di Douglas-Peucker nell'istanza con la tolleranza specificata.

Reduce(DbGeography, Nullable<Double>)

Restituisce approssimazione dell'istanza specificata di posizione geografica prodotto eseguendo l'algoritmo di Douglas-Peucker nell'istanza con la tolleranza specificata.

[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

Parametri

geographyValue
DbGeography

Valore di geografia.

tolerance
Nullable<Double>

Tolleranza da passare in ingresso all'algoritmo di Douglas-Peucker. la tolleranza deve essere un numero positivo.

Restituisce

Restituisce DbGeography.

Attributi

Si applica a

Reduce(DbGeometry, Nullable<Double>)

Restituisce approssimazione dell'istanza specificata di posizione geografica prodotto eseguendo l'algoritmo di Douglas-Peucker nell'istanza con la tolleranza specificata.

[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

Parametri

geometryValue
DbGeometry

Valore di geometria.

tolerance
Nullable<Double>

Tolleranza da passare in ingresso all'algoritmo di Douglas-Peucker. la tolleranza deve essere un numero positivo.

Restituisce

Restituisce DbGeometry.

Attributi

Si applica a