Ignore:
Timestamp:
2010-09-15T18:54:18+02:00 (15 years ago)
Author:
stoecker
Message:

remove tabs

File:
1 edited

Legend:

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

    r22230 r23190  
    3030    public EastNorth max;
    3131    // bbox of the georeferenced original image (raster only) (inclined if rotated and before cropping)
    32     // P[0] is bottom,left then next are clockwise. 
     32    // P[0] is bottom,left then next are clockwise.
    3333    public EastNorth[] orgRaster = new EastNorth[4];
    34     // bbox of the georeferenced original image (raster only) after cropping 
     34    // bbox of the georeferenced original image (raster only) after cropping
    3535    public EastNorth[] orgCroppedRaster = new EastNorth[4];
    3636    // angle with georeferenced original image after rotation (raster images only)(in radian)
     
    4646    public GeorefImage(BufferedImage img, EastNorth min, EastNorth max) {
    4747        image = img;
    48        
     48
    4949        this.min = min;
    5050        this.max = max;
     
    7070
    7171    /**
    72      * Recalculate the new bounding box of the image based on the four points provided as parameters. 
    73      * The new bbox defined in [min.max] will retain the extreme values of both boxes. 
     72     * Recalculate the new bounding box of the image based on the four points provided as parameters.
     73     * The new bbox defined in [min.max] will retain the extreme values of both boxes.
    7474     * @param p1 one of the bounding box corner
    7575     * @param p2 one of the bounding box corner
     
    128128                    g.drawLine(croppedPoint[i].x, croppedPoint[i].y, croppedPoint[i+1].x, croppedPoint[i+1].y);
    129129                }
    130                 /* 
     130                /*
    131131                //Uncomment this section to display the original image size (before cropping)
    132132                Point[] orgPoint = new Point[5];
     
    212212            imageOriginalHeight = in.readInt();
    213213            imageOriginalWidth =  in.readInt();
    214         }       
     214        }
    215215        image = (BufferedImage) ImageIO.read(ImageIO.createImageInputStream(in));
    216216        updatePixelPer();
     
    276276        }
    277277    }
    278    
     278
    279279    /**
    280280     * Change this image scale by moving the min,max coordinates around an anchor
    281      * @param anchor 
     281     * @param anchor
    282282     * @param proportion
    283283     */
     
    324324        angle+=delta_ang;
    325325    }
    326    
     326
    327327    /**
    328328     * Crop the image based on new bbox coordinates adj1 and adj2 (for raster images only).
Note: See TracChangeset for help on using the changeset viewer.