![]() |
Eclipse SUMO - Simulation of Urban MObility
|
class lane2lane connection geometry More...
#include <GNEGeometry.h>
Public Member Functions | |
| bool | exist (const GNELane *toLane) const |
| check if exist a lane2lane geometry for the given tolane More... | |
| const GNEGeometry::Geometry & | getLane2laneGeometry (const GNELane *toLane) const |
| get lane2lane geometry More... | |
| Lane2laneConnection (const GNELane *fromLane) | |
| constructor More... | |
| void | updateLane2laneConnection () |
| update More... | |
Protected Attributes | |
| std::map< const GNELane *, GNEGeometry::Geometry > | myConnectionsMap |
| connection shape More... | |
| const GNELane * | myFromLane |
| from lane More... | |
Private Member Functions | |
| Lane2laneConnection () | |
| constructor More... | |
| Lane2laneConnection & | operator= (const Lane2laneConnection &other)=delete |
| Invalidated assignment operator. More... | |
class lane2lane connection geometry
Definition at line 223 of file GNEGeometry.h.
| GNEGeometry::Lane2laneConnection::Lane2laneConnection | ( | const GNELane * | fromLane | ) |
constructor
Definition at line 506 of file GNEGeometry.cpp.
|
private |
constructor
Definition at line 558 of file GNEGeometry.cpp.
| bool GNEGeometry::Lane2laneConnection::exist | ( | const GNELane * | toLane | ) | const |
check if exist a lane2lane geometry for the given tolane
Definition at line 547 of file GNEGeometry.cpp.
Referenced by GNEEdgeRelData::drawPartialGL(), GNERoute::drawPartialGL(), GNEAdditional::drawPartialGL(), GNEVehicle::drawPartialGL(), GNEDemandElement::drawPersonPlanPartial(), GNEAdditionalFrame::E2MultilaneLaneSelector::drawTemporalE2Multilane(), and GNEFrameModuls::PathCreator::drawTemporalRoute().
| const GNEGeometry::Geometry & GNEGeometry::Lane2laneConnection::getLane2laneGeometry | ( | const GNELane * | toLane | ) | const |
get lane2lane geometry
Definition at line 553 of file GNEGeometry.cpp.
Referenced by GNEEdgeRelData::drawPartialGL(), GNERoute::drawPartialGL(), GNEAdditional::drawPartialGL(), GNEVehicle::drawPartialGL(), GNEDemandElement::drawPersonPlanPartial(), GNEAdditionalFrame::E2MultilaneLaneSelector::drawTemporalE2Multilane(), and GNEFrameModuls::PathCreator::drawTemporalRoute().
|
privatedelete |
Invalidated assignment operator.
| void GNEGeometry::Lane2laneConnection::updateLane2laneConnection | ( | ) |
update
Definition at line 512 of file GNEGeometry.cpp.
References PositionVector::area(), NBNode::computeSmoothShape(), NBEdge::getLaneShape(), NBEdge::getNumLanes(), NBNode::getShape(), NBEdge::getToNode(), and NBEdge::getTurnDestination().
Referenced by GNELane::updateGeometry().
|
protected |
connection shape
Definition at line 243 of file GNEGeometry.h.
|
protected |
from lane
Definition at line 240 of file GNEGeometry.h.