 | MathUtilsAtan2 Method |
Returns the angle in radians between the positive x-axis of a plane and the point given by the coordinates (x, y).
Namespace: Slash.Math.UtilsAssembly: Slash.Math (in Slash.Math.dll) Version: 1.0.6018.40177
Syntaxpublic static float Atan2(
float y,
float x
)
Public Shared Function Atan2 (
y As Single,
x As Single
) As Single
public:
static float Atan2(
float y,
float x
)
static member Atan2 :
y : float32 *
x : float32 -> float32
Parameters
- y
- Type: SystemSingle
y-coordinate of the point. - x
- Type: SystemSingle
x-coordinate of the point.
Return Value
Type:
SingleAngle whose tangent is the quotient of the specified numbers.
See Also