App Engine Python SDK  v1.6.9 rev.445
The Python runtime is available as an experimental Preview feature.
Public Member Functions | Public Attributes | List of all members
google.appengine.api.search.search.GeoPoint Class Reference
Inheritance diagram for google.appengine.api.search.search.GeoPoint:

Public Member Functions

def __init__
 
def latitude
 
def longitude
 
def __eq__
 
def __repr__
 

Public Attributes

 latitude
 
 longitude
 

Detailed Description

Represents a point on the Earth's surface, in lat, long coordinates.

Constructor & Destructor Documentation

def google.appengine.api.search.search.GeoPoint.__init__ (   self,
  latitude,
  longitude 
)
Initializer.

Args:
  latitude: The angle between the equatorial plan and a line that passes
through the GeoPoint, between -90 and 90 degrees.
  longitude: The angle east or west from a reference meridian to another
meridian that passes through the GeoPoint, between -180 and 180 degrees.

Raises:
  TypeError: If any of the parameters have invalid types, or an unknown
attribute is passed.
  ValueError: If any of the parameters have invalid values.

Member Function Documentation

def google.appengine.api.search.search.GeoPoint.latitude (   self)
Returns the angle between equatorial plan and line thru the geo point.
def google.appengine.api.search.search.GeoPoint.longitude (   self)
Returns the angle from a reference meridian to another meridian.

The documentation for this class was generated from the following file: