def get_random(min_pt, max_pt):
        """Returns a random vector in the given range."""
        result = Point(random.random(), random.random())
        return result.get_component_product(max_pt - min_pt) + min_pt
Returns a random vector in the given range.