QuercusVL Programming Manual
TrafficLight class)
●
Id
C++:
TrafficLight Id ( int id )
C:
Does not existe, check VL_Unit_get_TrafficLights_Id(int h, int id) of Unit.
Returns the traffic light identified by “id” inside the traffic lights collection of the
unit.
If there is no traffic light for the specified id, it will return an invalid one ( see IsValid
from TrafficLight class)
3.17. TrafficLight Class
Logical representation of a traffic light.
For historical reasons, all the coordinates described in a traffic light will be defined in a 5
megapixel image (from 0 to 2559 and from 0 to 1919).
3.17.1. Properties
●
UnitId
C++:
Unit get_Unit()
C:
int VL_TrafficLight_get_UnitId(int h)
Returns the unit where the traffic light belongs to.
In C, the parameter “h” is a handler of the traffic light (TrafficLight).
●
Id
C++:
int get_Id()
C:
int VL_TrafficLight_get_Id(int h)
Returns the traffic light identifier.
In C, the parameter “h” is a handler of the traffic light (TrafficLight).
●
NumLights
C++:
int get_NumLights()
C:
int VL_TrafficLight_get_NumLights(int h)
Returns the number of configured lights at the traffic light.
In C, the parameter “h” is a handler of the traffic light (TrafficLight).
Quercus Technologies
51