Package sabx10 :: Package oxm :: Module parking :: Class Parking
[hide private]
[frames] | no frames]

Class Parking

source code

object --+    
         |    
geom.Point --+
             |
            Parking

A Parking object sub-classes Point and adds a description to describe a parking place.

Instance Methods [hide private]
 
__init__(self, id, description, lat, lon)
Save the passed-in data.
source code

Inherited from geom.Point: calculate_distance, pt_dist_from

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Instance Variables [hide private]
string description
description of the parking place

Inherited from geom.Point: ele, id, lat, lon, usgs

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, id, description, lat, lon)
(Constructor)

source code 

Save the passed-in data.

Parameters:
  • id (string) - id of the parking place
  • description (string) - description of the parking place
  • lat (float) - latitude of parking place
  • lon (float) - longitude of parking place
Overrides: object.__init__