|
static void | setCorrections (double longitudeMiddle, double correctionX, double correctionY) |
|
A helper class for processing OpenStreetMap-Nodes.
vanetsim.map.OSM.OSMNode.OSMNode |
( |
double |
latitude, |
|
|
double |
longitude |
|
) |
| |
|
inline |
Instantiates a new helper node.
- Parameters
-
latitude | the latitude |
longitude | the longitude |
vanetsim.map.OSM.OSMNode.OSMNode |
( |
double |
latitude, |
|
|
double |
longitude, |
|
|
boolean |
hasTrafficSignal |
|
) |
| |
|
inline |
Instantiates a new helper node.
- Parameters
-
latitude | the latitude |
longitude | the longitude |
hasTrafficSignal | if node has a traffic signal |
Node vanetsim.map.OSM.OSMNode.getRealNode |
( |
| ) |
|
|
inline |
Gets a real node (node with coordinates in cm) associated to this node.
- Returns
- the ready-to-use real node
static void vanetsim.map.OSM.OSMNode.setCorrections |
( |
double |
longitudeMiddle, |
|
|
double |
correctionX, |
|
|
double |
correctionY |
|
) |
| |
|
inlinestatic |
Sets the corrections. Valid for all OSM_Nodes so it's static!
- Parameters
-
longitudeMiddle | the longitude to use the middle for all conversions from WGS84 to UTM |
correctionX | the correction value for the x coordinate (minimum x value you have) |
correctionY | the correction value for the y coordinate (maximum y value you have) |
The documentation for this class was generated from the following file:
- /Users/andreastomandl/Desktop/Vanet-Sim/Simulator/src/vanetsim/map/OSM/OSMNode.java