Eclipse 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:

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 171 of file NBNode.h.

Constructor & Destructor Documentation

◆ WalkingArea()

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

constructor

Definition at line 173 of file NBNode.h.

Field Documentation

◆ hasCustomShape

bool NBNode::WalkingArea::hasCustomShape

whether this walkingArea has a custom shape

Definition at line 195 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 181 of file NBNode.h.

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

◆ length

double NBNode::WalkingArea::length

This lane's width.

Definition at line 185 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 197 of file NBNode.h.

Referenced by NBNode::buildWalkingAreas().

◆ minPrevCrossingEdges

int NBNode::WalkingArea::minPrevCrossingEdges

minimum number of edges crossed by incoming crossings

Definition at line 199 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 189 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 191 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 193 of file NBNode.h.

Referenced by NBNode::buildWalkingAreas().

◆ shape

PositionVector NBNode::WalkingArea::shape

The polygonal shape.

Definition at line 187 of file NBNode.h.

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

◆ width

double NBNode::WalkingArea::width

This lane's width.

Definition at line 183 of file NBNode.h.

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


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