Eclipse SUMO - Simulation of Urban MObility
|
class lane2lane connection geometry More...
#include <GNELane2laneConnection.h>
Public Member Functions | |
bool | exist (const GNELane *toLane) const |
check if exist a lane2lane geometry for the given toLane | |
const GUIGeometry & | getLane2laneGeometry (const GNELane *toLane) const |
get lane2lane geometry | |
GNELane2laneConnection (const GNELane *fromLane) | |
constructor | |
void | updateLane2laneConnection () |
update | |
Protected Attributes | |
std::map< const GNELane *, GUIGeometry > | myConnectionsMap |
connection shape | |
const GNELane * | myFromLane |
from lane | |
Private Member Functions | |
GNELane2laneConnection () | |
constructor | |
GNELane2laneConnection & | operator= (const GNELane2laneConnection &other)=delete |
Invalidated assignment operator. | |
class lane2lane connection geometry
Definition at line 36 of file GNELane2laneConnection.h.
GNELane2laneConnection::GNELane2laneConnection | ( | const GNELane * | fromLane | ) |
constructor
Definition at line 32 of file GNELane2laneConnection.cpp.
|
private |
constructor
Definition at line 84 of file GNELane2laneConnection.cpp.
bool GNELane2laneConnection::exist | ( | const GNELane * | toLane | ) | const |
check if exist a lane2lane geometry for the given toLane
Definition at line 73 of file GNELane2laneConnection.cpp.
References myConnectionsMap.
Referenced by GNELaneAreaDetector::drawJunctionPartialGL(), GNEOverheadWire::drawJunctionPartialGL(), GNERoute::drawJunctionPartialGL(), GNEDemandElementPlan::drawPlanJunctionPartial(), GNEConsecutiveSelector::drawTemporalConsecutiveLanePath(), GNEPathCreator::drawTemporalRoute(), and GNEPlanCreator::drawTemporalRoute().
const GUIGeometry & GNELane2laneConnection::getLane2laneGeometry | ( | const GNELane * | toLane | ) | const |
get lane2lane geometry
Definition at line 79 of file GNELane2laneConnection.cpp.
References myConnectionsMap.
Referenced by GNELaneAreaDetector::drawJunctionPartialGL(), GNEOverheadWire::drawJunctionPartialGL(), GNERoute::drawJunctionPartialGL(), GNEVehicle::drawJunctionPartialGL(), GNEDemandElementPlan::drawPlanJunctionPartial(), GNEConsecutiveSelector::drawTemporalConsecutiveLanePath(), GNEPathCreator::drawTemporalRoute(), and GNEPlanCreator::drawTemporalRoute().
|
privatedelete |
Invalidated assignment operator.
void GNELane2laneConnection::updateLane2laneConnection | ( | ) |
update
Definition at line 38 of file GNELane2laneConnection.cpp.
References PositionVector::area(), NBNode::computeSmoothShape(), GNEJunction::getGNEOutgoingEdges(), GNELane::getIndex(), GNELane::getLaneShape(), NBEdge::getLaneShape(), GNEEdge::getNBEdge(), NBEdge::getNumLanes(), GNELane::getParentEdge(), NBNode::getShape(), GNEEdge::getToJunction(), NBEdge::getToNode(), NBEdge::getTurnDestination(), myConnectionsMap, and myFromLane.
Referenced by GNELane::updateGeometry().
|
protected |
connection shape
Definition at line 56 of file GNELane2laneConnection.h.
Referenced by exist(), getLane2laneGeometry(), and updateLane2laneConnection().
|
protected |
from lane
Definition at line 53 of file GNELane2laneConnection.h.
Referenced by updateLane2laneConnection().