|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectkaos.robots.util.gps.convert.Converter
public class Converter
Converter.java
Description:
Created on Sep 1, 2004
| Field Summary | |
|---|---|
static int |
NORTHERN_HEMISPHERE
|
static int |
SOUTHERN_HEMISPHERE
|
| Constructor Summary | |
|---|---|
Converter()
|
|
| Method Summary | |
|---|---|
static int |
getZoneNumber(double Lat,
double Long)
Returns the zone number for a given longitude. |
static int |
getZoneNumber(GPSPosition pos)
Returns the zone number for a given GPSPosition parameter. |
static double[] |
LLtoUTM(int ellipsoidRef,
double Lat,
double Long)
Converts lat/long to UTM coordinates. |
static GPSPosition |
UTMtoLL(int ellipsoidRef,
double UTMNorthing,
double UTMEasting,
int ZoneNumber,
int Hemisphere)
Converts UTM coords to lat/long. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int SOUTHERN_HEMISPHERE
public static final int NORTHERN_HEMISPHERE
| Constructor Detail |
|---|
public Converter()
| Method Detail |
|---|
public static double[] LLtoUTM(int ellipsoidRef,
double Lat,
double Long)
ellipsoidRef - Lat - -- decimal degreesLong - -- decimal degrees
public static GPSPosition UTMtoLL(int ellipsoidRef,
double UTMNorthing,
double UTMEasting,
int ZoneNumber,
int Hemisphere)
public static int getZoneNumber(GPSPosition pos)
pos -
public static int getZoneNumber(double Lat,
double Long)
Lat - -- decimal degreesLong - -- decimal degrees.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||