org.cresques.geo
Class Geodetic
java.lang.Object
org.cresques.geo.Projection
org.cresques.geo.Geodetic
- All Implemented Interfaces:
- IProjection
- public class Geodetic
- extends Projection
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
hayford
public static Geodetic hayford
Geodetic
public Geodetic()
Geodetic
public Geodetic(Ellipsoid eli)
getAbrev
public java.lang.String getAbrev()
- Specified by:
getAbrev
in interface IProjection
- Specified by:
getAbrev
in class Projection
getProjectionByName
public static IProjection getProjectionByName(IDatum eli,
java.lang.String name)
getProjection
public static Geodetic getProjection(Ellipsoid eli)
createPoint
public java.awt.geom.Point2D createPoint(double x,
double y)
- Specified by:
createPoint
in interface IProjection
- Specified by:
createPoint
in class Projection
toGeo
public java.awt.geom.Point2D toGeo(java.awt.geom.Point2D gPt)
- Specified by:
toGeo
in interface IProjection
- Specified by:
toGeo
in class Projection
- Parameters:
gPt
- Punto para pasar a GeoPoint
- Returns:
fromGeo
public java.awt.geom.Point2D fromGeo(java.awt.geom.Point2D gPt,
java.awt.geom.Point2D pPt)
- Specified by:
fromGeo
in interface IProjection
- Specified by:
fromGeo
in class Projection
drawGrid
public void drawGrid(java.awt.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)