Emergency 20 Dokumentation  4.2.0
qsf::ai::voronoi::SegmentNode Class Reference

#include <SegmentNode.h>

Public Member Functions

 SegmentNode (const GridCoordinates &pos, unsigned int freeSpaceSquared)

Public Attributes

GridCoordinates mPosition
unsigned int mFreeSpaceSquared

Detailed Description

Minor helper struct that defines a node that makes up a segment. Each such node is defined by a position and the available space here which is tracked as a squared value. This is a raw version of the LaneNode of a traffic lane world and will be converted at a later point. TODO(vs) It is a code copy of the traffic lane world node class and should be unified if possible.

Constructor & Destructor Documentation

qsf::ai::voronoi::SegmentNode::SegmentNode ( const GridCoordinates pos,
unsigned int  freeSpaceSquared 

Member Data Documentation

unsigned int qsf::ai::voronoi::SegmentNode::mFreeSpaceSquared
GridCoordinates qsf::ai::voronoi::SegmentNode::mPosition

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