createIntersectionsList

Given a current and upcoming step, this method assembles a list of StepIntersection consisting of all of the current step intersections, as well as the first intersection of the upcoming step (if the upcoming step isn't null).

Return

complete list of intersections

Since

0.13.0

Parameters

currentStep

for intersections list

upcomingStep

for first intersection, if not null