Changeset 11264 in josm for trunk/src/org/openstreetmap/josm/tools/GeoPropertyIndex.java
- Timestamp:
- 2016-11-16T17:07:03+01:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/GeoPropertyIndex.java
r11259 r11264 19 19 */ 20 20 public class GeoPropertyIndex<T> { 21 22 /**23 * A method to look up a property of the earth surface.24 * (User input for the index.)25 * @param <T> the property26 */27 public interface GeoProperty<T> {28 /**29 * Look up the property for a point.30 * @param ll the point coordinates31 * @return property value at that point. Must not be null.32 */33 T get(LatLon ll);34 35 /**36 * Look up the property for a coordinate rectangle.37 * @param box the rectangle38 * @return the property, if it is the same in the entire rectangle;39 * null otherwise40 */41 T get(BBox box);42 }43 21 44 22 private final int maxLevel;
Note:
See TracChangeset
for help on using the changeset viewer.
