docs: private static boolean inRing(Point pt, List<Point> ring) {
      boolean isInside = false;
  
      for (int i = 0, j = ring.size() - 1; i < ring.size(); j = i++) {
        double xi = ring.get(i).longitude();
        double yi = ring.get(i).latitude();
        double xj = ring.get(j).longitude();
        double yj = ring.get(j).latitude();
        boolean intersect = (
          (yi > pt.latitude()) != (yj > pt.latitude()))
          && (pt.longitude() < (xj - xi) * (pt.latitude() - yi) / (yj - yi) + xi);
        if (intersect) {
          isInside = !isInside;
        }
      }
      return isInside;
    }