QuercusVL Programming Manual
Returns true if the object contains valid information about a coordinates, and false if
invalid. Some methods, may sometimes, return void coordinates. In C, this behaviour is
detected as its value will be "0". In C++, however, this method is necessary because
the object, as it is not a pointer, would always be valid.
3.23. Lights Class
Collection of lights that form a traffic light.
3.23.1. Properties
Count
●
C++:
C:
TrafficLight.
Number of lights in the traffic light.
Item
●
C++:
C:
TrafficLight.
Returns the light in the indicated position inside the lights collection of a traffic light.
The location of a light inside the collection follows the configuration order.
In C++, the parameter "item" must specify the position (starting from zero).
If there is no Light at the specified position, it returns an invalid one (see IsValid
method from Light class).
3.24. Light Class
Logic representation of a traffic light's light.
3.24.1. Properties
Type
●
C++:
C:
Returns the light type (VLLightType).
Quercus Technologies
int Count ( )
Does
not
exist,
Light Item ( int item )
Does not exist, check VL_TrafficLight_get_Lights_Item(int h, int item) of
VLLightType get_Type()
int VL_Light_get_Type(int h)
check
VL_TrafficLight_get_Lights_Count(int
h)
of
62
Need help?
Do you have a question about the SmartLoop TS and is the answer not in the manual?