Eclipse SUMO - Simulation of Urban MObility
GNEGeometry::Lane2laneConnection Class Reference

class lane2lane connection geometry More...

#include <GNEGeometry.h>

Collaboration diagram for GNEGeometry::Lane2laneConnection:
[legend]

Public Member Functions

bool exist (const GNELane *toLane) const
 check if exist a lane2lane geometry for the given tolane More...
 
const GNEGeometry::GeometrygetLane2laneGeometry (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::GeometrymyConnectionsMap
 connection shape More...
 
const GNELanemyFromLane
 from lane More...
 

Private Member Functions

 Lane2laneConnection ()
 constructor More...
 
Lane2laneConnectionoperator= (const Lane2laneConnection &other)=delete
 Invalidated assignment operator. More...
 

Detailed Description

class lane2lane connection geometry

Definition at line 223 of file GNEGeometry.h.

Constructor & Destructor Documentation

◆ Lane2laneConnection() [1/2]

GNEGeometry::Lane2laneConnection::Lane2laneConnection ( const GNELane fromLane)

constructor

Definition at line 506 of file GNEGeometry.cpp.

◆ Lane2laneConnection() [2/2]

GNEGeometry::Lane2laneConnection::Lane2laneConnection ( )
private

constructor

Definition at line 558 of file GNEGeometry.cpp.

Member Function Documentation

◆ exist()

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().

Here is the caller graph for this function:

◆ getLane2laneGeometry()

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().

Here is the caller graph for this function:

◆ operator=()

Lane2laneConnection& GNEGeometry::Lane2laneConnection::operator= ( const Lane2laneConnection other)
privatedelete

Invalidated assignment operator.

◆ updateLane2laneConnection()

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().

Here is the caller graph for this function:

Field Documentation

◆ myConnectionsMap

std::map<const GNELane*, GNEGeometry::Geometry> GNEGeometry::Lane2laneConnection::myConnectionsMap
protected

connection shape

Definition at line 243 of file GNEGeometry.h.

◆ myFromLane

const GNELane* GNEGeometry::Lane2laneConnection::myFromLane
protected

from lane

Definition at line 240 of file GNEGeometry.h.


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