Trees | Indices | Help |
|
---|
|
object --+ | point.Point --+ | Trigpoint
Warning: Although this class stores and presents the representation of altitude it doesn't take it in to account when making calculations. For example, consider a point at the base of Mount Everest and a point at the peak of Mount Everest the actual distance travelled between the two would be larger than the reported value calculated at ground level.
Since: 0.2.0
|
|||
|
|||
str
|
|
||
Inherited from Inherited from Inherited from |
|
|||
altitude Location's altitude |
|||
identity Database identifier, if known |
|||
latitude Location's latitude |
|||
longitude Locations's longitude |
|||
name Location's name |
|||
Inherited from |
|
|||
Inherited from Inherited from |
|
Initialise a new Trigpoint object >>> Trigpoint(52.010585, -0.173443, 97.0, "Bygrave") Trigpoint(52.010585, -0.173443, 97.0, 'Bygrave', None)
|
Pretty printed location string >>> print(Trigpoint(52.010585, -0.173443, 97.0)) 52°00'38"N, 000°10'24"W alt 97m >>> print(Trigpoint(52.010585, -0.173443, 97.0).__str__(mode="dd")) N52.011°; W000.173° alt 97m >>> print(Trigpoint(52.010585, -0.173443, 97.0).__str__(mode="dm")) 52°00.64'N, 000°10.41'W alt 97m >>> print(Trigpoint(52.010585, -0.173443, 97.0, "Bygrave")) Bygrave (52°00'38"N, 000°10'24"W alt 97m)
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Tue May 20 12:41:45 2008 | http://epydoc.sourceforge.net |