VANET Simulator
 All Classes Functions Variables
Public Member Functions | Static Public Member Functions | List of all members
vanetsim.map.OSM.OSMNode Class Reference

Public Member Functions

 OSMNode (double latitude, double longitude)
 
 OSMNode (double latitude, double longitude, boolean hasTrafficSignal)
 
Node getRealNode ()
 

Static Public Member Functions

static void setCorrections (double longitudeMiddle, double correctionX, double correctionY)
 

Detailed Description

A helper class for processing OpenStreetMap-Nodes.

Constructor & Destructor Documentation

vanetsim.map.OSM.OSMNode.OSMNode ( double  latitude,
double  longitude 
)
inline

Instantiates a new helper node.

Parameters
latitudethe latitude
longitudethe longitude
vanetsim.map.OSM.OSMNode.OSMNode ( double  latitude,
double  longitude,
boolean  hasTrafficSignal 
)
inline

Instantiates a new helper node.

Parameters
latitudethe latitude
longitudethe longitude
hasTrafficSignalif node has a traffic signal

Member Function Documentation

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
longitudeMiddlethe longitude to use the middle for all conversions from WGS84 to UTM
correctionXthe correction value for the x coordinate (minimum x value you have)
correctionYthe correction value for the y coordinate (maximum y value you have)

The documentation for this class was generated from the following file: