stepTowards

fun stepTowards(target: Position, maxDistance: Double): Position(source)