public class CCLambert extends Projection
NORTH, SOUTH
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Creates a copy of the object.
|
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)
First two parameters must be in meters.
|
Point2D |
toGeo(Point2D lPt) |
GeoPoint |
toGeo(Point2D lPt,
GeoPoint gPt) |
coordToString, createPoint, export, getDatum, getElliPar, getGridColor, getName, getReproyectionTo, isProjected, setGridColor
public CCLambert(Ellipsoid eli)
public ICoordTrans getCT(IProjection dest)
IProjection
public String getAbrev()
getAbrev
in interface IProjection
getAbrev
in class Projection
public static IProjection getProjectionByName(IDatum eli, String name)
eli
- name
- public Point2D createPoint(double x, double y)
createPoint
in interface IProjection
createPoint
in class Projection
x
- y
- public Point2D toGeo(Point2D lPt)
toGeo
in interface IProjection
toGeo
in class Projection
lPt
- public Point2D fromGeo(Point2D gPt, Point2D lPt)
fromGeo
in interface IProjection
fromGeo
in class Projection
gPt
- lPt
- public void drawGrid(Graphics2D g, ViewPortData vp)
drawGrid
in interface IProjection
drawGrid
in class Projection
public double getScale(double minX, double maxX, double width, double dpi)
IProjection
minX
- in metersmaxX
- in meterswidth
- in pixels (dots)dpi
- dots per inchpublic Rectangle2D getExtent(Rectangle2D extent, double scale, double wImage, double hImage, double mapUnits, double distanceUnits, double dpi)
public String getFullCode()
IProjection
public Object clone() throws CloneNotSupportedException
Cloneable
clone
in class Projection
CloneNotSupportedException
- if the instance of the object cannot
be cloned. As this is extending Cloneable
so
its sure it implements it, so this exception may be used for problems
on specific object instances.Object#clone()}.