Revision 5697 trunk/extensions/extGeoreferencing/src/org/gvsig/georeferencing/gui/dialogs/GeoreferencingDialog.java
GeoreferencingDialog.java | ||
---|---|---|
38 | 38 |
import org.gvsig.georeferencing.toc.GeoRasterTocMenuEntry; |
39 | 39 |
import org.gvsig.georeferencing.utils.GeoLayerFactory; |
40 | 40 |
import org.gvsig.georeferencing.utils.GeoPointPersistence; |
41 |
import org.gvsig.georeferencing.utils.MathUtils;
|
|
41 |
import org.gvsig.georeferencing.utils.GeoUtils;
|
|
42 | 42 |
import org.gvsig.georeferencing.utils.PointManager; |
43 | 43 |
import org.gvsig.georeferencing.utils.StackZoom; |
44 | 44 |
|
... | ... | |
425 | 425 |
Point2D center = lyrGeoRaster.img2World(lyrGeoRaster.getFLyrPoints().getPoint(i).pixelPoint); |
426 | 426 |
lyrGeoRaster.getFLyrPoints().setMiniExtent( i, |
427 | 427 |
center, |
428 |
MathUtils.shiftExtent(oldCenter[i], center, getLyrPoints().getMiniExtent(i, false)),
|
|
428 |
GeoUtils.shiftExtent(oldCenter[i], center, getLyrPoints().getMiniExtent(i, false)),
|
|
429 | 429 |
false); |
430 | 430 |
if(i == getSelectedPoint()) |
431 | 431 |
updateData(i + 1, lyrGeoRaster.getFLyrPoints().getPoint(i).pixelPoint, null, null); |
... | ... | |
732 | 732 |
* @param y valor y |
733 | 733 |
*/ |
734 | 734 |
public void setMapCoordText(double x, double y){ |
735 |
getSelectPointsPanel().getDataPointPanel().getLongitud().setText(MathUtils.tailDecimals(String.valueOf(x), 5));
|
|
736 |
getSelectPointsPanel().getDataPointPanel().getLatitud().setText(MathUtils.tailDecimals(String.valueOf(y), 5));
|
|
735 |
getSelectPointsPanel().getDataPointPanel().getLongitud().setText(GeoUtils.tailDecimals(String.valueOf(x), 5));
|
|
736 |
getSelectPointsPanel().getDataPointPanel().getLatitud().setText(GeoUtils.tailDecimals(String.valueOf(y), 5));
|
|
737 | 737 |
} |
738 | 738 |
|
739 | 739 |
/** |
Also available in: Unified diff