![]() |
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::DottedGeometry & | getLane2laneDottedGeometry (const GNELane *toLane) const |
get lane2lane dotted geometry 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 *, std::pair< GNEGeometry::Geometry, GNEGeometry::DottedGeometry > > | 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 412 of file GNEGeometry.h.
GNEGeometry::Lane2laneConnection::Lane2laneConnection | ( | const GNELane * | fromLane | ) |
constructor
Definition at line 787 of file GNEGeometry.cpp.
|
private |
constructor
Definition at line 848 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 831 of file GNEGeometry.cpp.
Referenced by GNEGeometry::calculateLaneGeometricPath(), GNEAdditional::drawPartialGL(), GNEEdgeRelData::drawPartialGL(), GNERoute::drawPartialGL(), GNEVehicle::drawPartialGL(), GNEDemandElement::drawPersonPlanPartialJunction(), GNEAdditionalFrame::E2MultilaneLaneSelector::drawTemporalE2Multilane(), and GNEFrameModuls::PathCreator::drawTemporalRoute().
const GNEGeometry::DottedGeometry & GNEGeometry::Lane2laneConnection::getLane2laneDottedGeometry | ( | const GNELane * | toLane | ) | const |
get lane2lane dotted geometry
Definition at line 843 of file GNEGeometry.cpp.
Referenced by GNEAdditional::drawPartialGL(), GNEEdgeRelData::drawPartialGL(), GNERoute::drawPartialGL(), GNEVehicle::drawPartialGL(), and GNEDemandElement::drawPersonPlanPartialJunction().
const GNEGeometry::Geometry & GNEGeometry::Lane2laneConnection::getLane2laneGeometry | ( | const GNELane * | toLane | ) | const |
get lane2lane geometry
Definition at line 837 of file GNEGeometry.cpp.
Referenced by GNEAdditional::drawPartialGL(), GNEEdgeRelData::drawPartialGL(), GNERoute::drawPartialGL(), GNEVehicle::drawPartialGL(), GNEDemandElement::drawPersonPlanPartialJunction(), GNEAdditionalFrame::E2MultilaneLaneSelector::drawTemporalE2Multilane(), GNEFrameModuls::PathCreator::drawTemporalRoute(), and GNEGeometry::SegmentGeometry::updateLane2LaneSegment().
|
privatedelete |
Invalidated assignment operator.
void GNEGeometry::Lane2laneConnection::updateLane2laneConnection | ( | ) |
update
Definition at line 793 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 435 of file GNEGeometry.h.
|
protected |
from lane
Definition at line 432 of file GNEGeometry.h.