|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectuk.me.jstott.jcoord.UTMRef
public class UTMRef
Class to represent a UTM reference (c) 2006 Jonathan Stott Created on 11-Feb-2006
| Constructor Summary | |
|---|---|
UTMRef(double easting,
double northing,
char latZone,
int lngZone)
Create a new UTM reference object. |
|
| Method Summary | |
|---|---|
double |
getEasting()
Get the easting. |
char |
getLatZone()
Get the latitude zone character. |
int |
getLngZone()
Get the longitude zone number. |
double |
getNorthing()
Get the northing. |
static char |
getUTMLatitudeZoneLetter(double latitude)
Work out the UTM latitude zone from the latitude. |
LatLng |
toLatLng()
Convert this UTM reference to a latitude and longitude. |
java.lang.String |
toString()
Convert this UTM reference to a String representation for printing out. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public UTMRef(double easting,
double northing,
char latZone,
int lngZone)
easting - the eastingnorthing - the northinglatZone - the latitude zone characterlngZone - the longitude zone number| Method Detail |
|---|
public LatLng toLatLng()
public static char getUTMLatitudeZoneLetter(double latitude)
latitude - the latitude to find the UTM latitude zone for
public java.lang.String toString()
toString in class java.lang.Objectpublic double getEasting()
public double getNorthing()
public char getLatZone()
public int getLngZone()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||