Index: trunk/src/org/openstreetmap/josm/data/Bounds.java
===================================================================
--- trunk/src/org/openstreetmap/josm/data/Bounds.java	(revision 14518)
+++ trunk/src/org/openstreetmap/josm/data/Bounds.java	(revision 14521)
@@ -500,9 +500,22 @@
      */
     public Rectangle2D.Double asRect() {
-        double w = getWidth();
-        return new Rectangle2D.Double(minLon, minLat, w, maxLat-minLat);
-    }
-
-    private double getWidth() {
+        return new Rectangle2D.Double(minLon, minLat, getWidth(), getHeight());
+    }
+
+    /**
+     * Returns the bounds width.
+     * @return the bounds width
+     * @since 14521
+     */
+    public double getHeight() {
+        return maxLat-minLat;
+    }
+
+    /**
+     * Returns the bounds width.
+     * @return the bounds width
+     * @since 14521
+     */
+    public double getWidth() {
         return maxLon-minLon + (crosses180thMeridian() ? 360.0 : 0.0);
     }
@@ -513,5 +526,5 @@
      */
     public double getArea() {
-        return getWidth() * (maxLat - minLat);
+        return getWidth() * getHeight();
     }
 
Index: trunk/src/org/openstreetmap/josm/tools/Geometry.java
===================================================================
--- trunk/src/org/openstreetmap/josm/tools/Geometry.java	(revision 14518)
+++ trunk/src/org/openstreetmap/josm/tools/Geometry.java	(revision 14521)
@@ -840,5 +840,5 @@
         BigDecimal east = BigDecimal.ZERO;
 
-        // See https://en.wikipedia.org/wiki/Centroid#Centroid_of_a_polygon for the equation used here
+        // See https://en.wikipedia.org/wiki/Centroid#Of_a_polygon for the equation used here
         for (int i = 0; i < size; i++) {
             EastNorth n0 = nodes.get(i);
