Share via


SqlCeFunctions.Atan2 Method

Definition

Overloads

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.

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.

[System.Data.Entity.DbFunction("SqlServerCe", "ATN2")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId="arg2")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId="arg1")]
public static Nullable<double> Atan2 (Nullable<decimal> arg1, Nullable<decimal> arg2);
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)

Parameters

arg1
Nullable<Decimal>

The y-coordinate of a point.

arg2
Nullable<Decimal>

The x-coordinate of a point.

Returns

An angle, measured in radians.

Attributes

Applies to

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.

[System.Data.Entity.DbFunction("SqlServerCe", "ATN2")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId="arg1")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId="arg2")]
public static Nullable<double> Atan2 (Nullable<double> arg1, Nullable<double> arg2);
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)

Parameters

arg1
Nullable<Double>

The y-coordinate of a point.

arg2
Nullable<Double>

The x-coordinate of a point.

Returns

An angle, measured in radians.

Attributes

Applies to