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:
[legend]

Public Member Functions

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

Data Fields

bool hasCustomShape = false
 whether this walkingArea has a custom shape More...
 
std::string id
 the (edge)-id of this walkingArea More...
 
double length = INVALID_DOUBLE
 This lane's width. More...
 
int minNextCrossingEdges = std::numeric_limits<int>::max()
 minimum number of edges crossed by nextCrossings More...
 
int minPrevCrossingEdges = std::numeric_limits<int>::max()
 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 > prevCrossings
 the lane-id of the previous crossing(s) More...
 
std::vector< std::string > prevSidewalks
 the lane-id of the previous sidewalk lane or "" More...
 
std::set< const NBEdge *, ComparatorIdLessrefEdges
 reference edges that uniquely identify this walkingarea 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 177 of file NBNode.h.

Constructor & Destructor Documentation

◆ WalkingArea()

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

constructor

Definition at line 179 of file NBNode.h.

Field Documentation

◆ hasCustomShape

bool NBNode::WalkingArea::hasCustomShape = false

whether this walkingArea has a custom shape

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

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

◆ length

double NBNode::WalkingArea::length = INVALID_DOUBLE

This lane's width.

Definition at line 188 of file NBNode.h.

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

◆ minNextCrossingEdges

int NBNode::WalkingArea::minNextCrossingEdges = std::numeric_limits<int>::max()

minimum number of edges crossed by nextCrossings

Definition at line 202 of file NBNode.h.

Referenced by NBNode::buildWalkingAreas().

◆ minPrevCrossingEdges

int NBNode::WalkingArea::minPrevCrossingEdges = std::numeric_limits<int>::max()

minimum number of edges crossed by incoming crossings

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

Referenced by NBNode::buildCrossingsAndWalkingAreas(), and NBNode::buildWalkingAreas().

◆ nextSidewalks

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

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

Definition at line 196 of file NBNode.h.

Referenced by NBNode::buildCrossingsAndWalkingAreas(), and NBNode::buildWalkingAreas().

◆ prevCrossings

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

the lane-id of the previous crossing(s)

Definition at line 194 of file NBNode.h.

Referenced by NBNode::buildCrossingsAndWalkingAreas(), and NBNode::buildWalkingAreas().

◆ prevSidewalks

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

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

Definition at line 198 of file NBNode.h.

Referenced by NBNode::buildCrossingsAndWalkingAreas(), and NBNode::buildWalkingAreas().

◆ refEdges

std::set<const NBEdge*, ComparatorIdLess> NBNode::WalkingArea::refEdges

reference edges that uniquely identify this walkingarea

Definition at line 206 of file NBNode.h.

Referenced by NBNode::buildWalkingAreas().

◆ shape

PositionVector NBNode::WalkingArea::shape

◆ width

double NBNode::WalkingArea::width

This lane's width.

Definition at line 186 of file NBNode.h.

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


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