Beruflich Dokumente
Kultur Dokumente
x1 = 0 y1 = 0
x2 = 8 y2 = 4
Length = 8
dx = 1 dy = 0.5
x = 0.5 y = 0.5
i Plot x y
0.5 0.5
0 1 2 3 4 5 6 7 8
The example shows that the rasterized line lies to one side of the actual line and that an extra
point occurs at one end of the line; i.e. the algorithm is orientation dependent.