public class UTMCoordinate
extends java.lang.Object
Modifier and Type | Class | Description |
---|---|---|
static class |
UTMCoordinate.UTMHemisphere |
Eine Enumeration zur Verkapselung der zwei Halbkugeln.
|
Constructor | Description |
---|---|
UTMCoordinate() |
Konstruktor ohne Wertevorgaben.
|
UTMCoordinate(double x,
double y,
int zone) |
Konstruktor für eine UTM-Koordinate auf der nördlichen Erdhalbkugel.
|
UTMCoordinate(double x,
double y,
int zone,
UTMCoordinate.UTMHemisphere hemisphere) |
Konstruktor für eine UTM-Koordinate.
|
Modifier and Type | Method | Description |
---|---|---|
UTMCoordinate.UTMHemisphere |
getHemisphere() |
Gibt die Hemisphäre zurück.
|
double |
getX() |
Gibt die x-Koordinate zurück, die auch als Ostwert bezeichnet wird.
|
double |
getY() |
Gibt die y-Koordinate zurück, die auch als Nordwert bezeichnet wird.
|
int |
getZone() |
Gibt die UTM-Zone zurück.
|
void |
setHemisphere(UTMCoordinate.UTMHemisphere hemisphere) |
Setzt die Hemisphäre.
|
void |
setX(double x) |
Setzt den x-Koordinate, die auch als Ostwert bezeichnet wird.
|
void |
setY(double y) |
Setzt den y-Koordinate, die auch als Nordwert bezeichnet wird.
|
void |
setZone(int zone) |
Setzt die Zone.
|
java.lang.String |
toString() |
public UTMCoordinate()
public UTMCoordinate(double x, double y, int zone)
x
- der x- oder Ostwerty
- der y- oder Nordwertzone
- die UTM-Zonepublic UTMCoordinate(double x, double y, int zone, UTMCoordinate.UTMHemisphere hemisphere)
x
- der x- oder Ostwerty
- der y- oder Nordwertzone
- die UTM-Zonehemisphere
- die Hemisphärepublic UTMCoordinate.UTMHemisphere getHemisphere()
public double getX()
public void setX(double x)
x
- die neue x-Koordinate bzw. Ostwertpublic void setY(double y)
y
- die neue y-Koordinate bzw. Nordwertpublic double getY()
public void setZone(int zone)
zone
- die neue UTM-Zonepublic int getZone()
public void setHemisphere(UTMCoordinate.UTMHemisphere hemisphere)
hemisphere
- die Hemisphärepublic java.lang.String toString()
toString
in class java.lang.Object