Interface GeoLocation

    • Method Detail

      • toString

        @Pure
        String toString()
        Replies the string representation of the geo-location.
        Overrides:
        toString in class Object
        Returns:
        the string representation of this location
      • toGeoId

        @Pure
        GeoId toGeoId()
        Replies the GeoId representation of the geo-location.
        Returns:
        the GeoId representation of this location
      • toUUID

        @Pure
        UUID toUUID()
        Replies the UUID of the geo-location.
        Returns:
        the UUID of this location
      • equals

        @Pure
        boolean equals​(Object location)
        Replies if the specified location is equals to this one.
        Overrides:
        equals in class Object
        Parameters:
        location - the location to test.
        Returns:
        true if the given location is equal to this location, otherwise false
      • toBounds2D

        @Pure
        Rectangle2d toBounds2D()
        Replies the area cover by this location.
        Returns:
        the bounds
      • toGeodesicPosition

        @Pure
        GeodesicPosition toGeodesicPosition()
        Replies the WSG84 (GPS) representation of this point.

        If this GeoLocation is not a point, the implementation class should provides a significant GPS point.

        Returns:
        the WSG84 (GPS) representation of this point; or null if the GPS point could not be computed.