Crate ltn[−][src]
Modules
Experiments to make a neighborhood be low-traffic by automatically placing filters to prevent all rat runs.
Structs
A partitioning of the interior of a neighborhood based on driving connectivity
A diagonal filter exists in an intersection. It’s defined by two roads (the order is arbitrary). When all of the intersection’s roads are sorted in clockwise order, this pair of roads splits the ordering into two groups. Turns in each group are still possible, but not across groups.
An interval along a road’s length, with start < end.
Stored in App session state. Before making any changes, call before_edit
.
An opaque ID, won’t be contiguous as we adjust boundaries
Functions
Do the equivalent of SimpleApp::draw_unzoomed
or draw_zoomed
, but after the water/park
areas layer, draw something custom.