uk.me.jstott.coordconv
Class UTMReference

java.lang.Object
  extended byuk.me.jstott.coordconv.UTMReference

public class UTMReference
extends java.lang.Object

An object to represent an UTM reference

Since:
0.2
Version:
0.2
Author:
Jonathan Stott

Constructor Summary
UTMReference(double inEasting, double inNorthing, char inLatitudeZone, int inLongitudeZone)
          Create a new UTMReference object with an easting, northing and zones
 
Method Summary
 double getEasting()
          Get the easting component of the reference
 char getLatitudeZone()
          Get the latitude zone of the reference
 int getLongitudeZone()
          Get the longitude zone of the reference
 double getNorthing()
          Get the northing component of the reference
 void setEasting(double d)
          Set the easting component of the reference
 void setLatitudeZone(char inZone)
          Set the latitude zone of the reference
 void setLongitudeZone(int inZone)
          Set the longitude zone of the reference
 void setNorthing(double d)
          Set the northing component of the reference
 java.lang.String toString()
          Return a String representation of the UTMReference object
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UTMReference

public UTMReference(double inEasting,
                    double inNorthing,
                    char inLatitudeZone,
                    int inLongitudeZone)
Create a new UTMReference object with an easting, northing and zones

Parameters:
inEasting -
inNorthing -
inLatitudeZone -
inLongitudeZone -
Method Detail

toString

public java.lang.String toString()
Return a String representation of the UTMReference object

See Also:
Object.toString()

getEasting

public double getEasting()
Get the easting component of the reference

Returns:

getNorthing

public double getNorthing()
Get the northing component of the reference

Returns:

getLatitudeZone

public char getLatitudeZone()
Get the latitude zone of the reference

Returns:

getLongitudeZone

public int getLongitudeZone()
Get the longitude zone of the reference

Returns:

setEasting

public void setEasting(double d)
Set the easting component of the reference

Parameters:
d -

setNorthing

public void setNorthing(double d)
Set the northing component of the reference

Parameters:
d -

setLatitudeZone

public void setLatitudeZone(char inZone)
Set the latitude zone of the reference

Parameters:
inZone -

setLongitudeZone

public void setLongitudeZone(int inZone)
Set the longitude zone of the reference

Parameters:
inZone -