Splits an ordered chain of waypoint ids into contiguous runs of resolved
positions, for drawing a route as a polyline (see OrbitalSystemScene's
RoutePreviewLine). The map only ever shows one system at a time, so a
route that crosses into another system has waypoints with no position
here — rather than silently connecting across that gap with a straight
line that doesn't correspond to anything real, this breaks the chain
there, returning separate runs to draw as separate line segments. A run
of a single point (nothing to connect it to) is dropped, since a lone
point isn't a line.
Splits an ordered chain of waypoint ids into contiguous runs of resolved positions, for drawing a route as a polyline (see OrbitalSystemScene's RoutePreviewLine). The map only ever shows one system at a time, so a route that crosses into another system has waypoints with no position here — rather than silently connecting across that gap with a straight line that doesn't correspond to anything real, this breaks the chain there, returning separate runs to draw as separate line segments. A run of a single point (nothing to connect it to) is dropped, since a lone point isn't a line.