code: def range(self, location, distance):
          
          return (segment.range(location, distance) for segment in self)
docs: Test whether locations are within a given range of ``location``.
  
          Args:
              location (Point): Location to test range against
              distance (float): Distance to test location is within
  
          Returns:
              list of list of Point: Groups of points in range per segment