public abstract class AbstractProjection extends java.lang.Object implements Projection
| Modifier and Type | Field and Description |
|---|---|
protected Datum |
datum |
protected Ellipsoid |
ellps |
protected double |
k0 |
protected double |
lon0 |
protected double |
pm |
protected Proj |
proj |
private ProjectionBounds |
projectionBoundsBox |
protected double |
toMeter |
protected double |
x0 |
protected double |
y0 |
| Constructor and Description |
|---|
AbstractProjection() |
| Modifier and Type | Method and Description |
|---|---|
protected static double |
convertDegreeMinuteSecond(double degree,
double minute,
double second) |
protected static double |
convertMinuteSecond(double minute,
double second) |
LatLon |
eastNorth2latlon(EastNorth en)
Convert from easting/norting to lat/lon.
|
double |
getCentralMeridian() |
Datum |
getDatum() |
double |
getDefaultZoomInPPD()
The default scale factor in east/north units per pixel
(
NavigatableComponent.getState())). |
Ellipsoid |
getEllipsoid() |
abstract java.lang.Integer |
getEpsgCode() |
double |
getFalseEasting() |
double |
getFalseNorthing() |
Proj |
getProj()
Replies the projection (in the narrow sense)
|
double |
getScaleFactor() |
double |
getToMeter()
Get the factor that converts meters to intended units of east/north coordinates.
|
ProjectionBounds |
getWorldBoundsBoxEastNorth()
Get an approximate EastNorth box around the lat/lon world bounds.
|
EastNorth |
latlon2eastNorth(LatLon ll)
Convert from lat/lon to easting/northing.
|
java.lang.String |
toCode()
Default implementation of toCode().
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCacheDirectoryName, getLatLonBoundsBox, getMetersPerUnit, getWorldBoundsLatLon, switchXY, toStringprotected double x0
protected double y0
protected double lon0
protected double pm
protected double k0
protected double toMeter
private volatile ProjectionBounds projectionBoundsBox
public AbstractProjection()
public final Ellipsoid getEllipsoid()
public final Proj getProj()
public final double getFalseEasting()
public final double getFalseNorthing()
public final double getCentralMeridian()
public final double getScaleFactor()
public final double getToMeter()
public EastNorth latlon2eastNorth(LatLon ll)
Projectionlatlon2eastNorth in interface Projectionll - the geographical point to convert (in WGS84 lat/lon)public LatLon eastNorth2latlon(EastNorth en)
ProjectioneastNorth2latlon in interface Projectionen - the geographical point to convert (in projected coordinates)public double getDefaultZoomInPPD()
ProjectionNavigatableComponent.getState())).
FIXME: misnomergetDefaultZoomInPPD in interface Projectionpublic abstract java.lang.Integer getEpsgCode()
public java.lang.String toCode()
toCode in interface Projectionprotected static final double convertMinuteSecond(double minute, double second)
protected static final double convertDegreeMinuteSecond(double degree, double minute, double second)
public final ProjectionBounds getWorldBoundsBoxEastNorth()
ProjectionProjection.getWorldBoundsLatLon(). The lat/lon bounds need not be a
rectangular shape in east/north space. This method returns a box that
contains this shape.getWorldBoundsBoxEastNorth in interface Projection