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::DottedGeometrygetLane2laneDottedGeometry (const GNELane *toLane) const
 get lane2lane dotted geometry 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 *, std::pair< GNEGeometry::Geometry, GNEGeometry::DottedGeometry > > myConnectionsMap
 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 412 of file GNEGeometry.h.

Constructor & Destructor Documentation

◆ Lane2laneConnection() [1/2]

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

constructor

Definition at line 787 of file GNEGeometry.cpp.

◆ Lane2laneConnection() [2/2]

GNEGeometry::Lane2laneConnection::Lane2laneConnection ( )
private

constructor

Definition at line 848 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 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().

Here is the caller graph for this function:

◆ getLane2laneDottedGeometry()

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

Here is the caller graph for this function:

◆ getLane2laneGeometry()

const GNEGeometry::Geometry & GNEGeometry::Lane2laneConnection::getLane2laneGeometry ( const GNELane toLane) const

◆ operator=()

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

Invalidated assignment operator.

◆ updateLane2laneConnection()

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

Here is the caller graph for this function:

Field Documentation

◆ myConnectionsMap

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

connection shape

Definition at line 435 of file GNEGeometry.h.

◆ myFromLane

const GNELane* GNEGeometry::Lane2laneConnection::myFromLane
protected

from lane

Definition at line 432 of file GNEGeometry.h.


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