BoundingBox implements Serializable { public static BoundingBox fromPoints(@NonNull Point southwest, @NonNull Point northeast) { return new BoundingBox(southwest, northeast); } BoundingBox(Point southwest, Point northeast); static BoundingBox fromJson(String json); static BoundingBox fromPoints(@NonNull Point southwest, @NonNull Point northeast); @Deprecated static BoundingBox fromCoordinates(
    @FloatRange(from = MIN_LONGITUDE, to = GeoJsonConstants.MAX_LONGITUDE) double west,
    @FloatRange(from = MIN_LATITUDE, to = GeoJsonConstants.MAX_LATITUDE) double south,
    @FloatRange(from = MIN_LONGITUDE, to = GeoJsonConstants.MAX_LONGITUDE) double east,
    @FloatRange(from = MIN_LATITUDE, to = GeoJsonConstants.MAX_LATITUDE) double north); @Deprecated static BoundingBox fromCoordinates(
    @FloatRange(from = MIN_LONGITUDE, to = GeoJsonConstants.MAX_LONGITUDE) double west,
    @FloatRange(from = MIN_LATITUDE, to = GeoJsonConstants.MAX_LATITUDE) double south,
    double southwestAltitude,
    @FloatRange(from = MIN_LONGITUDE, to = GeoJsonConstants.MAX_LONGITUDE) double east,
    @FloatRange(from = MIN_LATITUDE, to = GeoJsonConstants.MAX_LATITUDE) double north,
    double northEastAltitude); static BoundingBox fromLngLats(
    @FloatRange(from = MIN_LONGITUDE, to = GeoJsonConstants.MAX_LONGITUDE) double west,
    @FloatRange(from = MIN_LATITUDE, to = GeoJsonConstants.MAX_LATITUDE) double south,
    @FloatRange(from = MIN_LONGITUDE, to = GeoJsonConstants.MAX_LONGITUDE) double east,
    @FloatRange(from = MIN_LATITUDE, to = GeoJsonConstants.MAX_LATITUDE) double north); static BoundingBox fromLngLats(
    @FloatRange(from = MIN_LONGITUDE, to = GeoJsonConstants.MAX_LONGITUDE) double west,
    @FloatRange(from = MIN_LATITUDE, to = GeoJsonConstants.MAX_LATITUDE) double south,
    double southwestAltitude,
    @FloatRange(from = MIN_LONGITUDE, to = GeoJsonConstants.MAX_LONGITUDE) double east,
    @FloatRange(from = MIN_LATITUDE, to = GeoJsonConstants.MAX_LATITUDE) double north,
    double northEastAltitude); @NonNull Point southwest(); @NonNull Point northeast(); final double west(); final double south(); final double east(); final double north(); static TypeAdapter<BoundingBox> typeAdapter(Gson gson); final String toJson(); @Override String toString(); @Override boolean equals(Object obj); @Override int hashCode();  }
@Test public void sanity() throws Exception { Point southwest = Point.fromLngLat(2.0, 2.0); Point northeast = Point.fromLngLat(4.0, 4.0); BoundingBox boundingBox = BoundingBox.fromPoints(southwest, northeast); assertNotNull(boundingBox); }