Aimsun Next Scripting: GKForceTurningSectionData Class Reference
Aimsun Next Scripting  22
Public Member Functions | List of all members
GKForceTurningSectionData Class Reference

Public Member Functions

 GKForceTurningSectionData ()
 
 ~GKForceTurningSectionData ()
 
void setSection (const GKSection *aSection)
 
const GKSectiongetSection () 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 ()
 

Constructor & Destructor Documentation

◆ GKForceTurningSectionData()

GKForceTurningSectionData::GKForceTurningSectionData ( )

◆ ~GKForceTurningSectionData()

GKForceTurningSectionData::~GKForceTurningSectionData ( )

Member Function Documentation

◆ addSubPath()

void GKForceTurningSectionData::addSubPath ( const GKSubPath subPath,
double  percentage 
)

◆ clearSubPathsData()

void GKForceTurningSectionData::clearSubPathsData ( )

◆ getPercentage()

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%

◆ getSection()

const GKSection * GKForceTurningSectionData::getSection ( ) const

◆ getSubPathsData()

const QVector< GKForceTurningSubPathData > & GKForceTurningSectionData::getSubPathsData ( ) const

◆ setPercentage()

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%

◆ setSection()

void GKForceTurningSectionData::setSection ( const GKSection aSection)

◆ setSubPathsData()

void GKForceTurningSectionData::setSubPathsData ( const QVector< GKForceTurningSubPathData > &  subPathsData)

© Aimsun SLU
Aimsun ®