Class UTMKoordinate


  • public class UTMKoordinate
    extends java.lang.Object
    Klasse zur Repräsentation einer Koordinate im UTM (Universal Transverse Mercator) Koordinatensystem.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  UTMKoordinate.UTMHEMI
      Konstantendefinition für die Hemisphäre.
    • Constructor Summary

      Constructors 
      Constructor 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.
    • Method Summary

      Modifier and Type Method 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)
      Deprecated.
      Die Hemisphäre wird im Konstruktor gesetzt und sollte nicht mehr verändert werden.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • UTMKoordinate

        public UTMKoordinate​(double x,
                             double y,
                             int zone)
        Konstruktor für eine UTM-Koordinate auf der nördlichen Erdhalbkugel.
        Parameters:
        x - X-Koordinate
        y - Y-Koordinate
        zone - Zone
      • UTMKoordinate

        public UTMKoordinate​(double x,
                             double y,
                             int zone,
                             UTMKoordinate.UTMHEMI hemisphaere)
        Konstruktor für eine UTM-Koordinate.
        Parameters:
        x - X-Koordinate
        y - Y-Koordinate
        zone - Zone
        hemisphaere - die Erdhalbkugel
    • Method Detail

      • getHemisphaere

        public UTMKoordinate.UTMHEMI getHemisphaere()
        Gibt die Hemisphäre zurück.
        Returns:
        Hemisphäre.
      • getX

        public double getX()
        Gibt die X-Koordinate (Rechtswert) zurück.
        Returns:
        X-Koordinate
      • getY

        public double getY()
        Gibt die Y-Koordinate (Rechtswert) zurück.
        Returns:
        Y-Koordinate
      • getZone

        public int getZone()
        Gibt die Zone zurück.
        Returns:
        Zone
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object