SUMO - Simulation of Urban MObility
NBNode::WalkingArea Struct Reference

A definition of a pedestrian walking area. More...

#include <NBNode.h>

Collaboration diagram for NBNode::WalkingArea:
Collaboration graph

Public Member Functions

 WalkingArea (const std::string &_id, double _width)
 constructor More...
 

Data Fields

bool hasCustomShape
 whether this walkingArea has a custom shape More...
 
std::string id
 the (edge)-id of this walkingArea More...
 
double length
 This lane's width. More...
 
int minNextCrossingEdges
 minimum number of edges crossed by nextCrossings More...
 
int minPrevCrossingEdges
 minimum number of edges crossed by incoming crossings More...
 
std::vector< std::string > nextCrossings
 the lane-id of the next crossing(s) More...
 
std::vector< std::string > nextSidewalks
 the lane-id of the next sidewalk lane or "" More...
 
std::vector< std::string > prevSidewalks
 the lane-id of the previous sidewalk lane or "" More...
 
PositionVector shape
 The polygonal shape. More...
 
double width
 This lane's width. More...
 

Detailed Description

A definition of a pedestrian walking area.

Definition at line 164 of file NBNode.h.

Constructor & Destructor Documentation

◆ WalkingArea()

NBNode::WalkingArea::WalkingArea ( const std::string &  _id,
double  _width 
)
inline

constructor

Definition at line 166 of file NBNode.h.

Field Documentation

◆ hasCustomShape

bool NBNode::WalkingArea::hasCustomShape

whether this walkingArea has a custom shape

Definition at line 188 of file NBNode.h.

Referenced by NBNode::buildWalkingAreas(), and NWWriter_SUMO::writeInternalEdges().

◆ id

std::string NBNode::WalkingArea::id

the (edge)-id of this walkingArea

Definition at line 174 of file NBNode.h.

Referenced by NBNode::buildWalkingAreas(), and NWWriter_SUMO::writeInternalEdges().

◆ length

double NBNode::WalkingArea::length

This lane's width.

Definition at line 178 of file NBNode.h.

Referenced by NBNode::buildWalkingAreas(), and NWWriter_SUMO::writeInternalEdges().

◆ minNextCrossingEdges

int NBNode::WalkingArea::minNextCrossingEdges

minimum number of edges crossed by nextCrossings

Definition at line 190 of file NBNode.h.

Referenced by NBNode::buildWalkingAreas().

◆ minPrevCrossingEdges

int NBNode::WalkingArea::minPrevCrossingEdges

minimum number of edges crossed by incoming crossings

Definition at line 192 of file NBNode.h.

Referenced by NBNode::buildWalkingAreas().

◆ nextCrossings

std::vector<std::string> NBNode::WalkingArea::nextCrossings

the lane-id of the next crossing(s)

Definition at line 182 of file NBNode.h.

Referenced by NBNode::buildWalkingAreas().

◆ nextSidewalks

std::vector<std::string> NBNode::WalkingArea::nextSidewalks

the lane-id of the next sidewalk lane or ""

Definition at line 184 of file NBNode.h.

Referenced by NBNode::buildWalkingAreas().

◆ prevSidewalks

std::vector<std::string> NBNode::WalkingArea::prevSidewalks

the lane-id of the previous sidewalk lane or ""

Definition at line 186 of file NBNode.h.

Referenced by NBNode::buildWalkingAreas().

◆ shape

PositionVector NBNode::WalkingArea::shape

The polygonal shape.

Definition at line 180 of file NBNode.h.

Referenced by NBNode::buildWalkingAreas(), and NWWriter_SUMO::writeInternalEdges().

◆ width

double NBNode::WalkingArea::width

This lane's width.

Definition at line 176 of file NBNode.h.

Referenced by NBNode::buildWalkingAreas(), and NWWriter_SUMO::writeInternalEdges().


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