root / trunk / libraries / libFMap / src / com / iver / cit / gvsig / fmap / operations / QueriedPoint.java @ 235
History | View | Annotate | Download (764 Bytes)
1 |
/* Generated by Together */
|
---|---|
2 |
|
3 |
package com.iver.cit.gvsig.fmap.operations; |
4 |
import java.awt.geom.Point2D; |
5 |
|
6 |
/**
|
7 |
* Representa un punto introducido por el usuario para solicitar informaci?n a las capas. La clase padre mantiene la informaci?n del punto en coordenadas de la imagen y mediante el m?todo setRealCoords se asignan el punto en coordenadas del mundo real
|
8 |
*/
|
9 |
public class QueriedPoint extends Point2D.Double{ |
10 |
private double realX; |
11 |
private double realY; |
12 |
|
13 |
public QueriedPoint(double x,double y){ |
14 |
setRealCoords(x,y); |
15 |
} |
16 |
public void setRealCoords(double x, double y){ |
17 |
this.realX = x;
|
18 |
this.realY = y;
|
19 |
} |
20 |
|
21 |
public double getRealX(){ |
22 |
return realX;
|
23 |
} |
24 |
|
25 |
public double getRealY(){ |
26 |
return realY;
|
27 |
} |
28 |
} |