Aimsun Next Scripting
22
|
Public Member Functions | |
GKForceTurningSectionData () | |
~GKForceTurningSectionData () | |
void | setSection (const GKSection *aSection) |
const GKSection * | getSection () const |
void | setPercentage (double aPercentage) |
double | getPercentage () const |
void | setSubPathsData (const QVector< GKForceTurningSubPathData > &subPathsData) |
const QVector< GKForceTurningSubPathData > & | getSubPathsData () const |
void | addSubPath (const GKSubPath *subPath, double percentage) |
void | clearSubPathsData () |
GKForceTurningSectionData::GKForceTurningSectionData | ( | ) |
GKForceTurningSectionData::~GKForceTurningSectionData | ( | ) |
void GKForceTurningSectionData::addSubPath | ( | const GKSubPath * | subPath, |
double | percentage | ||
) |
void GKForceTurningSectionData::clearSubPathsData | ( | ) |
double GKForceTurningSectionData::getPercentage | ( | ) | const |
Gets the percentage in the range from 0.0 to 1.0, where 1.0 means 100% and 0.4 means 40%
const GKSection * GKForceTurningSectionData::getSection | ( | ) | const |
const QVector< GKForceTurningSubPathData > & GKForceTurningSectionData::getSubPathsData | ( | ) | const |
void GKForceTurningSectionData::setPercentage | ( | double | aPercentage | ) |
Sets the percentage in the range from 0.0 to 1.0, where 1.0 means 100% and 0.4 means 40%
void GKForceTurningSectionData::setSection | ( | const GKSection * | aSection | ) |
void GKForceTurningSectionData::setSubPathsData | ( | const QVector< GKForceTurningSubPathData > & | subPathsData | ) |