A geo-model node.
|
|
__init__(self,
id=None,
x=None,
y=None,
zone=None,
lon=None,
lat=None,
tags=None)
Initialize the geo-model node. |
source code
|
|
|
|
|
|
|
getLon(self)
Returns the nodes's Longitude. |
source code
|
|
|
|
setLat(self,
lat)
Sets the node's Latitude and UTM coordinates. |
source code
|
|
|
|
setLon(self,
lon)
Sets the node's Longitude and UTM coordinates. |
source code
|
|
|
|
getX(self)
Returns the node's x coordinate, it's UTM easting. |
source code
|
|
|
|
getY(self)
Returns the node's y coordinate, it's UTM northing. |
source code
|
|
|
|
|
|
|
setX(self,
x)
Sets the node's x coordinate (UTM easting) and re-calculates Lat/Lon. |
source code
|
|
|
|
setY(self,
y)
Sets the node's y coordinate (UTM northing) and re-calculates
Lat/Lon. |
source code
|
|
|
|
setZone(self,
z)
Sets the node's y coordinate (UTM northing) and re-calculates
Lat/Lon. |
source code
|
|
|
|
|
|
Inherited from routing.RoutingNode:
__cmp__,
cleanup,
get_route,
get_route_dist,
get_routes,
on_visit,
set_route,
setup,
setup2,
update
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|