The starting location of the line.
The final line destination.
The resulting line to connect start and end.
specify the desired number of transitions, resulting points will be transitions+1 (defaults to the largest absolute difference between the points).
Having provided two points, return an array of transition points connecting 'start' and 'end'. Return array includes 'start' (line[0]) and 'end' (line[line.length-1])