Modifier and Type | Method and Description |
---|---|
Point2D |
createPoint(double x,
double y) |
void |
drawGrid(Graphics2D g,
ViewPortData vp) |
String |
export(String format)
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.
|
IDatum |
getDatum() |
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...@...)
|
Color |
getGridColor() |
double |
getScale(double minX,
double maxX,
double width,
double dpi)
First two parameters must be in meters.
|
boolean |
isProjected() |
void |
setGridColor(Color c) |
Point2D |
toGeo(Point2D pt) |
String export(String format)
format
- IDatum getDatum()
Point2D createPoint(double x, double y)
String getAbrev()
String getFullCode()
void drawGrid(Graphics2D g, ViewPortData vp)
void setGridColor(Color c)
Color getGridColor()
ICoordTrans getCT(IProjection dest)
dest
- boolean isProjected()
double getScale(double minX, double maxX, double width, double dpi)
minX
- in metersmaxX
- in meterswidth
- in pixels (dots)dpi
- dots per inchRectangle2D getExtent(Rectangle2D extent, double scale, double wImage, double hImage, double mapUnits, double distanceUnits, double dpi)