Interface GeoPoint


public interface GeoPoint
A point in the geocentric coordinate system.
Author:
Nicolas Helleringer
  • Method Summary

    Modifier and Type
    Method
    Description
    double
     
    double
     
    static GeoPoint
    of(double latitude, double longitude)
    Create a GeoPoint from a latitude and a longitude.
  • Method Details

    • latitude

      double latitude()
      Returns:
      the latitude, in degrees
    • longitude

      double longitude()
      Returns:
      the longitude, in degrees
    • of

      static GeoPoint of(double latitude, double longitude)
      Create a GeoPoint from a latitude and a longitude.
      Parameters:
      latitude - The latitude of the GeoPoint, in degrees.
      longitude - The longitude of the GeoPoint, in degrees.
      Returns:
      The corresponding GeoPoint.