| Aimsun Next Scripting
    22
    | 
| Public Types | |
| enum | GKNodeConflictType { eSimple , eComplex , eOverlap } | 
| Public Member Functions | |
| GKNodeConflict () | |
| GKNodeConflict (GKTurningSimEntity *acon1, GKTurningSimEntity *acon2, GKNodeConflictType type=eSimple) | |
| GKNodeConflict (const GKNodeConflict &conf) | |
| GKNodeConflictType | getConflictType () const | 
| GKTurningSimEntity * | getEntity1 () const | 
| GKTurningSimEntity * | getEntity2 () const | 
| double | getXIni1 () const | 
| double | getXIni2 () const | 
| void | setXIni1 (double x) | 
| void | setXIni2 (double x) | 
| double | getXEnd1 () const | 
| double | getXEnd2 () const | 
| void | setXEnd1 (double x) | 
| void | setXEnd2 (double x) | 
| const GKPoint & | getIntersectionIni () const | 
| void | setIntersectionIni (const GKPoint &p) | 
| const GKPoint & | getIntersectionEnd () const | 
| void | setIntersectionEnd (const GKPoint &p) | 
The conflict will reflect the conflicting zone of two GKTurningSimEntities.
Types of node conflicts:
| Enumerator | |
|---|---|
| eSimple | |
| eComplex | |
| eOverlap | |
| GKNodeConflict::GKNodeConflict | ( | ) | 
| GKNodeConflict::GKNodeConflict | ( | GKTurningSimEntity * | acon1, | 
| GKTurningSimEntity * | acon2, | ||
| GKNodeConflictType | type = eSimple | ||
| ) | 
| GKNodeConflict::GKNodeConflict | ( | const GKNodeConflict & | conf | ) | 
| GKNodeConflictType GKNodeConflict::getConflictType | ( | ) | const | 
Gets the type of conflict.
| GKTurningSimEntity * GKNodeConflict::getEntity1 | ( | ) | const | 
Gets the first entity causing the conflict
| GKTurningSimEntity * GKNodeConflict::getEntity2 | ( | ) | const | 
Gets the second entity causing the conflict
| const GKPoint & GKNodeConflict::getIntersectionEnd | ( | ) | const | 
Gets the position of the second intersecion of the conflict
| const GKPoint & GKNodeConflict::getIntersectionIni | ( | ) | const | 
Gets the position of the first intersecion of the conflict
| double GKNodeConflict::getXEnd1 | ( | ) | const | 
Gets the end distance of the conflict in the first entity
| double GKNodeConflict::getXEnd2 | ( | ) | const | 
Gets the end distance of the conflict in the second entity
| double GKNodeConflict::getXIni1 | ( | ) | const | 
Gets the starting distance of the conflict in the first entity
| double GKNodeConflict::getXIni2 | ( | ) | const | 
Gets the starting distance of the conflict in the second entity
| void GKNodeConflict::setIntersectionEnd | ( | const GKPoint & | p | ) | 
Sets the position of the second intersecion of the conflict
| void GKNodeConflict::setIntersectionIni | ( | const GKPoint & | p | ) | 
Sets the position of the first intersecion of the conflict
| void GKNodeConflict::setXEnd1 | ( | double | x | ) | 
Sets the end distance of the conflict in the first entity
| void GKNodeConflict::setXEnd2 | ( | double | x | ) | 
Sets the end distance of the conflict in the second entity
| void GKNodeConflict::setXIni1 | ( | double | x | ) | 
Sets the starting distance of the conflict in the first entity
| void GKNodeConflict::setXIni2 | ( | double | x | ) | 
Sets the starting distance of the conflict in the second entity
 1.9.4
 1.9.4