Public Member Functions | |
uint | GetId () |
uint | GetHeadId () |
uint | GetTailId () |
CTrack (uint id, uint headId, uint tailId) | |
uint | NodesCount () |
float | GetX (uint node) |
float | GetY (uint node) |
void | GetXY (uint node, float& x, float& y) |
void | AddNode (float x, float y) |
bool | IsLast (uint idx) |
Public Attributes | |
private uint | Id |
private uint | HeadId |
private uint | TailId |
private array< float > | X |
private array< float > | Y |
CTrack | ( | uint | id, | |
uint | headId, | |||
uint | tailId | |||
) |
uint GetId | ( | ) |
uint GetHeadId | ( | ) |
uint GetTailId | ( | ) |
uint NodesCount | ( | ) |
float GetX | ( | uint | node | ) |
float GetY | ( | uint | node | ) |
void GetXY | ( | uint | node, | |
float& | x, | |||
float& | y | |||
) |
void AddNode | ( | float | x, | |
float | y | |||
) |
bool IsLast | ( | uint | idx | ) |
private uint Id |
private uint HeadId |
private uint TailId |
private array<float> X |
private array<float> Y |