Get a point along a line with a given distance from the start of the line
getPointAlongOutline(mat, dist = 15, reverse = FALSE)
returns a vector containing the resulting coordinate
matrix with rows containing sequential coordinates
numeric: distance from the first point on the line.
logical: if TRUE start from the end of the line