Aimsun Next Scripting  22
Public Types | Public Member Functions | List of all members
GKSectionLaneSolid Class Reference

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
 

Detailed Description

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).

Member Enumeration Documentation

◆ GKSectionLaneSolidLineType

Enumerator
eLeft 
eRight 
eBoth 

Constructor & Destructor Documentation

◆ GKSectionLaneSolid()

GKSectionLaneSolid::GKSectionLaneSolid ( )

Member Function Documentation

◆ getLength()

const GKCoord GKSectionLaneSolid::getLength ( ) const

◆ getLineType()

const GKSectionLaneSolidLineType GKSectionLaneSolid::getLineType ( ) const

◆ getPosition()

const GKCoord GKSectionLaneSolid::getPosition ( ) const

◆ isSelected()

bool GKSectionLaneSolid::isSelected ( ) const

◆ setLength()

void GKSectionLaneSolid::setLength ( const GKCoord &  )

◆ setLineType()

void GKSectionLaneSolid::setLineType ( const  GKSectionLaneSolidLineType)

◆ setPosition()

void GKSectionLaneSolid::setPosition ( const GKCoord &  )

◆ setSelected()

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.

© Aimsun SLU
Aimsun ®