com.google.appengine.api.search

## Class GeoPoint

- java.lang.Object
- - com.google.appengine.api.search.GeoPoint

-     public class GeoPoint
      extends java.lang.Object

  Represents a point on the Earth's surface, in latitude and longitude coordinates.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `GeoPoint(double latitude, double longitude)` Constructs a `GeoPoint` from a given latitude and longitude.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `double` | `getLatitude()`
    `double` | `getLongitude()`
    `java.lang.String` | `toString()`

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### GeoPoint

          public GeoPoint(double latitude,
                          double longitude)

      Constructs a `GeoPoint` from a given latitude and longitude.
      Parameters:
        `latitude` - the angle between the equatorial plane and a line that passes through the GeoPoint
        `longitude` - is the angle east or west from a reference meridian to another meridian that passes through the GeoPoint

  - ### Method Detail

    - #### getLatitude

          public double getLatitude()

      Returns:
        the angle between the equatorial plan and a line that passes through the GeoPoint

    - #### getLongitude

          public double getLongitude()

      Returns:
        the angle east or west from a reference meridian to another meridian that passes through the GeoPoint

    - #### toString

          public java.lang.String toString()

      Overrides:
        `toString` in class `java.lang.Object`