API Reference
rect2pol()
Examples
2D cartesian vector to polar form
the x position
the y position
the polar form (r, theta) with theta in +/- pi radians