Converts a 2D point expressed in the cartesian coordinate system (X and Y axis) to the polar coordinate system (a distance from the origin and an angle).
یک نقطه دوبعدی را که در یک سیستم مختصات (روی محورهای X و Y) نشان داده شده است به سیستم قطبی (فاصله از مبدا و زاویه) تبدیل می کند