vtdata library
|
Public Member Functions | |
bool | operator== (TNode &ref) |
void | Copy (TNode *node) |
TLink * | GetLink (uint n) const |
int | NumLinks () const |
int | AddLink (TLink *pR) |
void | DetachLink (TLink *pR) |
void | DetermineLinkAngles () |
float | GetLinkAngle (uint iLinkNum) |
void | SortLinksByAngle () |
DPoint2 | GetAdjacentLinkPoint2d (int iLinkNum) |
int | GetLinkNum (TLink *link) |
bool | SetIntersectType (uint linkNum, IntersectionType type) |
IntersectionType | GetIntersectType (uint linkNum) |
bool | HasLights () |
bool | IsControlled () |
void | AdjustForLights () |
int | FindLink (int linkID) |
void | SetNext (TNode *next) |
TNode * | GetNext () const |
void | SetPos (const DPoint2 &pos) |
void | SetPos (const double x, const double y) |
DPoint2 & | Pos () |
const DPoint2 & | Pos () const |
Public Attributes | |
int | m_id |
std::vector< float > | m_fLinkAngle |
Protected Attributes | |
DPoint2 | m_p |
TNode * | m_pNext |
std::vector< TLink * > | m_connect |
A Transporation Node is a place where 2 or more links meet.