Function

atan2

Returns the angle theta from the conversion of rectangular coordinates (b, a) to polar coordinates (r, theta).

atan2

Source set: Android
public fun atan2(a: RemoteFloat, b: RemoteFloat): RemoteFloat

Returns the angle theta from the conversion of rectangular coordinates (b, a) to polar coordinates (r, theta).

Parameters

a The y-coordinate
b The x-coordinate

Last updated: