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.
|
|||
|
|||
float |
|
||
float |
|
||
float |
|
||
string |
|
||
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 Mon Oct 1 13:37:09 2012 | http://epydoc.sourceforge.net |