Ignore:
Timestamp:
2010-04-18T23:40:01+02:00 (16 years ago)
Author:
pieren
Message:

add multi-cache management for buildings

File:
1 edited

Legend:

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

    r20390 r20931  
    132132    }
    133133
     134    public boolean isParcelColor(BufferedImage img, int x, int y) {
     135        int rgb = img.getRGB(x, y);
     136        return (rgb == parcelColor);
     137    }
     138
    134139    public boolean isBuildingOrRoofColor(BufferedImage img, int x, int y, boolean ignoreParcelColor) {
    135140        int rgb = img.getRGB(x, y);
     
    147152        return ret;
    148153    }
    149 
     154   
    150155    /**
    151156     * Checks if the rgb value is the black background color
Note: See TracChangeset for help on using the changeset viewer.