Changeset 3163 in josm for trunk/src/org/openstreetmap/josm/data/osm/BBox.java
- Timestamp:
- 2010-03-29T21:34:13+02:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/BBox.java
r3153 r3163 46 46 } 47 47 add(coor); 48 } 49 } 50 51 public BBox(Node n) { 52 LatLon coor = n.getCoor(); 53 if (coor == null) { 54 xmin = xmax = ymin = ymax = 0; 55 } else { 56 xmin = xmax = coor.lon(); 57 ymin = ymax = coor.lat(); 48 58 } 49 59 }
Note:
See TracChangeset
for help on using the changeset viewer.