SqlGeography.Reduce(Double) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Retourne une approximation de l’instance géographique donnée produite en exécutant l’algorithme Douglas-Peucker sur l’instance avec la tolérance donnée.
[Microsoft.SqlServer.Server.SqlMethod(IsDeterministic=true, IsPrecise=false)]
public Microsoft.SqlServer.Types.SqlGeography Reduce(double tolerance);
[<Microsoft.SqlServer.Server.SqlMethod(IsDeterministic=true, IsPrecise=false)>]
member this.Reduce : double -> Microsoft.SqlServer.Types.SqlGeography
Public Function Reduce (tolerance As Double) As SqlGeography
Paramètres
- tolerance
- Double
Double qui représente la tolérance à l’entrée à l’algorithme de Douglas-Peucker. la tolérance doit être un nombre positif.
Retours
Valeur SqlGeography représentant une approximation de l’instance actuelle.
- Attributs