This function lets the user calculate the mathematical linear distance Between a specific point and a line (given geometrical 3 points)
dist2d(a, b = c(0, 0), c = c(1, 1))
Vector. Coordinates of the point from which we want to measure the distance
Vector. Coordinates of 1st point over the line
Vector. Coordinates of 2st point over the line