Package common

Class GeoCoords


  • public class GeoCoords
    extends java.lang.Object
    Geographical point. Represented as a pair of [lon, lat] coordinates.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private double lat  
      private double lon  
    • Constructor Summary

      Constructors 
      Constructor Description
      GeoCoords​(double lat, double lon)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      double getLat()  
      double getLon()  
      void setLat​(double lat)  
      void setLon​(double lon)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • lon

        private double lon
      • lat

        private double lat
    • Constructor Detail

      • GeoCoords

        public GeoCoords​(double lat,
                         double lon)
    • Method Detail

      • getLon

        public double getLon()
      • setLon

        public void setLon​(double lon)
      • getLat

        public double getLat()
      • setLat

        public void setLat​(double lat)