Class to implement the Bresenham line-drawing algorithm. More...
|Brezenham8 (TooN::Vector< 2 > dir)|
Class to implement the Bresenham line-drawing algorithm.
This object does not draw directly into an image, it simply outputs the set of image co-ordinates that should be visited to draw a line in a certain direction. Pixels are generated in a 8-connected sense (i.e. diagonal steps are possible). See also Brezenham.
|CVD::Brezenham8::Brezenham8||(||TooN::Vector< 2 >||dir||)|
Construct a line-drawing object.
|dir||The (x,y) direction of the line|