public interface ViewPortData extends Projected
Modifier and Type | Method and Description |
---|---|
void |
calculateAffineTransform()
Calcula la transformación afín.
|
void |
centerAt(java.awt.geom.Point2D pt)
Centrar en un punto.
|
java.lang.Object |
clone() |
java.awt.geom.Point2D |
getCenter() |
int |
getDPI() |
Extent |
getExtent() |
double |
getHeight()
Obtiene el alto de la vista
|
java.awt.geom.AffineTransform |
getMat() |
IProjection |
getProjection()
Returns the current projection.
|
java.awt.geom.Dimension2D |
getSize()
Obtiene el tamaño de la vista
|
Time |
getTime()
Gets the time information of the viewport requested
|
double |
getWidth()
Obtiene el ancho de la vista
|
void |
pan(java.awt.geom.Point2D ptIni,
java.awt.geom.Point2D ptFin)
Desplaza la vista actual.
|
void |
reExtent() |
void |
reProject(ICoordTrans rp)
Changes projection of the graphical information of this object.
|
void |
setCoordSys(IProjection cs) |
void |
setDPI(int dpi) |
void |
setExtent(java.awt.geom.Dimension2D sz) |
void |
setExtent(Extent ext)
Asigna la extensión del raster
|
void |
setMat(java.awt.geom.AffineTransform mat) |
void |
setProjection(IProjection proj) |
void |
setSize(java.awt.geom.Dimension2D sz) |
void |
setSize(double w,
double h)
Asigna el ancho y alto de la vista
|
void |
setTime(Time time)
Sets the time information of the viewport requested
|
void |
zoom(double zx,
double zy,
java.awt.geom.Point2D pt) |
void |
zoom(double zoom,
java.awt.geom.Point2D pt)
zoom centrado en un punto.
|
void |
zoom(Extent extent)
zoom a un marco.
|
void |
zoomToCenter(double f)
Zoom a una escala (geográfica);
|
IProjection getProjection()
Projected
Returns the current projection.
getProjection
in interface Projected
Projected.reProject(ICoordTrans)
void setProjection(IProjection proj)
void reProject(ICoordTrans rp)
Projected
Changes projection of the graphical information of this object.
reProject
in interface Projected
rp
- transformation coordinates for obtaining the new projectionProjected.getProjection()
void setCoordSys(IProjection cs)
java.awt.geom.AffineTransform getMat()
void setMat(java.awt.geom.AffineTransform mat)
java.lang.Object clone()
double getWidth()
double getHeight()
java.awt.geom.Dimension2D getSize()
void setSize(double w, double h)
w
- Anchoh
- Altovoid setSize(java.awt.geom.Dimension2D sz)
Extent getExtent()
void setExtent(java.awt.geom.Dimension2D sz)
void setExtent(Extent ext)
ext
- Extentvoid reExtent()
void setDPI(int dpi)
int getDPI()
void zoom(Extent extent)
extent
- void zoom(double zoom, java.awt.geom.Point2D pt)
zoom
- pt
- void zoom(double zx, double zy, java.awt.geom.Point2D pt)
void zoomToCenter(double f)
scale
- void centerAt(java.awt.geom.Point2D pt)
pt
- void pan(java.awt.geom.Point2D ptIni, java.awt.geom.Point2D ptFin)
pt
- java.awt.geom.Point2D getCenter()
void calculateAffineTransform()
Time getTime()
void setTime(Time time)