Class UTMCoordinate

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

public class UTMCoordinate extends Object
Eine Klasse für UTM-Koordinaten.
  • 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 String toString()
      Overrides:
      toString in class Object