public class Geodetic extends Projection
Modifier and Type | Field and Description |
---|---|
static Geodetic |
hayford |
NORTH, SOUTH
Modifier and Type | Method and Description |
---|---|
Point2D |
createPoint(double x,
double y) |
void |
drawGrid(Graphics2D g,
ViewPortData vp) |
Point2D |
fromGeo(Point2D gPt,
Point2D pPt) |
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 Geodetic |
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 gPt) |
clone, coordToString, createPoint, export, getDatum, getElliPar, getGridColor, getName, getReproyectionTo, isProjected, setGridColor
public static Geodetic hayford
public Geodetic()
public Geodetic(Ellipsoid eli)
public String getAbrev()
getAbrev
in interface IProjection
getAbrev
in class Projection
public static IProjection getProjectionByName(IDatum eli, String name)
public Point2D createPoint(double x, double y)
createPoint
in interface IProjection
createPoint
in class Projection
public Point2D toGeo(Point2D gPt)
toGeo
in interface IProjection
toGeo
in class Projection
gPt
- Punto para pasar a GeoPointpublic Point2D fromGeo(Point2D gPt, Point2D pPt)
fromGeo
in interface IProjection
fromGeo
in class Projection
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 ICoordTrans getCT(IProjection dest)
IProjection
public Rectangle2D getExtent(Rectangle2D extent, double scale, double wImage, double hImage, double mapUnits, double distanceUnits, double dpi)
public String getFullCode()
IProjection