|  | 
| integer | x | 
|  | x-coordinate 
 | 
|  | 
| integer | y | 
|  | y-coordinate 
 | 
|  | 
| integer | z | 
|  | z-coordinate - height 
 | 
|  | 
| integer | x | 
|  | x-coordinate 
 | 
|  | 
| integer | y | 
|  | y-coordinate 
 | 
|  | 
Ways. 
Definition at line 162 of file api_map_objects.cc.
◆ get_convoys_passed()
      
        
          | array<integer> way_x::get_convoys_passed | ( |  | ) |  | 
      
 
Get monthly statistics of convoys that used this way. 
- Returns
- array, index [0] corresponds to current month 
 
 
◆ get_desc()
- Returns
- object descriptor. 
 
 
◆ get_dirs()
Return directions of this way. One-way signs are ignored here. 
- Returns
- direction 
 
 
◆ get_dirs_masked()
      
        
          | dir way_x::get_dirs_masked | ( |  | ) |  | 
      
 
Return directions of this way. Some signs restrict available directions. 
- Returns
- direction 
 
 
◆ get_max_speed()
      
        
          | integer way_x::get_max_speed | ( |  | ) |  | 
      
 
Returns maximal allowed speed on this way. Takes limits from crossings, overhead-wires, bridges, etc, into account. 
- Returns
- max speed in kmh. 
 
 
◆ get_transported_goods()
      
        
          | array<integer> way_x::get_transported_goods | ( |  | ) |  | 
      
 
Get monthly statistics of goods transported on this way. 
- Returns
- array, index [0] corresponds to current month 
 
 
◆ has_sidewalk()
      
        
          | bool way_x::has_sidewalk | ( |  | ) |  | 
      
 
- Returns
- if this way has sidewalk - only meaningful for roads 
 
 
◆ has_sign()
- Returns
- whether there is a road-sign associated to the way on the tile 
 
 
◆ has_signal()
      
        
          | bool way_x::has_signal | ( |  | ) |  | 
      
 
- Returns
- whether there is a signal associated to the way on the tile 
 
 
◆ has_wayobj()
      
        
          | bool way_x::has_wayobj | ( |  | ) |  | 
      
 
- Returns
- whether there is a way-object associated to the way on the tile 
 
 
◆ is_crossing()
      
        
          | bool way_x::is_crossing | ( |  | ) |  | 
      
 
- Returns
- whether there is a crossing associated to the way on the tile 
 
 
◆ is_electrified()
      
        
          | bool way_x::is_electrified | ( |  | ) |  | 
      
 
- Returns
- whether way is electrified by some way-object 
 
 
The documentation for this class was generated from the following file: