Aimsun Next Scripting
22
|
Public Types | |
enum | GKSimEntityType { eIntersection , eCentralLane , eEntranceLateralLane , eExitLateralLane } |
Public Member Functions | |
GKSimEntity () | |
GKSimEntity (GKSimEntityType type) | |
virtual | ~GKSimEntity () |
void | setType (GKSimEntityType atype) |
GKSimEntityType | getType () const |
void | setPoints (const GKPoints &points) |
const GKPoint & | getPoint (uint pos, bool *ok) const |
const GKPoints & | getPoints () const |
void | setWidth (double value) |
double | getWidth () const |
double | getXIni () const |
double | getXEnd () const |
void | setXIni (double value) |
void | setXEnd (double value) |
virtual void | iniPoints ()=0 |
virtual void | iniXIniXEnd ()=0 |
Class to represent each one of the geometrical entities that the dynamic simulators will use to move vehicles on top of them.
GKSimEntity::GKSimEntity | ( | ) |
GKSimEntity::GKSimEntity | ( | GKSimEntityType | type | ) |
|
virtual |
const GKPoint & GKSimEntity::getPoint | ( | uint | pos, |
bool * | ok | ||
) | const |
const GKPoints & GKSimEntity::getPoints | ( | ) | const |
GKSimEntityType GKSimEntity::getType | ( | ) | const |
double GKSimEntity::getWidth | ( | ) | const |
double GKSimEntity::getXEnd | ( | ) | const |
double GKSimEntity::getXIni | ( | ) | const |
|
pure virtual |
When reimplemented, this function must initialize the simulation entity points
Implemented in GKTurningSimEntity.
|
pure virtual |
When reimplemented, this function must initialize the simulation entity xIni and xFin values
Implemented in GKTurningSimEntity.
void GKSimEntity::setPoints | ( | const GKPoints & | points | ) |
void GKSimEntity::setType | ( | GKSimEntityType | atype | ) |
void GKSimEntity::setWidth | ( | double | value | ) |
void GKSimEntity::setXEnd | ( | double | value | ) |
void GKSimEntity::setXIni | ( | double | value | ) |