public class Mercator extends Projection
| Modifier and Type | Field and Description |
|---|---|
static Mercator |
hayford |
static Mercator |
wgs84 |
NORTH, SOUTH| Modifier and Type | Method and Description |
|---|---|
Point2D |
createPoint(double x,
double y) |
void |
drawGrid(Graphics2D g,
ViewPortData vp) |
String |
export(String arg0)
Return the string representation of projection in the format.
|
Point2D |
fromGeo(Point2D gPt,
Point2D mPt) |
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 Mercator |
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 mPt) |
GeoPoint |
toGeo(ProjPoint mPt,
GeoPoint gPt) |
clone, coordToString, createPoint, getDatum, getElliPar, getGridColor, getName, getReproyectionTo, isProjected, setGridColorpublic Mercator(Ellipsoid eli)
public String getAbrev()
getAbrev in interface IProjectiongetAbrev in class Projectionpublic static IProjection getProjectionByName(IDatum eli, String name)
eli - name - public Point2D createPoint(double x, double y)
createPoint in interface IProjectioncreatePoint in class Projectionx - y - public Point2D toGeo(Point2D mPt)
toGeo in interface IProjectiontoGeo in class ProjectionmPt - public Point2D fromGeo(Point2D gPt, Point2D mPt)
fromGeo in interface IProjectionfromGeo in class ProjectiongPt - mPt - public void drawGrid(Graphics2D g, ViewPortData vp)
drawGrid in interface IProjectiondrawGrid in class Projectionpublic double getScale(double minX,
double maxX,
double width,
double dpi)
IProjectionminX - in metersmaxX - in meterswidth - in pixels (dots)dpi - dots per inchpublic ICoordTrans getCT(IProjection dest)
IProjectionpublic Rectangle2D getExtent(Rectangle2D extent, double scale, double wImage, double hImage, double mapUnits, double distanceUnits, double dpi)
public String getFullCode()
IProjectionpublic String export(String arg0)
IProjectionexport in interface IProjectionexport in class Projection