SqlFunctions.Atan2 Método
Definição
Retorna o ângulo positivo, em radianos, entre o eixo x positivo e o raio da origem através do ponto (x, y), em que x e y são os dois valores numéricos especificados.Returns the positive angle, in radians, between the positive x-axis and the ray from the origin through the point (x, y), where x and y are the two specified numerical values. O primeiro parâmetro passado para a função é o valor y e o segundo parâmetro é o valor x.The first parameter passed to the function is the y-value and the second parameter is the x-value.
Sobrecargas
| Atan2(Nullable<Decimal>, Nullable<Decimal>) |
Retorna o ângulo positivo, em radianos, entre o eixo x positivo e o raio da origem através do ponto (x, y), em que x e y são os dois valores numéricos especificados.Returns the positive angle, in radians, between the positive x-axis and the ray from the origin through the point (x, y), where x and y are the two specified numerical values. O primeiro parâmetro passado para a função é o valor y e o segundo parâmetro é o valor x.The first parameter passed to the function is the y-value and the second parameter is the x-value. |
| Atan2(Nullable<Double>, Nullable<Double>) |
Retorna o ângulo positivo, em radianos, entre o eixo x positivo e o raio da origem através do ponto (x, y), em que x e y são os dois valores numéricos especificados.Returns the positive angle, in radians, between the positive x-axis and the ray from the origin through the point (x, y), where x and y are the two specified numerical values. O primeiro parâmetro passado para a função é o valor y e o segundo parâmetro é o valor x.The first parameter passed to the function is the y-value and the second parameter is the x-value. |
Comentários
Você não pode chamar essa função diretamente.You cannot call this function directly. Essa função só pode aparecer dentro de uma consulta LINQ to Entities.This function can only appear within a LINQ to Entities query.
Essa função é convertida em uma função correspondente no banco de dados.This function is translated to a corresponding function in the database. Para obter informações sobre a função de SQL Server correspondente, consulte ATN2 (Transact-SQL).For information about the corresponding SQL Server function, see ATN2 (Transact-SQL).
Atan2(Nullable<Decimal>, Nullable<Decimal>)
Retorna o ângulo positivo, em radianos, entre o eixo x positivo e o raio da origem através do ponto (x, y), em que x e y são os dois valores numéricos especificados.Returns the positive angle, in radians, between the positive x-axis and the ray from the origin through the point (x, y), where x and y are the two specified numerical values. O primeiro parâmetro passado para a função é o valor y e o segundo parâmetro é o valor x.The first parameter passed to the function is the y-value and the second parameter is the x-value.
public:
static Nullable<double> Atan2(Nullable<System::Decimal> arg1, Nullable<System::Decimal> arg2);
[System.Data.Objects.DataClasses.EdmFunction("SqlServer", "ATN2")]
public static double? Atan2 (decimal? arg1, decimal? arg2);
[<System.Data.Objects.DataClasses.EdmFunction("SqlServer", "ATN2")>]
static member Atan2 : Nullable<decimal> * Nullable<decimal> -> Nullable<double>
Public Shared Function Atan2 (arg1 As Nullable(Of Decimal), arg2 As Nullable(Of Decimal)) As Nullable(Of Double)
Parâmetros
Retornos
Um ângulo, medido em radianos.An angle, measured in radians.
- Atributos
Comentários
Você não pode chamar essa função diretamente.You cannot call this function directly. Essa função só pode aparecer dentro de uma consulta LINQ to Entities.This function can only appear within a LINQ to Entities query.
Essa função é convertida em uma função correspondente no banco de dados.This function is translated to a corresponding function in the database. Para obter informações sobre a função de SQL Server correspondente, consulte ATN2 (Transact-SQL).For information about the corresponding SQL Server function, see ATN2 (Transact-SQL).
Aplica-se a
Atan2(Nullable<Double>, Nullable<Double>)
Retorna o ângulo positivo, em radianos, entre o eixo x positivo e o raio da origem através do ponto (x, y), em que x e y são os dois valores numéricos especificados.Returns the positive angle, in radians, between the positive x-axis and the ray from the origin through the point (x, y), where x and y are the two specified numerical values. O primeiro parâmetro passado para a função é o valor y e o segundo parâmetro é o valor x.The first parameter passed to the function is the y-value and the second parameter is the x-value.
public:
static Nullable<double> Atan2(Nullable<double> arg1, Nullable<double> arg2);
[System.Data.Objects.DataClasses.EdmFunction("SqlServer", "ATN2")]
public static double? Atan2 (double? arg1, double? arg2);
[<System.Data.Objects.DataClasses.EdmFunction("SqlServer", "ATN2")>]
static member Atan2 : Nullable<double> * Nullable<double> -> Nullable<double>
Public Shared Function Atan2 (arg1 As Nullable(Of Double), arg2 As Nullable(Of Double)) As Nullable(Of Double)
Parâmetros
Retornos
Um ângulo, medido em radianos.An angle, measured in radians.
- Atributos
Comentários
Você não pode chamar essa função diretamente.You cannot call this function directly. Essa função só pode aparecer dentro de uma consulta LINQ to Entities.This function can only appear within a LINQ to Entities query.
Essa função é convertida em uma função correspondente no banco de dados.This function is translated to a corresponding function in the database. Para obter informações sobre a função de SQL Server correspondente, consulte ATN2 (Transact-SQL).For information about the corresponding SQL Server function, see ATN2 (Transact-SQL).