Inner Function to create n equidistant points along a line

steps_along_2d_line(line, n_steps = 100)

Arguments

line

2 x 2 matrix of edge points of line

n_steps

integer number of steps (n)

Value

(n_steps + 1) x 2 matrix with points on path