
Last chance! 50% off unlimited learning
Sale ends in
Last chance! 50% off unlimited learning
Sale ends in
This function generates points along a line whose coordinates are user-defined.
get_line(x0, y0, x1, y1, dens = 5e-04)
A list with two elements, x and y. These elements hold the x and y coordinates respectively for drawing the line.
The x coordinate of the starting point for the line
The y coordinate of the starting point for the line
The x coordinate of the ending point for the line
The y coordinate of the ending point for the line
A numerical value indicating the density of points to define along the line. Small values lead to more densely calculated points.