pub fn worked(
step: Step<'_>,
routes: &RouteGeometries,
worked: &Worked,
) -> Option<Spotlight>Expand description
The scope and region an act worked in, read across the step it made.
A region is measured in the scope it frames — a scope is a coordinate space of its own — so a subject that stands in another one is left out of the union rather than stretching it across two spaces. Subjects with no scope at all (the document itself, an asset) stay in: they happened wherever the rest of the act did.
routes supplies the solved polyline for a wire the act names. A wire
the router has not solved falls back to its endpoints and authored
waypoints, which is the corridor it was drawn through if not the exact
path taken.