Home | Trees | Indices | Help |
|
---|
|
object --+ | Location
The class Location
describes points on a two-dimensional
surface. A location is defined by its two coordinates, and is immutable
after creation.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
Inherited from |
|
Initializes a new location with the given coordinates.
|
Returns the x-coordinate of the location
|
Returns the y-coordinate of the location.
|
Returns the distance between this location and another given location.
|
Returns a description of the form (X, Y) of the location.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Tue Sep 13 12:15:51 2011 | http://epydoc.sourceforge.net |