com.mizar.geodesy
Class UTMConverter

java.lang.Object
  extended by com.mizar.geodesy.UTMConverter

public class UTMConverter
extends java.lang.Object


Constructor Summary
UTMConverter()
           
 
Method Summary
protected  double degreeToRadian(double degree)
           
 double getEasting()
           
 java.lang.String getHemisphere()
           
 double getLatitude()
           
 double getLongitude()
           
 java.lang.String getLongitudeCode()
           
 double getNorthing()
           
 int getZone()
           
 java.lang.String latLon2MGRUTM(double latitude, double longitude)
           
 java.lang.String latLon2UTM(double latitude, double longitude)
           
static void main(java.lang.String[] args)
           
 double[] mgrs2LatLon(java.lang.String mgrs)
           
protected  double radianToDegree(double radian)
           
 double[] utm2LatLon(double easting, double northing, int zone, java.lang.String hemisphere)
           
 double[] utm2LatLon(java.lang.String UTM)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UTMConverter

public UTMConverter()
Method Detail

main

public static void main(java.lang.String[] args)

utm2LatLon

public double[] utm2LatLon(java.lang.String UTM)

utm2LatLon

public double[] utm2LatLon(double easting,
                           double northing,
                           int zone,
                           java.lang.String hemisphere)

latLon2UTM

public java.lang.String latLon2UTM(double latitude,
                                   double longitude)

latLon2MGRUTM

public java.lang.String latLon2MGRUTM(double latitude,
                                      double longitude)

mgrs2LatLon

public double[] mgrs2LatLon(java.lang.String mgrs)

degreeToRadian

protected double degreeToRadian(double degree)

radianToDegree

protected double radianToDegree(double radian)

getEasting

public double getEasting()

getNorthing

public double getNorthing()

getZone

public int getZone()

getLongitudeCode

public java.lang.String getLongitudeCode()

getLatitude

public double getLatitude()

getLongitude

public double getLongitude()

getHemisphere

public java.lang.String getHemisphere()