Modifier and Type | Method and Description |
---|---|
java.awt.geom.Point2D |
createPoint(double x,
double y) |
void |
drawGrid(java.awt.Graphics2D g,
ViewPortData vp) |
java.lang.String |
export(java.lang.String format)
Return the string representation of projection in the format.
|
java.awt.geom.Point2D |
fromGeo(java.awt.geom.Point2D gPt,
java.awt.geom.Point2D mPt) |
java.lang.String |
getAbrev() |
ICoordTrans |
getCT(IProjection dest)
Crea un ICoordTrans para transformar coordenadas
desde el IProjection actual al dest.
|
IDatum |
getDatum() |
java.awt.geom.Rectangle2D |
getExtent(java.awt.geom.Rectangle2D extent,
double scale,
double wImage,
double hImage,
double mapUnits,
double distanceUnits,
double dpi) |
java.lang.String |
getFullCode()
Devuelve getAbrev() mas los parametros de transformacion si los hay
ej.: (EPSG:23030:proj@+proj...@...)
|
java.awt.Color |
getGridColor() |
double |
getScale(double minX,
double maxX,
double width,
double dpi)
First two parameters must be in meters.
|
boolean |
isProjected() |
void |
setGridColor(java.awt.Color c) |
java.awt.geom.Point2D |
toGeo(java.awt.geom.Point2D pt) |
clone, cloneQuietly, cloneQuietly
java.lang.String export(java.lang.String format)
format
- IDatum getDatum()
java.awt.geom.Point2D createPoint(double x, double y)
java.lang.String getAbrev()
java.lang.String getFullCode()
void drawGrid(java.awt.Graphics2D g, ViewPortData vp)
void setGridColor(java.awt.Color c)
java.awt.Color getGridColor()
ICoordTrans getCT(IProjection dest)
dest
- java.awt.geom.Point2D toGeo(java.awt.geom.Point2D pt)
java.awt.geom.Point2D fromGeo(java.awt.geom.Point2D gPt, java.awt.geom.Point2D mPt)
boolean isProjected()
double getScale(double minX, double maxX, double width, double dpi)
minX
- in metersmaxX
- in meterswidth
- in pixels (dots)dpi
- dots per inchjava.awt.geom.Rectangle2D getExtent(java.awt.geom.Rectangle2D extent, double scale, double wImage, double hImage, double mapUnits, double distanceUnits, double dpi)