Class UTMCoordinate

java.lang.Object
de.kappich.pat.gnd.coorTransform.UTMCoordinate

public class UTMCoordinate
extends java.lang.Object
Eine Klasse für UTM-Koordinaten.
  • Nested Class Summary

    Nested Classes
    Modifier and Type Class Description
    static class  UTMCoordinate.UTMHemisphere
    Eine Enumeration zur Verkapselung der zwei Halbkugeln.
  • Constructor Summary

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

    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()  

    Methods inherited from class java.lang.Object

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

    • UTMCoordinate

      public UTMCoordinate()
      Konstruktor ohne Wertevorgaben.
    • UTMCoordinate

      public UTMCoordinate​(double x, double y, int zone)
      Konstruktor für eine UTM-Koordinate auf der nördlichen Erdhalbkugel.
      Parameters:
      x - der x- oder Ostwert
      y - der y- oder Nordwert
      zone - die UTM-Zone
    • UTMCoordinate

      public UTMCoordinate​(double x, double y, int zone, UTMCoordinate.UTMHemisphere hemisphere)
      Konstruktor für eine UTM-Koordinate.
      Parameters:
      x - der x- oder Ostwert
      y - der y- oder Nordwert
      zone - die UTM-Zone
      hemisphere - die Hemisphäre
  • Method Details

    • getHemisphere

      public UTMCoordinate.UTMHemisphere getHemisphere()
      Gibt die Hemisphäre zurück.
      Returns:
      gibt die Hemisphäre zurück
    • setHemisphere

      public void setHemisphere​(UTMCoordinate.UTMHemisphere hemisphere)
      Setzt die Hemisphäre.
      Parameters:
      hemisphere - die Hemisphäre
    • getX

      public double getX()
      Gibt die x-Koordinate zurück, die auch als Ostwert bezeichnet wird.
      Returns:
      gibt die x-Koordinate oder Ostwert zurück
    • setX

      public void setX​(double x)
      Setzt den x-Koordinate, die auch als Ostwert bezeichnet wird.
      Parameters:
      x - die neue x-Koordinate bzw. Ostwert
    • getY

      public double getY()
      Gibt die y-Koordinate zurück, die auch als Nordwert bezeichnet wird.
      Returns:
      gibt die y-Koordinate bzw. Nordwert zurück
    • setY

      public void setY​(double y)
      Setzt den y-Koordinate, die auch als Nordwert bezeichnet wird.
      Parameters:
      y - die neue y-Koordinate bzw. Nordwert
    • getZone

      public int getZone()
      Gibt die UTM-Zone zurück.
      Returns:
      gibt die UTM-Zone zurück
    • setZone

      public void setZone​(int zone)
      Setzt die Zone.
      Parameters:
      zone - die neue UTM-Zone
    • toString

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