fn waypoint_nodes(
waypoints: &[Waypoint],
) -> (Vec<PathOrdinal>, BTreeMap<PathOrdinal, Point>)Expand description
The in-progress corners as the router speaks them: waypoints are positional, so a corner’s identity is its index in the list.
fn waypoint_nodes(
waypoints: &[Waypoint],
) -> (Vec<PathOrdinal>, BTreeMap<PathOrdinal, Point>)The in-progress corners as the router speaks them: waypoints are positional, so a corner’s identity is its index in the list.