Class Point

  • All Implemented Interfaces:
    Geometry

    public class Point
    extends java.lang.Object
    implements Geometry
    Represents a Point on the earth's surface in decimal degrees.
    • Field Detail

      • EMPTY

        public static final Point EMPTY
    • Constructor Detail

      • Point

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

      • getLat

        public double getLat()
      • getLon

        public double getLon()
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • isEmpty

        public boolean isEmpty()
        Specified by:
        isEmpty in interface Geometry
      • toString

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