g.point.random(distance, angle, origin)

Returns a new point object with random coordinates that fall within the range [x1, x2] and [y1, y2].