org.cresques.impl.geo
Class CCLambert

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

public class CCLambert
extends Projection

Proyeccion de Conica Comforme Lambert

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

Field Summary
 
Fields inherited from class org.cresques.impl.geo.Projection
NORTH, SOUTH
 
Constructor Summary
CCLambert(Ellipsoid eli)
           
 
Method Summary
 Point2D createPoint(double x, double y)
           
 void drawGrid(Graphics2D g, ViewPortData vp)
           
 Point2D fromGeo(Point2D gPt, Point2D lPt)
           
 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 CCLambert getProjection(Ellipsoid eli)
           
static IProjection getProjectionByName(IDatum eli, String name)
           
 double getScale(double minX, double maxX, double width, double dpi)
           
 Point2D toGeo(Point2D lPt)
           
 GeoPoint toGeo(Point2D lPt, 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

CCLambert

public CCLambert(Ellipsoid eli)
Method Detail

getCT

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

Returns:

getAbrev

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

getProjection

public static CCLambert 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 lPt)
Specified by:
toGeo in interface IProjection
Specified by:
toGeo in class Projection
Parameters:
uPt -
Returns:

toGeo

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

fromGeo

public Point2D fromGeo(Point2D gPt,
                       Point2D lPt)
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)

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.