3 ms·
As on example, to find longitude and latitude on a sphere from stereographic projection (given as Cartesian coordinates) you need both: [ x, y ] ↦ [ atan2(y, x
by jacobolus 6y ago
As on example, to find longitude and latitude on a sphere from stereographic projection (given as Cartesian coordinates) you need both:
[ x, y ] ↦ [ atan2(y, x), π/2 − 2 atan(√(x² + y²)) ]
But atan per se comes up all over the place if you start doing much work with angle measures.
- enriquto 6y agoshouldn't that be atan(1/sqrt(x^2+y^2))? In that case, I'd still use atan2 with y=1.
- deleted 6y ago[deleted]