point.toPolar([origin])

Convert rectangular to polar coordinates.

If origin is not specified, it is considered to be 0,0.