public class UtmZone extends Projection
Modifier and Type | Field and Description |
---|---|
double |
H |
int |
Hemisphere |
int |
Zone |
NORTH, SOUTH
Constructor and Description |
---|
UtmZone(Ellipsoid eli,
int zone,
int hemisphere,
double h) |
Modifier and Type | Method and Description |
---|---|
java.awt.geom.Point2D |
createPoint(double x,
double y) |
void |
drawGrid(java.awt.Graphics2D g,
ViewPortData vp) |
UtmPoint |
fromGeo(GeoPoint gPt,
UtmPoint uPt,
int[] ai) |
UtmPoint |
fromGeo(GeoPoint gPt,
UtmPoint uPt,
UtmZone proj) |
java.awt.geom.Point2D |
fromGeo(java.awt.geom.Point2D gPt,
java.awt.geom.Point2D uPt) |
java.lang.String |
getAbrev() |
ICoordTrans |
getCT(IProjection dest)
Crea un ICoordTrans para transformar coordenadas
desde el IProjection actual al dest.
|
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...@...)
|
static UtmZone |
getProjection(Ellipsoid eli,
int zone,
int hemisphere) |
static IProjection |
getProjectionByName(IDatum eli,
java.lang.String name) |
double |
getScale(double minX,
double maxX,
double width,
double dpi)
First two parameters must be in meters.
|
java.awt.geom.Point2D |
toGeo(java.awt.geom.Point2D uPt) |
GeoPoint |
toGeo(UtmPoint uPt,
GeoPoint gPt) |
clone, coordToString, createPoint, export, getDatum, getElliPar, getGridColor, getName, getReproyectionTo, isProjected, setGridColor
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
cloneQuietly, cloneQuietly
public UtmZone(Ellipsoid eli, int zone, int hemisphere, double h)
public java.lang.String getAbrev()
getAbrev
in interface IProjection
getAbrev
in class Projection
public static IProjection getProjectionByName(IDatum eli, java.lang.String name)
eli
- name
- public java.awt.geom.Point2D createPoint(double x, double y)
createPoint
in interface IProjection
createPoint
in class Projection
x
- y
- public java.awt.geom.Point2D toGeo(java.awt.geom.Point2D uPt)
toGeo
in interface IProjection
toGeo
in class Projection
uPt
- public java.awt.geom.Point2D fromGeo(java.awt.geom.Point2D gPt, java.awt.geom.Point2D uPt)
fromGeo
in interface IProjection
fromGeo
in class Projection
gPt
- uPt
- public UtmPoint fromGeo(GeoPoint gPt, UtmPoint uPt, UtmZone proj)
gPt
- uPt
- proj
- public UtmPoint fromGeo(GeoPoint gPt, UtmPoint uPt, int[] ai)
gPt
- uPt
- ai
- public void drawGrid(java.awt.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 java.awt.geom.Rectangle2D getExtent(java.awt.geom.Rectangle2D extent, double scale, double wImage, double hImage, double mapUnits, double distanceUnits, double dpi)
public java.lang.String getFullCode()
IProjection