Changeset 11774 in josm for trunk/src/org/openstreetmap/josm/data/ProjectionBounds.java
- Timestamp:
- 2017-03-25T17:33:06+01:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/ProjectionBounds.java
r10300 r11774 97 97 98 98 /** 99 * Extends bounds to include bounds {@code b}. 100 * @param b bounds to include 101 * @since 11774 102 */ 103 public void extend(ProjectionBounds b) { 104 if (b.minEast < minEast) { 105 minEast = b.minEast; 106 } 107 if (b.maxEast > maxEast) { 108 maxEast = b.maxEast; 109 } 110 if (b.minNorth < minNorth) { 111 minNorth = b.minNorth; 112 } 113 if (b.maxNorth > maxNorth) { 114 maxNorth = b.maxNorth; 115 } 116 } 117 118 /** 99 119 * Returns the center east/north. 100 120 * @return the center east/north
Note:
See TracChangeset
for help on using the changeset viewer.
