Atan2 Method

Project Mercury API

[This is preliminary documentation and is subject to change.]

Returns the angle whose tangent is the quotient of the two specified numbers.

Namespace:  ProjectMercury
Assembly:  ProjectMercury (in ProjectMercury.dll) Version: 3.1.0.0

Syntax

C#
public static float Atan2(
	float y,
	float x
)
Visual Basic (Declaration)
Public Shared Function Atan2 ( _
	y As Single, _
	x As Single _
) As Single
Visual C++
public:
static float Atan2(
	float y, 
	float x
)

Parameters

y
Type: System..::.Single
The y coordinate of a point.
x
Type: System..::.Single
The x coordinate of a point.

Return Value

The angle whose tangent is the quotient of the two specified numbers.

See Also