SqlFunctions.Atan2 Method
Returns the arctangent of two values.
Assembly: EntityFramework.SqlServer (in EntityFramework.SqlServer.dll)
Name | Description | |
---|---|---|
![]() ![]() | Atan2(Nullable<Decimal>, Nullable<Decimal>) | 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. The first parameter passed to the function is the y-value and the second parameter is the x-value. |
![]() ![]() | Atan2(Nullable<Double>, Nullable<Double>) | 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. The first parameter passed to the function is the y-value and the second parameter is the x-value. |
SqlFunctions.Atan2 Method (Nullable<Decimal>, Nullable<Decimal>)
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. The first parameter passed to the function is the y-value and the second parameter is the x-value.
[SuppressMessageAttribute("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "arg2")] [DbFunctionAttribute("SqlServer", "ATN2")] [SuppressMessageAttribute("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "arg1")] public static Nullable<double> Atan2( Nullable<decimal> arg1, Nullable<decimal> arg2 )
Parameters
- arg1
-
Type:
System.Nullable<Decimal>
The y-coordinate of a point.
- arg2
-
Type:
System.Nullable<Decimal>
The x-coordinate of a point.
SqlFunctions.Atan2 Method (Nullable<Double>, Nullable<Double>)
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. The first parameter passed to the function is the y-value and the second parameter is the x-value.
[DbFunctionAttribute("SqlServer", "ATN2")] [SuppressMessageAttribute("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "arg1")] [SuppressMessageAttribute("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "arg2")] public static Nullable<double> Atan2( Nullable<double> arg1, Nullable<double> arg2 )
Parameters
- arg1
-
Type:
System.Nullable<Double>
The y-coordinate of a point.
- arg2
-
Type:
System.Nullable<Double>
The x-coordinate of a point.