SqlCeFunctions.Atan2 Method

 

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.

Namespace:   System.Data.Entity.SqlServerCompact
Assembly:  EntityFramework.SqlServerCompact (in EntityFramework.SqlServerCompact.dll)

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticAtan2(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_CAPS_pubmethodSystem_CAPS_staticAtan2(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.


SqlCeFunctions.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("SqlServerCe", "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.

Return Value

Type: System.Nullable<Double>

An angle, measured in radians.


SqlCeFunctions.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("SqlServerCe", "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.

Return Value

Type: System.Nullable<Double>

An angle, measured in radians.