Conversion from cartesian to polar co-ordinates
1 2 3 |
x |
x co-ordinate |
y |
y co-ordinate |
r or phi respectively from x and y
r.xy
: Returns polar co-ordinate r from cartesian co-ordinates x and y.
phi.xy
: Returns polar co-ordinate phi (anti-clockwise rotation from positive x-axis) from cartesian co-ordinates x and y.
Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.
All documentation is copyright its authors; we didn't write any of that.