Region#
- class Region(Track)#
Represents a region
- name#
An optional name for the region
- Type
Optional[str]
- description#
An optional description for the region
- Type
Optional[str]
- reset()#
Reset the region track
- add_waypoint(waypoint)#
Add a waypoint to the end of the region
- Parameters
waypoint (Waypoint) – The waypoint to add
- remove_waypoint(waypoint)#
Remove a waypoint from the region and return it
- get_edges()#
Get the edges between each waypoint
- track_distance_m()#
Get the distance of the track in metres
- Returns
The overall distance of the track in metres
- Return type
float