[][src]Module map_model::objects::turn

Structs

CompressedMovementID

This is cheaper to store than a MovementID. It simply indexes into the list of movements.

Movement

A Movement groups all turns from one road to another, letting traffic signals operate at a higher level of abstraction. This is only useful for traffic signals currently.

MovementID

One road usually has 4 crosswalks, each a singleton Movement. We need all of the information here to keep each crosswalk separate.

Turn

A Turn leads from the end of one Lane to the start of another. (Except for pedestrians; sidewalks are bidirectional.)

TurnID

Turns are uniquely identified by their (src, dst) lanes and their parent intersection. Intersection is needed to distinguish crosswalks that exist at two ends of a sidewalk.

Enums

TurnPriority
TurnType

Functions

movement_geom