gvsig-raster / org.gvsig.raster / trunk / org.gvsig.raster / org.gvsig.raster.lib / org.gvsig.raster.lib.api / src / main / java / org / gvsig / fmap / dal / coverage / datastruct / GeoPoint.java @ 2443
History | View | Annotate | Download (2.99 KB)
1 |
/* gvSIG. Geographic Information System of the Valencian Government
|
---|---|
2 |
*
|
3 |
* Copyright (C) 2007-2008 Infrastructures and Transports Department
|
4 |
* of the Valencian Government (CIT)
|
5 |
*
|
6 |
* This program is free software; you can redistribute it and/or
|
7 |
* modify it under the terms of the GNU General Public License
|
8 |
* as published by the Free Software Foundation; either version 2
|
9 |
* of the License, or (at your option) any later version.
|
10 |
*
|
11 |
* This program is distributed in the hope that it will be useful,
|
12 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
13 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
14 |
* GNU General Public License for more details.
|
15 |
*
|
16 |
* You should have received a copy of the GNU General Public License
|
17 |
* along with this program; if not, write to the Free Software
|
18 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
19 |
* MA 02110-1301, USA.
|
20 |
*
|
21 |
*/
|
22 |
package org.gvsig.fmap.dal.coverage.datastruct; |
23 |
|
24 |
import java.awt.geom.Point2D; |
25 |
|
26 |
|
27 |
/**
|
28 |
* This class represents a ground control point which can be associated to a
|
29 |
* raster. This kind of points has information about real and pixel coordinates
|
30 |
* and other information like RMS errors related to it.
|
31 |
*
|
32 |
* @author Nacho Brodin (nachobrodin@gmail.com)
|
33 |
*/
|
34 |
public interface GeoPoint { |
35 |
|
36 |
/**
|
37 |
* Inicializa a 0 los valores de los errores
|
38 |
*/
|
39 |
public void resetErrors(); |
40 |
|
41 |
/**
|
42 |
* Obtiene la predicci?n de la coordenada X
|
43 |
* @return double
|
44 |
*/
|
45 |
public double getEvaluateX(); |
46 |
|
47 |
/**
|
48 |
* Asigna la predicci?n de la coordenada X
|
49 |
* @param errorX
|
50 |
*/
|
51 |
public void setEvaluateX(double xEvaluate); |
52 |
|
53 |
/**
|
54 |
* Obtiene la predicci?n de la coordenada Y
|
55 |
* @return double
|
56 |
*/
|
57 |
public double getEvaluateY(); |
58 |
|
59 |
/**
|
60 |
* Asigna la predicci?n de la coordenada Y
|
61 |
* @param errorY
|
62 |
*/
|
63 |
public void setEvaluateY(double yEvaluate); |
64 |
|
65 |
/**
|
66 |
* Obtiene el error en X
|
67 |
* @return double
|
68 |
*/
|
69 |
public double getErrorX(); |
70 |
|
71 |
/**
|
72 |
* Asigna el error en X
|
73 |
* @param errorX
|
74 |
*/
|
75 |
public void setErrorX(double errorX); |
76 |
|
77 |
/**
|
78 |
* Obtiene el error en Y
|
79 |
* @return double
|
80 |
*/
|
81 |
public double getErrorY(); |
82 |
|
83 |
/**
|
84 |
* Asigna el error en Y
|
85 |
* @param errorY
|
86 |
*/
|
87 |
public void setErrorY(double errorY); |
88 |
|
89 |
/**
|
90 |
* Obtiene el error RMS
|
91 |
* @return
|
92 |
*/
|
93 |
public double getRms(); |
94 |
|
95 |
/**
|
96 |
* Asigna el error RMS
|
97 |
* @param rms
|
98 |
*/
|
99 |
public void setRms(double rms); |
100 |
|
101 |
/**
|
102 |
* Hace una copia de la instancia del punto.
|
103 |
* @return GeoPoint
|
104 |
*/
|
105 |
public GeoPoint cloneGeoPoint();
|
106 |
|
107 |
public Point2D getPixelPoint(); |
108 |
|
109 |
public void setPixelPoint(Point2D pixelPoint); |
110 |
|
111 |
public Point2D getMapPoint(); |
112 |
|
113 |
public void setMapPoint(Point2D mapPoint); |
114 |
|
115 |
public boolean isActive(); |
116 |
|
117 |
public void setActive(boolean active); |
118 |
|
119 |
public double getxEvaluate(); |
120 |
|
121 |
public void setxEvaluate(double xEvaluate); |
122 |
|
123 |
public double getyEvaluate(); |
124 |
|
125 |
public void setyEvaluate(double yEvaluate); |
126 |
|
127 |
public int getNumber(); |
128 |
|
129 |
public String getLabel(); |
130 |
|
131 |
public void setNumber(int number); |
132 |
|
133 |
public void setLabel(String label); |
134 |
|
135 |
/**
|
136 |
* Muestra por consola algunos valores de un geopunto
|
137 |
*/
|
138 |
public void show(); |
139 |
} |