org.openstreetmap.josm.data.projection
Class UTM

java.lang.Object
  extended by org.openstreetmap.josm.data.projection.AbstractProjection
      extended by org.openstreetmap.josm.data.projection.UTM
All Implemented Interfaces:
Projection

public class UTM
extends AbstractProjection


Nested Class Summary
static class UTM.Hemisphere
           
 
Field Summary
private static UTM.Hemisphere DEFAULT_HEMISPHERE
           
private static int DEFAULT_ZONE
           
private  UTM.Hemisphere hemisphere
           
private  int zone
           
 
Fields inherited from class org.openstreetmap.josm.data.projection.AbstractProjection
datum, ellps, k_0, lon_0, proj, x_0, y_0
 
Constructor Summary
UTM()
           
UTM(int zone, UTM.Hemisphere hemisphere)
           
 
Method Summary
 java.lang.String getCacheDirectoryName()
          Get a filename compatible string (for the cache directory)
 java.lang.Integer getEpsgCode()
           
private  double getUtmCentralMeridianDeg(int zone)
           
 Bounds getWorldBoundsLatLon()
          Get the bounds of the world
 int getzone()
           
 int hashCode()
           
 java.lang.String toString()
          Describe the projection converter in one or two words.
 
Methods inherited from class org.openstreetmap.josm.data.projection.AbstractProjection
convertDegreeMinuteSecond, convertMinuteSecond, dump, eastNorth2latlon, getCentralMeridian, getDatum, getDefaultZoomInPPD, getEllipsoid, getFalseEasting, getFalseNorthing, getProj, getScaleFactor, latlon2eastNorth, toCode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

DEFAULT_ZONE

private static final int DEFAULT_ZONE
See Also:
Constant Field Values

zone

private int zone

DEFAULT_HEMISPHERE

private static final UTM.Hemisphere DEFAULT_HEMISPHERE

hemisphere

private UTM.Hemisphere hemisphere
Constructor Detail

UTM

public UTM()

UTM

public UTM(int zone,
           UTM.Hemisphere hemisphere)
Method Detail

getUtmCentralMeridianDeg

private double getUtmCentralMeridianDeg(int zone)

getzone

public int getzone()

toString

public java.lang.String toString()
Description copied from interface: Projection
Describe the projection converter in one or two words.

Specified by:
toString in interface Projection
Overrides:
toString in class java.lang.Object

getEpsgCode

public java.lang.Integer getEpsgCode()
Specified by:
getEpsgCode in class AbstractProjection
Returns:
The EPSG Code of this CRS, null if it doesn't have one.

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

getCacheDirectoryName

public java.lang.String getCacheDirectoryName()
Description copied from interface: Projection
Get a filename compatible string (for the cache directory)


getWorldBoundsLatLon

public Bounds getWorldBoundsLatLon()
Description copied from interface: Projection
Get the bounds of the world



JOSM