Skip to main content

reconstruct_route

Function reconstruct_route 

Source
pub fn reconstruct_route(
    stored: &[Waypoint],
    geometry: &mut RouteGeometry,
    ends: Endpoints,
    rules: LegRules<'_>,
    lattice: &mut ClosedRouter,
) -> Laid
Expand description

Reconstruct a wire through lattice, which is occupied by the wires around it. A leg the lattice holds no path for falls back to an L that ignores it, and the Laid::resolution says so.