Revision 42543 trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.projection/org.gvsig.projection.cresques/org.gvsig.projection.cresques.impl/src/main/java/org/cresques/impl/geo/UtmZone.java

View differences:

UtmZone.java
73 73
        grid = new Graticule(this);
74 74
    }
75 75

  
76
    @Override
76 77
    public String getAbrev() {
77 78
        return abrev + Zone;
78 79
    }
......
115 116

  
116 117
    /**
117 118
     *
119
     * @param eli
120
     * @param name
121
     * @return 
118 122
     */
119 123
    public static IProjection getProjectionByName(IDatum eli, String name) {
120 124
        int zone;
......
135 139

  
136 140
    /**
137 141
     *
142
     * @param x
143
     * @param y
144
     * @return 
138 145
     */
146
    @Override
139 147
    public Point2D createPoint(double x, double y) {
140 148
        return new UtmPoint(this, x, y);
141 149
    }
......
145 153
     * @param uPt
146 154
     * @return
147 155
     */
156
    @Override
148 157
    public Point2D toGeo(Point2D uPt) {
149 158
        GeoPoint gPt = new GeoPoint();
150 159

  
......
181 190
     * @param uPt
182 191
     * @return
183 192
     */
193
    @Override
184 194
    public Point2D fromGeo(Point2D gPt, Point2D uPt) {
185 195
        int[] ai = { 0, 0, 2 };
186 196

  
......
358 368
        }
359 369
    }
360 370

  
371
    @Override
361 372
    public void drawGrid(Graphics2D g, ViewPortData vp) {
362 373
        generateGrid(g, vp.getExtent(), vp.getMat());
363 374
        grid.setColor(gridColor);
......
367 378
    /* (non-Javadoc)
368 379
     * @see org.cresques.cts.IProjection#getScale(double, double, double, double)
369 380
     */
381
    @Override
370 382
    public double getScale(double minX, double maxX, double width, double dpi) {
371 383
        double scale = ((maxX - minX) * // metros
372 384
                       (dpi / 2.54 * 100.0)) / // px / metro
......
375 387
        return scale;
376 388
    }
377 389

  
390
    @Override
378 391
	public ICoordTrans getCT(IProjection dest) {
379 392
		// TODO Auto-generated method stub
380 393
		return null;
381 394
	}
382 395

  
396
    @Override
383 397
	public Rectangle2D getExtent(Rectangle2D extent, double scale, double wImage, double hImage, double mapUnits,double distanceUnits, double dpi) {
384 398
		double w =0;
385 399
		double h =0;
......
398 412
	/* (non-Javadoc)
399 413
	 * @see org.cresques.cts.IProjection#getFullCode()
400 414
	 */
415
    @Override
401 416
	public String getFullCode() {
402 417
		return getAbrev();
403 418
	}

Also available in: Unified diff