public static int getSide(int x, int y, int min, int max) {
      return (x < min ? LEFT : x > max ? RIGHT : INSIDE) |
        (y < min ? TOP : y > max ? BOTTOM : INSIDE);
    }
Returns {@link #LEFT} or {@link #RIGHT} bitwise OR'd with {@link #TOP} or {@link #BOTTOM} to indicate which side
of the rectangle from {@code (x=min, y=min)} to {@code (x=max, y=max)} the {@code (x,y)} point falls in.
planetiler-core/src/main/java/com/onthegomap/planetiler/VectorTile.java