Changeset 6890 in josm for trunk/src/org/openstreetmap/josm/data/osm/BBox.java
- Timestamp:
- 2014-02-27T02:50:12+01:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/BBox.java
r6204 r6890 107 107 } 108 108 109 public void add(LatLon c) {109 public final void add(LatLon c) { 110 110 add(c.lon(), c.lat()); 111 111 } … … 114 114 * Extends this bbox to include the point (x, y) 115 115 */ 116 public void add(double x, double y) {116 public final void add(double x, double y) { 117 117 xmin = Math.min(xmin, x); 118 118 xmax = Math.max(xmax, x); … … 122 122 } 123 123 124 public void add(BBox box) {124 public final void add(BBox box) { 125 125 xmin = Math.min(xmin, box.xmin); 126 126 xmax = Math.max(xmax, box.xmax);
Note:
See TracChangeset
for help on using the changeset viewer.