Ignore:
Timestamp:
2020-06-17T21:47:19+02:00 (4 years ago)
Author:
simon04
Message:

fix #19381 - Upload dialog: warn about large bounding box

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/osm/BBox.java

    r16553 r16673  
    216216
    217217    /**
     218     * Gets the area of the bbox.
     219     * @return the area computed from {@link #width()} and {@link #height()}
     220     */
     221    public double area() {
     222        return width() * height();
     223    }
     224
     225    /**
    218226     * Tests, whether the bbox {@code b} lies completely inside this bbox.
    219227     * @param b bounding box
Note: See TracChangeset for help on using the changeset viewer.