| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectvanetsim.map.OSM.OSMNode
public final class OSMNode
A helper class for processing OpenStreetMap-Nodes.
| Constructor Summary | |
|---|---|
| OSMNode(double latitude,
        double longitude)Instantiates a new helper node. | |
| OSMNode(double latitude,
        double longitude,
        boolean hasTrafficSignal)Instantiates a new helper node. | |
| Method Summary | |
|---|---|
|  Node | getRealNode()Gets a real node (node with coordinates in cm) associated to this node. | 
| static void | setCorrections(double longitudeMiddle,
               double correctionX,
               double correctionY)Sets the corrections. | 
| Methods inherited from class java.lang.Object | 
|---|
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public OSMNode(double latitude,
               double longitude)
latitude - the latitudelongitude - the longitude
public OSMNode(double latitude,
               double longitude,
               boolean hasTrafficSignal)
latitude - the latitudelongitude - the longitudehasTrafficSignal - if node has a traffic signal| Method Detail | 
|---|
public static void setCorrections(double longitudeMiddle,
                                  double correctionX,
                                  double correctionY)
longitudeMiddle - the longitude to use the middle for all conversions from WGS84 to UTMcorrectionX - 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)public Node getRealNode()
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||