create Distances To Intersections
fun createDistancesToIntersections(stepPoints: List<Point>, intersections: List<StepIntersection>): Map<StepIntersection, Double>
Creates a list of pairs StepIntersection and double distance in meters along a step.
Each pair represents an intersection on the given step and its distance along the step geometry.
The first intersection is the same point as the first point of the list of step points, so will always be zero meters.
Return
list of measured intersection pairs
Since
0.13.0
Parameters
step Points
representing the step geometry
intersections
along the step to be measured