#include <MAPEMIntersection.h>
Public Member Functions | |
bool | operator== (const MAPEMIntersection &other) const |
virtual bool | isEqualShallow (const MAPEMIntersection &other) const |
Public Attributes | |
unsigned int | intersection_id_ |
int | lanes_count_ |
float | lane_width_ |
double | ref_latitude_ |
double | ref_longitude_ |
std::vector< MAPEMLane > | lanes_ |
Intersection represented by a simplified MAPEM message
|
inlinevirtual |
Make a quick but incomplete comparison Calls shallow comparison for the lanes.
|
inline |
Compare equal
We do not compare the float elements, because that requires to consider accuracy.
unsigned int adore::sumo_if_ros::MAPEMIntersection::intersection_id_ |
float adore::sumo_if_ros::MAPEMIntersection::lane_width_ |
std::vector<MAPEMLane> adore::sumo_if_ros::MAPEMIntersection::lanes_ |
lanes of the intersection and their relation to each other
int adore::sumo_if_ros::MAPEMIntersection::lanes_count_ |
double adore::sumo_if_ros::MAPEMIntersection::ref_latitude_ |
latitude of the reference coordinate of the intersection often centroid of the traffic light positions on an intersection
double adore::sumo_if_ros::MAPEMIntersection::ref_longitude_ |
longitude of the reference coordinate of the intersection often centroid of the traffic light positions on an intersection