org.cresques.impl.geo
Class UtmZone
java.lang.Object
org.cresques.impl.geo.Projection
org.cresques.impl.geo.UtmZone
- All Implemented Interfaces:
- Cloneable, IProjection
public class UtmZone
- extends Projection
|
Method Summary |
Point2D |
createPoint(double x,
double y)
|
void |
drawGrid(Graphics2D g,
ViewPortData vp)
|
UtmPoint |
fromGeo(GeoPoint gPt,
UtmPoint uPt,
int[] ai)
|
UtmPoint |
fromGeo(GeoPoint gPt,
UtmPoint uPt,
UtmZone proj)
|
Point2D |
fromGeo(Point2D gPt,
Point2D uPt)
|
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 UtmZone |
getProjection(Ellipsoid eli,
int zone,
int hemisphere)
|
static IProjection |
getProjectionByName(IDatum eli,
String name)
|
double |
getScale(double minX,
double maxX,
double width,
double dpi)
|
Point2D |
toGeo(Point2D uPt)
|
GeoPoint |
toGeo(UtmPoint uPt,
GeoPoint gPt)
|
Zone
public int Zone
Hemisphere
public int Hemisphere
H
public double H
UtmZone
public UtmZone(Ellipsoid eli,
int zone,
int hemisphere,
double h)
getAbrev
public String getAbrev()
- Specified by:
getAbrev in interface IProjection- Specified by:
getAbrev in class Projection
getProjection
public static UtmZone getProjection(Ellipsoid eli,
int zone,
int hemisphere)
getProjectionByName
public static IProjection getProjectionByName(IDatum eli,
String name)
createPoint
public Point2D createPoint(double x,
double y)
- Specified by:
createPoint in interface IProjection- Specified by:
createPoint in class Projection
toGeo
public Point2D toGeo(Point2D uPt)
- Specified by:
toGeo in interface IProjection- Specified by:
toGeo in class Projection
- Parameters:
uPt -
- Returns:
toGeo
public GeoPoint toGeo(UtmPoint uPt,
GeoPoint gPt)
- Parameters:
uPt - gPt -
- Returns:
fromGeo
public Point2D fromGeo(Point2D gPt,
Point2D uPt)
- Specified by:
fromGeo in interface IProjection- Specified by:
fromGeo in class Projection
- Parameters:
gPt - uPt -
- Returns:
fromGeo
public UtmPoint fromGeo(GeoPoint gPt,
UtmPoint uPt,
UtmZone proj)
- Parameters:
gPt - uPt - proj -
- Returns:
fromGeo
public UtmPoint fromGeo(GeoPoint gPt,
UtmPoint uPt,
int[] ai)
- Parameters:
gPt - uPt - ai -
- Returns:
drawGrid
public void drawGrid(Graphics2D g,
ViewPortData vp)
- Specified by:
drawGrid in interface IProjection- Specified by:
drawGrid in class Projection
getScale
public double getScale(double minX,
double maxX,
double width,
double dpi)
getCT
public ICoordTrans getCT(IProjection dest)
- Description copied from interface:
IProjection
- Crea un ICoordTrans para transformar coordenadas
desde el IProjection actual al dest.
- Returns:
getExtent
public Rectangle2D getExtent(Rectangle2D extent,
double scale,
double wImage,
double hImage,
double mapUnits,
double distanceUnits,
double dpi)
getFullCode
public String getFullCode()
- Description copied from interface:
IProjection
- Devuelve getAbrev() mas los parametros de transformacion si los hay
ej.: (EPSG:23030:proj@+proj...@...)
- Returns:
- getAbrev() o getAbrev()+parametros
Copyright © 2004-2013 gvSIG. All Rights Reserved.