code: def minimum_distance2(hull_a, center_a, hull_b, center_b):
      '''Return the minimum distance or 0 if overlap between 2 convex hulls
      
      hull_a - list of points in clockwise direction
      center_a - a point within the hull
      hull_b - list of points in clockwise direction
      center_b - a point within the hull
      '''
      if hull_a.shape[0] < 3 or hull_b.shape[0] < 3:
          return slow_minimum_distance2(hull_a, hull_b)
      else:
          return faster_minimum_distance2(hull_a, center_a, hull_b, center_bf minimum_distance2(hull_a, center_a, hull_b, center_b):
      '''Return the minimum distance or 0 if overlap between 2 convex hulls
      
      hull_a - list of points in clockwise direction
      center_a - a point within the hull
      hull_b - list of points in clockwise direction
      center_b - a point within the hull
      '''
      if hull_a.shape[0] < 3 or hull_b.shape[0] < 3:
          return slow_minimum_distance2(hull_a, hull_b)
      else:
          return faster_minimum_distance2(hull_a, center_a, hull_b, center_b)
docs: Return the minimum distance or 0 if overlap between 2 convex hulls
      
      hull_a - list of points in clockwise direction
      center_a - a point within the hull
      hull_b - list of points in clockwise direction
      center_b - a point within the hull