Aimsun Next Scripting
22
|
Public Member Functions | |
GKTurningSimEntity () | |
GKTurningSimEntity (const GKTurning *aturn, uint origin, uint destination) | |
bool | hasConflictWith (GKTurningSimEntity *otherEntity, GKPoint *intersectionPoint) const |
bool | hasConflictWith (GKTurningSimEntity *otherEntity, GKPoints *intersectionPoints) const |
void | iniPoints () |
void | iniXIniXEnd () |
void | calcStopLinesInformation (QList< GKNodeConflict > &nodeConflicts, GKModelConnection *modelConnection, bool hasYellowBox, const bool aDemandIncludePedestrians) |
![]() | |
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 |
Public Attributes | |
const GKTurning * | turning |
uint | originLane |
uint | destinationLane |
Additional Inherited Members | |
![]() | |
enum | GKSimEntityType { eIntersection , eCentralLane , eEntranceLateralLane , eExitLateralLane } |
Defines a possible movement from section origin to section destination in a specific turn by defining the origin/destination lanes positions.
GKTurningSimEntity::GKTurningSimEntity | ( | ) |
GKTurningSimEntity::GKTurningSimEntity | ( | const GKTurning * | aturn, |
uint | origin, | ||
uint | destination | ||
) |
Creates a turn entity for the turn 'aturn' with origin lane 'origin' and destination lane 'destination'
void GKTurningSimEntity::calcStopLinesInformation | ( | QList< GKNodeConflict > & | nodeConflicts, |
GKModelConnection * | modelConnection, | ||
bool | hasYellowBox, | ||
const bool | aDemandIncludePedestrians | ||
) |
Initializes the simulation stop lines (yield) information
bool GKTurningSimEntity::hasConflictWith | ( | GKTurningSimEntity * | otherEntity, |
GKPoint * | intersectionPoint | ||
) | const |
Returns true if this turn entity intersects with the other entity. If the result is true then the intersection point is returned using the argument intersectionPoint, otherwise the argument is undefined
bool GKTurningSimEntity::hasConflictWith | ( | GKTurningSimEntity * | otherEntity, |
GKPoints * | intersectionPoints | ||
) | const |
Returns true if this turn entity intersects with the other entity. If the result is true then all the intersection points are returned using the argument intersectionPoints, otherwise the argument is undefined
|
virtual |
Initializes the simulation entity points
Implements GKSimEntity.
|
virtual |
Initializes the simulation entity xIni and xFin values
Implements GKSimEntity.
uint GKTurningSimEntity::destinationLane |
uint GKTurningSimEntity::originLane |
const GKTurning* GKTurningSimEntity::turning |