Changeset 2430 in josm for trunk/src


Ignore:
Timestamp:
2009-11-10T18:18:50+01:00 (15 years ago)
Author:
hansendc
Message:

Expose helper function in QuadBuckets.

Need this for the moment since nodes/ways are now private
in DataSet.

File:
1 edited

Legend:

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

    r2427 r2430  
    10911091        return false;
    10921092    }
    1093     public BBox search_to_bbox(LatLon point, double radius)
     1093    public static BBox search_to_bbox(LatLon point, double radius)
    10941094    {
    10951095        BBox bbox = new BBox(point.lon() - radius, point.lat() - radius,
    1096                 point.lon() + radius, point.lat() + radius);
     1096                             point.lon() + radius, point.lat() + radius);
    10971097        if (debug) {
    10981098            out("search bbox before sanity: " +  bbox);
Note: See TracChangeset for help on using the changeset viewer.