Aimsun Next Scripting
22
|
Public Types | |
enum | GKSectionLaneSolidLineType { eLeft , eRight , eBoth } |
Public Member Functions | |
GKSectionLaneSolid () | |
void | setPosition (const GKCoord &) |
void | setLength (const GKCoord &) |
const GKCoord | getPosition () const |
const GKCoord | getLength () const |
void | setLineType (const GKSectionLaneSolidLineType) |
const GKSectionLaneSolidLineType | getLineType () const |
void | setSelected (bool) |
bool | isSelected () const |
A solid line can be at the left of the lane line (no movement from the left is allowed), at the right (no movement from the right is allowed) or in both sides (no movement neither from the left nor from the right is allowed). Note that left and right are defined using the direction of lane geometrical definition (coordinate 0, 1, ... N).
LEFT:
RIGHT:
BOTH:
The position and length identifies where the solid line is, taking as the origin (for "position" reference) the initial coordinate of the lane. Length must be lower than or equal to lane length.
Special Cases If length is -1.0 means that all the remain lane length will be used for the solid lane (that is, from "position" to lane length).
GKSectionLaneSolid::GKSectionLaneSolid | ( | ) |
const GKCoord GKSectionLaneSolid::getLength | ( | ) | const |
const GKSectionLaneSolidLineType GKSectionLaneSolid::getLineType | ( | ) | const |
const GKCoord GKSectionLaneSolid::getPosition | ( | ) | const |
bool GKSectionLaneSolid::isSelected | ( | ) | const |
void GKSectionLaneSolid::setLength | ( | const GKCoord & | ) |
void GKSectionLaneSolid::setLineType | ( | const | GKSectionLaneSolidLineType | ) |
void GKSectionLaneSolid::setPosition | ( | const GKCoord & | ) |
void GKSectionLaneSolid::setSelected | ( | bool | ) |
Is the object selected?... Note that is selected by model and not by view. This means that a selected object will appear selected in all the views.