org.cresques.cts
Interface IProjection

All Superinterfaces:
Cloneable
All Known Subinterfaces:
UTM
All Known Implementing Classes:
CCLambert, CoordSys, CSGaussPt, CSLambertCC, CSMercator, CSUTM, Gauss, Geodetic, Mercator, Projection, UtmZone

public interface IProjection
extends Cloneable

Author:
"Luis W. Sevilla" (sevilla_lui@gva.es)

Method Summary
 Point2D createPoint(double x, double y)
           
 void drawGrid(Graphics2D g, ViewPortData vp)
           
 Point2D fromGeo(Point2D gPt, Point2D mPt)
           
 String getAbrev()
           
 ICoordTrans getCT(IProjection dest)
          Crea un ICoordTrans para transformar coordenadas desde el IProjection actual al dest.
 IDatum getDatum()
           
 Rectangle2D getExtent(Rectangle2D extent, double scale, double wImage, double hImage, double mapUnits, double distanceUnits, double dpi)
           
 String getFullCode()
          Devuelve getAbrev() mas los parametros de transformacion si los hay ej.: (EPSG:23030:proj@+proj...@...)
 Color getGridColor()
           
 double getScale(double minX, double maxX, double width, double dpi)
           
 boolean isProjected()
           
 void setGridColor(Color c)
           
 Point2D toGeo(Point2D pt)
           
 
Methods inherited from interface org.gvsig.tools.lang.Cloneable
clone
 

Method Detail

getDatum

IDatum getDatum()

createPoint

Point2D createPoint(double x,
                    double y)

getAbrev

String getAbrev()

getFullCode

String getFullCode()
Devuelve getAbrev() mas los parametros de transformacion si los hay ej.: (EPSG:23030:proj@+proj...@...)

Returns:
getAbrev() o getAbrev()+parametros

drawGrid

void drawGrid(Graphics2D g,
              ViewPortData vp)

setGridColor

void setGridColor(Color c)

getGridColor

Color getGridColor()

getCT

ICoordTrans getCT(IProjection dest)
Crea un ICoordTrans para transformar coordenadas desde el IProjection actual al dest.

Parameters:
dest -
Returns:

toGeo

Point2D toGeo(Point2D pt)

fromGeo

Point2D fromGeo(Point2D gPt,
                Point2D mPt)

isProjected

boolean isProjected()

getScale

double getScale(double minX,
                double maxX,
                double width,
                double dpi)

getExtent

Rectangle2D getExtent(Rectangle2D extent,
                      double scale,
                      double wImage,
                      double hImage,
                      double mapUnits,
                      double distanceUnits,
                      double dpi)


Copyright © 2004-2013 gvSIG. All Rights Reserved.