g.Point.fromPolar(distance, angle, origin)

Returns a new Point object from the given polar coordinates.