Condividi tramite


Metodo SqlSpatialFunctions.EnvelopeAngle

[Questa pagina è specifica della versione 6 di Entity Framework. La versione più recente è disponibile come pacchetto NuGet per "Entity Framework". Per ulteriori informazioni su Entity Framework, vedere la pagina msdn.com/data/ef.]

Restituisce l'angolo massimo in gradi tra il punto restituito da EnvelopeCenter() e un punto dell'istanza geografica.

Spazio dei nomi:  System.Data.Entity.SqlServer
Assembly:  EntityFramework.SqlServer (in EntityFramework.SqlServer.dll)

Sintassi

'Dichiarazione
<SuppressMessageAttribute("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId := "geographyValue")> _
<DbFunctionAttribute("SqlServer", "ENVELOPEANGLE")> _
Public Shared Function EnvelopeAngle ( _
    geographyValue As DbGeography _
) As Nullable(Of Double)
'Utilizzo
Dim geographyValue As DbGeography 
Dim returnValue As Nullable(Of Double)

returnValue = SqlSpatialFunctions.EnvelopeAngle(geographyValue)
[SuppressMessageAttribute("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "geographyValue")]
[DbFunctionAttribute("SqlServer", "ENVELOPEANGLE")]
public static Nullable<double> EnvelopeAngle(
    DbGeography geographyValue
)
[SuppressMessageAttribute(L"Microsoft.Usage", L"CA1801:ReviewUnusedParameters", MessageId = L"geographyValue")]
[DbFunctionAttribute(L"SqlServer", L"ENVELOPEANGLE")]
public:
static Nullable<double> EnvelopeAngle(
    DbGeography^ geographyValue
)
[<SuppressMessageAttribute("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "geographyValue")>]
[<DbFunctionAttribute("SqlServer", "ENVELOPEANGLE")>]
static member EnvelopeAngle : 
        geographyValue:DbGeography -> Nullable<float> 
public static function EnvelopeAngle(
    geographyValue : DbGeography
) : Nullable<double>

Parametri

Valore restituito

Tipo: System.Nullable<Double>
l'angolo massimo tra il punto restituito da EnvelopeCenter().

Vedere anche

Riferimento

SqlSpatialFunctions Classe

Spazio dei nomi System.Data.Entity.SqlServer