Eclipse SUMO - Simulation of Urban MObility
GNEVehicle::ConnectionGeometry Struct Reference

struct used for calculating routes More...

#include <GNEVehicle.h>

Collaboration diagram for GNEVehicle::ConnectionGeometry:

Public Member Functions

void calculateConnectionShape ()
 calculate connection shape (note: Only calculated if 'con' isn't nullptr) More...
 
 ConnectionGeometry (const NBEdge::Connection *_con, const GNELane *_laneFrom, const GNELane *_laneTo)
 parameter constructor with NBEdge::Connection More...
 
 ConnectionGeometry (const GNELane *_laneFrom, const GNELane *_laneTo)
 parameter constructor without NBEdge::Connection More...
 

Data Fields

const NBEdge::Connectioncon
 Pointer to NBEdge::Connection. More...
 
PositionVector connectionShape
 calculated connection shape More...
 
const GNELanelaneFrom
 lane from More...
 
const GNELanelaneTo
 lane to More...
 

Private Member Functions

 ConnectionGeometry ()
 default constructor (by default unused) More...
 

Detailed Description

struct used for calculating routes

Definition at line 330 of file GNEVehicle.h.

Constructor & Destructor Documentation

◆ ConnectionGeometry() [1/3]

GNEVehicle::ConnectionGeometry::ConnectionGeometry ( const NBEdge::Connection _con,
const GNELane _laneFrom,
const GNELane _laneTo 
)

parameter constructor with NBEdge::Connection

Definition at line 1416 of file GNEVehicle.cpp.

◆ ConnectionGeometry() [2/3]

GNEVehicle::ConnectionGeometry::ConnectionGeometry ( const GNELane _laneFrom,
const GNELane _laneTo 
)

parameter constructor without NBEdge::Connection

Definition at line 1423 of file GNEVehicle.cpp.

◆ ConnectionGeometry() [3/3]

GNEVehicle::ConnectionGeometry::ConnectionGeometry ( )
private

default constructor (by default unused)

Definition at line 1460 of file GNEVehicle.cpp.

Member Function Documentation

◆ calculateConnectionShape()

Field Documentation

◆ con

const NBEdge::Connection* GNEVehicle::ConnectionGeometry::con

Pointer to NBEdge::Connection.

Definition at line 345 of file GNEVehicle.h.

Referenced by calculateConnectionShape().

◆ connectionShape

PositionVector GNEVehicle::ConnectionGeometry::connectionShape

calculated connection shape

Definition at line 342 of file GNEVehicle.h.

Referenced by calculateConnectionShape().

◆ laneFrom

const GNELane* GNEVehicle::ConnectionGeometry::laneFrom

lane from

Definition at line 348 of file GNEVehicle.h.

Referenced by calculateConnectionShape().

◆ laneTo

const GNELane* GNEVehicle::ConnectionGeometry::laneTo

lane to

Definition at line 351 of file GNEVehicle.h.

Referenced by calculateConnectionShape().


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