def compass_point(bearing, points = COMPASS_POINTS)
      seg_size = 360.0 / points.size
      points[((bearing + (seg_size / 2)) % 360) / seg_size]
    end
def compass_point(bearing, points = COMPASS_POINTS)
      seg_size = 360.0 / points.size
      points[((bearing + (seg_size / 2)) % 360) / seg_size]
    end
Translate a bearing (float) into a compass direction (string, eg "North").