org.cresques.impl.geo
Class Gauss

java.lang.Object
  extended by org.cresques.impl.geo.Projection
      extended by org.cresques.impl.geo.Gauss
All Implemented Interfaces:
Cloneable, IProjection

public class Gauss
extends Projection

Proyeccion de Gauss (Mapa de Portugal)

Author:
"Luis W. Sevilla" * @author administrador

Field Summary
 
Fields inherited from class org.cresques.impl.geo.Projection
NORTH, SOUTH
 
Constructor Summary
Gauss(Ellipsoid eli)
           
 
Method Summary
 Point2D createPoint(double x, double y)
           
 void drawGrid(Graphics2D g, ViewPortData vp)
           
 Point2D fromGeo(Point2D gPt, Point2D gaPt)
           
 String getAbrev()
           
 ICoordTrans getCT(IProjection dest)
          Crea un ICoordTrans para transformar coordenadas desde el IProjection actual al dest.
 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...@...)
static Gauss getProjection(Ellipsoid eli)
           
static IProjection getProjectionByName(IDatum eli, String name)
           
 double getScale(double minX, double maxX, double width, double dpi)
           
 Point2D toGeo(Point2D gaPt)
           
 GeoPoint toGeo(Point2D gaPt, GeoPoint gPt)
           
 
Methods inherited from class org.cresques.impl.geo.Projection
clone, coordToString, createPoint, getDatum, getElliPar, getGridColor, getName, getReproyectionTo, isProjected, setGridColor
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Gauss

public Gauss(Ellipsoid eli)
Method Detail

getAbrev

public String getAbrev()
Specified by:
getAbrev in interface IProjection
Specified by:
getAbrev in class Projection

getProjection

public static Gauss getProjection(Ellipsoid eli)

getProjectionByName

public static IProjection getProjectionByName(IDatum eli,
                                              String name)

createPoint

public Point2D createPoint(double x,
                           double y)
Specified by:
createPoint in interface IProjection
Specified by:
createPoint in class Projection

toGeo

public Point2D toGeo(Point2D gaPt)
Specified by:
toGeo in interface IProjection
Specified by:
toGeo in class Projection
Parameters:
uPt -
Returns:

toGeo

public GeoPoint toGeo(Point2D gaPt,
                      GeoPoint gPt)
Parameters:
uPt -
gPt -
Returns:

fromGeo

public Point2D fromGeo(Point2D gPt,
                       Point2D gaPt)
Specified by:
fromGeo in interface IProjection
Specified by:
fromGeo in class Projection
Parameters:
gPt -
uPt -
Returns:

drawGrid

public void drawGrid(Graphics2D g,
                     ViewPortData vp)
Specified by:
drawGrid in interface IProjection
Specified by:
drawGrid in class Projection

getScale

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

getCT

public ICoordTrans getCT(IProjection dest)
Description copied from interface: IProjection
Crea un ICoordTrans para transformar coordenadas desde el IProjection actual al dest.

Returns:

getExtent

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

getFullCode

public String getFullCode()
Description copied from interface: IProjection
Devuelve getAbrev() mas los parametros de transformacion si los hay ej.: (EPSG:23030:proj@+proj...@...)

Returns:
getAbrev() o getAbrev()+parametros


Copyright © 2004-2013 gvSIG. All Rights Reserved.