getBresenham2DSegment {AFM} | R Documentation |
getBresenham2DSegment
return the Bresenham segment in 2D from extremities coordinates
getBresenham2DSegment(x1, y1, x2, y2)
x1 |
abscissa coordinates of the first point |
y1 |
ordinate coordinates of the first point |
x2 |
abscissa coordinates of the second point |
y2 |
ordinate coordinates of the second point |
a data.table of points - data.table(x, y)
M.Beauvais