Skip to main content

trimmed_ordinals

Function trimmed_ordinals 

Source
pub fn trimmed_ordinals(
    waypoints: &[Waypoint],
    end: RouteEnd,
) -> Vec<PathOrdinal>
Expand description

The corners trimmed_approach drops, by path ordinal — the same rule read from the preview’s side, which routes around them instead of removing them. A trim is a prefix or a suffix, so the surviving count names the dropped set exactly.