Ignore:
Timestamp:
2009-02-05T01:00:53+01:00 (16 years ago)
Author:
pieren
Message:

Add municipality boundary import from SVG data delivered by cadastre WMS.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/EastNorthBound.java

    r13497 r13545  
    1414        this.max = max;
    1515    }
     16
     17    public boolean contains(EastNorth eastNorth) {
     18        if (eastNorth.east() < min.east() || eastNorth.north() < min.north())
     19            return false;
     20        if (eastNorth.east() > max.east() || eastNorth.north() > max.north())
     21            return false;
     22        return true;
     23    }
     24
    1625    @Override public String toString() {
    1726        return "EastNorthBound[" + min.east() + "," + min.north() + "," + max.east() + "," + max.north() + "]";
Note: See TracChangeset for help on using the changeset viewer.