Interface GeoPoint

All Superinterfaces:
Point<GeoPoint>, Serializable
All Known Implementing Classes:
MutableGeoPoint

public interface GeoPoint extends Point<GeoPoint>
  • Field Details

  • Method Details

    • getLatitude

      double getLatitude()
    • getLongitude

      double getLongitude()
    • getAltitude

      double getAltitude()
    • toCartesian

      CartesianPoint toCartesian()
    • toUtm

      UtmPoint toUtm()
    • latLon

      static GeoPoint latLon(double latitude, double longitude)
      Creates a MutableGeoPoint from latitude and longitude.
      Parameters:
      latitude - the latitude
      longitude - the longitude
      Returns:
      a GeoPoint
      Throws:
      IllegalArgumentException - if a coordinate is invalid or Double.NaN.
    • latLon

      static GeoPoint latLon(double latitude, double longitude, double altitude)
      Creates a MutableGeoPoint from latitude and longitude.
      Parameters:
      latitude - the latitude
      longitude - the longitude
      altitude - the altitude in [m]
      Returns:
      a GeoPoint
      Throws:
      IllegalArgumentException - if a coordinate is invalid or Double.NaN.
    • lonLat

      static GeoPoint lonLat(double longitude, double latitude)
      Creates a MutableGeoPoint from latitude and longitude.
      Parameters:
      longitude - the longitude
      latitude - the latitude
      Returns:
      a GeoPoint
      Throws:
      IllegalArgumentException - if a coordinate is invalid or Double.NaN.
    • lonLat

      static GeoPoint lonLat(double longitude, double latitude, double altitude)
      Creates a MutableGeoPoint from latitude and longitude.
      Parameters:
      longitude - the longitude
      latitude - the latitude
      altitude - the altitude in [m]
      Returns:
      a GeoPoint
      Throws:
      IllegalArgumentException - if a coordinate is invalid or Double.NaN.