Quantcast
Channel: Programming Forums
Viewing all articles
Browse latest Browse all 51036

Algorithms that convert x and y value to an angle (degrees or radian.

$
0
0
Hi i am new on the forum. I am making a smartphone application and this is the first time i’m working with algorithms.
I am looking for algorithms that can convert x and y value on a Cartesian plane (x,y) to an angle. The angle can be 0-360 degrees or 0-2π radian.

Does anyone know of such algorithms?
I have looked for geometric algorithms on Google. I have also found a list of algorithms on Wikipedia, but no luck finding this particular algorithm.
Also are there search databases that solely contain algorithms?
Thank you in Advance.

Here can you see a simple visual representation:
Posted Image

Viewing all articles
Browse latest Browse all 51036

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>