along

fun along(line: LineString, distance: Double, units: Units = Units.Kilometers): Position

Takes a LineString and returns a position at a specified distance along the line.

Return

A position distance along the line

Parameters

line

input line

distance

distance along the line

units

units of distance