Trees | Indices | Help |
|
---|
|
object --+ | point.Point --+ | Xearth
Since: 0.2.0
|
|||
|
|||
str
|
|
||
Inherited from Inherited from Inherited from |
|
|||
comment Location's comment |
|||
latitude Location's latitude |
|||
longitude Locations's longitude |
|||
Inherited from |
|
|||
Inherited from Inherited from |
|
Initialise a new Xearth object >>> Xearth(52.015, -0.221, "James Rowe's house") Xearth(52.015, -0.221, "James Rowe's house")
|
Pretty printed location string >>> print(Xearth(52.015, -0.221)) N52.015°; W000.221° >>> print(Xearth(52.015, -0.221).__str__(mode="dms")) 52°00'54"N, 000°13'15"W >>> print(Xearth(52.015, -0.221).__str__(mode="dm")) 52°00.90'N, 000°13.26'W >>> print(Xearth(52.015, -0.221, "James Rowe's house")) James Rowe's house (N52.015°; W000.221°)
See Also: point.Point |
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Tue May 20 12:41:51 2008 | http://epydoc.sourceforge.net |