public class UTMKoordinate extends Object
Modifier and Type | Class and Description |
---|---|
static class |
UTMKoordinate.UTMHEMI
Konstantendefinition für die Hemisphäre.
|
Modifier and Type | Field and Description |
---|---|
private static int |
UTM_ZONE_MAX
Konstante für die größte erlaubte Zone.
|
private static int |
UTM_ZONE_MIN
Konstante für die kleinste erlaubte Zone.
|
private UTMKoordinate.UTMHEMI |
utmhemisphaere
die Hemisphäre.
|
private int |
utmzone
die Zone (1-60).
|
private double |
xwert
der Rechtswert (X-Koordinate).
|
private double |
ywert
der Hochwert (Y-Koordinate).
|
Constructor and Description |
---|
UTMKoordinate(double x,
double y,
int zone)
Konstruktor für eine UTM-Koordinate auf der nördlichen
Erdhalbkugel.
|
UTMKoordinate(double x,
double y,
int zone,
UTMKoordinate.UTMHEMI hemisphaere)
Konstruktor für eine UTM-Koordinate.
|
Modifier and Type | Method and Description |
---|---|
UTMKoordinate.UTMHEMI |
getHemisphaere()
Gibt die Hemisphäre zurück.
|
double |
getX()
Gibt die X-Koordinate (Rechtswert) zurück.
|
double |
getY()
Gibt die Y-Koordinate (Rechtswert) zurück.
|
int |
getZone()
Gibt die Zone zurück.
|
void |
setHemisphaere(UTMKoordinate.UTMHEMI hemisphaere)
Setzt die Hemisphäre.
|
private boolean |
testZone(int zone)
Testfunktion für die Zone.
|
private static final int UTM_ZONE_MIN
private static final int UTM_ZONE_MAX
private final double xwert
private final double ywert
private final int utmzone
private UTMKoordinate.UTMHEMI utmhemisphaere
public UTMKoordinate(double x, double y, int zone)
x
- X-Koordinatey
- Y-Koordinatezone
- Zonepublic UTMKoordinate(double x, double y, int zone, UTMKoordinate.UTMHEMI hemisphaere)
x
- X-Koordinatey
- Y-Koordinatezone
- Zonehemisphaere
- die Erdhalbkugelpublic UTMKoordinate.UTMHEMI getHemisphaere()
public double getX()
public double getY()
public int getZone()
public void setHemisphaere(UTMKoordinate.UTMHEMI hemisphaere)
hemisphaere
- Hemisphäreprivate boolean testZone(int zone)
zone
- ZoneCopyright © 2017 BitCtrl Systems GmbH. All rights reserved.